/* =========================================================
   Dr. Adriano Machado Filho — estilos
   Tokens: ver BRIEFING.md §5
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0E1B2B;
  --ink-soft: #3A4A5C;
  --navy: #0F2A45;
  --navy-2: #163A5C;
  --bone: #F6F2EC;
  --sand: #E7DDCF;
  --sand-deep: #C9B79F;
  --teal: #2E6E6A;
  --teal-dark: #235652;
  --teal-soft: #D6E6E3;
  --teal-light: #8FD0C4;
  --whatsapp: #1FAF5A;
  --white: #FFFFFF;

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --r-sm: 12px;
  --r-md: 24px;
  --r-lg: 40px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 43, .06), 0 4px 12px rgba(14, 27, 43, .05);
  --shadow-md: 0 10px 40px -12px rgba(14, 27, 43, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow-light { color: var(--teal-light); }
.section-title { font-size: clamp(38px, 5.6vw, 68px); font-weight: 600; }
.section-title em { color: var(--teal); }
.section-lead { margin-top: 20px; max-width: 52ch; font-size: 18px; color: var(--ink-soft); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head-center { text-align: center; }
.section-head-center .section-lead { margin-inline: auto; }
.section-head-center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  font: 600 15px/1.2 var(--font-sans);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-pill { border-radius: 999px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); box-shadow: 0 10px 24px -10px var(--teal); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #189a4e; box-shadow: 0 12px 28px -10px rgba(31, 175, 90, .7); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .4); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.chips-dark li { color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px var(--gutter);
  transition: padding .35s var(--ease);
}
.header-inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 64px; padding: 0 12px 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.brand { display: grid; align-items: center; width: 210px; flex: none; }
.brand img { grid-area: 1 / 1; width: 100%; transition: opacity .3s; }
.brand-dark { opacity: 0; }
.main-nav { display: flex; gap: 4px; margin-left: auto; margin-right: 8px; }
.main-nav a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  color: rgba(255, 255, 255, .85);
  transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.main-nav a.is-active { color: #fff; }

.site-header.is-scrolled { padding-top: 10px; }
.site-header.is-scrolled .header-inner {
  background: rgba(246, 242, 236, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: rgba(14, 27, 43, .08);
  box-shadow: var(--shadow-md);
}
.site-header.is-scrolled .brand-light { opacity: 0; }
.site-header.is-scrolled .brand-dark { opacity: 1; }
.site-header.is-scrolled .main-nav a { color: var(--ink-soft); }
.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.is-active { color: var(--ink); background: rgba(14, 27, 43, .06); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: transparent; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.8px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease), background-color .3s;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.site-header.is-scrolled .menu-toggle { border-color: rgba(14, 27, 43, .15); }
.site-header.is-scrolled .menu-toggle span { background: var(--ink); }
.menu-open .menu-toggle span { background: #fff !important; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-open .site-header .header-inner { background: transparent; box-shadow: none; border-color: transparent; backdrop-filter: none; }
.menu-open .brand-light { opacity: 1 !important; }
.menu-open .brand-dark { opacity: 0 !important; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: var(--navy);
  color: #fff;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 10px 0;
  font-family: var(--font-serif); font-size: 44px; line-height: 1.1;
  text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mobile-menu-actions { display: grid; gap: 12px; }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(620px, 50vw, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 72% center; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 42, 69, .92) 0%, rgba(15, 42, 69, .65) 38%, rgba(15, 42, 69, 0) 62%),
    linear-gradient(0deg, rgba(10, 30, 50, .85) 0%, rgba(10, 30, 50, 0) 32%);
}
.hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 56px; }
.hero-content > * { max-width: 640px; }
.hero-title {
  margin: 26px 0 22px;
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.035em;
}
.hero-title em { color: var(--teal-light); font-size: 1.06em; }
.hero-lead { font-size: clamp(17px, 1.4vw, 19px); color: rgba(255, 255, 255, .78); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-signature {
  display: flex; flex-direction: column; gap: 2px;
  margin-top: 44px; padding-left: 16px;
  border-left: 2px solid var(--teal-light);
}
.hero-signature strong { font-size: 17px; }
.hero-signature span { font-size: 14px; color: rgba(255, 255, 255, .65); }

/* Marquee */
.hero-marquee {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(10, 28, 46, .55);
  backdrop-filter: blur(8px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 18px 0 18px 28px;
  font-family: var(--font-serif); font-size: 24px; font-style: italic;
  color: rgba(255, 255, 255, .8); white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--teal-light); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   DESTAQUES
   ========================================================= */
.highlights { background: var(--bone); border-bottom: 1px solid rgba(14, 27, 43, .08); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; gap: 14px; align-items: flex-start; padding: 32px 24px; }
.highlight + .highlight { border-left: 1px solid rgba(14, 27, 43, .08); }
.highlight svg { width: 26px; height: 26px; flex: none; color: var(--teal); margin-top: 2px; }
.highlight strong { display: block; font-size: 15px; line-height: 1.35; }
.highlight span { font-size: 14px; color: var(--ink-soft); }

/* =========================================================
   MAPA DO PÉ
   ========================================================= */
.foot-map {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.foot-figure {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.region-tabs button {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font: 600 14px var(--font-sans); color: var(--ink-soft);
  background: var(--bone); border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.region-tabs button:hover { border-color: var(--sand-deep); }
.region-tabs button[aria-selected="true"] { background: var(--teal); color: #fff; }

.foot-svg { width: 100%; height: auto; margin-block: auto; overflow: visible; }
.foot-base { fill: var(--bone); }
.foot-outline { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.foot-hint { margin: 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
.foot-detail { fill: none; stroke: var(--sand-deep); stroke-width: 1.5; stroke-linecap: round; pointer-events: none; }
.foot-region { fill: transparent; cursor: pointer; transition: fill .3s var(--ease); }
.foot-region:hover { fill: rgba(46, 110, 106, .14); }
.foot-region.is-active { fill: rgba(46, 110, 106, .32); }
.foot-divider { fill: none; stroke: var(--sand-deep); stroke-width: 1.2; stroke-dasharray: 4 6; pointer-events: none; }
.foot-dot { cursor: pointer; }
.foot-dot circle { fill: #fff; stroke: var(--teal); stroke-width: 2; transition: fill .25s, transform .25s var(--ease); }
.foot-dot text { font: 700 14px var(--font-sans); fill: var(--teal); text-anchor: middle; pointer-events: none; transition: fill .25s; }
.foot-dot:hover circle { transform: scale(1.12); }
.foot-dot.is-active circle { fill: var(--teal); }
.foot-dot.is-active text { fill: #fff; }
.foot-dot.is-active circle { animation: pulse 2s var(--ease) infinite; }
@keyframes pulse {
  0% { stroke-width: 2; stroke-opacity: 1; }
  70% { stroke-width: 18; stroke-opacity: 0; }
  100% { stroke-width: 2; stroke-opacity: 0; }
}

.foot-panel {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--navy); color: #fff;
}
.region-panel { animation: fadeUp .45s var(--ease); }
.region-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 10px; }
.region-panel h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -0.01em; margin-bottom: 24px; }
.condition-list { list-style: none; margin: 0; padding: 0; }
.condition-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.condition-list strong { font-size: 18px; }
.condition-list span { font-size: 15px; color: rgba(255, 255, 255, .7); }
.foot-panel-foot {
  margin-top: auto; padding-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.foot-panel-foot p { font-size: 14px; color: rgba(255, 255, 255, .72); max-width: 34ch; margin: 0; }
.foot-panel-foot strong { color: #fff; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =========================================================
   SOBRE
   ========================================================= */
.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-media { position: sticky; top: 110px; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--r-lg); }
.about-badge {
  position: absolute; right: -20px; bottom: 36px;
  display: grid; gap: 2px; max-width: 220px;
  padding: 18px 22px; border-radius: var(--r-md);
  background: var(--white); box-shadow: var(--shadow-md);
  font-size: 13px; line-height: 1.4; color: var(--ink-soft);
}
.about-badge-num { font-family: var(--font-serif); font-size: 34px; line-height: 1; color: var(--teal); }
.about-sub { font-size: 19px; font-weight: 500; color: var(--ink-soft); margin: 18px 0 32px; max-width: 42ch; }
.about-body { font-size: 17px; max-width: 60ch; }
.about-body mark { background: linear-gradient(transparent 58%, var(--teal-soft) 58%); color: inherit; font-weight: 600; padding: 0 2px; }
.about-years {
  display: inline-flex; align-items: center; gap: 16px;
  margin-bottom: 28px; padding: 14px 24px 14px 18px;
  border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm);
}
.about-years-num { font-family: var(--font-serif); font-size: 52px; line-height: .9; color: var(--teal); }
.about-years-text { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.about-quote {
  margin: 40px 0; padding: 0 0 0 28px;
  border-left: 2px solid var(--teal);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3;
  color: var(--ink);
}
.timeline-title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1.5px; background: var(--sand-deep); }
.timeline li { position: relative; display: flex; gap: 22px; padding: 14px 0; }
.tl-dot { position: relative; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--sand); border: 2px solid var(--teal); }
.timeline li:last-child .tl-dot { background: var(--teal); }
.timeline strong { display: block; font-size: 17px; }
.timeline span { font-size: 15px; color: var(--ink-soft); }

/* =========================================================
   PROCEDIMENTOS
   ========================================================= */
.procedures-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); }
.procedures-sticky { position: sticky; top: 110px; }
.procedures-sticky img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: var(--r-lg);
}
.procedures-list .section-head { margin-bottom: 40px; }
.procedure {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  padding: 40px 0;
  border-top: 1px solid rgba(14, 27, 43, .12);
  transition: opacity .4s;
}
.procedure-num { font-family: var(--font-serif); font-size: 64px; line-height: .9; color: var(--teal); }
.procedure h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.procedure p { color: var(--ink-soft); max-width: 52ch; }

/* =========================================================
   QUANDO PROCURAR
   ========================================================= */
.symptoms {
  position: relative;
  background: radial-gradient(120% 80% at 50% 0%, var(--navy-2) 0%, var(--navy) 55%, #0A1F33 100%);
  color: #fff;
}
.symptoms::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.symptoms .section-title em { color: var(--teal-light); }
.symptoms .section-lead { color: rgba(255, 255, 255, .72); }
.symptom-form { max-width: 980px; margin-inline: auto; position: relative; }
.symptom-form fieldset { border: 0; margin: 0; padding: 0; }
.symptom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.symptom { position: relative; cursor: pointer; }
.symptom input { position: absolute; opacity: 0; pointer-events: none; }
.symptom span {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 18px 20px; border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  font-size: 15px; font-weight: 500; line-height: 1.35;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.symptom span::before {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, .45);
  background: center / 14px no-repeat;
  transition: background-color .2s, border-color .2s;
}
.symptom:hover span { border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.symptom input:checked + span { background: rgba(143, 208, 196, .14); border-color: var(--teal-light); }
.symptom input:checked + span::before {
  background-color: var(--teal-light); border-color: var(--teal-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A45' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.symptom input:focus-visible + span { outline: 2px solid var(--teal-light); outline-offset: 3px; }
.symptom-result {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 28px; padding: 22px 22px 22px 32px;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.symptom-result p { margin: 0; font-size: 17px; font-weight: 500; }
.symptom-result p strong { color: var(--teal-light); }
.disclaimer { margin-top: 18px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* =========================================================
   AVALIAÇÕES
   ========================================================= */
.reviews-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.review {
  margin: 0; padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-sm);
  position: relative;
}
.review::before {
  content: "“"; position: absolute; top: -10px; right: 36px;
  font-family: var(--font-serif); font-size: 200px; line-height: 1; color: var(--sand);
}
.stars { color: #E7A93B; font-size: 20px; letter-spacing: 3px; }
.review blockquote {
  position: relative; margin: 18px 0 32px;
  font-family: var(--font-serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25;
}
.review blockquote.q-md { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.review blockquote.q-sm { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.4; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 15px;
}
.review figcaption strong { display: block; font-size: 16px; line-height: 1.3; }
.review figcaption small { font-size: 14px; color: var(--ink-soft); }
.g-logo { width: 26px; height: 26px; flex: none; }

/* Resumo da nota */
.rating-summary { display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.rating-num { font-family: var(--font-serif); font-size: 72px; line-height: .9; color: var(--teal); }
.rating-meta { display: grid; gap: 4px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }

/* Carrossel: todos os slides na mesma célula → altura estável = maior depoimento */
.review-slide { margin: 0; }
.review-slide + .review-slide { margin-top: 40px; } /* sem JS: lista empilhada */
.js .review-track { display: grid; }
.js .review-slide {
  grid-area: 1 / 1; margin: 0;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.js .review-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.js .review-slide.is-leaving { transform: translateX(-24px); }
.js .review-slide blockquote { margin-bottom: auto; padding-bottom: 32px; }
.review-controls { display: none; }
.js .review-controls {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(14, 27, 43, .08);
}
.review-counter { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.review-counter b { color: var(--ink); }
.review-progress { flex: 1; height: 2px; border-radius: 2px; background: var(--sand); overflow: hidden; }
.review-progress span { display: block; height: 100%; width: 0; background: var(--teal); }
.review-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(14, 27, 43, .15); background: #fff; color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.review-btn svg { width: 18px; height: 18px; }
.review-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =========================================================
   CLÍNICA
   ========================================================= */
.clinic { background: var(--white); }
.clinic-bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.bento-img { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.bento-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.bento-img:hover img { transform: scale(1.04); }
.bento-a { grid-row: span 2; min-height: 560px; }
.bento-b { aspect-ratio: 1 / 1; }
.bento-c { aspect-ratio: 1 / 1; }
.bento-c img { object-position: top; }
.bento-card {
  grid-column: 2 / 4;
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--r-md); background: var(--bone);
}
.bento-card > p { font-size: 17px; color: var(--ink-soft); max-width: 60ch; }
.bento-card > p strong { color: var(--ink); }
.clinic-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; width: 100%; }
.clinic-info dt { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.clinic-info dd { margin: 0; font-size: 15px; line-height: 1.55; }
.clinic-bento .bento-b { order: 1; }
.clinic-bento .bento-c { order: 2; }
.clinic-bento .bento-card { order: 3; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list details { border-top: 1px solid rgba(14, 27, 43, .14); }
.faq-list details:last-child { border-bottom: 1px solid rgba(14, 27, 43, .14); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: 19px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sand) center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1B2B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--teal-soft); }
.faq-list details p { padding: 0 60px 26px 0; color: var(--ink-soft); animation: fadeUp .35s var(--ease); }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final { padding-bottom: var(--section-y); }
.cta-box {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: clamp(40px, 6vw, 80px);
  border-radius: var(--r-lg);
  background: var(--teal); color: #fff;
}
.cta-box::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .18); pointer-events: none;
}
.cta-box::before {
  content: ""; position: absolute; right: -40px; top: -80px; width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .12); pointer-events: none;
}
.cta-text h2 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 18px; }
.cta-text p { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 50ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.cta-phone { font-size: 16px; text-decoration: none; color: rgba(255, 255, 255, .85); }
.cta-phone strong { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding-top: 72px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-reg { font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .5); }
.site-footer h3 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--teal-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px; color: rgba(255, 255, 255, .45);
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante / barra mobile ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(31, 175, 90, .6);
  transform: scale(0); transition: transform .35s var(--ease);
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab.is-visible { transform: scale(1); }
.wa-fab:hover { transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid rgba(14, 27, 43, .08); }
}

@media (max-width: 960px) {
  .foot-map, .about-grid, .procedures-grid, .reviews-grid, .faq-grid, .cta-box { grid-template-columns: 1fr; }
  .procedures-sticky, .faq-grid .section-head { position: static; }
  .about-media { position: relative; top: auto; }
  .about-media { max-width: 520px; }
  .about-badge { right: 16px; }
  .procedures-media { order: 2; }
  .procedures-sticky img { aspect-ratio: 16 / 11; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); }
  .clinic-bento { grid-template-columns: 1fr 1fr; }
  .bento-a { grid-row: auto; grid-column: 1 / -1; min-height: 0; aspect-ratio: 4 / 3; }
  .bento-card { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 76px; }
  :root { --header-h: 72px; }
  .site-header { padding: 10px 12px; }
  .header-inner { height: 58px; padding: 0 6px 0 16px; }
  .brand { width: 170px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }

  .hero { min-height: auto; justify-content: flex-start; }
  .hero-bg { position: relative; height: 62vw; min-height: 260px; }
  .hero-bg img { object-position: 80% center; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(10, 30, 50, .8) 0%, rgba(10, 30, 50, 0) 32%, rgba(15, 42, 69, 0) 36%, var(--navy) 62vw);
  }
  .hero-content { padding-top: 8px; padding-bottom: 40px; margin-top: -40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-signature { margin-top: 32px; }
  .marquee-track span { font-size: 20px; padding-block: 14px; }

  .highlights-grid { grid-template-columns: 1fr; }
  .highlight { padding: 20px 4px; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid rgba(14, 27, 43, .08); }

  .region-tabs button { flex: 1 1 calc(50% - 8px); }
  .foot-panel-foot .btn { width: 100%; }

  .procedure { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .procedure-num { font-size: 48px; }

  .symptom-grid { grid-template-columns: 1fr; }
  .symptom-result { border-radius: var(--r-md); padding: 22px; flex-direction: column; align-items: stretch; text-align: center; }

  .clinic-info { grid-template-columns: 1fr; }
  .bento-card .btn { width: 100%; }

  .faq-list summary { font-size: 17px; }
  .faq-list details p { padding-right: 0; }

  .cta-actions { align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; }

  .wa-fab { display: none; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    display: grid; grid-template-columns: 1fr 2fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 242, 236, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(14, 27, 43, .08);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: 999px;
    font-weight: 700; font-size: 15px; text-decoration: none;
  }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mb-phone { border: 1.5px solid var(--ink); color: var(--ink); }
  .mb-wa { background: var(--whatsapp); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
