/* ============================================================
   Dr. Olavo Neto — Cirurgia Buco-Maxilo-Facial
   Design system: navy profundo + acento verde · Poppins/Roboto
   ============================================================ */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --navy-950: #080F24;
  --navy-900: #0A1430;
  --navy-800: #0E1B3D;
  --navy-700: #15264F;
  --navy-600: #1E3263;
  --green-600: #1B8A4B;
  --green-500: #22A65B;
  --green-100: #E3F5EB;
  --sky-100: #E8F1FA;
  --ink: #1B2440;
  --muted: #57607A;
  --line: #E3E8F1;
  --bg-soft: #F4F7FB;
  --white: #FFFFFF;
  --gold: #F5B941;

  --font-display: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', system-ui, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 20, 48, .05), 0 2px 8px rgba(10, 20, 48, .06);
  --shadow-md: 0 2px 6px rgba(10, 20, 48, .06), 0 12px 32px rgba(10, 20, 48, .10);
  --shadow-lg: 0 4px 10px rgba(10, 20, 48, .08), 0 24px 56px rgba(10, 20, 48, .16);

  --header-h: 74px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  color: var(--navy-800);
  text-wrap: balance;
}
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 1rem;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--green-500);
  border-radius: 2px;
}
.on-dark .kicker { color: #7FD6A4; }
.on-dark .kicker::before { background: #7FD6A4; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem); font-weight: 700; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.0625rem; }
.on-dark .section-head p { color: #B9C4DC; }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); color: var(--muted); }

/* ---------- Seções ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.soft { background: var(--bg-soft); }
.section.dark {
  background:
    radial-gradient(1100px 520px at 110% -10%, rgba(34, 166, 91, .12), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 55%, var(--navy-900));
  color: #D8E0F0;
}

/* textura pontilhada — eco do logo */
.dotted { position: relative; }
.dotted::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(14, 27, 61, .07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(115deg, transparent 55%, #000 95%);
  -webkit-mask-image: linear-gradient(115deg, transparent 55%, #000 95%);
  pointer-events: none;
}
.section.dark.dotted::before {
  background-image: radial-gradient(rgba(127, 214, 164, .14) 1.5px, transparent 1.5px);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  will-change: transform;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(34, 166, 91, .35);
}
.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 166, 91, .4);
}

.btn-outline {
  border: 2px solid var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}
.btn-outline:hover { background: var(--navy-800); color: var(--white); transform: translateY(-2px); }

.on-dark .btn-outline,
.btn-outline.light {
  border-color: rgba(255, 255, 255, .85);
  color: var(--white);
}
.on-dark .btn-outline:hover,
.btn-outline.light:hover { background: var(--white); color: var(--navy-800); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 20, 48, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(8, 15, 36, .35); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.main-nav a {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  color: #C9D3E8;
  text-decoration: none;
  padding-block: .4rem;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--green-500); }

.header-cta { flex: none; }
.header-cta .btn { padding: .7rem 1.4rem; font-size: .875rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    padding: .75rem 1.25rem 1.5rem;
    box-shadow: 0 24px 40px rgba(8, 15, 36, .4);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a {
    padding: .9rem .25rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: 1rem;
  }
  .header-cta { display: none; }
}

/* ---------- WhatsApp flutuante (mobile) ---------- */
.wa-float {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 95;
  display: none;
  align-items: center;
}
@media (max-width: 920px) {
  .wa-float { display: inline-flex; }
}
.wa-float-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
}
.wa-float-bubble {
  position: relative;
  background: var(--white);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  line-height: 1.2;
  padding: .62rem .85rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.wa-float-bubble::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  width: 11px;
  height: 11px;
  background: var(--white);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.wa-float.bubble-hidden .wa-float-bubble,
.wa-float.bubble-hidden .wa-float-close { display: none; }
.wa-float-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green-500);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(34, 166, 91, .45);
  flex: none;
}
.wa-float-btn svg { width: 32px; height: 32px; color: #fff; }
.wa-float-close {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.wa-float-close svg { width: 12px; height: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .wa-float {
    opacity: 0;
    transform: translateY(14px);
    animation: rise-in .4s ease-out .8s forwards;
  }
  .wa-float-bubble {
    opacity: 0;
    transform: translateX(6px);
    animation: rise-in .35s ease-out 1.6s forwards;
  }
  .wa-float-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--green-500);
    z-index: -1;
    animation: wa-pulse 2.6s ease-out 1.2s infinite;
  }
  @keyframes wa-pulse {
    0% { transform: scale(1); opacity: .5; }
    70%, 100% { transform: scale(1.55); opacity: 0; }
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(900px 480px at -10% 10%, rgba(34, 166, 91, .08), transparent 55%),
    var(--bg-soft);
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  font-weight: 700;
}
.hero .h1-sub {
  display: block;
  margin-top: .9rem;
  font-size: clamp(.95rem, .85rem + .4vw, 1.125rem);
  font-weight: 600;
  color: var(--green-600);
  letter-spacing: .01em;
}
.hero .lead { margin-top: 1.25rem; max-width: 54ch; }
.hero .btn-row { margin-top: 2rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8438rem;
  font-weight: 500;
  color: var(--navy-700);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .95rem;
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 15px; height: 15px; color: var(--green-500); flex: none; }
.chip .star { color: var(--gold); }

.hero-media { position: relative; }
.hero-media .photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: '';
  position: absolute;
  inset: auto -28px -28px auto;
  width: 70%;
  height: 70%;
  border-radius: var(--radius-lg);
  background-image: radial-gradient(var(--green-500) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: .35;
  z-index: -1;
}
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: .8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-badge .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-800);
  line-height: 1.1;
}
.hero-badge .stars { color: var(--gold); font-size: .8rem; letter-spacing: .1em; }
.hero-badge small { display: block; color: var(--muted); font-size: .8rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 420px; }
  .hero-badge { left: 12px; }
}

/* ---------- Barra de confiança ---------- */
.trustbar { background: var(--navy-900); padding-block: 1.1rem; }
.trustbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 2.75rem;
}
.trustbar li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #C5D0E6;
  font-size: .875rem;
  font-weight: 500;
}
.trustbar svg { width: 17px; height: 17px; color: var(--green-500); flex: none; }

/* ---------- Cards de sintomas ---------- */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.symptom-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.symptom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD6E8;
}
.symptom-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sky-100);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.symptom-card .icon img { width: 32px; height: 32px; object-fit: contain; }
.symptom-card h3 {
  font-size: 1.0313rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.symptom-card p { font-size: .9063rem; color: var(--muted); line-height: 1.55; }

.symptom-note {
  margin-top: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.symptom-note p {
  max-width: 62ch;
  margin: 0 auto 1.5rem;
  font-size: 1.0938rem;
  color: var(--navy-700);
  font-weight: 500;
}
.symptom-note strong { color: var(--green-600); }

@media (max-width: 1024px) { .symptom-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .symptom-grid { gap: .75rem; }
  .symptom-card { padding: 1.15rem 1rem; }
  .symptom-card .icon { width: 46px; height: 46px; margin-bottom: .8rem; }
  .symptom-card .icon img { width: 26px; height: 26px; }
  .symptom-card h3 { font-size: .9375rem; }
  .symptom-card p { font-size: .8438rem; }
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media::after {
  content: '';
  position: absolute;
  inset: -26px auto auto -26px;
  width: 56%;
  height: 56%;
  border-radius: var(--radius-lg);
  background-image: radial-gradient(var(--navy-600) 2px, transparent 2px);
  background-size: 18px 18px;
  opacity: .25;
  z-index: -1;
}
.about-name {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--navy-700);
  margin: 1.4rem 0 .4rem;
}
.about-name span { color: var(--green-600); }

.cred-list { display: grid; gap: .8rem; margin-block: 1.4rem; }
.cred-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .9844rem; }
.cred-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: .15rem;
  color: var(--green-500);
}

.congress-strip { display: flex; gap: .9rem; margin-top: 1.6rem; }
.congress-strip a {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  width: 104px;
  flex: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.congress-strip a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.congress-strip img { width: 100%; height: 104px; object-fit: cover; }
.congress-caption { font-size: .8125rem; color: var(--muted); margin-top: .6rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 400px; }
}

/* ---------- Blocos de tratamento (split) ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.flip > .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.split h2 { font-size: clamp(1.625rem, 1.15rem + 1.9vw, 2.375rem); font-weight: 700; }
.split .lead { margin-top: 1rem; }
.on-dark .lead { color: #B9C4DC; }

.benefit-list { display: grid; gap: .65rem; margin-block: 1.5rem; }
.benefit-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; }
.benefit-list svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; color: var(--green-500); }
.benefit-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9063rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 1.4rem;
  color: var(--navy-700);
}
.on-dark .benefit-title { color: #9FD9BA; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.flip > .split-media { order: 0; }
  .split-media { max-width: 480px; }
}

/* ---------- Prova social ---------- */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .6rem 1.3rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
}
.rating-summary .stars { color: var(--gold); letter-spacing: .12em; font-size: .95rem; }
.rating-summary span { font-size: .875rem; color: var(--muted); font-weight: 500; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.review-card .stars { color: var(--gold); letter-spacing: .14em; font-size: .9rem; }
.review-card blockquote { font-size: .9531rem; color: var(--ink); line-height: 1.6; flex: 1; }
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 500;
  font-size: .9063rem;
  color: var(--navy-700);
}
.review-card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  flex: none;
}
.placeholder-note {
  font-size: .8125rem;
  color: #B45309;
  background: #FEF3E2;
  border: 1px dashed #F5C06B;
  border-radius: 10px;
  padding: .55rem .8rem;
  margin-top: 1rem;
  display: inline-block;
}

@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Galeria ---------- */
.gallery { position: relative; }
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 30vw, 320px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-600) transparent;
}
.gallery-track figure {
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy-700);
}
.gallery-track img { width: 100%; height: 100%; object-fit: cover; }
.gallery-track figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem .9rem .8rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--white);
  background: linear-gradient(transparent, rgba(8, 15, 36, .85));
}
.gallery-nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.gallery-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.gallery-nav button:hover { background: var(--green-500); border-color: var(--green-500); }
.gallery-nav svg { width: 20px; height: 20px; }

/* ---------- Locais ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.location-map {
  position: relative;
  aspect-ratio: 16 / 7;
  background:
    radial-gradient(rgba(14, 27, 61, .12) 1.5px, transparent 1.5px) 0 0 / 20px 20px,
    var(--sky-100);
}
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.location-map .map-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .875rem;
  color: var(--navy-700);
  transition: background-color .15s ease;
}
.location-map .map-load:hover { background: rgba(34, 166, 91, .08); }
.location-map .map-load svg { width: 30px; height: 30px; color: var(--green-500); }

.location-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.location-city {
  font-size: .7813rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
}
.location-body h3 { font-size: 1.125rem; font-weight: 600; }
.location-body address { font-style: normal; font-size: .9063rem; color: var(--muted); flex: 1; }
.location-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.location-actions .btn { padding: .6rem 1.2rem; font-size: .8438rem; }
.badge-emergency {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .7813rem;
  font-weight: 600;
  color: #B91C1C;
  background: #FEE2E2;
  border-radius: 999px;
  padding: .3rem .8rem;
  width: fit-content;
}

@media (max-width: 860px) { .location-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .9rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-800);
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(180deg); }
.faq-list details[open] summary { color: var(--green-600); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .9531rem; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .wa-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.4rem;
  display: block;
}
.cta-final h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 700; }
.cta-final p { max-width: 56ch; margin: 1rem auto 0; color: #B9C4DC; }
.cta-final .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #A9B4CC;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .9063rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
}
.footer-brand img {
  height: 66px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .65)) drop-shadow(0 0 18px rgba(127, 214, 164, .22));
}
.footer-brand p { max-width: 34ch; }
.footer-col h4 {
  color: var(--white);
  font-size: .9375rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { text-decoration: none; transition: color .15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-col li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-col li svg { width: 17px; height: 17px; flex: none; margin-top: .2rem; color: var(--green-500); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: .8438rem;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Páginas legais / 404 ---------- */
.page-simple { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem)); }
.prose { max-width: 760px; margin-inline: auto; }
.prose h1 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.5rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.375rem; margin: 2.25rem 0 .75rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: .9rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose .updated { font-size: .8438rem; color: var(--muted); margin-bottom: 2rem; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: var(--header-h);
}
.error-page .code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--navy-800);
  opacity: .12;
}
.error-page h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-top: -1.5rem; }
.error-page p { color: var(--muted); margin-top: .9rem; }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- Animações de entrada ----------
   Régua: 0,2–0,4s, sutil, uma única vez, só transform/opacity
   (compositor-friendly). Tudo desativado em prefers-reduced-motion. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s cubic-bezier(.25, .6, .3, 1), transform .35s cubic-bezier(.25, .6, .3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* Escalonamento discreto dentro de grades (reinicia a cada linha) */
.symptom-grid .reveal:nth-child(4n+2),
.review-grid .reveal:nth-child(3n+2),
.location-grid .reveal:nth-child(2n) { transition-delay: .06s; }
.symptom-grid .reveal:nth-child(4n+3),
.review-grid .reveal:nth-child(3n) { transition-delay: .12s; }
.symptom-grid .reveal:nth-child(4n+4) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Entrada do hero (somente quem aceita movimento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes hero-zoom {
    from { transform: scale(1.04); }
    to { transform: scale(1); }
  }
  .hero .kicker,
  .hero h1,
  .hero .lead,
  .hero .btn-row,
  .hero .hero-chips {
    opacity: 0;
    animation: rise-in .32s cubic-bezier(.25, .6, .3, 1) forwards;
  }
  .hero h1 { animation-delay: .06s; }
  .hero .lead { animation-delay: .12s; }
  .hero .btn-row { animation-delay: .18s; }
  .hero .hero-chips { animation-delay: .24s; }
  .hero-media {
    opacity: 0;
    animation: rise-in .38s cubic-bezier(.25, .6, .3, 1) .12s forwards;
  }
  .hero-media .photo img { animation: hero-zoom 4.5s ease-out forwards; }
  .hero-badge {
    opacity: 0;
    animation: rise-in .32s cubic-bezier(.25, .6, .3, 1) .42s forwards;
  }
  .faq-list details[open] .faq-answer { animation: rise-in .24s ease-out; }
}

/* ---------- Microinterações de hover ---------- */
.review-card,
.location-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover,
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery-track figure { overflow: hidden; }
.gallery-track img { transition: transform .3s ease; }
.gallery-track figure:hover img { transform: scale(1.04); }
.chip { transition: transform .2s ease, box-shadow .2s ease; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rating-summary { transition: box-shadow .2s ease; }
.rating-summary:hover { box-shadow: var(--shadow-md); }
