/* ==========================================================================
   Aortho LP — Dr. Aldir Cordeiro · Odontologia em Petrópolis/RJ
   Paleta: preto #0a0a0a · branco #fff · dourado #E9A238 · verde WA #00BB2D
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--black: #0a0a0a;
	--ink: #0d0d0d;
	--white: #ffffff;
	--gold: #E9A238;
	--gold-dark: #DF9A11;
	--gold-soft: rgba(233, 162, 56, 0.12);
	--green: #00BB2D;
	--green-dark: #01991f;
	--gray: #F0F0F0;
	--text: #3a3a3a;
	--muted: #777;
	--line: #e9e9e9;
	--font-head: 'Poppins', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--radius: 18px;
	--shadow-card: 0 18px 40px rgba(0, 0, 0, 0.08);
	--shadow-float: 0 24px 64px rgba(0, 0, 0, 0.5);
}

html { scroll-behavior: smooth; }

body {
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
iframe { border: 0; }

::selection { background: var(--gold); color: var(--black); }

h1, h2, h3 {
	font-family: var(--font-head);
	line-height: 1.15;
	color: var(--black);
	font-weight: 700;
}

section[id] { scroll-margin-top: 84px; }

.container { max-width: 1140px; margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Utilitários ---------- */
.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold);
}

.gold { color: var(--gold); }

.stars { color: var(--gold); letter-spacing: 2px; white-space: nowrap; }
.stars-sm { font-size: 0.8rem; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 14px 0 16px; }
.section-head p { color: var(--muted); max-width: 580px; }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	padding: 16px 30px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
	white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(233, 162, 56, 0.35); }

.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { padding: 11px 22px; font-size: 0.85rem; }

a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Cabeçalho ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 800;
	padding: 20px 0;
	transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
	border-bottom: 1px solid transparent;
}
.site-header.scrolled {
	padding: 10px 0;
	background: rgba(8, 8, 8, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: rgba(255, 255, 255, 0.07);
}

.header-inner { display: flex; align-items: center; gap: 28px; }

.brand img { height: 42px; width: auto; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s ease;
}
.nav a:hover { color: var(--gold); }

.header-cta { margin-left: 4px; }

.nav-toggle {
	display: none;
	margin-left: auto;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero {
	padding: 180px 0 110px;
	color: #b9b9b9;
	background:
		radial-gradient(900px 520px at 88% -12%, rgba(233, 162, 56, 0.16), transparent 60%),
		radial-gradient(700px 420px at -12% 112%, rgba(233, 162, 56, 0.07), transparent 55%),
		var(--black);
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.hero h1 {
	font-size: clamp(2.3rem, 4.6vw, 3.7rem);
	font-weight: 800;
	color: var(--white);
	margin: 18px 0 20px;
	letter-spacing: -0.02em;
}

.hero-sub { font-size: 1.05rem; max-width: 520px; margin-bottom: 34px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 38px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.85rem; color: #9a9a9a; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; }

.hero-media { position: relative; }

.hero-frame {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow-float);
	aspect-ratio: 4 / 3;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame::before {
	content: '';
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px;
	pointer-events: none;
	z-index: 1;
}
.hero-media::before {
	content: '';
	position: absolute;
	top: -16px;
	right: -16px;
	width: 130px;
	height: 130px;
	border-top: 3px solid var(--gold);
	border-right: 3px solid var(--gold);
	border-radius: 0 22px 0 0;
	pointer-events: none;
}

.hero-badge {
	position: absolute;
	left: 22px;
	bottom: -24px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--white);
	color: var(--black);
	border-radius: 14px;
	padding: 14px 20px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.hero-badge .stars { font-size: 0.95rem; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 0.95rem; line-height: 1.2; }
.hero-badge small { color: var(--muted); font-size: 0.75rem; }

/* ---------- 2. Tratamentos ---------- */
.grid-tratamentos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card-tratamento {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 26px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card-tratamento:hover {
	transform: translateY(-6px);
	border-color: rgba(233, 162, 56, 0.55);
	box-shadow: var(--shadow-card);
}

.card-ico {
	width: 54px; height: 54px;
	border-radius: 14px;
	background: var(--gold-soft);
	color: var(--gold);
	display: grid;
	place-items: center;
	margin-bottom: 18px;
}
.card-ico svg { width: 28px; height: 28px; }

.card-tratamento h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card-tratamento p { font-size: 0.92rem; color: #666; margin-bottom: 20px; }

.link-agendar {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--black);
	transition: color 0.2s ease, gap 0.2s ease;
}
.link-agendar svg { width: 16px; height: 16px; }
.link-agendar:hover { color: var(--gold); gap: 12px; }

/* ---------- 3. Sobre / Por que escolher ---------- */
.section-about { background: var(--ink); color: #c9c9c9; }
.section-about .section-head h2, .section-about h2 { color: var(--white); }

.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }

.about-media { position: relative; }

.about-frame {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--shadow-float);
	aspect-ratio: 4 / 5;
	max-height: 640px;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-frame::before {
	content: '';
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	pointer-events: none;
	z-index: 1;
}
.about-media::before {
	content: '';
	position: absolute;
	bottom: -16px;
	left: -16px;
	width: 130px;
	height: 130px;
	border-bottom: 3px solid var(--gold);
	border-left: 3px solid var(--gold);
	border-radius: 0 0 0 22px;
	pointer-events: none;
}

.about-badge {
	position: absolute;
	top: 22px;
	right: -14px;
	background: var(--gold);
	color: var(--black);
	border-radius: 12px;
	padding: 14px 18px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.25;
	box-shadow: 0 14px 34px rgba(233, 162, 56, 0.35);
}
.about-badge small { display: block; font-weight: 500; font-size: 0.78rem; }

.about-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 14px 0 18px; }
.about-copy > p { max-width: 560px; margin-bottom: 10px; }

.credenciais { display: grid; gap: 12px; margin: 26px 0 34px; }
.credenciais li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.check {
	flex: 0 0 24px;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--gold-soft);
	color: var(--gold);
	display: grid;
	place-items: center;
	margin-top: 2px;
}
.check svg { width: 12px; height: 12px; }

/* ---------- 4. Galeria ---------- */
.grid-galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.galeria-item {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	cursor: zoom-in;
	background: var(--gray);
}
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.galeria-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.38));
	opacity: 0;
	transition: opacity 0.3s ease;
}
.galeria-item:hover img { transform: scale(1.06); }
.galeria-item:hover::after { opacity: 1; }

/* ---------- 5. Avaliações ---------- */
.section-avaliacoes { background: var(--gray); }

.google-badge {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: var(--white);
	border: 1px solid #e4e4e4;
	border-radius: 16px;
	padding: 16px 22px;
	margin-top: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.google-badge > svg { width: 34px; height: 34px; }
.gb-info strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--black); }
.gb-info .stars { font-size: 0.9rem; margin-right: 8px; }
.gb-info small { color: var(--muted); }
.gb-info small strong { display: inline; font-size: inherit; }

.grid-avaliacoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card-avaliacao {
	display: flex;
	flex-direction: column;
	gap: 14px;
	background: var(--white);
	border: 1px solid #e8e8e8;
	border-radius: 16px;
	padding: 26px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-avaliacao:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.rev-top { display: flex; align-items: center; gap: 14px; }
.avatar {
	width: 46px; height: 46px;
	border-radius: 50%;
	background: var(--gold);
	color: var(--black);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.15rem;
	display: grid;
	place-items: center;
}
.rev-nome { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--black); margin-bottom: 2px; }

.rev-texto { font-size: 0.92rem; color: #555; flex: 1; }

.rev-fonte {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	color: #a8a8a8;
}
.rev-fonte svg { width: 14px; height: 14px; }

/* ---------- 6. Contato ---------- */
.section-contato { background: var(--ink); color: #c9c9c9; }
.section-contato h2 { color: var(--white); font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 14px 0 8px; }

.contato-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }

.contato-lista { display: grid; gap: 20px; margin: 28px 0 34px; }
.contato-lista li { display: flex; gap: 16px; align-items: flex-start; font-size: 0.95rem; }
.contato-lista strong { color: var(--white); font-family: var(--font-head); font-weight: 600; }

.c-ico {
	flex: 0 0 46px;
	width: 46px; height: 46px;
	border-radius: 12px;
	background: var(--gold-soft);
	color: var(--gold);
	display: grid;
	place-items: center;
}
.c-ico svg { width: 22px; height: 22px; }

.contato-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.contato-mapa {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-float);
	min-height: 430px;
}
.contato-mapa iframe { width: 100%; height: 100%; min-height: 430px; display: block; }

/* ---------- Rodapé ---------- */
.site-footer { background: #050505; padding: 60px 0 30px; color: #888; text-align: center; }
.site-footer img { height: 42px; width: auto; margin: 0 auto 18px; }

.footer-tag {
	font-family: var(--font-head);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b9b9b9;
	margin-bottom: 22px;
}

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 8px; }
.footer-nav a { font-size: 0.85rem; color: #999; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold); }

.credit { font-size: 0.75rem; color: #555; border-top: 1px solid #161616; padding-top: 24px; margin-top: 26px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 900;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: var(--green);
	color: var(--white);
	display: grid;
	place-items: center;
	box-shadow: 0 12px 32px rgba(0, 187, 45, 0.4);
	animation: whats-pulse 2.4s infinite;
	transition: background 0.25s ease, transform 0.25s ease;
}
.whats-float:hover { background: var(--green-dark); transform: scale(1.06); }
.whats-float svg { width: 30px; height: 30px; }

@keyframes whats-pulse {
	0% { box-shadow: 0 0 0 0 rgba(0, 187, 45, 0.45); }
	70% { box-shadow: 0 0 0 18px rgba(0, 187, 45, 0); }
	100% { box-shadow: 0 0 0 0 rgba(0, 187, 45, 0); }
}

/* ---------- Lightbox ---------- */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(5, 5, 5, 0.94);
	display: none;
	place-items: center;
	cursor: zoom-out;
	padding: 32px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox-close {
	position: absolute;
	top: 16px; right: 24px;
	background: none;
	border: 0;
	color: var(--white);
	font-size: 2.4rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.8;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	.whats-float { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
	.hero { padding: 150px 0 90px; }
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.hero-media { max-width: 560px; }
	.about-grid { grid-template-columns: 1fr; gap: 48px; }
	.about-media { max-width: 480px; }
	.contato-grid { grid-template-columns: 1fr; gap: 40px; }
	.grid-tratamentos { grid-template-columns: repeat(2, 1fr); }
	.grid-avaliacoes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.section { padding: 72px 0; }

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		gap: 0;
		margin-left: 0;
		background: rgba(8, 8, 8, 0.97);
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		padding: 10px 24px 18px;
	}
	.nav.open { display: flex; }
	.nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
	.nav a:last-child { border-bottom: 0; }

	.header-cta { display: none; }
	.nav-toggle { display: flex; }

	.grid-galeria { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 560px) {
	.grid-tratamentos,
	.grid-avaliacoes,
	.grid-galeria { grid-template-columns: 1fr; }

	.hero { padding: 130px 0 80px; }
	.hero-ctas .btn { width: 100%; }
	.hero-badge { left: 14px; padding: 11px 16px; }
	.about-badge { right: 10px; }
	.contato-ctas .btn { width: 100%; }
	.whats-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
	.whats-float svg { width: 26px; height: 26px; }
}

/* Estrutura images - fixed size */
#estrutura .elementor-widget-image img {
    width: 100% !important;
    height: 280px !important;
}

.aortho-reviews-updated {
    display: none !important;
}


footer.elementor-slideshow__footer.elementor-lightbox-prevent-close {
    display: none !important;
}
