/* ---------- topo ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: calc(68px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) clamp(16px, 4vw, 48px) 0;
  background: linear-gradient(180deg, rgba(26, 36, 29, 0.8), rgba(26, 36, 29, 0));
  transition: background-color 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(26, 36, 29, 0.88); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; font: 400 1.75rem/1.1 var(--script); min-width: 0; }
.brand span { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.1em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav nav { display: flex; gap: 2rem; font-size: 0.9rem; color: var(--muted); }
.nav nav a { position: relative; text-decoration: none; transition: color 180ms ease; }
/* sublinhado marca a seção que está na tela */
.nav nav a::after { content: ""; position: absolute; inset: auto 0 -6px 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 220ms var(--ease-out); }
.nav nav a[aria-current] { color: var(--gold-hi); }
.nav nav a[aria-current]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav nav a:hover { color: var(--gold-hi); } }
@media (max-width: 820px) { .nav nav { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 120px clamp(16px, 4vw, 48px) 40px; background: var(--bg-2);
}
/* foto em camada própria para poder deslizar na rolagem; o véu fica por cima para o texto ler bem */
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--cover, none) center / cover no-repeat; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 36, 29, 0.94) 0%, rgba(26, 36, 29, 0.62) 52%, rgba(26, 36, 29, 0.18) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(26, 36, 29, 0) 38%);
}
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(0deg, rgba(26, 36, 29, 0.97) 18%, rgba(26, 36, 29, 0.6) 62%, rgba(26, 36, 29, 0.3) 100%); }
}
.hero-in { width: 100%; max-width: 1200px; margin: 0 auto; display: grid; gap: 1.4rem; justify-items: start; }
.hero-in > * { animation: rise 800ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 80ms); }
.hero h1 { font-size: clamp(2.9rem, 9vw, 6.6rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.01em; }
/* palavra em script dourado, como "Mãe e filha" na logo */
.hero h1 em, .sec h2 em {
  display: inline-block; padding: 0 0.12em 0.08em 0; font: 400 1.2em/1.1 var(--script); letter-spacing: 0;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-bf { position: absolute; top: clamp(110px, 22vh, 220px); right: clamp(20px, 9vw, 150px); width: clamp(72px, 12vw, 150px); transform: rotate(12deg); pointer-events: none; }
.foot-bf { width: 64px; }
.lead { max-width: 46ch; color: #d8d4c8; font-size: 1.05rem; }
.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.2rem; font-size: 0.85rem; color: var(--muted); }
.status > span { display: inline-flex; align-items: center; gap: 0.45rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 192, 143, 0.18); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 40px; padding: 0 1rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(26, 36, 29, 0.55); backdrop-filter: blur(6px);
  font-size: 0.88rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform 140ms var(--ease-out), border-color 180ms ease, color 180ms ease;
}
.chip:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--gold); color: var(--gold-hi); } }

/* ---------- faixa de serviços ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marq 70s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; font: italic 500 1.35rem var(--serif); color: var(--gold-hi); white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin: 0 1.6rem; font-style: normal; font-size: 0.7rem; color: var(--line-strong); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.sec { scroll-margin-top: 56px; max-width: 1200px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) clamp(16px, 4vw, 48px); }
.sec-head { display: grid; gap: 0.7rem; margin-bottom: 2.5rem; }
.kicker { display: flex; align-items: center; gap: 0.8rem; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold); }
/* o traço do título das seções cresce quando o título aparece */
html.js .sec-head .kicker::before { transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out) 250ms; }
html.js .sec-head.in .kicker::before { transform: none; }
.sec h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 500; line-height: 1.05; }

/* ---------- agendamento ---------- */
.book { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 1.5rem; align-items: start; }
@media (max-width: 980px) { .book { grid-template-columns: minmax(0, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.1rem, 3vw, 1.75rem); margin-bottom: 1.25rem;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), border-color 200ms ease;
}
/* passo travado fica baixo e apagado; ao liberar, sobe e acende */
.step.is-locked { opacity: 0.4; transform: translateY(8px); pointer-events: none; }
.step > header, .summary > div > header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.9rem; margin-bottom: 1.1rem; }
.num { font-size: 1.5rem; font-style: italic; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.1em; }
.step h3, .summary h3 { font-size: 1.15rem; font-weight: 600; }
.step > header small { margin-left: auto; color: var(--gold-hi); font-size: 0.85rem; text-align: right; }
.step { scroll-margin-top: 90px; }
.total b small { display: block; font: 400 0.78rem var(--sans); color: var(--muted); text-align: right; }
.review { margin: 0; }

.step .tabs { margin-bottom: 1rem; }

.svc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0.6rem; }
.opt {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left;
  padding: 0.95rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 140ms var(--ease-out);
}
.opt:active { transform: scale(0.985); }
.opt[aria-pressed="true"] { border-color: var(--gold); background: rgba(201, 164, 92, 0.13); }
.opt b { font-weight: 600; display: block; }
.opt small { color: var(--muted); font-size: 0.82rem; }
.opt .price { font-weight: 600; color: var(--gold-hi); white-space: nowrap; text-align: right; font-size: 0.95rem; }
.opt .price small { display: block; font-weight: 400; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: var(--line-strong); } .opt[aria-pressed="true"]:hover { border-color: var(--gold); } }
.svc-list .opt { animation: rise 360ms var(--ease-out) backwards; animation-delay: min(calc(var(--i, 0) * 25ms), 300ms); }

.pro-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0.75rem; }
.pro-opt { justify-content: flex-start; gap: 0.9rem; padding: 0.8rem; }
.pro-opt img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--line-strong); }
.pro-opt small { display: block; }

.dates { display: flex; gap: 0.5rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.6rem; margin-bottom: 1rem; scrollbar-width: thin; }
.day {
  flex: none; scroll-snap-align: start; width: 62px; padding: 0.6rem 0; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02); cursor: pointer; display: grid; justify-items: center; line-height: 1.25;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
}
.day small { margin: 0; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.day b { font: 500 1.4rem var(--serif); }
.day:active { transform: scale(0.96); }
.day[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.day[aria-pressed="true"] small { color: var(--gold-ink); }
.day:disabled { opacity: 0.3; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .day:not(:disabled):not([aria-pressed="true"]):hover { border-color: var(--line-strong); } }

.slot-group h4 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 0.5rem; font-weight: 600; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 0.5rem; }
.slot {
  min-height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); cursor: pointer; font-weight: 500;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out);
  animation: rise 320ms var(--ease-out) backwards; animation-delay: min(calc(var(--i, 0) * 20ms), 260ms);
}
.slot:active { transform: scale(0.95); }
.slot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .slot:not([aria-pressed="true"]):hover { border-color: var(--gold); } }
.empty-note { color: var(--muted); padding: 0.5rem 0; }

.summary {
  position: sticky; top: 88px; padding: 1.5rem; border-radius: 22px;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-strong);
}
@media (max-width: 980px) { .summary { position: static; } }
.sum-rows { display: grid; margin-bottom: 1.25rem; }
.sum-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { text-align: right; font-weight: 500; }
#form { display: grid; gap: 1rem; }
.total { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 0.4rem; }
.total span { display: grid; font-weight: 600; }
.total small { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.total b { font-size: 2rem; font-weight: 500; color: var(--gold-hi); }
.btn-block { width: 100%; min-height: 50px; }
.fine { font-size: 0.82rem; color: var(--faint); text-align: center; }
.done { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 0.5rem 0; }
.done h3 { font: 500 1.8rem var(--serif); }
.check { width: 84px; height: 84px; }
.check circle { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 226; stroke-dashoffset: 226; animation: draw 700ms var(--ease-out) forwards; }
.check path { fill: none; stroke: var(--gold-hi); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 450ms var(--ease-out) 450ms forwards; }

/* ---------- equipe ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 360px)); justify-content: center; gap: 1.25rem; }
.member { border-radius: 22px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: grid; }
.member .photo { position: relative; overflow: hidden; }
.member .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .member:hover .photo img { transform: scale(1.04); } }
.member .cap { position: absolute; inset: auto 0 0 0; padding: 3.5rem 1.25rem 1.1rem; background: linear-gradient(0deg, rgba(26, 36, 29, 0.96), rgba(26, 36, 29, 0)); }
.member h3 { font: 500 1.5rem var(--serif); }
.member .cap p { color: var(--gold-hi); font-size: 0.9rem; }
.member .btn { margin: 1rem; }
/* foto se revela por recorte de cima para baixo, enquanto a escala assenta (usa `scale`, separado do zoom do hover) */
/* o gatilho é o card pai (.reveal.in): o IntersectionObserver nunca "vê" um elemento totalmente recortado */
html.js .reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--ease-in-out) calc(var(--d, 0ms) + 150ms); }
html.js .reveal-clip img { scale: 1.14; transition: scale 1200ms var(--ease-out) calc(var(--d, 0ms) + 150ms), transform 700ms var(--ease-out); }
html.js .reveal.in .reveal-clip { clip-path: inset(0); }
html.js .reveal.in .reveal-clip img { scale: 1; }

/* ---------- avaliações / casa / local ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.review { display: grid; align-content: start; gap: 0.8rem; padding: 1.25rem; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.review p { font: italic 400 1.08rem/1.45 var(--serif); }
.review footer { font-size: 0.84rem; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1rem; }
.feature { padding: 1.5rem; border-radius: 18px; border: 1px solid var(--line); background: var(--card); display: grid; gap: 0.5rem; align-content: start; }
.feature .num { font-size: 1.1rem; }
.feature h3 { font-size: 1.05rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: 0.93rem; }
.review, .feature { transition: border-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .review:hover, .feature:hover { border-color: var(--line-strong); } }
.where { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; align-items: start; }
.hours { display: grid; padding: 1.25rem 1.5rem; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.hours li:last-child { border-bottom: 0; }
.hours li.today { color: var(--gold-hi); font-weight: 600; }
.where-act { display: grid; gap: 0.75rem; justify-items: start; }
.foot { display: grid; justify-items: center; gap: 0.5rem; padding: 3rem 16px calc(3rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); text-align: center; }
.foot img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-strong); }
.foot p.serif { font-size: 1.3rem; }
.foot a { font-size: 0.85rem; }

/* a borboleta do rodapé só começa a se desenhar quando chega na tela */
html.js .foot-bf .bf path { animation-play-state: paused; }
html.js .foot-bf.in .bf path { animation-play-state: running; }

/* ---------- rolagem: só transform e opacity, sem JS (Chrome, Edge, Safari 26+; os demais ficam estáticos) ---------- */
@supports (animation-timeline: scroll()) {
  .progress {
    position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none;
    background: var(--metal); transform-origin: 0 50%; transform: scaleX(0);
    animation: grow linear both; animation-timeline: scroll(root);
  }
  @keyframes grow { to { transform: scaleX(1); } }
  @media (prefers-reduced-motion: no-preference) {
    .hero-media { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    .hero-in { animation: lift linear both; animation-timeline: scroll(root); animation-range: 0 70svh; }
    .hero-bf { animation: float linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes parallax { to { transform: translateY(30svh); } }
    @keyframes lift { to { opacity: 0; transform: translateY(-5svh); } }
    @keyframes float { from { transform: rotate(12deg); } to { transform: rotate(24deg) translateY(-14svh); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .check circle, .check path { animation: none; stroke-dashoffset: 0; }
  .member .photo img { transition: none; }
  html.js .reveal-clip { clip-path: none; }
  html.js .reveal-clip img { scale: 1; }
  html.js .sec-head .kicker::before { transform: none; transition: none; }
  .step.is-locked { transform: none; }
}
