/* =================================================================
   SERENO · Estúdio de Massagem & Repouso
   Paleta extraída da própria fotografia: blush, dourado, creme.
   Display: Cormorant Garamond · Texto/UI: Jost
   ================================================================= */

:root {
  /* superfícies */
  --cream:      #f7efe8;
  --cream-2:    #fbf6f1;
  --paper:      #fffaf6;

  /* rosados */
  --blush:      #ecccc6;
  --blush-2:    #e3b8b0;
  --rose:       #cf988f;
  --rose-deep:  #b87a70;
  --rose-text:  #a3564a;   /* rosé escuro p/ TEXTO pequeno (AA ≥4.5:1) */

  /* tinta (texto) — marrom-rosé quente, nunca preto puro */
  --ink:        #4a3a36;
  --ink-soft:   #6d5751;
  --ink-faint:  #786259;   /* escurecido p/ passar AA em rótulos/notas (era #9a847e) */

  /* dourado */
  --gold:       #b8924a;
  --gold-2:     #c8a763;
  --gold-soft:  #e0c896;
  /* dourado profundo p/ TEXTO pequeno sobre creme (WCAG AA ≥4.5:1) */
  --gold-deep:  #856327;

  /* linhas / véus */
  --line:       rgba(74, 58, 54, .14);
  --line-soft:  rgba(74, 58, 54, .08);
  --line-light: rgba(253, 245, 239, .12);  /* hairline sobre faixas escuras */

  /* texto sobre o vídeo */
  --on-film:    #fdf5ef;

  /* tipografia */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ritmo */
  --pad-x:   clamp(1.25rem, 5vw, 4.5rem);
  --pad-y:   clamp(5rem, 11vh, 10rem);
  --maxw:    1240px;

  --ease:    cubic-bezier(.22, 1, .36, 1);

  /* altura do trilho do hero (scroll-vídeo). svh = estável à barra de URL do mobile */
  --hero-h:  340vh;
}
@supports (height: 100svh) { :root { --hero-h: 340svh; } }
@media (max-width: 760px) { :root { --hero-h: 280vh; } }
@media (max-width: 760px) { @supports (height: 100svh) { :root { --hero-h: 280svh; } } }

/* ---------- reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .55vw + .9rem, 1.075rem);
  line-height: 1.7;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; }
main { position: relative; } /* contexto p/ o fio dourado (.thread) medir altura real */

::selection { background: var(--blush); color: var(--ink); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem;
  border-radius: 2px; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- foco visível por teclado (WCAG 2.4.7 / 2.4.11) ---------- */
:where(a, .btn, button, summary):focus-visible {
  outline: 2px solid var(--gold-deep); outline-offset: 3px;
}
/* variante clara sobre o hero/rodapé escuros e a navbar transparente */
.nav__links a:focus-visible, .nav__cta:focus-visible, .brand:focus-visible,
.nav__burger:focus-visible, .link-quiet:focus-visible, .hero__cta a:focus-visible,
.drawer__links a:focus-visible, .foot__brand a:focus-visible, .foot__nav a:focus-visible {
  outline-color: var(--gold-soft);
}

/* ---------- tipos utilitários ---------- */
.display {
  font-family: var(--display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
}
.display--xl { font-size: clamp(2.4rem, 6.2vw, 5rem); }
.display--lg { font-size: clamp(2.1rem, 5vw, 3.9rem); }
.display em { font-style: italic; color: var(--rose-deep); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.eyebrow--light { color: var(--gold-soft); }
/* fio dourado curto antes das eyebrows alinhadas à esquerda (assinatura editorial) */
.eyebrow:not(.eyebrow--light)::before {
  content: ""; display: inline-block; width: 24px; height: 1px;
  background: var(--gold); opacity: .6; vertical-align: middle; margin-right: .85em;
}
.vozes .eyebrow::before { display: none; } /* bloco centralizado fica limpo */

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 42ch;
  font-weight: 300;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-y); position: relative; }
:where(section[id], main[id]) { scroll-margin-top: 76px; } /* âncoras não somem sob a navbar fixa */

.note {
  margin-top: 2.6rem; font-size: .9rem; color: var(--ink-faint); letter-spacing: .01em;
}
.note a { color: var(--gold-deep); border-bottom: 1px solid var(--line); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 400; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05em 2.1em; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: background .4s var(--ease), color .4s var(--ease),
              border-color .4s var(--ease), transform .4s var(--ease),
              box-shadow .4s var(--ease);
}
.btn--gold { background: var(--gold); color: var(--paper); }
.btn--gold:hover { background: #a87f3e; transform: translateY(-2px);
  box-shadow: 0 10px 24px -16px rgba(184,146,74,.55); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn--ghost:hover { background: var(--gold); color: var(--paper); border-color: var(--gold); }

.link-quiet {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-film); opacity: .9; border-bottom: 1px solid rgba(224,200,150,.45);
  text-shadow: 0 1px 12px rgba(40,24,20,.3);
  transition: opacity .3s, border-color .3s;
}
.link-quiet:hover { opacity: 1; border-color: var(--gold-soft); }

/* =================================================================
   NAVBAR
   ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .5s var(--ease), box-shadow .5s var(--ease),
              padding .5s var(--ease);
  padding: clamp(1rem, 2.4vh, 1.7rem) 0;
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-film); }
/* a gota da marca (mesma do favicon) — padroniza o símbolo em nav/loader/rodapé */
.brand__mark { display: inline-flex; width: 15px; height: 21px; }
.brand__mark svg { width: 100%; height: 100%; }
.brand__word {
  font-family: var(--display); font-size: 1.55rem; font-weight: 400;
  letter-spacing: .14em; line-height: 1;
}
.nav__links { display: flex; gap: clamp(1.1rem, 2vw, 2.3rem); }
.nav__links a {
  color: var(--on-film); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; opacity: .85; position: relative; padding: .2rem 0;
  transition: opacity .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold-2); transition: width .35s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after { width: 100%; }
.nav__cta { color: var(--on-film); border-color: rgba(253,245,239,.4); }
.nav__cta:hover { background: var(--on-film); color: var(--ink); border-color: transparent; }

/* estado sólido (rolou a página) */
.nav--solid {
  background: rgba(247,239,232,.86);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line-soft);
  padding: .8rem 0;
}
.nav--solid .brand,
.nav--solid .nav__links a { color: var(--ink); }
.nav--solid .nav__cta { color: var(--ink); border-color: var(--line); }
.nav--solid .nav__cta:hover { background: var(--gold-deep); color: var(--paper); }
.nav--solid .nav__burger span { background: var(--ink); }

.nav__burger {
  display: none; width: 44px; height: 44px; background: none; border: 0;
  position: relative; cursor: pointer; padding: 0;
}
.nav__burger span {
  position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--on-film);
  transition: transform .35s var(--ease), opacity .3s;
}
.nav__burger span:nth-child(1) { top: 19px; }
.nav__burger span:nth-child(2) { bottom: 19px; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
body.menu-open .nav__burger span { background: var(--ink); }
/* drawer aberto no topo (navbar não-sólida): mantém marca legível sobre o creme */
body.menu-open .brand__word { color: var(--ink); }

/* drawer mobile */
.drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  height: 100dvh; overflow-y: auto;
  padding: 2rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  /* visibilidade troca instantânea ao abrir (foco funciona já) e só some após o fade ao fechar */
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
body.menu-open .drawer {
  opacity: 1; visibility: visible;
  transition: opacity .45s var(--ease), visibility 0s linear 0s;
}
.drawer__links { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.drawer__links a {
  font-family: var(--display); font-size: 2rem; color: var(--ink); letter-spacing: .02em;
}
.drawer__cta { font-family: var(--sans); font-size: .85rem; margin-top: 1rem; align-self: center; }

/* =================================================================
   HERO — scroll-vídeo
   ================================================================= */
.hero { position: relative; height: var(--hero-h); background: var(--ink); }
/* fixo (não sticky): durante o scrub rende idêntico, mas no fim o último frame
   permanece parado como fundo e as seções deslizam por cima, sem salto.
   As seções pós-herói sobem de camada logo abaixo (z-index: 1). */
.hero__sticky {
  position: fixed; top: 0; left: 0; width: 100%;
  height: 100svh; height: 100dvh;
  overflow: hidden; background: #2a1f1c; z-index: 0;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* véu suave para legibilidade do texto, sem matar o ar */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 36%, rgba(36,24,21,.30) 0%, rgba(36,24,21,0) 60%),
    linear-gradient(to bottom, rgba(36,24,21,.36) 0%, rgba(36,24,21,0) 34%),
    linear-gradient(to top, rgba(36,24,21,.30) 0%, rgba(36,24,21,0) 30%);
}

.hero__layer {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: min(92%, 760px); text-align: center; color: var(--on-film);
  z-index: 3; padding-inline: 1rem;
}
.hero__layer--top { top: clamp(8%, 13vh, 16%); }
.hero__layer--reception {
  top: clamp(10%, 14vh, 18%); opacity: 0; pointer-events: none;
}
.hero__title {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.6rem, min(8.5vw, 9vh), 6.6rem); line-height: 1.02;
  letter-spacing: -.012em;
  text-shadow: 0 1px 2px rgba(40,24,20,.45), 0 0 18px rgba(40,24,20,.22);
}
.hero__title--sm { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
.hero__sub {
  margin: 1.5rem auto 0; max-width: 40ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300;
  color: var(--on-film); line-height: 1.65;
  text-shadow: 0 1px 2px rgba(40,24,20,.4), 0 0 12px rgba(40,24,20,.2);
}
.hero__cta {
  margin-top: 2.2rem; display: flex; gap: 1.4rem;
  align-items: center; justify-content: center; flex-wrap: wrap;
}

.hero__hint {
  position: absolute; left: 50%; bottom: clamp(1.4rem, 4vh, 2.6rem);
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: var(--on-film); opacity: .8;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
}
.hero__hint-line { width: 1px; height: 38px; background: linear-gradient(var(--on-film), transparent); animation: hintPulse 2.4s var(--ease) infinite; }
@keyframes hintPulse { 0%,100% { transform: scaleY(.5); opacity:.4; transform-origin: top;} 50% { transform: scaleY(1); opacity:.9; } }

/* loader */
.loader {
  position: absolute; inset: 0; z-index: 10; background: #2a1f1c;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { height: 38px; width: auto; }
.loader__brand {
  font-family: var(--display); font-size: 2rem; color: var(--on-film);
  letter-spacing: .3em; opacity: .9;
}
.loader__bar { width: min(56vw, 240px); height: 1px; background: rgba(253,245,239,.2); overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--gold-2); transition: width .25s linear; }

/* conteúdo pós-herói acima do fundo fixo do hero */
main > section:not(.hero), .foot { position: relative; z-index: 1; }

/* fio dourado de assinatura (acima das seções, como antes do fundo fixo) */
.thread {
  position: absolute; top: var(--hero-h); left: clamp(14px, 4vw, 60px);
  height: calc(100% - var(--hero-h)); z-index: 2; pointer-events: none; overflow: visible;
}
.thread path { fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: .85; }

/* =================================================================
   A CASA
   ================================================================= */
.casa { background: var(--cream); }
.casa .display { max-width: 16ch; }
.casa .lede { margin-top: 2rem; }

/* texto à esquerda, foto à direita; pilares atravessam embaixo */
.casa .wrap { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(2rem, 6vw, 5rem); }
.casa .eyebrow, .casa .display, .casa .lede { grid-column: 1; }
.casa .pillars { grid-column: 1 / -1; }

/* foto da pausa — forma orgânica de seixo (nada de retângulo/círculo),
   com véu blush atrás e um eco de contorno dourado deslocado */
.casa__figure {
  grid-column: 2; grid-row: 1 / span 3; align-self: center; justify-self: center;
  position: relative; margin: 0; width: min(100%, 400px);
}
.casa__figure::before {
  content: ""; position: absolute; inset: -14% -18%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 52% at 70% 26%, rgba(236,204,198,.55), transparent 72%),
    radial-gradient(52% 48% at 26% 76%, rgba(200,167,99,.30), transparent 74%);
}
.casa__figure::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  border: 1px solid rgba(184,146,74,.45);
  border-radius: 62% 38% 46% 54% / 55% 42% 61% 45%;
  transform: rotate(-5deg) translate(-12px, 10px);
}
.casa__figure img {
  position: relative; z-index: 1; width: 100%; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 62% 38% 46% 54% / 55% 42% 61% 45%;
  filter: sepia(.1) saturate(.95);
}

.pillars {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem);
}
.pillar { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.pillar__idx {
  font-family: var(--display); font-size: 1rem; color: var(--gold);
  letter-spacing: .1em; font-style: italic;
}
.pillar h3 {
  font-family: var(--display); font-size: 1.7rem; font-weight: 400;
  margin: .5rem 0 .7rem; color: var(--ink);
}
.pillar p { font-size: .98rem; color: var(--ink-soft); max-width: 30ch; }

/* =================================================================
   RITUAIS
   ================================================================= */
.rituais { background: var(--cream-2); }
.section__head {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section__intro { color: var(--ink-soft); max-width: 38ch; font-weight: 300; }

.menu { border-top: 1px solid var(--line); }
.menu__item {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.4fr auto;
  gap: clamp(1rem, 3vw, 3rem); align-items: baseline;
  padding: clamp(1.4rem, 2.6vw, 2.1rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.menu__name { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.menu__name h3 { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 400; }
.menu__desc { color: var(--ink-soft); font-size: .96rem; }
.menu__meta { text-align: right; display: flex; flex-direction: column; gap: .25rem; white-space: nowrap; }
.menu__meta > span:first-child { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.menu__price { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.menu__item--star { background: linear-gradient(90deg, rgba(224,200,150,.16), transparent 75%); }

.tag {
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-text); border: 1px solid var(--line); border-radius: 999px;
  padding: .3em .8em; line-height: 1;
}
.tag--gold { color: var(--gold-deep); border-color: rgba(184,146,74,.4); }

/* =================================================================
   A EXPERIÊNCIA — galeria horizontal com pin
   ================================================================= */
.experiencia { background: var(--ink); color: var(--on-film); position: relative; }
.exp__pin {
  height: 100svh; height: 100dvh; display: flex; align-items: center;
  overflow: hidden; gap: clamp(2rem, 6vw, 7rem); padding-left: var(--pad-x);
}
.exp__intro { flex: 0 0 auto; width: min(80vw, 420px); }
.exp__intro .display { color: var(--on-film); }
.exp__hint { margin-top: 2rem; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.exp__track { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); padding-right: 12vw; }
.step {
  flex: 0 0 auto; width: clamp(230px, 30vw, 340px);
  background: linear-gradient(160deg, rgba(236,204,198,.14), rgba(184,146,74,.06));
  border: 1px solid rgba(253,245,239,.12);
  border-radius: 4px; padding: clamp(1.8rem, 3vw, 2.6rem);
  min-height: clamp(300px, 46vh, 420px); display: flex; flex-direction: column;
}
.step__idx { font-family: var(--display); font-style: italic; font-size: 2.4rem; color: var(--gold-soft); opacity: .8; }
.step h3 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; margin: auto 0 .8rem; }
.step p { color: rgba(253,245,239,.78); font-size: .98rem; }

/* =================================================================
   PLANOS
   ================================================================= */
.planos { background: var(--cream); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.plan {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 6px; padding: clamp(2rem, 3vw, 2.8rem);
  display: flex; flex-direction: column; position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(74,58,54,.4); }
.plan--star {
  border-color: rgba(184,146,74,.5); border-width: 1.5px;
  background: linear-gradient(180deg, #fffaf4, var(--paper));
  transform: translateY(-8px); box-shadow: 0 30px 60px -38px rgba(184,146,74,.38);
}
.plan__ribbon {
  position: absolute; top: -1px; right: clamp(1.5rem,3vw,2.8rem);
  background: var(--gold); color: var(--paper); font-size: .64rem;
  letter-spacing: .2em; text-transform: uppercase; padding: .45em 1em; border-radius: 0 0 4px 4px;
}
.plan__name { font-family: var(--display); font-size: 2rem; font-weight: 400; }
.plan__tag { font-size: .84rem; color: var(--ink-faint); letter-spacing: .02em; margin: .2rem 0 1.4rem; }
.plan__price { font-family: var(--display); font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.plan__price strong { font-size: 2.1rem; color: var(--ink); font-weight: 500; }
.plan__price span { font-size: 1rem; color: var(--ink-faint); }
.plan ul { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 2rem; }
.plan li { list-style: none; font-size: .96rem; color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px;
  border-bottom: 1.5px solid var(--gold); border-left: 1.5px solid var(--gold);
  transform: rotate(-45deg) translateY(-2px);
}
.plan__btn { margin-top: auto; width: 100%; }

/* =================================================================
   VOZES
   ================================================================= */
.vozes { background: var(--cream-2); text-align: center; }
.vozes .display { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.quote { margin: 0; }
.quote blockquote {
  font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-style: italic; line-height: 1.4; color: var(--ink); margin: 0 0 1.2rem;
}
.quote figcaption { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.stat { margin-top: clamp(3rem, 6vw, 4.5rem); color: var(--ink-soft); font-size: 1.05rem; }
.stat strong { font-family: var(--display); color: var(--ink); font-size: 1.3rem; }

/* =================================================================
   VISITE / AGENDAR
   ================================================================= */
.visite { background: var(--cream); }
.visite__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.visite__copy .lede { margin: 2rem 0; }
.info { display: grid; gap: 1.4rem; margin: 0; }
.info div { border-top: 1px solid var(--line); padding-top: .9rem; }
.info dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.info dd { margin: 0; color: var(--ink); font-size: 1.02rem; }

.booking {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: clamp(1.8rem, 3.5vw, 3rem);
  box-shadow: 0 30px 60px -45px rgba(74,58,54,.4);
}
.booking__title { font-family: var(--display); font-size: 1.7rem; font-weight: 400; margin-bottom: 1.8rem; }
.field { display: block; margin-bottom: 1.3rem; }
.field span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .55rem; }
.field input, .field select {
  width: 100%; font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--ink);
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 4px;
  padding: .85rem 1rem; transition: border-color .3s, background .3s;
}
.field input::placeholder { color: var(--ink-faint); opacity: .7; }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); background: var(--paper); }
.field input:focus-visible, .field select:focus-visible {
  outline: 2px solid var(--ink-soft); outline-offset: 2px; border-color: var(--gold); background: var(--paper);
}
.booking__send { width: 100%; margin-top: .4rem; }
.booking__fine { margin: 1rem 0 0; font-size: .8rem; color: var(--ink-faint); text-align: center; }
.booking__status { margin: 1rem 0 0; min-height: 1.2em; font-size: .85rem; color: var(--rose-text); text-align: center; }
.booking__status:empty { margin: 0; min-height: 0; }

/* =================================================================
   RODAPÉ
   ================================================================= */
.foot { background: var(--ink); color: rgba(253,245,239,.78); padding-block: clamp(3rem, 6vw, 5rem); }
.foot__grid { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; }
.foot__mark { display: block; width: 17px; height: 24px; margin-bottom: .7rem; }
.foot__mark svg { width: 100%; height: 100%; }
.foot__brand .brand__word { color: var(--on-film); font-size: 1.8rem; }
.foot__brand p { margin: .4rem 0 0; font-size: .9rem; }
.foot__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.foot__nav a { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; padding-block: .35rem; transition: opacity .3s; }
.foot__nav a:hover { opacity: 1; color: var(--gold-soft); }
.foot__legal { grid-column: 1 / -1; border-top: 1px solid var(--line-light); padding-top: 1.6rem; font-size: .8rem; opacity: .78; margin: 1rem 0 0; }

/* =================================================================
   REVEAL (entrada no scroll)
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); }
.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }

/* =================================================================
   RESPONSIVO
   ================================================================= */
.br-desk { display: inline; }

@media (max-width: 980px) {
  .section__head { grid-template-columns: 1fr; align-items: start; }
  .pillars, .plans { grid-template-columns: 1fr; }
  .visite__grid { grid-template-columns: 1fr; }
  .menu__item { grid-template-columns: 1fr auto; grid-template-areas: "name price" "desc desc"; row-gap: .6rem; }
  .menu__name { grid-area: name; } .menu__meta { grid-area: price; } .menu__desc { grid-area: desc; }
  .foot__grid { grid-template-columns: 1fr; }
  .plan--star { transform: none; box-shadow: none; } /* empilhado: sem flutuar */
}

/* nav vira hambúrguer no mesmo ponto em que a galeria empilha (821 no JS) */
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 760px) {
  .br-desk { display: none; }
  .hero__layer--top { top: clamp(64px, 11vh, 18%); }
  .pillars { gap: 2rem; }
}

/* =================================================================
   REDUÇÃO DE MOVIMENTO
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero__sticky { position: relative; height: 100svh; }
  .hero__layer--reception { display: none; }
  .hero__hint { display: none; }
  .thread { display: none; } /* decorativo; o hero encurta e o fio perde âncora */
}

/* =================================================================
   EXPERIÊNCIA em telas menores: empilhamento vertical (sem pin)
   ================================================================= */
@media (max-width: 820px) {
  .exp__pin {
    height: auto; flex-direction: column; align-items: stretch;
    overflow: visible; gap: clamp(1.6rem, 6vw, 2.4rem);
    padding: clamp(3.5rem, 12vw, 5rem) var(--pad-x);
  }
  .exp__intro { width: 100%; }
  .exp__hint { display: none; }
  .exp__track { flex-direction: column; padding-right: 0; gap: 1rem; }
  .step { width: 100%; min-height: 0; }
  .step__photo img { aspect-ratio: 16 / 10; }
  .step__seal svg { height: 46px; }
}

/* Sem pin (reduced-motion ou sem GSAP) em qualquer largura: empilha como no mobile,
   para a galeria nunca cortar os cards 3–5. A classe .no-pin é definida em app.js. */
.no-pin .exp__pin {
  height: auto; flex-direction: column; align-items: stretch;
  overflow: visible; gap: clamp(1.6rem, 6vw, 2.4rem);
  padding: clamp(3.5rem, 12vw, 5rem) var(--pad-x);
}
.no-pin .exp__intro { width: 100%; }
.no-pin .exp__hint { display: none; }
.no-pin .exp__track { flex-direction: column; padding-right: 0; gap: 1rem; }
.no-pin .step { width: 100%; min-height: 0; }
.no-pin .step__photo img { aspect-ratio: 16 / 10; }
.no-pin .step__seal svg { height: 46px; }

/* feedback de erro do formulário (campos obrigatórios) */
@keyframes serenoShake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.booking--err { animation: serenoShake .45s var(--ease); }
.booking--err input:invalid,
.booking--err input:placeholder-shown[required] { border-color: var(--rose-deep); }

/* =================================================================
   REDESIGN EDITORIAL — folios (I–IX) + seções novas e refeitas
   (hero permanece intacto)
   ================================================================= */

/* folio: eyebrow com numeral romano; dourado profundo p/ contraste AA em texto pequeno */
.eyebrow--folio { color: var(--gold-deep); }
.note--center { text-align: center; max-width: 46ch; margin-inline: auto; }

/* ACESSIBILIDADE — botão/fita dourados legíveis (paper sobre gold-deep = 5.3:1;
   sobre o gold antigo era 2.8:1, reprovava AA e o CLAUDE.md bane "texto invisível") */
.btn--gold { background: var(--gold-deep); }
.btn--gold:hover { background: #6f5220; }
.btn--ghost:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.plan__ribbon { background: var(--gold-deep); }
/* HERO (travado): preserva o botão dourado original, exatamente como estava */
.hero__cta .btn--gold { background: var(--gold); }
.hero__cta .btn--gold:hover { background: #a87f3e; }

/* -------- Problema · O que a semana deixa (faixa escura) -------- */
.problema { background: var(--ink); color: var(--on-film); }
.problema__grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 6vw, 5.5rem); align-items: start;
}
.problema .display { color: var(--on-film); max-width: 11ch; }
.problema .display em, .fechamento__title em { color: var(--gold-soft); font-style: italic; }
.problema__sub {
  margin-top: 1.5rem; color: rgba(253,245,239,.66);
  font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 30ch;
}
.inventory { display: flex; flex-direction: column; }
.inventory li {
  list-style: none; position: relative; padding: 1.05rem 0 1.05rem 2.4rem;
  border-top: 1px solid rgba(253,245,239,.12);
  color: rgba(253,245,239,.82); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.5;
}
.inventory li:last-child { border-bottom: 1px solid rgba(253,245,239,.12); }
.inventory li::before {
  content: ""; position: absolute; left: 0; top: 1.55em;
  width: 18px; height: 1px; background: var(--gold-soft); opacity: .8;
}
.problema__bridge {
  max-width: var(--maxw); margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding-inline: var(--pad-x);
  font-family: var(--display); font-style: italic; line-height: 1.25;
  font-size: clamp(1.5rem, 3vw, 2.3rem); color: var(--on-film);
}
.problema__bridge em { color: var(--gold-soft); font-style: italic; }

/* -------- O Método (3 tempos, numerais romanos grandes) -------- */
.metodo { background: var(--cream); }
.tempos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 5rem);
}
.tempo { list-style: none; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.tempo__num {
  display: block; font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5rem); line-height: .82; color: var(--gold-deep); letter-spacing: .02em;
}
.tempo__name {
  font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--ink); margin: 1rem 0 .7rem;
}
.tempo p { color: var(--ink-soft); font-size: .98rem; max-width: 34ch; }

/* -------- Rituais (coluna sticky + lista editorial) -------- */
.rituais__grid {
  display: grid; grid-template-columns: 4fr 8fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.rituais__aside { position: sticky; top: clamp(96px, 13vh, 132px); }
.rituais__count {
  font-family: var(--display); font-size: 1.05rem; color: var(--ink-faint);
  letter-spacing: .04em; margin: 1.4rem 0 1.5rem;
}
.rituais__count span {
  font-style: italic; font-size: 2.1rem; color: var(--gold-deep); margin-right: .3rem; vertical-align: -.14em;
}
.rituais__star-note {
  font-family: var(--display); font-style: italic; color: var(--rose-text);
  font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 1.6rem;
}
/* hover refinado (Emil): régua que se desenha + preço que desloca */
.menu__item { position: relative; }
.menu__item:hover { background: linear-gradient(90deg, rgba(236,204,198,.14), transparent 82%); box-shadow: none; }
.menu__item::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--gold); transition: width .5s var(--ease);
}
.menu__item:hover::after { width: 100%; }
.menu__price { transition: transform .4s var(--ease); }
.menu__item:hover .menu__price { transform: translateX(-4px); }

/* -------- A Experiência (marcadores de minuto + linha do tempo) -------- */
.exp__pin { position: relative; }
.step__min {
  display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-soft); opacity: .9; margin-bottom: .9rem;
}
/* fotos dos passos em arco (eco da janela arqueada do herói) */
.step__photo { margin: 0 0 1.2rem; }
.step__photo img {
  /* height:auto anula o atributo height do <img>, senão o aspect-ratio é ignorado */
  width: 100%; height: auto; aspect-ratio: 7 / 8; object-fit: cover;
  border-radius: 999px 999px 6px 6px;
  filter: sepia(.08) saturate(.95);
}
/* foco por card quando o formato vira 16/10 (mobile / sem pin);
   o 3º fica no centro padrão */
.step:nth-child(1) .step__photo img { object-position: 50% 55%; }
.step:nth-child(2) .step__photo img { object-position: 50% 52%; }
.step:nth-child(4) .step__photo img { object-position: 50% 62%; }
.step:nth-child(5) .step__photo img { object-position: 50% 55%; }
/* despedida: a recepção fecha a linha do tempo, selada pela marca */
.step__photo--finale { position: relative; }
.step__photo--finale img { filter: sepia(.08) saturate(.95) brightness(.92); }
.step__seal {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, rgba(58,44,40,.14), rgba(58,44,40,.4));
}
.step__seal svg { height: 62px; opacity: .95; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.step h3 { margin: 0 0 .8rem; }
.exp__sub { margin-top: 1.1rem; color: rgba(253,245,239,.7); font-size: .95rem; }
.exp__progress {
  display: none; position: absolute; left: var(--pad-x); right: 12vw;
  bottom: clamp(2rem, 8vh, 4.5rem); height: 1px; background: var(--line-light);
  z-index: 2; pointer-events: none;
}
.exp__progress i {
  display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-soft));
}
@media (min-width: 821px) { .exp__progress { display: block; } }

/* -------- As mãos (terapeutas · retratos em arco) -------- */
.maos { background: var(--cream); }
.hands {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(3rem, 6vw, 5rem);
}
.hand { list-style: none; }
/* retratos em arco (eco da janela arqueada do herói) */
.hand__photo {
  display: block; width: 100%; aspect-ratio: 3 / 4; margin: 0 0 1.3rem;
  border-radius: 999px 999px 6px 6px; overflow: hidden;
}
.hand__photo img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.06) saturate(.96); }
.hand__name {
  font-family: var(--display); font-weight: 400; font-size: 1.3rem;
  color: var(--ink); line-height: 1.15; margin-bottom: .35rem;
}
.hand__meta {
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .85rem;
}
.hand__line { font-size: .94rem; color: var(--ink-soft); }
.creds {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 3vw, 2.6rem);
}
.creds li {
  list-style: none; position: relative; padding-left: 1.8rem;
  font-size: .9rem; color: var(--ink-soft); line-height: 1.45;
}
.creds li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 1px;
  background: var(--gold); opacity: .75;
}

/* -------- Vozes (depoimento herói + apoio + stat) -------- */
.quote--hero { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.quote--hero blockquote { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.32; color: var(--ink); }
.vozes .quotes { max-width: 860px; margin-inline: auto; }  /* base .quotes já é 2col */
.quote figcaption span { color: var(--ink-faint); letter-spacing: .12em; }
.stat__num { font-family: var(--display); color: var(--ink); }
.stat__sep { color: var(--ink-faint); margin: 0 .35em; }

/* estrelas douradas + selo do Google (avaliações) */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* dourado vivo a pedido do cliente (2,1:1 — abaixo do AA não-textual, decisão dele;
   a nota fica acessível pelo aria-label "5 estrelas" em cada bloco) */
.stars { display: inline-flex; gap: .28rem; color: var(--gold-2); margin-bottom: 1rem; }
.stars svg { display: inline-block; width: 15px; height: 15px; }
.stars--lg { margin-bottom: 1.3rem; }
.stars--lg svg { width: 19px; height: 19px; }
.stars--stat { margin: 0 .15rem 0 .35rem; vertical-align: -.14em; }
.stars--stat svg { width: 14px; height: 14px; }
.gicon { display: inline-block; width: 13px; height: 13px; vertical-align: -.16em; }
.gicon--stat { width: 17px; height: 17px; vertical-align: -.22em; margin-right: .3rem; }

/* -------- Planos (ancoragem + reversão de risco) -------- */
.plan__anchor {
  font-size: .82rem; color: var(--gold-deep); letter-spacing: .02em; margin: -.7rem 0 1.4rem;
}
.plan__anchor span { color: var(--ink-faint); }
.plan__risk { margin: .9rem 0 0; text-align: center; font-size: .8rem; color: var(--ink-faint); letter-spacing: .02em; }

/* -------- Perguntas (FAQ · <details> nativo) -------- */
.faq { background: var(--cream-2); }
.faq__grid {
  display: grid; grid-template-columns: 4fr 8fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.faq__aside { position: sticky; top: clamp(96px, 13vh, 132px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative; padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--display); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--ink); line-height: 1.3; transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 5px; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__item summary:hover { color: var(--rose-deep); }
.faq__ans { padding: 0 3rem 1.6rem 0; }
.faq__ans p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.65; max-width: 54ch; }
.faq__item[open] .faq__ans { animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__note { text-align: center; }

/* -------- Fechamento (funde no rodapé escuro) -------- */
.fechamento {
  text-align: center; border-bottom: 1px solid rgba(253,245,239,.12);
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad-x) clamp(3rem, 6vw, 4.5rem);
}
.fechamento__title { color: var(--on-film); max-width: 15ch; margin: 0 auto; }
.fechamento__urgency {
  margin: 1.8rem auto 0; max-width: 46ch; color: rgba(253,245,239,.72);
  font-size: 1rem; line-height: 1.6;
}
.fechamento__cta { margin-top: 2.4rem; }

/* -------- responsivo (seções novas) -------- */
@media (max-width: 980px) {
  .casa .wrap { grid-template-columns: 1fr; }
  .casa__figure { grid-column: 1; grid-row: auto; width: min(76%, 340px); margin: 2.6rem auto 0; }
  .problema__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .tempos { grid-template-columns: 1fr; }
  .rituais__grid, .faq__grid { grid-template-columns: 1fr; }
  .rituais__aside, .faq__aside { position: static; }
  .hands, .creds { grid-template-columns: 1fr 1fr; }
  .vozes .quotes { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 600px) {
  .hands, .creds { grid-template-columns: 1fr; }
  .hand__photo { max-width: 300px; }
  .faq__item summary, .faq__ans { padding-right: 2.2rem; }
}

/* -------- redução de movimento (extras do redesign) -------- */
@media (prefers-reduced-motion: reduce) {
  .exp__progress { display: none; }
}
.no-pin .exp__progress { display: none; }
