/**
 * Art Aligner — blocos extras da home APENAS.
 * Header/menu → BeTheme custom-css (mu-plugin).
 */

:root {
	--aa-black: #000;
	--aa-black-site: #0a0a0a;
	--aa-black-deep: #020202;
	--aa-gold-classic: #c2a36a;
	--aa-gold-border: #c2a36a;
	--aa-text-muted: #a0a0a0;
	--aa-white: #fff;
	--aa-gray: #b8b8b8;
	--aa-font-serif: "Cinzel", "Playfair Display", Georgia, serif;
	--aa-font-sans: "Montserrat", "Lato", Arial, sans-serif;
	--aa-btn-gradient: linear-gradient(180deg, #d2b06a 0%, #ceab66 22%, #a38b61 78%, #8f7040 100%);
	--aa-hero-radial: radial-gradient(
		circle at 65% 50%,
		#161513 0%,
		#0d0c0b 40%,
		#020202 100%
	);
}

/* RevSlider na home */
.home .mfn-main-slider {
	border-bottom: 1px solid var(--aa-gold-border);
}

/* Banner2 — tipografia (fallback alinhado ao layout aprovado) */
.home rs-layer[id*="aa-hero-title"],
.home .rs-layer[id*="aa-hero-title"] {
	font-family: var(--aa-font-serif) !important;
	font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
	font-weight: 700 !important;
	letter-spacing: 0.05em !important;
	line-height: 1.12 !important;
	color: #fff !important;
	text-transform: uppercase !important;
}

.home rs-layer[id*="aa-hero-subtitle"],
.home .rs-layer[id*="aa-hero-subtitle"] {
	font-family: var(--aa-font-sans) !important;
	font-size: clamp(1rem, 2vw, 1.375rem) !important;
	font-weight: 400 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.35 !important;
	color: var(--aa-gold-classic) !important;
	text-transform: uppercase !important;
}

/* Feature boxes */
.aa-feature-boxes {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 1220px;
	margin: 0 auto;
	padding: 0;
	background: var(--aa-black);
	border: 1px solid var(--aa-gold-border);
}

.aa-feature-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	min-height: 128px;
	padding: 1.5rem 1.25rem;
	border: none;
	border-right: 1px solid var(--aa-gold-border);
	color: var(--aa-white) !important;
	text-decoration: none !important;
	text-align: center;
	transition: background 0.2s ease;
}

.aa-feature-box:last-child {
	border-right: none;
}

.aa-feature-box:hover {
	background: rgba(194, 163, 106, 0.08);
}

.aa-feature-box__icon {
	width: 42px;
	height: 42px;
	color: var(--aa-gold-classic);
	flex-shrink: 0;
}

.aa-feature-box__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.35;
}

.aa-feature-box__label {
	font-family: var(--aa-font-serif);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Nossa Evolução — substitui Vantagens */
.aa-evolucao {
	width: 100%;
	background: var(--aa-black-site);
	padding: 1.75rem 0 2rem;
	border-bottom: 1px solid rgba(194, 163, 106, 0.1);
}

.aa-evolucao__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.aa-evolucao__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 3.25rem;
	align-items: start;
}

.aa-evolucao__profile {
	position: relative;
	min-width: 0;
}

.aa-evolucao__portrait-wrap {
	position: relative;
	min-height: 500px;
	overflow: visible;
}

.aa-evolucao__portrait-wrap::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	width: 85%;
	height: 78%;
	background: radial-gradient(
		ellipse 75% 68% at 42% 38%,
		rgba(194, 163, 106, 0.55) 0%,
		rgba(168, 132, 63, 0.28) 32%,
		rgba(120, 90, 45, 0.1) 55%,
		transparent 72%
	);
	filter: blur(34px);
	pointer-events: none;
}

.aa-evolucao__portrait-wrap::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 8%;
	left: 10%;
	width: 62%;
	height: 58%;
	background: radial-gradient(
		ellipse at center,
		rgba(232, 200, 140, 0.35) 0%,
		rgba(194, 163, 106, 0.15) 45%,
		transparent 70%
	);
	filter: blur(22px);
	pointer-events: none;
}

.aa-evolucao__portrait-bg {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	max-height: 500px;
	min-height: 0;
	object-fit: contain;
	object-position: left center;
	-webkit-mask-image:
		linear-gradient(to right, #000 58%, transparent 100%),
		linear-gradient(to bottom, #000 38%, transparent 78%);
	-webkit-mask-composite: source-in;
	mask-image:
		linear-gradient(to right, #000 58%, transparent 100%),
		linear-gradient(to bottom, #000 38%, transparent 78%);
	mask-composite: intersect;
}

.aa-evolucao__portrait-fade {
	position: absolute;
	z-index: 2;
	inset: 0;
	background:
		linear-gradient(to right, transparent 42%, var(--aa-black-site) 100%),
		linear-gradient(to bottom, transparent 32%, rgba(10, 10, 10, 0.82) 62%, var(--aa-black-site) 100%);
	pointer-events: none;
}

.aa-evolucao__seal-row {
	position: absolute;
	left: 0;
	bottom: 0.5rem;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 1rem;
	max-width: 100%;
	padding-right: 0.5rem;
}

.aa-evolucao__seal {
	flex-shrink: 0;
	width: 150px;
	height: 150px;
	border: 3px solid var(--aa-gold-classic);
	border-radius: 50%;
	overflow: hidden;
	background: var(--aa-black-site);
}

.aa-evolucao__seal img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 37%;
}

.aa-evolucao__identity {
	position: relative;
	min-width: 0;
	padding-top: 1rem;
}

.aa-evolucao__identity::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, transparent 0%, #c2a36a 20%, #c2a36a 80%, transparent 100%);
}

.aa-evolucao__name {
	margin: 0 0 0.2rem;
	font-family: var(--aa-font-serif);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
	font-weight: 600;
	line-height: 1.3;
	color: var(--aa-gold-classic);
}

.aa-evolucao__role,
.aa-evolucao__tagline {
	margin: 0;
	font-family: var(--aa-font-sans);
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--aa-white);
}

.aa-evolucao__tagline {
	margin-top: 0.15rem;
	color: var(--aa-text-muted);
}

.aa-evolucao__timeline-col {
	position: relative;
	min-width: 0;
	padding-top: 0;
}

.aa-evolucao__header {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 1rem;
}

.aa-evolucao__logo {
	display: block;
	width: 56px;
	height: auto;
	margin-bottom: 0.65rem;
}

.aa-evolucao__title {
	margin: 0 0 0.45rem;
	font-family: var(--aa-font-serif);
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	font-weight: 600;
	line-height: 1.2;
	color: #c2a36a;
	letter-spacing: 0.04em;
}

.aa-evolucao__subtitle {
	margin: 0;
	max-width: 28rem;
	font-family: var(--aa-font-sans);
	font-size: 0.85rem;
	line-height: 1.4;
	color: var(--aa-text-muted);
}

.aa-evolucao__timeline {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 0 0 0 1.75rem;
	border-left: 2px solid rgba(194, 163, 106, 0.5);
}

.aa-evolucao__timeline-item {
	position: relative;
	padding: 0 0 0.9rem 1rem;
}

.aa-evolucao__timeline-item:last-child {
	padding-bottom: 0;
}

.aa-evolucao__timeline-item::before {
	content: "";
	position: absolute;
	left: -1.75rem;
	top: 0.4rem;
	width: 12px;
	height: 12px;
	margin-left: -7px;
	background: var(--aa-gold-classic);
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--aa-black-site);
}

.aa-evolucao__year {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--aa-font-sans);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--aa-gold-classic);
	letter-spacing: 0.03em;
}

.aa-evolucao__milestone {
	margin: 0 0 0.4rem;
	font-family: var(--aa-font-sans);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--aa-white);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.aa-evolucao__desc {
	margin: 0;
	font-family: var(--aa-font-sans);
	font-size: 0.8rem;
	line-height: 1.45;
	color: var(--aa-text-muted);
}

.aa-evolucao__banner {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 0.25rem;
	padding: 1rem 0.85rem;
	background: #fdfbf7;
	border-radius: 30px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.aa-evolucao__banner-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	min-width: 0;
	padding: 0.5rem 1rem;
	text-align: center;
}

.aa-evolucao__banner-item:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 1px;
	height: 72%;
	background: #e5e5e5;
	transform: translateY(-50%);
	pointer-events: none;
}

.aa-evolucao__banner-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--aa-gold-classic);
	flex-shrink: 0;
}

.aa-evolucao__banner-icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.15;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.aa-beneficio-card__icon-img,
.aa-tooth-icon {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.aa-evolucao__banner-label {
	margin: 0;
}

.aa-evolucao__banner-line {
	display: block;
	font-family: var(--aa-font-sans);
	font-size: clamp(11px, 1vw, 13px);
	font-weight: 600;
	line-height: 1.2;
	color: #2a2520;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Depoimentos */
.aa-depoimentos {
	width: 100%;
	background: var(--aa-black-site);
	padding: 3.5rem 0 4.5rem;
	border-top: 1px solid rgba(194, 163, 106, 0.1);
}

.aa-depoimentos__inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.aa-depoimentos__title {
	margin: 0 0 2.75rem;
	font-family: var(--aa-font-serif);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.aa-depoimentos__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	align-items: stretch;
}

.aa-depoimento-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem 1.5rem 1.75rem;
	background: #161513;
	border: 1px solid rgba(194, 163, 106, 0.1);
	border-radius: 4px;
	text-align: center;
}

.aa-depoimento-card__photo-wrap {
	margin-bottom: 1.25rem;
}

.aa-depoimento-card__photo {
	position: relative;
	width: 160px;
	height: 160px;
	padding: 4px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(194, 163, 106, 0.55) 0%, rgba(194, 163, 106, 0.15) 50%, rgba(194, 163, 106, 0.45) 100%);
	box-shadow: 0 0 0 1px rgba(194, 163, 106, 0.12);
}

.aa-depoimento-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid #161513;
}

.aa-depoimento-card__number {
	position: absolute;
	right: 4px;
	bottom: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-family: var(--aa-font-sans);
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--aa-gold-classic);
	border-radius: 50%;
	border: 2px solid #161513;
}

.aa-depoimento-card__name {
	margin: 0 0 0.35rem;
	font-family: var(--aa-font-serif);
	font-size: clamp(14px, 1.2vw, 16px);
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.aa-depoimento-card__role {
	margin: 0 0 1rem;
	font-family: var(--aa-font-sans);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--aa-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.aa-depoimento-card__quote {
	margin: 0;
	padding: 0;
	border: none;
}

.aa-depoimento-card__quote p {
	margin: 0;
	font-family: var(--aa-font-sans);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--aa-text-muted);
}

.aa-depoimentos__cta {
	display: flex;
	justify-content: center;
	margin-top: 2.75rem;
}

.aa-btn-premium {
	display: inline-block;
	padding: 11px 24px;
	background: linear-gradient(90deg, #ba9a5d 0%, #ead29a 50%, #ba9a5d 100%);
	color: #0a0a0a !important;
	font-family: "Inter", var(--aa-font-sans);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	text-transform: uppercase;
	border: none;
	border-radius: 4px;
	transition: filter 0.3s ease;
}

.aa-btn-premium:hover {
	filter: brightness(1.1);
	color: #0a0a0a !important;
}

/* Folheto CTA */
.aa-folheto-cta {
	text-align: center;
	padding: 2.5rem 1.25rem 3rem;
	background: var(--aa-black);
	border-top: 1px solid var(--aa-gold-border);
}

.aa-folheto-cta__title {
	margin: 0 0 0.75rem;
	color: var(--aa-white);
	font-family: var(--aa-font-serif);
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.aa-folheto-cta__text {
	margin: 0 0 1.5rem;
	color: var(--aa-gray);
}

.aa-btn-gold {
	display: inline-block;
	padding: 0.85rem 2rem;
	background: var(--aa-btn-gradient);
	color: var(--aa-black) !important;
	font-family: var(--aa-font-sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none !important;
	text-transform: uppercase;
	border-radius: 4px;
	border: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: filter 0.2s ease;
}

.aa-btn-gold:hover {
	filter: brightness(1.08);
	color: var(--aa-black) !important;
}

@media (max-width: 900px) {
	.aa-feature-boxes {
		grid-template-columns: 1fr;
	}

	.aa-feature-box {
		border-right: none;
		border-bottom: 1px solid var(--aa-gold-border);
	}

	.aa-feature-box:last-child {
		border-bottom: none;
	}

	.aa-evolucao__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.aa-evolucao__profile {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		justify-self: center;
		width: 100%;
		max-width: 360px;
		margin-inline: auto;
		text-align: center;
	}

	.aa-evolucao__timeline-col {
		width: 100%;
		justify-self: stretch;
	}

	.aa-evolucao__portrait-wrap {
		display: none;
	}

	.aa-evolucao__seal-row {
		position: static;
		left: auto;
		bottom: auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.75rem;
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
		padding: 0;
		text-align: center;
	}

	.aa-evolucao__identity {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		width: 100%;
		padding-top: 1rem;
	}

	.aa-evolucao__identity::before {
		left: 50%;
		width: min(280px, 80%);
		transform: translateX(-50%);
	}

	.aa-evolucao__banner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 24px;
		padding: 1.5rem 1rem;
	}

	.aa-evolucao__banner-item:nth-child(2n)::after {
		display: none;
	}

	.aa-evolucao__banner-item:nth-child(1)::after,
	.aa-evolucao__banner-item:nth-child(3)::after {
		display: block;
	}

	.aa-evolucao__banner-item:nth-child(-n + 2) {
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 1.25rem;
		margin-bottom: 0.75rem;
	}

	.aa-depoimentos__grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.aa-depoimento-card {
		padding: 1.75rem 1.25rem;
	}

	.aa-btn-premium {
		text-align: center;
	}
}

@media (max-width: 560px) {
	.aa-evolucao__profile {
		max-width: 100%;
	}

	.aa-evolucao__banner {
		grid-template-columns: 1fr;
	}

	.aa-evolucao__banner-item::after {
		display: none !important;
	}

	.aa-evolucao__banner-item:not(:last-child) {
		border-bottom: 1px solid #e5e5e5;
		padding-bottom: 1.25rem;
		margin-bottom: 0.5rem;
	}
}

/* Header — menu links claros (normal + sticky) */
#Top_bar .menu > li > a,
#Top_bar .menu > li > a span,
#Top_bar .top_bar_right a#search_button {
	color: #ffffff !important;
}

/* Header — botão calculadora + search sempre visíveis */
#Top_bar a.action_button,
#Side_slide a.action_button,
a.button.action_button {
	font-family: "Inter", sans-serif !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	text-transform: uppercase !important;
	color: #0a0a0a !important;
	letter-spacing: 0.05em !important;
	background: linear-gradient(90deg, #ba9a5d 0%, #ead29a 50%, #ba9a5d 100%) !important;
	border: none !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	cursor: pointer !important;
	padding: 11px 15px !important;
	transition: filter 0.3s ease !important;
	white-space: nowrap !important;
}

#Top_bar a.action_button .button_label,
#Side_slide a.action_button .button_label,
a.button.action_button .button_label {
	background: transparent !important;
	color: inherit !important;
	box-shadow: none !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	padding: 0 !important;
}

#Top_bar a.action_button:hover,
#Side_slide a.action_button:hover {
	filter: brightness(1.1);
	background: linear-gradient(90deg, #ba9a5d 0%, #ead29a 50%, #ba9a5d 100%) !important;
}

@media only screen and (min-width: 1240px) {
	.header-classic #Top_bar .container .column.one {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		align-items: center !important;
		column-gap: 1rem !important;
	}

	.header-classic #Top_bar .top_bar_left {
		min-width: 0 !important;
		width: auto !important;
		overflow: visible !important;
	}

	.header-classic #Top_bar .top_bar_right {
		grid-column: 2 !important;
		overflow: visible !important;
		padding: 0 !important;
		top: 0 !important;
	}

	.header-classic #Top_bar .top_bar_right_wrapper {
		display: flex !important;
		align-items: center !important;
		gap: 0.65rem !important;
		overflow: visible !important;
		white-space: nowrap !important;
	}

	.header-classic #Top_bar a#search_button,
	.header-classic #Top_bar a.action_button {
		position: static !important;
		float: none !important;
		top: auto !important;
		margin: 0 !important;
		flex-shrink: 0 !important;
	}
}

/* Sticky header — altura dinâmica, fundo abraça logo + botão */
#Top_bar,
#Top_bar.is-sticky {
	transition: padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease !important;
}

#Top_bar.is-sticky,
.sticky-dark #Top_bar.is-sticky {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	overflow: visible !important;
	box-sizing: border-box !important;
}

#Top_bar.is-sticky .top_bar_right {
	top: 0 !important;
	height: auto !important;
}

#Top_bar.is-sticky .top_bar_right_wrapper {
	top: auto !important;
	position: static !important;
	display: flex !important;
	align-items: center !important;
}

#Top_bar.is-sticky #logo {
	height: auto !important;
	line-height: 1 !important;
	padding: 0 !important;
}

#Top_bar.is-sticky #logo img:not(.svg) {
	max-height: 50px !important;
	width: auto !important;
}

#Top_bar.is-sticky .menu > li > a,
#Top_bar.is-sticky .menu > li > a span {
	line-height: normal !important;
}

#Top_bar.is-sticky .menu > li > a {
	padding: 0 !important;
}

@media only screen and (min-width: 1240px) {
	.header-classic #Top_bar.is-sticky .container .column.one {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto !important;
		align-items: center !important;
	}

	.header-classic #Top_bar.is-sticky .top_bar_left {
		display: flex !important;
		align-items: center !important;
		float: none !important;
		overflow: visible !important;
	}

	.header-classic #Top_bar.is-sticky .top_bar_right {
		height: auto !important;
		overflow: visible !important;
		padding: 0 !important;
	}

	.header-classic #Top_bar.is-sticky .top_bar_right_wrapper {
		display: flex !important;
		align-items: center !important;
		gap: 0.65rem !important;
		overflow: visible !important;
	}

	.header-classic #Top_bar.is-sticky a#search_button,
	.header-classic #Top_bar.is-sticky a.action_button {
		position: static !important;
		top: auto !important;
		margin: 0 !important;
	}
}
