/* ==========================================================
   Clínica Odontoriso — Eunápolis/BA
   Identidade: azul-marinho + dourado + creme
   Estrutura inspirada em sites de clínicas de alta conversão:
   top bar, menu com dropdown, hero escuro, faixa de números,
   cards em destaque, seções alternando claro/escuro.
   ========================================================== */

:root {
  --navy-950: #08192e;
  --navy-900: #0f2a4a;
  --navy-800: #153a63;
  --navy-700: #1b4f82;
  --navy-600: #235e99;
  --sky-50: #eef4fa;
  --sky-100: #dce8f4;
  --gold-700: #8a6530;
  --gold-500: #b8925a;
  --gold-300: #d9bf8e;
  --gold-100: #f1e7d3;
  --cream: #fbf8f2;
  --white: #ffffff;
  --ink: #12263f;
  --muted: #526580;
  --wa: #1faf54;

  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --shadow-sm: 0 2px 12px rgba(15, 42, 74, 0.06);
  --shadow-md: 0 24px 60px -24px rgba(15, 42, 74, 0.3);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --topbar-h: 38px;
  --bar-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: 10px; transition: top 0.2s;
}
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.logo-mark { --mark-navy: var(--navy-700); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.7rem); line-height: 1.04; font-weight: 600; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
em.gold { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1em; color: var(--gold-500); letter-spacing: -0.02em; }

.pill {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 8px 16px; border-radius: 999px; background: var(--gold-300); color: var(--navy-950);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3;
}

.section { padding: 112px 0; position: relative; }
.sec-head { display: grid; gap: 18px; justify-items: start; max-width: 760px; margin-bottom: 52px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
.sec-head.center { justify-items: center; text-align: center; margin-inline: auto; }

.dark { background: var(--navy-950); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .muted-light { color: rgba(255, 255, 255, 0.76); }
.tint { background: var(--sky-50); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; line-height: 1.2;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s, border-color 0.3s, filter 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; }
.btn-primary { background: var(--navy-700); color: #fff; box-shadow: 0 14px 30px -14px rgba(27, 79, 130, 0.75); }
.btn-primary:hover { background: var(--navy-900); }
.btn-gold { background: linear-gradient(135deg, #e3c896, #c39c60 60%, #a97f45); color: var(--navy-950); box-shadow: 0 14px 30px -14px rgba(184, 146, 90, 0.85); }
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { border-color: rgba(15, 42, 74, 0.28); color: var(--navy-900); }
.btn-ghost:hover { border-color: var(--navy-700); background: rgba(27, 79, 130, 0.06); }
.btn-ghost.light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost.light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.95rem; color: var(--navy-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.dark .link-arrow { color: var(--gold-300); }

.chip {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--sky-100); color: var(--navy-700);
}
.chip svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.chip svg.fill { fill: currentColor; stroke: none; }
.dark .chip { background: rgba(217, 191, 142, 0.14); color: var(--gold-300); }

/* ---------- Top bar + Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.topbar {
  height: var(--topbar-h); background: var(--sky-50); color: var(--navy-800); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  overflow: hidden; transition: height 0.35s var(--ease), opacity 0.3s;
}
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--navy-700); }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 28px; }
.site-header.scrolled .topbar { height: 0; opacity: 0; }

.bar-wrap { background: #fff; box-shadow: 0 1px 0 rgba(15, 42, 74, 0.08); transition: box-shadow 0.35s; }
.site-header.scrolled .bar-wrap { box-shadow: 0 10px 30px -18px rgba(15, 42, 74, 0.35); }
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--bar-h); gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 400; letter-spacing: 0.24em; font-size: 1.12rem; color: var(--navy-700); }
.brand-tag { font-family: var(--font-serif); font-style: italic; font-size: 0.9rem; color: var(--gold-700); margin-top: 6px; }

.nav > ul { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn), .nav .dd-toggle { position: relative; font-size: 0.95rem; font-weight: 500; color: var(--navy-900); padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav > ul > li > a:not(.btn)::after, .nav .dd-toggle::after {
  content: ""; position: absolute; left: 0; bottom: 2px; height: 1.5px; width: 0; background: var(--gold-500); transition: width 0.3s var(--ease);
}
.nav > ul > li > a:not(.btn):hover::after, .nav .dd-toggle:hover::after, .has-dd:focus-within .dd-toggle::after { width: 100%; }
.dd-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease); }
.nav-cta { display: none; }

.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 14px); left: -20px; min-width: 290px; padding: 12px; background: #fff; border-radius: 18px;
  box-shadow: 0 30px 60px -24px rgba(15, 42, 74, 0.4); border: 1px solid var(--gold-100);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dd a { display: flex !important; padding: 10px 14px !important; border-radius: 10px; font-weight: 500; font-size: 0.93rem !important; gap: 12px !important; }
.dd a::after { display: none !important; }
.dd a:hover { background: var(--sky-50); color: var(--navy-700); }
.dd a svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-500); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.has-dd:hover .dd, .has-dd.open .dd, .has-dd:focus-within .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .dd-toggle svg, .has-dd.open .dd-toggle svg { transform: rotate(180deg); }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(15, 42, 74, 0.2); border-radius: 50%; position: relative; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--navy-900); transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* ---------- Hero (escuro) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  padding: calc(var(--topbar-h) + var(--bar-h) + 84px) 0 150px;
  background:
    radial-gradient(900px 560px at 88% 20%, rgba(35, 94, 153, 0.55), transparent 62%),
    radial-gradient(600px 420px at 0% 100%, rgba(217, 191, 142, 0.12), transparent 70%),
    linear-gradient(180deg, #0c2342, var(--navy-950));
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
}
.hero-photo {
  display: none; position: absolute; inset: 0 0 0 auto; width: 56%; height: 100%; object-fit: cover; object-position: center top; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero.has-photo .hero-photo { display: block; }
.hero.has-photo .hero-visual { display: none; }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; width: min(1200px, 100% - 48px); margin-inline: auto; }
.hero h1 { color: #fff; margin: 24px 0 24px; max-width: 14ch; }
.hero h1 span { display: block; }
.hero-lead { max-width: 560px; font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.62); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 420px); }
.arch {
  position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #235e99 0%, #1b4f82 38%, #0f2a4a 85%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}
.arch::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 45% at 50% 38%, rgba(217, 191, 142, 0.3), transparent 70%); }
.arch-frame { position: absolute; inset: -14px; border: 1px solid rgba(217, 191, 142, 0.55); border-radius: 999px 999px 38px 38px; pointer-events: none; }
.arch .tooth { position: absolute; left: 50%; top: 46%; width: 56%; transform: translate(-50%, -50%); }
.arch .spark { position: absolute; color: var(--gold-300); }
.arch .spark.s1 { width: 30px; top: 22%; right: 20%; }
.arch .spark.s2 { width: 18px; top: 58%; left: 14%; opacity: 0.8; }
.arch .spark.s3 { width: 22px; bottom: 18%; right: 18%; opacity: 0.7; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 18px; color: var(--navy-900);
  padding: 14px 20px 14px 16px; box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.5);
}
.float-card .badge { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-700); flex: none; }
.float-card strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; font-weight: 600; color: var(--navy-900); }
.float-card small { color: var(--muted); font-size: 0.8rem; }
.float-card.rating { left: -44px; bottom: 50px; }
.float-card.years { right: -26px; top: 50px; }

/* ---------- Faixa de números ---------- */
.stats { background: var(--navy-700); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 6px 20px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.5rem); font-weight: 600; line-height: 1.1; display: inline-flex; align-items: center; gap: 8px; }
.stat .num svg { width: 0.62em; height: 0.62em; color: var(--gold-300); }
.stat .lbl { display: block; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); line-height: 1.4; margin-top: 4px; }

/* ---------- Faixa de credibilidade ---------- */
.proof { padding: 36px 0 0; background: #fff; }
.proof-card {
  display: flex; align-items: center; gap: 24px; padding: 22px 28px; border: 1px solid var(--sky-100); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm);
}
.proof-card p { flex: 1; font-weight: 500; font-size: 1.08rem; color: var(--navy-900); line-height: 1.45; }

/* ---------- Tratamentos ---------- */
.cards-feature { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 34px 34px 32px; background: #fff; border: 1px solid var(--sky-100); border-radius: 22px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.card .chip { margin-bottom: 4px; }
.card p { color: var(--muted); flex: 1; }
.card .btn { align-self: flex-start; margin-top: 8px; }

.sub-head { margin: 84px 0 36px; display: grid; gap: 14px; max-width: 720px; }
.sub-head p { color: var(--muted); font-size: 1.08rem; }
.cards-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card.compact { padding: 28px 26px 26px; gap: 10px; border-radius: 20px; }
.card.compact h3 { font-size: 1.15rem; }
.card.compact p { font-size: 0.96rem; }
.card.compact .chip { width: 44px; height: 44px; }
.card.cta-card { background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); border-color: transparent; color: #fff; justify-content: center; }
.card.cta-card h3 { color: #fff; }
.card.cta-card p { color: rgba(255, 255, 255, 0.78); flex: none; }
.card.cta-card:hover { border-color: var(--gold-300); }

/* ---------- Seção dividida (kids / equipe) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 80px; align-items: center; }
.split h2 { margin: 20px 0 22px; }
.split p.lead { font-size: 1.1rem; max-width: 540px; }
.dark .split p.lead { color: rgba(255, 255, 255, 0.8); }
.split:not(.on-dark) p.lead { color: var(--muted); }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin: 34px 0 38px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { font-size: 0.93rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
.feature .chip { width: 42px; height: 42px; border-radius: 12px; }
.feature .chip svg { width: 21px; height: 21px; }

.media-card { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.55); }
.media-card.wide { aspect-ratio: 4 / 3.4; }
.media-card.tall { aspect-ratio: 4 / 5; }
.media-card img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.media-art {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(150deg, #235e99, #153a63 55%, #0f2a4a);
}
.media-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 45% at 50% 40%, rgba(217, 191, 142, 0.26), transparent 70%); }
.media-art .big-icon { position: relative; width: 38%; color: var(--gold-300); fill: none; stroke: currentColor; stroke-width: 0.9; stroke-linecap: round; stroke-linejoin: round; }
.media-art .mark-bg { position: absolute; width: 90%; height: 90%; right: -25%; bottom: -25%; opacity: 0.08; --mark-navy: #fff; }
.media-art .spark { position: absolute; color: var(--gold-300); }
.media-art .spark.a { width: 26px; top: 20%; right: 22%; }
.media-art .spark.b { width: 16px; bottom: 26%; left: 20%; opacity: 0.8; }
.media-label {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; padding: 12px 20px; border-radius: 12px; background: var(--navy-700); color: #fff; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.5);
}

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.badge-cro { padding: 8px 16px; border: 1px solid rgba(15, 42, 74, 0.25); border-radius: 10px; font-size: 0.9rem; font-weight: 500; color: var(--navy-900); background: #fff; }
.badge-cro b { font-weight: 600; }
.team-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.duo { position: relative; display: grid; gap: 22px; justify-items: center; align-content: center; text-align: center; padding: 32px; }
.duo .avatars { display: flex; gap: 18px; position: relative; }
.duo .av {
  width: clamp(110px, 17vw, 150px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(217, 191, 142, 0.6); font-family: var(--font-serif); font-size: 2.8rem; color: var(--gold-300); font-weight: 500;
}
.duo .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.duo p { position: relative; color: rgba(255, 255, 255, 0.86); font-size: 0.98rem; line-height: 1.6; }
.duo p b { color: #fff; font-weight: 600; }

/* ---------- Avaliações (escuro) ---------- */
.stars { display: inline-flex; gap: 4px; color: var(--gold-300); }
.stars svg { width: 20px; height: 20px; }
.rev-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.rev-head p { color: rgba(255, 255, 255, 0.74); font-size: 1.1rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev-card { padding: 34px 30px; border-radius: 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s; }
.rev-card:hover { transform: translateY(-4px); border-color: rgba(217, 191, 142, 0.5); background: rgba(255, 255, 255, 0.08); }
.rev-card .num { font-family: var(--font-display); font-size: 3.6rem; font-weight: 600; line-height: 1; color: var(--gold-300); display: block; margin-bottom: 10px; }
.rev-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.rev-card p { color: rgba(255, 255, 255, 0.7); font-size: 0.97rem; line-height: 1.55; }
.rev-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

/* ---------- Como funciona ---------- */
.steps-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.steps-split h2 { margin: 20px 0 20px; }
.steps-split .lead { color: var(--muted); font-size: 1.1rem; max-width: 500px; margin-bottom: 32px; }
.step-list { display: grid; gap: 16px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; border-radius: 20px; background: var(--cream); border: 1px solid var(--gold-100); transition: border-color 0.3s, transform 0.3s var(--ease); }
.step:hover { border-color: var(--gold-300); transform: translateX(4px); }
.step .n { font-family: var(--font-serif); font-size: 2.4rem; line-height: 1; color: var(--gold-500); font-weight: 500; min-width: 38px; }
.step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.97rem; line-height: 1.55; }

/* ---------- Localização ---------- */
.loc-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.loc-grid h2 { margin: 20px 0 28px; }
.addr { font-size: 1.08rem; line-height: 1.8; color: var(--ink); }
.contact-lines { margin: 22px 0; display: grid; gap: 4px; font-size: 1.05rem; }
.contact-lines b { font-weight: 600; color: var(--navy-900); }
.contact-lines a:hover { color: var(--navy-700); text-decoration: underline; }
.loc-note { font-size: 0.93rem; color: var(--muted); max-width: 460px; margin-bottom: 28px; }
.map { border-radius: 26px; overflow: hidden; min-height: 460px; box-shadow: var(--shadow-md); border: 1px solid var(--sky-100); background: #fff; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---------- CTA final + Footer ---------- */
.cta-final { text-align: center; padding: 108px 0 80px; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 280px at 50% 0%, rgba(35, 94, 153, 0.5), transparent 70%); }
.cta-final > .container { position: relative; display: grid; gap: 18px; justify-items: center; }
.cta-final h2 { max-width: 760px; }
.cta-final p { color: rgba(255, 255, 255, 0.78); max-width: 520px; font-size: 1.1rem; }
.cta-final small { color: rgba(255, 255, 255, 0.58); font-size: 0.9rem; }
.cta-final .btn { margin-top: 12px; }

.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.72); padding: 0 0 36px; font-size: 0.95rem; }
.footer .logo-mark { --mark-navy: #fff; }
.footer .brand-name { color: #fff; }
.footer .brand-tag { color: var(--gold-300); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; padding: 56px 0 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .about { margin-top: 20px; max-width: 320px; font-size: 0.93rem; line-height: 1.6; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--gold-300); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.f-contact svg.fill { fill: var(--gold-300); stroke: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 16px 34px -10px rgba(31, 175, 84, 0.7); transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .section { padding: 92px 0; }
  .split, .steps-split, .loc-grid { gap: 52px; }
  .nav > ul { gap: 22px; }
  .float-card.rating { left: -18px; }
  .float-card.years { right: -10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --topbar-h: 0px; --bar-h: 72px; }
  .topbar { display: none; }
  .menu-toggle { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--bar-h) 0 auto 0; max-height: calc(100vh - var(--bar-h)); overflow-y: auto; background: #fff; padding: 8px 24px 28px;
    box-shadow: 0 24px 40px -24px rgba(15, 42, 74, 0.35); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a:not(.btn), .nav .dd-toggle { display: flex; width: 100%; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--sky-100); font-size: 1.05rem; }
  .nav > ul > li > a:not(.btn)::after, .nav .dd-toggle::after { display: none; }
  .dd { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 8px; min-width: 0; display: none; background: transparent; }
  .dd::before { display: none; }
  .has-dd:hover .dd { opacity: 1; }
  .has-dd.open .dd { display: block; }
  .has-dd:focus-within:not(.open) .dd { display: none; }
  .nav-cta { display: block; margin-top: 20px; }
  .nav-cta .btn { width: 100%; }

  .hero { min-height: 0; padding: calc(var(--bar-h) + 56px) 0 72px; }
  .hero-grid, .split, .steps-split, .loc-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-visual { justify-self: center; width: min(100%, 400px); margin-top: 32px; }
  .hero-photo { width: 100%; opacity: 0.32; -webkit-mask-image: none; mask-image: none; }
  .float-card.rating { left: -8px; bottom: 34px; }
  .float-card.years { right: -8px; top: 34px; }
  .cards-feature, .cards-compact { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .rev-grid { grid-template-columns: 1fr; }
  .proof-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .media-card.tall { max-width: 460px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .hero-grid { width: min(1200px, 100% - 36px); }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 40px; }
  .brand .logo-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1rem; letter-spacing: 0.2em; }
  .brand-tag { font-size: 0.82rem; }
  .hero-actions .btn { width: 100%; }
  .cards-feature, .cards-compact, .features { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .sub-head { margin-top: 64px; }
  .stat { padding: 6px 10px; }
  .stat .lbl { font-size: 0.72rem; letter-spacing: 0.1em; }
  .step { padding: 22px 20px; gap: 14px; }
  .team-actions .btn, .rev-actions .btn { width: 100%; }
  .cta-final { padding: 76px 0 60px; }
  .cta-final .btn { width: 100%; white-space: normal; }
  .map, .map iframe { min-height: 360px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 36px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ==========================================================
   Estrutura v3 (referência de clínica): hero com números,
   barra sobreposta, sobre, serviços com mídia, checklist,
   destaque escuro, acordeões, agendamento
   ========================================================== */
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.hero-stats .num { display: inline-flex; align-items: center; gap: 6px; font-size: 2.3rem; font-weight: 600; line-height: 1.1; color: var(--gold-300); }
.hero-stats .num svg { width: 0.6em; height: 0.6em; }
.hero-stats .lbl { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); margin-top: 2px; }

.quick { position: relative; z-index: 5; margin-top: -72px; }
.quick-card {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: center; padding: 26px 34px;
  background: #fff; border-radius: 26px; box-shadow: 0 40px 80px -36px rgba(8, 25, 46, 0.45); border: 1px solid var(--sky-100);
}
.q-item { display: flex; align-items: center; gap: 16px; }
.q-item + .q-item { padding-left: 28px; border-left: 1px solid var(--sky-100); }
.q-item strong { display: block; font-size: 1.05rem; font-weight: 600; color: var(--navy-900); line-height: 1.3; }
.q-item small { color: var(--muted); font-size: 0.9rem; }
.q-item small a:hover { color: var(--navy-700); text-decoration: underline; }

.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 88px; align-items: center; }
.about h2 { margin: 20px 0 22px; }
.about .lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.about-media { position: relative; max-width: 480px; }
.about-media .media-card.tall { box-shadow: var(--shadow-md); }
.exp-badge {
  position: absolute; right: -28px; bottom: 36px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 20px;
  background: var(--navy-700); color: #fff; box-shadow: 0 24px 44px -18px rgba(8, 25, 46, 0.6); border: 4px solid #fff;
}
.exp-badge b { font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--gold-300); }
.exp-badge span { font-size: 0.82rem; line-height: 1.25; font-weight: 500; }
.bar-stat { margin: 30px 0 26px; max-width: 520px; }
.bar-row { display: flex; justify-content: space-between; font-weight: 600; color: var(--navy-900); margin-bottom: 10px; }
.bar-track { height: 10px; border-radius: 999px; background: var(--sky-100); overflow: hidden; }
.bar-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); transition: width 1.4s var(--ease) 0.3s; }
.reveal.in .bar-fill, .no-js .bar-fill { width: var(--w); }
.doc-row { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-bottom: 34px; }
.doc { display: flex; align-items: center; gap: 12px; }
.doc .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-700); color: var(--gold-300); font-weight: 600; font-size: 0.95rem; flex: none; }
.doc b { display: block; font-size: 0.97rem; color: var(--navy-900); line-height: 1.3; }
.doc small { color: var(--muted); font-size: 0.85rem; }

.sec-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 52px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.svc { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--sky-100); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-media .media-art .big-icon { width: 24%; }
.media-card img.photo[src*="consultorio"] { object-position: center 55%; }
.svc-media img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.svc-body { display: grid; gap: 12px; padding: 28px 30px 30px; }
.svc-body p { color: var(--muted); }
.tint .cards-compact .card.compact:not(.cta-card) { background: #fff; }

.checks { display: grid; gap: 22px; margin: 34px 0 38px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; }
.tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy-700); color: #fff; margin-top: 2px; }
.tick svg { width: 16px; height: 16px; }
.checks h3 { font-size: 1.12rem; margin-bottom: 2px; }
.checks p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }
.kids-media { position: relative; }
.kids-media .media-card { box-shadow: var(--shadow-md); }
.float-card.on-media { left: -30px; bottom: 36px; z-index: 3; box-shadow: 0 24px 50px -20px rgba(8, 25, 46, 0.45); border: 1px solid var(--sky-100); }

.spot { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 56px; align-items: center; }
.spot h2 { margin: 20px 0 20px; }
.spot .lead { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; margin-bottom: 32px; }
.spot .media-card.tall { max-width: 380px; width: 100%; justify-self: center; }
.spot-feats { display: grid; gap: 30px; }
.spot-feats .feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.spot-feats .feature p { font-size: 0.95rem; }

.acc { display: grid; gap: 12px; margin-top: 30px; }
.acc details { background: #fff; border: 1px solid var(--sky-100); border-radius: 18px; transition: border-color 0.3s, box-shadow 0.3s; }
.acc details[open] { border-color: var(--gold-300); box-shadow: var(--shadow-sm); }
.acc summary { display: flex; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy-900); list-style: none; line-height: 1.35; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; margin-left: auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy-700); font-size: 1.3rem; font-weight: 500; flex: none; transition: transform 0.3s var(--ease), background 0.3s; }
.acc details[open] summary::after { content: "–"; background: var(--gold-100); color: var(--gold-700); }
.acc summary .n { color: var(--gold-500); font-size: 1.3rem; font-weight: 600; min-width: 34px; }
.acc details p { padding: 0 24px 22px; color: var(--muted); line-height: 1.6; }
.acc details > p { padding-left: 24px; }
.journey-media .media-card { box-shadow: var(--shadow-md); }
.tint .acc details { background: #fff; }

.rev-light .rev-card { background: #fff; border: 1px solid var(--sky-100); }
.rev-light .rev-card:hover { background: #fff; border-color: var(--gold-300); box-shadow: var(--shadow-md); }
.rev-light .rev-card .stars { margin-bottom: 14px; }
.rev-light .rev-card .num { color: var(--navy-700); }
.rev-light .rev-card h3 { color: var(--navy-900); }
.rev-light .rev-card p { color: var(--muted); }
.stars { color: var(--gold-500); }

.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: start; }
.faq-grid h2 { margin: 20px 0 32px; }
.faq-grid .acc { margin-top: 0; }
.faq-card { padding: 30px; border-radius: 22px; background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); color: #fff; display: grid; gap: 10px; justify-items: start; max-width: 380px; }
.faq-card h3 { color: #fff; font-size: 1.25rem; }
.faq-card p { color: rgba(255, 255, 255, 0.78); margin-bottom: 8px; }

.book { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.book-info { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; padding: 52px 46px; display: grid; gap: 18px; align-content: start; }
.book-info h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.book-info > p { color: rgba(255, 255, 255, 0.76); }
.book-lines { display: grid; gap: 14px; margin-top: 10px; }
.book-lines li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, 0.86); }
.book-lines svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--gold-300); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.book-lines svg.fill { fill: var(--gold-300); stroke: none; }
.book-lines a:hover { color: #fff; text-decoration: underline; }
.book-form { padding: 48px 46px; display: grid; gap: 18px; align-content: center; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 0.98rem; color: var(--ink); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--sky-100); background: var(--sky-50);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(27, 79, 130, 0.12); }
.field.invalid input { border-color: #c0392b; }
.book-form .btn { width: 100%; }
.form-note { color: var(--muted); font-size: 0.82rem; text-align: center; }

@media (max-width: 1100px) {
  .about { gap: 56px; }
  .spot { grid-template-columns: 1fr 1fr; }
  .spot-feats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .faq-grid { gap: 52px; }
  .quick-card { grid-template-columns: 1fr 1fr; }
  .quick-card .btn { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero { padding-bottom: 120px; }
  .quick { margin-top: -56px; }
  .about, .spot, .faq-grid, .book { grid-template-columns: 1fr; }
  .about-media { margin-inline: auto; width: 100%; }
  .exp-badge { right: 12px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .sec-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .spot-feats { grid-template-columns: 1fr; }
  .float-card.on-media { left: 12px; }
  .book-info, .book-form { padding: 40px 30px; }
}
@media (max-width: 640px) {
  .hero-stats { gap: 18px 28px; }
  .hero-stats .num { font-size: 1.9rem; }
  .quick-card { grid-template-columns: 1fr; padding: 22px; gap: 18px; }
  .q-item + .q-item { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--sky-100); }
  .quick-card .btn { width: 100%; }
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .acc summary { padding: 18px 18px; font-size: 1rem; }
  .acc details p { padding: 0 18px 20px; }
  .sec-row .btn { width: 100%; }
  .faq-card { max-width: none; }
}

/* ---------- Avaliações reais do Google ---------- */
.reviews-score { display: inline-flex; align-items: center; gap: 18px; padding: 16px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--sky-100); box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.reviews-score .num { font-size: 3rem; font-weight: 600; line-height: 1; color: var(--navy-700); }
.reviews-score small { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--sky-100); border-radius: 22px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { font-size: 0.99rem; line-height: 1.65; color: var(--ink); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--sky-100); }
.review .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--navy-700); color: var(--gold-300); font-weight: 600; font-size: 0.85rem; }
.review figcaption b { display: block; font-size: 0.93rem; color: var(--navy-900); line-height: 1.3; }
.review figcaption small { color: var(--muted); font-size: 0.8rem; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews { grid-template-columns: 1fr; } }

/* Hero com foto da fachada em tela cheia */
.hero.has-photo .hero-photo { display: block; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% center; -webkit-mask-image: none; mask-image: none; opacity: 1; }
.hero.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 25, 46, 0.94) 0%, rgba(8, 25, 46, 0.82) 38%, rgba(8, 25, 46, 0.35) 70%, rgba(8, 25, 46, 0.2) 100%), linear-gradient(0deg, rgba(8, 25, 46, 0.7), transparent 40%);
}
@media (max-width: 960px) {
  .hero.has-photo .hero-photo { opacity: 1; object-position: 70% center; }
  .hero.has-photo::after { background: linear-gradient(180deg, rgba(8, 25, 46, 0.88), rgba(8, 25, 46, 0.78)); }
}

/* ---------- Hero centralizado (com foto) ---------- */
.hero.has-photo { text-align: center; min-height: min(94vh, 900px); }
.hero.has-photo .hero-photo { object-position: 30% 42%; }
.hero.has-photo::after {
  background:
    radial-gradient(ellipse 75% 70% at 50% 46%, rgba(8, 25, 46, 0.9) 0%, rgba(8, 25, 46, 0.7) 60%, rgba(8, 25, 46, 0.4) 100%),
    linear-gradient(0deg, rgba(8, 25, 46, 0.85) 0%, transparent 38%);
}
.hero.has-photo .hero-grid { grid-template-columns: 1fr; justify-items: center; }
.hero.has-photo .hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 860px; }
.hero.has-photo h1 { max-width: none; margin: 26px 0 22px; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.06; text-wrap: balance; }
.hero.has-photo h1 em.gold { display: inline-block; margin-top: 4px; }
.hero.has-photo .hero-lead { max-width: 640px; font-size: 1.18rem; line-height: 1.65; color: rgba(255, 255, 255, 0.86); }
.hero.has-photo .hero-actions { justify-content: center; margin-top: 36px; }
.hero.has-photo .hero-actions .btn { padding: 17px 34px; font-size: 1.02rem; }
.hero.has-photo .hero-stats {
  width: 100%; max-width: 700px; margin: 60px auto 0; padding: 24px 12px; gap: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 22px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero.has-photo .hero-stats > div { padding: 4px 12px; text-align: center; }
.hero.has-photo .hero-stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.18); }
.hero.has-photo .hero-stats .num { justify-content: center; }
@media (max-width: 960px) {
  .hero.has-photo { min-height: 0; }
  .hero.has-photo::after { background: linear-gradient(180deg, rgba(8, 25, 46, 0.84), rgba(8, 25, 46, 0.72) 55%, rgba(8, 25, 46, 0.9)); }
}
@media (max-width: 640px) {
  .hero.has-photo h1 { font-size: 2.35rem; }
  .hero.has-photo .hero-lead { font-size: 1.04rem; }
  .hero.has-photo .hero-stats { margin-top: 40px; padding: 18px 4px; }
  .hero.has-photo .hero-stats .num { font-size: 1.6rem; }
  .hero.has-photo .hero-stats .lbl { font-size: 0.64rem; letter-spacing: 0.08em; }
  .hero.has-photo .hero-stats > div { padding: 2px 6px; }
}

/* Odontopediatria: foto vertical inteira */
.kids-media { justify-self: center; width: 100%; max-width: 420px; }
.kids-media .media-card.wide { aspect-ratio: 441 / 698; }
.kids-media .float-card.on-media { left: auto; right: -28px; top: 32px; bottom: auto; }
@media (max-width: 960px) { .kids-media .float-card.on-media { right: 12px; } }

/* Jornada: foto vertical */
.journey-media { justify-self: center; width: 100%; max-width: 420px; }
.journey-media .media-card.wide { aspect-ratio: 366 / 500; }
.journey-media img.photo { object-position: center 30%; }

/* ==========================================================
   v4 — tipografia, ritmo de seções e responsividade
   ========================================================== */
:root { --section-y: clamp(64px, 8vw, 116px); --gutter: clamp(18px, 4vw, 48px); }

/* ---- Tipografia (Inter com eixo óptico) ---- */
html { font-optical-sizing: auto; }
body { font-size: clamp(16px, 0.3vw + 15px, 18px); line-height: 1.62; letter-spacing: -0.003em; font-feature-settings: "kern", "calt"; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
h1 { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.7rem); font-weight: 650; letter-spacing: -0.038em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.15rem + 2.5vw, 3.1rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
em.gold { font-weight: 500; letter-spacing: -0.03em; }
.lead, .hero-lead, .sec-head p { max-width: 62ch; }
.hero-stats .num, .stat .num, .rev-card .num, .bar-row b, .exp-badge b { font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.03em; }
.btn { min-height: 48px; letter-spacing: 0; }

/* Rótulo de seção: discreto, sem caixa alta */
.pill {
  background: none; padding: 0; border-radius: 0; gap: 12px; color: var(--gold-700);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.3;
}
.pill::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.dark .pill { color: var(--gold-300); }
.hero .pill {
  color: #fff; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-weight: 500;
}
.hero .pill::before { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-300); }
.book-info .pill { color: var(--gold-300); }
.stat .lbl, .hero-stats .lbl { letter-spacing: 0.1em; }

/* ---- Estrutura e ritmo ---- */
.container, .hero-grid { width: min(1240px, 100% - 2 * var(--gutter)); }
.section { padding: var(--section-y) 0; }
.sec-row { margin-bottom: clamp(32px, 4vw, 52px); }
.hero { padding-bottom: clamp(120px, 14vw, 170px); }
.hero.has-photo { min-height: min(100svh, 920px); }
.quick { margin-top: clamp(-76px, -6vw, -48px); }
.svc-grid { margin-bottom: 20px; }
.cards-compact { margin-top: 0; }
@media (min-width: 1600px) { :root { --section-y: 132px; } .container, .hero-grid { width: min(1320px, 100% - 2 * var(--gutter)); } }

/* ---- Tablet: mantém duas colunas ---- */
@media (min-width: 720px) and (max-width: 960px) {
  .about { grid-template-columns: 0.8fr 1.2fr; gap: 36px; }
  .about-media { max-width: none; margin: 0; }
  .exp-badge { right: -10px; bottom: 24px; padding: 14px 16px; }
  .exp-badge b { font-size: 2rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split .lead { max-width: none; }
  .kids-media, .journey-media { max-width: 100%; }
  .spot { grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
  .spot-feats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .spot-feats .feature { flex-direction: column; }
  .faq-grid { grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
  .faq-card { max-width: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .svc-body { padding: 20px 20px 22px; }
  .svc-body h3 { font-size: 1.1rem; }
  .svc-body p { font-size: 0.93rem; }
  .cards-compact { grid-template-columns: 1fr 1fr; }
  .rev-grid, .reviews { grid-template-columns: 1fr 1fr; }
  .book { grid-template-columns: 0.8fr 1.2fr; }
  .book-info, .book-form { padding: 36px 28px; }
  .hero.has-photo .hero-copy { max-width: 720px; }
}

/* ---- Celular ---- */
@media (max-width: 719px) {
  .about-media, .journey-media { order: 2; }
  .about-media { max-width: 440px; margin-inline: auto; }
  .kids-media, .journey-media { max-width: 400px; }
  .exp-badge { right: 10px; bottom: 18px; padding: 12px 14px; }
  .exp-badge b { font-size: 2rem; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .sec-head, .sec-row { margin-bottom: 28px; }

  /* Carrosséis com rolagem lateral: página bem mais curta */
  .svc-grid, .reviews {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 6px var(--gutter) 20px; scroll-padding-inline: var(--gutter); scrollbar-width: none; align-items: stretch;
  }
  .svc-grid::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 80%; scroll-snap-align: start; }
  .svc-media { aspect-ratio: 16 / 9; }
  .review { flex: 0 0 86%; scroll-snap-align: start; }
  .svc:hover, .review:hover { transform: none; }

  /* Cartões menores em linha */
  .cards-compact { gap: 12px; }
  .card.compact { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px 18px; align-items: start; }
  .card.compact .chip { grid-row: 1 / span 3; margin: 0; }
  .card.compact h3 { font-size: 1.05rem; }
  .card.compact p { font-size: 0.92rem; }
  .card.compact.cta-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; }

  .checks { gap: 18px; margin: 26px 0 30px; }
  .acc summary { min-height: 56px; }
  .book-info, .book-form { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .wa-float { width: 54px; height: 54px; }
  .hero.has-photo .hero-stats { max-width: none; }
}
@media (max-width: 380px) { .svc { flex-basis: 86%; } .review { flex-basis: 90%; } .btn { padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) { .svc-grid, .reviews { scroll-behavior: auto; } }

/* Rótulos sem traço decorativo */
.pill::before { display: none; }
.hero .pill::before { display: block; }
