/* ==========================================================================
   Dra. Patrícia — Pediatria · style.css
   1 Tokens · 2 Fontes/Base · 3 Botões · 4 Header · 5 Hero · 6 Stats
   7 Serviços · 8 Sobre · 9 Como funciona · 10 FAQ · 11 Agendamento
   12 Rodapé · 13 Movimento · 14 Responsivo · 15 Reduced motion
   ========================================================================== */

/* 1. TOKENS — a paleta inteira troca aqui --------------------------------- */
:root {
  /* Cor · base */
  --ink: #0C2A3E;
  --brand-700: #12557E;
  --brand-500: #2A8FD0;
  --brand-100: #D6E9F6;
  --brand-050: #E8F2FA;
  --mint-400: #5FC9B6;
  --mint-100: #DCF3EE;
  --coral-400: #FF8360;
  --coral-500: #F26A45;
  --surface: #F2F8FC;
  --white: #FFFFFF;
  --muted: #4F6B7C;                 /* escurecido de #5D7A8C → 5:1 sobre --surface */
  --line: rgba(18, 85, 126, .14);
  /* Cor · derivadas */
  --glass: rgba(255, 255, 255, .6);
  --glass-edge: rgba(255, 255, 255, .85);
  --grad-brand: linear-gradient(140deg, var(--brand-700) 0%, var(--brand-500) 52%, var(--mint-400) 100%);
  /* Sombras — sempre coloridas, 3 elevações + CTA */
  --shadow-1: 0 6px 18px -8px rgba(18, 85, 126, .22);
  --shadow-2: 0 24px 60px -20px rgba(18, 85, 126, .35);
  --shadow-3: 0 48px 100px -30px rgba(18, 85, 126, .45);
  --shadow-coral: 0 18px 40px -16px rgba(242, 106, 69, .6);
  /* Tipografia */
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI Variable Display", system-ui, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: clamp(.82rem, .8rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  --step-2: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.5rem + 5.2vw, 5.25rem);
  --measure: 68ch;
  /* Espaço · escala de 4 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px;
  --s-12: 48px; --s-16: 64px; --s-24: 96px; --s-32: 128px;
  --section: clamp(var(--s-16), 6vw + 24px, var(--s-32));
  /* Raio · 3 níveis com significado */
  --r-ui: 8px; --r-card: 28px; --r-pill: 999px;
  /* Movimento */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .8, .2);
  --t-fast: .25s; --t-slow: .7s;
  /* Layout */
  --container: 1200px; --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 84px;
}

/* 2. FONTES E BASE -------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2");
  font-weight: 300 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  font-feature-settings: "kern"; -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--brand-700); margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-5); font-weight: 650; line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: var(--step-4); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; }
h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; max-width: var(--measure); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-500); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand-700); }
strong { font-weight: 600; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 3px; border-radius: var(--r-ui); }
.btn:focus-visible, .nav-toggle:focus-visible { outline-offset: 4px; border-radius: var(--r-pill); }

.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  padding: var(--s-3) var(--s-4); background: var(--brand-700); color: var(--white);
  border-radius: var(--r-ui); text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.section-head { max-width: 720px; margin-bottom: var(--s-12); display: grid; gap: var(--s-4); }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.section-head--side { margin-bottom: 0; }

/* 3. BOTÕES -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 44px; padding: var(--s-3) var(--s-6);
  border-radius: var(--r-pill); font-weight: 600; font-size: var(--step-0); line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast), border-color var(--t-fast);
}
.btn--lg { min-height: 56px; padding: var(--s-4) var(--s-8); font-size: var(--step-1); }
.btn--coral { background: var(--coral-400); color: var(--ink); box-shadow: var(--shadow-coral); }
.btn--coral:hover { background: var(--coral-500); color: var(--ink); transform: translateY(-2px); }
.btn--coral:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--brand-700); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-700); }

/* 4. HEADER -------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  --pad: 18px; padding-block: var(--pad);
  transition: padding var(--t-fast) var(--ease-out), background-color var(--t-fast);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(242, 248, 252, .72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity var(--t-fast);
}
.site-header.is-scrolled { --pad: 10px; }
.site-header.is-scrolled::before { opacity: 1; border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }

.brand { display: inline-flex; flex: none; align-items: center; gap: var(--s-3); color: var(--brand-700); text-decoration: none; white-space: nowrap; }
.brand__mark { flex: none; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 650; font-size: 1.125rem; letter-spacing: -.01em; }
.brand__role { font-size: .72rem; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: var(--s-8); }
.nav__list { display: flex; gap: var(--s-1); }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--step--1); white-space: nowrap;
  border-radius: var(--r-pill); transition: background-color var(--t-fast);
}
.nav__link:hover { background: var(--brand-100); color: var(--brand-700); }
@media (max-width: 1024px) and (min-width: 881px) { .nav { gap: var(--s-4); } .nav__link { padding: 0 var(--s-3); } }
.nav__cta { box-shadow: var(--shadow-1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  cursor: pointer; position: relative; z-index: 60; color: var(--brand-700);
}
.nav-toggle__bar {
  position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--t-fast) var(--ease-out);
}
.nav-toggle__bar:nth-child(1) { top: 18px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* 5. HERO ---------------------------------------------------------------- */
.hero { padding-top: calc(var(--nav-h) + var(--s-12)); padding-bottom: var(--s-16); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center; gap: clamp(var(--s-8), 5vw, var(--s-24));
}
.hero__copy { display: grid; gap: var(--s-6); }
.hero__title { max-width: 12ch; }
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-2); }
.hero__seal { font-size: var(--step--1); color: var(--muted); }

/* Palco 3D: perspective no pai, camadas em translateZ; --mx/--my ∈ [-1,1] via JS */
.hero__stage { --mx: 0; --my: 0; perspective: 1200px; }
.hero__scene {
  position: relative; aspect-ratio: 9 / 11; max-width: 520px; margin-inline: auto;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--my) * -6deg)) rotateY(calc(var(--mx) * 6deg));
}
.layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.layer--back { transform: translateZ(-90px) translate(calc(var(--mx) * -10px), calc(var(--my) * -10px)); }
.layer--portrait { transform: translateZ(0) translate(calc(var(--mx) * 8px), calc(var(--my) * 8px)); }
.layer--cards { transform: translateZ(110px) translate(calc(var(--mx) * 24px), calc(var(--my) * 24px)); pointer-events: none; }

.hero__disc {
  position: absolute; left: 6%; right: 6%; top: 14%; bottom: 0;
  border-radius: 46% 46% var(--r-card) var(--r-card);
  background: var(--grad-brand); box-shadow: var(--shadow-3);
}
.layer--portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }

.glass {
  position: absolute; padding: var(--s-4) var(--s-4);
  background: var(--glass); border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow-2);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  color: var(--ink); font-size: var(--step--1); line-height: 1.35;
  animation: float 7s ease-in-out infinite;
}
.glass strong { display: block; color: var(--brand-700); }
.glass span { color: var(--muted); }
.glass--1 { left: -8%; top: 22%; display: flex; gap: var(--s-3); align-items: center; animation-duration: 7.5s; animation-delay: -1.2s; }
.glass--2 { right: -6%; top: 46%; animation-duration: 9s; animation-delay: -4s; }
.glass--3 { left: 4%; bottom: 6%; animation-duration: 6.5s; animation-delay: -2.6s; }
.glass__icon { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--brand-100); position: relative; }
.glass__icon::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--brand-500); }
.glass__icon--mint { background: var(--mint-100); }
.glass__icon--mint::after { background: var(--mint-400); }
.glass__num { font-family: var(--font-display); font-size: var(--step-3); font-weight: 650; letter-spacing: -.02em; line-height: 1; margin-bottom: 4px; }
.glass__label { display: block; margin-bottom: var(--s-2); font-weight: 500; color: var(--ink); }
.glass__days { display: flex; gap: 6px; }
.glass__days li {
  padding: 4px 9px; border-radius: var(--r-pill); font-size: .72rem; font-weight: 600;
  background: rgba(18, 85, 126, .08); color: var(--muted);
}
.glass__days li.is-on { background: var(--mint-400); color: var(--ink); }

/* 6. STATS ---------------------------------------------------------------- */
.stats { padding-block: var(--s-8) var(--section); }
.stats__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6);
  padding: var(--s-8) var(--s-8); background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-1);
}
.stat { display: grid; gap: var(--s-1); align-content: start; padding-left: var(--s-4); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--font-display); font-size: var(--step-4); font-weight: 650; line-height: 1;
  letter-spacing: -.02em; color: var(--brand-700); font-variant-numeric: tabular-nums;
}
.stat__label { color: var(--ink); font-size: var(--step--1); }
.stat__todo { font-size: .72rem; color: var(--muted); font-family: ui-monospace, monospace; }

/* 7. SERVIÇOS — tilt 3D --------------------------------------------------- */
.services { padding-block: var(--section); }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.service {
  position: relative; padding: var(--s-8); background: var(--white); border-radius: var(--r-card);
  display: grid; gap: var(--s-3); align-content: start;
}
.service h3 { font-size: var(--step-1); margin-top: var(--s-2); }
.service p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--brand-050); color: var(--brand-500);
  display: grid; place-items: center;
  transform: translateZ(var(--iz, 0px)); transition: transform var(--t-slow) var(--ease-out);
}
.service__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Tilt: transform no cartão; sombra é pseudo-elemento que só translada (luz fixa) */
.tilt {
  --rx: 0deg; --ry: 0deg; --sx: 0px; --sy: 0px;
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform var(--t-slow) var(--ease-out);
}
.tilt::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  box-shadow: var(--shadow-1);
  transform: translate3d(var(--sx), var(--sy), -1px); transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow);
}
.tilt.is-tilting { transition-duration: var(--t-fast); }
.tilt.is-tilting::after { box-shadow: var(--shadow-2); transition-duration: var(--t-fast); }
.tilt.is-tilting .service__icon { --iz: 28px; transition-duration: var(--t-fast); }

/* 8. SOBRE ---------------------------------------------------------------- */
.about { padding-block: var(--section); }
.about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(var(--s-8), 5vw, var(--s-24)); align-items: start; }
.about__photo { margin: 0; position: sticky; top: calc(var(--nav-h) + var(--s-6)); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-2); }
.about__photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about__text { display: grid; gap: var(--s-4); }
.about__text h2 { margin-bottom: var(--s-2); }
.about__text > p { font-size: var(--step-1); }
.about__text > p:first-of-type { color: var(--brand-700); font-weight: 500; }

.timeline { margin-top: var(--s-8); display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: var(--s-3) 0 var(--s-3) var(--s-8); display: grid; gap: 2px; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 22px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand-500); box-shadow: 0 0 0 4px var(--surface);
}
.timeline li:last-child::before { background: var(--mint-400); }
.timeline__when { font-size: var(--step--1); color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline strong { color: var(--brand-700); }
.timeline li > span:last-child { color: var(--muted); font-size: var(--step--1); }

/* 9. COMO FUNCIONA -------------------------------------------------------- */
.steps { padding-block: var(--section); }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); counter-reset: none; }
.step { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6) var(--s-6) var(--s-8); border-top: 1px solid var(--line); }
.step__n { font-family: var(--font-display); font-size: var(--step-3); font-weight: 650; color: var(--mint-400); letter-spacing: -.02em; line-height: 1; margin-bottom: var(--s-3); }
.step h3 { font-size: var(--step-1); }
.step p { color: var(--muted); font-size: var(--step--1); line-height: 1.55; }

/* 10. FAQ ----------------------------------------------------------------- */
.faq { padding-block: var(--section); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(var(--s-8), 5vw, var(--s-24)); align-items: start; }
.faq__list { display: grid; gap: var(--s-3); }
.faq__item { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-1); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-4) var(--s-6); min-height: 56px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--brand-700); border-radius: 20px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-050); transition: transform var(--t-fast) var(--ease-out); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--brand-500); border-radius: 1px; }
.faq__plus::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq__plus::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__plus { transform: rotate(45deg); }
.faq__body { padding: 0 var(--s-6) var(--s-6); color: var(--muted); }

/* 11. AGENDAMENTO --------------------------------------------------------- */
.booking { padding-block: var(--section); }
.booking__card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-8);
  padding: var(--s-8); background: var(--brand-700); color: var(--white);
  border-radius: var(--r-card); box-shadow: var(--shadow-3);
}
.booking__info { display: grid; gap: var(--s-6); align-content: start; padding: var(--s-4); }
.booking__info h2 { color: var(--white); }
.booking__lead { color: var(--brand-100); font-size: var(--step-1); }
.booking__facts { margin: 0; display: grid; gap: var(--s-4); }
.booking__facts div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-4); padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .18); }
.booking__facts dt { color: var(--mint-400); font-weight: 600; font-size: var(--step--1); }
.booking__facts dd { margin: 0; color: var(--white); }
.booking__facts a { color: var(--white); }
.booking__info .btn { justify-self: start; }
.booking__map { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-2); align-self: stretch; }
.booking__map img { width: 100%; height: 100%; object-fit: cover; }

/* 12. RODAPÉ -------------------------------------------------------------- */
.site-footer { padding: var(--s-16) 0 calc(var(--s-12)); color: var(--muted); font-size: var(--step--1); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: var(--s-8); align-items: start; padding-top: var(--s-8); border-top: 1px solid var(--line); }
.site-footer__id { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--brand-700); }
.site-footer__id p { color: var(--muted); }
.site-footer__id strong { color: var(--brand-700); }
.site-footer__links { display: grid; gap: var(--s-2); }
.site-footer__legal { grid-column: 1 / -1; font-size: .78rem; margin-top: var(--s-4); max-width: none; }

.cta-bar { display: none; }

/* 13. MOVIMENTO ----------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift-1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6vw, 8vh); } }
@keyframes drift-2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7vw, -6vh); } }
@keyframes drift-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4vw, -9vh); } }
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.bg__blob--1 { width: 46vw; height: 46vw; left: -12vw; top: -10vh; background: var(--brand-100); animation: drift-1 38s ease-in-out infinite; }
.bg__blob--2 { width: 40vw; height: 40vw; right: -14vw; top: 20vh; background: var(--mint-100); animation: drift-2 46s ease-in-out infinite; }
.bg__blob--3 { width: 34vw; height: 34vw; left: 30vw; bottom: -18vh; background: #FBE3DA; animation: drift-3 52s ease-in-out infinite; opacity: .35; }

/* Revelação por rolagem — uma vez por seção. Nativo com fallback IO (.js-io é posto pelo JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
.js-io .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-slow), transform var(--t-slow) var(--ease-out); }
.js-io .reveal.is-visible { opacity: 1; transform: none; }

/* 14. RESPONSIVO ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-8); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 880px) {
  :root { --nav-h: 68px; }
  .hero { padding-top: calc(var(--nav-h) + var(--s-8)); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; }
  .hero__scene { max-width: 380px; }
  .hero__title { max-width: none; }
  .glass--1 { left: -4%; }
  .glass--2 { right: -2%; }
  .about__grid, .faq__grid, .booking__card { grid-template-columns: 1fr; }
  .about__photo { position: static; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .booking__facts div { grid-template-columns: 1fr; gap: var(--s-1); }
  .booking__map { min-height: 240px; }

  /* Drawer */
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55; padding: calc(var(--nav-h) + var(--s-6)) var(--gutter) var(--s-12);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: var(--s-8);
    background: rgba(242, 248, 252, .96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    transform: translateX(100%); opacity: 0; visibility: hidden;
    transition: transform var(--t-slow) var(--ease-out), opacity var(--t-fast), visibility 0s var(--t-slow);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform var(--t-slow) var(--ease-out), opacity var(--t-fast); }
  .nav__list { flex-direction: column; gap: var(--s-1); }
  .nav__link { font-size: var(--step-2); font-family: var(--font-display); font-weight: 600; color: var(--brand-700); min-height: 56px; padding: 0 var(--s-4); }
  .nav__cta { display: none; }
  body.menu-open { overflow: hidden; }

  /* CTA fixo no rodapé da tela */
  body { padding-bottom: 88px; }
  .cta-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
    background: rgba(242, 248, 252, .85); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .cta-bar .btn { width: 100%; min-height: 52px; }
}
@media (max-width: 560px) {
  .stats__list { grid-template-columns: 1fr 1fr; padding: var(--s-6); }
  .services__grid, .steps__list { grid-template-columns: 1fr; }
  .service { padding: var(--s-6); }
  .booking__card { padding: var(--s-4); }
  .booking__info { padding: var(--s-4) var(--s-3); }
  .glass { padding: var(--s-3); border-radius: 16px; }
  .glass--1 { top: 18%; }
  .glass__days li { padding: 3px 7px; }
}

/* Em toque não existe cursor: paralaxe e tilt saem (JS também não os liga) */
@media (pointer: coarse) {
  .hero__scene { transform: none; }
  .layer--back, .layer--portrait, .layer--cards { transform: translate(0, 0); }
  .tilt { transform: none; }
}

/* 15. REDUCED MOTION ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .glass, .bg__blob { animation: none; }
  .js-io .reveal { opacity: 1; transform: none; }
  .hero__scene, .layer--back, .layer--portrait, .layer--cards, .tilt { transform: none; }
}
