.afbc-banner,
.afbc-banner * {
	box-sizing: border-box;
}

.elementor-widget-academia_fenix_banner_cursos {
	width: 100%;
	max-width: 100%;
}

.afbc-banner {
	--afbc-animation-duration: 650ms;
	position: relative;
	display: flex;
	width: 100%;
	max-width: 100%;
	min-height: 132px;
	align-items: stretch;
	margin: 0 auto;
	background-color: #fff;
	overflow: hidden;
	font-family: inherit;
	isolation: isolate;
}

/* Full bleed is enabled by default. It escapes boxed Elementor containers
 * without requiring page-level layout changes. */
.afbc-banner.afbc-full-width {
	width: 100vw;
	max-width: 100vw !important;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

@supports (width: 100dvw) {
	.afbc-banner.afbc-full-width {
		width: 100dvw;
		max-width: 100dvw !important;
		margin-right: calc(50% - 50dvw);
		margin-left: calc(50% - 50dvw);
	}
}

.afbc-banner__inner {
	position: relative;
	z-index: 2;
	display: flex;
	width: 100%;
	max-width: 1280px;
	min-width: 0;
	min-height: inherit;
	align-items: center;
	justify-content: space-between;
	gap: clamp(28px, 5vw, 84px);
	margin: 0 auto;
	padding: 12px 40px;
}

.afbc-banner__copy {
	position: relative;
	z-index: 3;
	flex: 1 1 auto;
	max-width: 68%;
	min-width: 0;
	text-align: left;
}

.afbc-banner__title {
	margin: 0;
	color: #001f4d;
	font-size: clamp(34px, 3.15vw, 46px);
	font-weight: 760;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.afbc-banner__description {
	margin: 6px 0 0;
	color: #304b78;
	font-size: clamp(14px, 1.3vw, 17px);
	font-weight: 400;
	line-height: 1.5;
}

.afbc-banner__visual {
	position: relative;
	z-index: 3;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	padding-right: clamp(8px, 1.7vw, 26px);
}

.afbc-banner__emblem {
	position: relative;
	z-index: 2;
	display: grid;
	width: 108px;
	height: 108px;
	place-items: center;
	overflow: hidden;
	border: 2px solid #d4a23a;
	border-radius: 50%;
	background: #00254c;
	box-shadow: 0 9px 19px rgba(0, 28, 67, 0.24);
	transform: translateZ(0);
	transition: transform 300ms ease, box-shadow 300ms ease;
}

.afbc-banner__emblem img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: inherit;
	object-fit: cover;
}

.afbc-banner.has-emblem-hover .afbc-banner__emblem:hover {
	box-shadow: 0 13px 26px rgba(0, 28, 67, 0.3);
	transform: translateY(-3px) scale(1.025);
}

.afbc-banner__wave {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(57%, 860px);
	color: #eaf4ff;
	opacity: 0.9;
	pointer-events: none;
}

.afbc-banner__wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.afbc-banner__sparkles {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: -49px;
	display: block;
	width: 41px;
	height: 54px;
	color: #d4a23a;
	transform: translateY(-50%);
	pointer-events: none;
}

.afbc-banner__sparkle {
	position: absolute;
	display: block;
	background: currentColor;
	clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.afbc-banner__sparkle--large {
	top: 0;
	left: 0;
	width: 30px;
	height: 39px;
}

.afbc-banner__sparkle--small {
	right: 0;
	bottom: 2px;
	width: 13px;
	height: 16px;
}

/* One-time, class-driven animation. The editor is never left transparent. */
.afbc-banner.has-animation:not(.is-visible) .afbc-banner__copy,
.afbc-banner.has-animation:not(.is-visible) .afbc-banner__visual {
	opacity: 0;
}

.afbc-banner.afbc-animation--rise:not(.is-visible) .afbc-banner__copy {
	transform: translateY(14px);
}

.afbc-banner.afbc-animation--rise:not(.is-visible) .afbc-banner__visual {
	transform: translateX(16px) scale(0.96);
}

.afbc-banner.has-animation .afbc-banner__copy,
.afbc-banner.has-animation .afbc-banner__visual {
	transition: opacity var(--afbc-animation-duration) ease, transform var(--afbc-animation-duration) cubic-bezier(0.2, 0.72, 0.25, 1);
}

.afbc-banner.has-animation .afbc-banner__visual {
	transition-delay: 100ms;
}

.afbc-banner.is-visible .afbc-banner__copy,
.afbc-banner.is-visible .afbc-banner__visual {
	opacity: 1;
	transform: none;
}

.afbc-banner.is-visible .afbc-banner__sparkle--large {
	animation: afbc-sparkle 580ms 260ms both;
}

.afbc-banner.is-visible .afbc-banner__sparkle--small {
	animation: afbc-sparkle 500ms 390ms both;
}

@keyframes afbc-sparkle {
	0% { opacity: 0; transform: scale(0.35) rotate(-18deg); }
	68% { opacity: 1; transform: scale(1.17) rotate(5deg); }
	100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 900px) {
	.afbc-banner {
		min-height: 124px;
	}

	.afbc-banner__inner {
		gap: 24px;
		padding: 14px 30px;
	}

	.afbc-banner__copy {
		max-width: 68%;
	}

	.afbc-banner__title {
		font-size: clamp(32px, 5vw, 40px);
	}

	.afbc-banner__visual {
		padding-right: 4px;
	}

	.afbc-banner__emblem {
		width: 94px;
		height: 94px;
	}

	.afbc-banner__wave {
		width: 61%;
	}
}

@media (max-width: 600px) {
	.afbc-banner {
		min-height: 154px;
	}

	.afbc-banner__inner {
		gap: 14px;
		padding: 20px;
	}

	.afbc-banner__copy {
		max-width: 72%;
	}

	.afbc-banner__title {
		font-size: clamp(29px, 9vw, 35px);
		line-height: 1.08;
	}

	.afbc-banner__description {
		font-size: 14px;
		line-height: 1.42;
	}

	.afbc-banner__emblem {
		width: 78px;
		height: 78px;
	}

	.afbc-banner__sparkles {
		left: -24px;
		width: 24px;
		height: 38px;
	}

	.afbc-banner__sparkle--large {
		width: 19px;
		height: 25px;
	}

	.afbc-banner__sparkle--small {
		width: 9px;
		height: 11px;
	}

	.afbc-banner__wave {
		width: 74%;
	}

	.afbc-banner.afbc-hide-emblem-mobile .afbc-banner__copy {
		max-width: 100%;
	}

	.afbc-banner.afbc-hide-emblem-mobile .afbc-banner__visual {
		display: none;
	}
}

@media (max-width: 359px) {
	.afbc-banner__inner {
		padding-right: 16px;
		padding-left: 16px;
	}

	.afbc-banner__copy {
		max-width: 73%;
	}

	.afbc-banner__title {
		font-size: 28px;
	}

	.afbc-banner__description {
		font-size: 13px;
	}

	.afbc-banner__emblem {
		width: 68px;
		height: 68px;
	}
}

.elementor-editor-active .afbc-banner.has-animation .afbc-banner__copy,
.elementor-editor-active .afbc-banner.has-animation .afbc-banner__visual {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.afbc-banner *,
	.afbc-banner *::before,
	.afbc-banner *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0ms !important;
	}

	.afbc-banner.has-animation .afbc-banner__copy,
	.afbc-banner.has-animation .afbc-banner__visual {
		opacity: 1;
		transform: none;
	}
}
