/* Abertura cinematográfica da Home (intro, hero em tela cheia, faixa de tratamentos).
   Tudo visível sem JS; prefers-reduced-motion deixa a página parada e completa. */
:root { --cine-deep: #06525c; --cine-ease: cubic-bezier(.16, 1, .3, 1); --base: .15s; }
html.intro-on { --base: 1.55s; }

/* ---------- intro ---------- */
.intro { display: none; }
html.intro-on .intro {
  position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  background: var(--cine-deep); color: #f7f9f8;
  animation: intro-up 1s var(--cine-ease) 1.25s forwards;
}
@keyframes intro-up { to { transform: translateY(-100%); visibility: hidden; } }
.intro__word {
  font: 400 clamp(5rem, 16vw, 13rem)/.9 "Newsreader", Georgia, serif; font-style: italic;
  letter-spacing: -.03em; display: flex; overflow: hidden; padding: .22em .08em .2em;
}
.intro__word span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--cine-ease) forwards; }
.intro__word span:nth-child(1) { animation-delay: .05s; } .intro__word span:nth-child(2) { animation-delay: .1s; }
.intro__word span:nth-child(3) { animation-delay: .15s; } .intro__word span:nth-child(4) { animation-delay: .2s; }
.intro__word span:nth-child(5) { animation-delay: .25s; } .intro__word span:nth-child(6) { animation-delay: .3s; }
.intro__smile { width: min(46vw, 420px); height: auto; overflow: visible; margin-top: -1.6em; }
.intro__smile path { fill: none; stroke: #a5f3fc; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--cine-ease) .45s forwards; }
.intro__cap { font: 500 .8rem/1 "Hanken Grotesk", sans-serif; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fade .6s ease .6s forwards; color: #c1d0d2; }
@keyframes rise { to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- nav transparente sobre o hero ---------- */
html.at-top header.nav { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
html.at-top header.nav .nav__link { color: #fff; }
html.at-top header.nav .nav__logo img { filter: brightness(0) invert(1); }
html.at-top header.nav .nav__actions .btn--primary { background: #fff; color: var(--cine-deep); }
html.at-top header.nav .nav__toggle { color: #fff; border-color: rgba(255,255,255,.5); }
header.nav { transition: background-color .4s ease, border-color .4s ease; }
header.nav .nav__logo img { transition: filter .4s ease; }

/* ---------- hero ---------- */
.cine {
  position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden;
  background: #1a5f80; isolation: isolate;
  clip-path: inset(0 var(--cx, 0px) 0 var(--cx, 0px) round var(--cr, 0px));
}
.cine__media { position: absolute; inset: 0; z-index: -2; }
.cine__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 28%;
  transform: scale(calc(var(--zoom, 1) * var(--sz, 1))); transform-origin: 72% 35%;
  animation: zoom-out 2.4s var(--cine-ease) var(--base) both;
}
@keyframes zoom-out { from { --zoom: 1.28; filter: saturate(.6) brightness(.85); } to { --zoom: 1; filter: none; } }
@property --zoom { syntax: '<number>'; inherits: false; initial-value: 1; }
.cine__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 60, 78, .55), rgba(10, 60, 78, .15) 50%, transparent 70%);
}
.cine__inner {
  position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding-top: 72px; padding-bottom: 110px;
  transform: translateY(var(--ty, 0px)); opacity: var(--op, 1);
}
.cine__kicker {
  display: flex; gap: 14px; align-items: center; margin-bottom: 26px;
  font: 500 .82rem/1 "Hanken Grotesk", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #cffafe;
  opacity: 0; animation: fade-up .9s var(--cine-ease) calc(var(--base) + .55s) forwards;
}
.cine__kicker span + span::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 14px; opacity: .7; }
.cine__title {
  font: 400 clamp(3.1rem, min(8.2vw, 12.5vh), 8.4rem)/.94 "Newsreader", Georgia, serif; letter-spacing: -.035em;
  color: #fff; max-width: 11ch; margin: 0 0 30px;
}
.cine__title .ln { display: block; overflow: hidden; padding: .2em .06em .16em; margin: -.2em -.06em -.16em; }
.cine__title .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--cine-ease) forwards; }
.cine__title .ln:nth-child(1) > span { animation-delay: calc(var(--base) + .1s); }
.cine__title .ln:nth-child(2) > span { animation-delay: calc(var(--base) + .22s); }
.cine__title .ln:nth-child(3) > span { animation-delay: calc(var(--base) + .34s); }
.cine__title em { font-style: italic; color: #a5f3fc; }
.cine p.cine__lead {
  max-width: 34rem; font-size: 1.2rem; line-height: 1.6; color: rgba(255,255,255,.88); margin-bottom: 34px;
  opacity: 0; animation: fade-up .9s var(--cine-ease) calc(var(--base) + .7s) forwards;
}
.cine__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; opacity: 0; animation: fade-up .9s var(--cine-ease) calc(var(--base) + .85s) forwards; }
.cine .btn--primary { background: #fff; color: var(--cine-deep); }
.cine .btn--secondary, .cine .cine__ghost { color: #fff; }
.cine__ghost { font: 500 1rem/1 "Hanken Grotesk", sans-serif; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.cine__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  opacity: 0; animation: fade .9s ease calc(var(--base) + 1.05s) forwards;
}
.cine dl.cine__facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.25); }
.cine__facts div { padding-right: 16px; margin: 0; }
.cine__facts dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #cffafe; margin: 0 0 6px; }
.cine .cine__facts dd { margin: 0; font: 400 1.25rem/1.2 "Newsreader", Georgia, serif; color: #fff; }

/* ---------- faixa de tratamentos ---------- */
.ticker { overflow: hidden; padding: 28px 0; border-bottom: 1px solid #d3e0de; }
.ticker__track { display: flex; width: max-content; animation: tick 60s linear infinite; will-change: transform; }
.ticker.is-js .ticker__track { animation: none; }
.ticker__group { display: flex; align-items: center; gap: 1.1em; padding-right: 1.1em; font: 400 clamp(1.4rem, 2.4vw, 2.1rem)/1.2 "Newsreader", Georgia, serif; letter-spacing: -.01em; color: #06525c; white-space: nowrap; }
.ticker__group i { font-style: normal; color: #2f737d; }
.ticker__group b { font-weight: 400; color: #8fb9be; font-size: .55em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- celular ---------- */
@media (max-width: 767px) {
  .cine { min-height: 600px; }
  .cine__media img { object-position: 80% 20%; }
  .cine__veil { background: linear-gradient(180deg, transparent 20%, rgba(8, 50, 62, .55) 52%, rgba(6, 45, 55, .94) 82%); }
  .cine__inner { justify-content: flex-end; padding-bottom: 32px; }
  .cine__kicker { font-size: .68rem; letter-spacing: .16em; gap: 10px; margin-bottom: 16px; }
  .cine__kicker span + span::before { width: 16px; margin-right: 10px; }
  .cine__title { margin-bottom: 18px; }
  .cine p.cine__lead { font-size: 1rem; margin-bottom: 22px; }
  .cine__ctas .btn { width: 100%; justify-content: center; }
  .cine__ctas .cine__ghost { display: none; }
  .cine__bar { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) { .cine dl.cine__facts { grid-template-columns: repeat(2, 1fr); row-gap: 12px; } }

@media (prefers-reduced-motion: reduce) {
  html.intro-on .intro { display: none; }
  .cine__media img, .cine__title .ln > span, .cine__kicker, .cine__lead, .cine__ctas, .cine__bar { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
  .cine { clip-path: none !important; }
  .cine__inner { transform: none !important; opacity: 1 !important; }
}

/* ---------- movimento das seções (motion-site.js) ----------
   Reversível: ao sair da tela o elemento volta ao estado inicial; ao reaparecer anima de novo,
   vindo de baixo quando a página desce e de cima quando a página sobe ([data-from="top"]). */
.mv-on .mv-split .mv-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .18em .04em .14em; margin: -.18em -.04em -.14em; }
.mv-on .mv-split .mv-w > span { display: inline-block; transition: transform 1.1s var(--cine-ease); transition-delay: calc(var(--i) * 70ms); }
.mv-on .mv-split:not(.mv-in) .mv-w > span { transform: translateY(108%); transition-duration: 0s; transition-delay: 0s; }
.mv-on .mv-split[data-from="top"]:not(.mv-in) .mv-w > span { transform: translateY(-108%); }

.mv-on .mv-up { transition: opacity .9s ease .2s, transform 1s var(--cine-ease) .2s; }
.mv-on .mv-up:not(.mv-in) { opacity: 0; transform: translateY(32px); transition-duration: 0s; transition-delay: 0s; }
.mv-on .mv-up[data-from="top"]:not(.mv-in) { transform: translateY(-32px); }

.mv-on .mv-item { transition: opacity .7s ease, transform .9s var(--cine-ease); transition-delay: calc(.12s + var(--i) * 75ms); }
.mv-on .mv-item:not(.mv-in) { opacity: 0; transform: translateY(26px); transition-duration: 0s; transition-delay: 0s; }
.mv-on .mv-item[data-from="top"]:not(.mv-in) { transform: translateY(-26px); }

.mv-on .mv-photo img {
  transform: translateY(var(--py, 0px)); scale: var(--ps, 1.08);
  transition: clip-path 1.4s var(--cine-ease) .1s, opacity .7s ease, scale 1.6s var(--cine-ease);
  clip-path: inset(0 0 0 0); will-change: transform;
}
.mv-on .mv-photo:not(.mv-in) img { clip-path: inset(100% 0 0 0); --ps: 1.18; transition-duration: 0s; transition-delay: 0s; }
.mv-on .mv-photo[data-from="top"]:not(.mv-in) img { clip-path: inset(0 0 100% 0); }

/* lista de tratamentos: crossfade entre as fotos (mantém a cortina da moldura) */
.mv-on [data-peek] .frame { position: relative; overflow: hidden; }
.mv-on [data-peek] [data-peek-for] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mv-on [data-peek] [data-peek-for][hidden] { display: block !important; }
.mv-on [data-peek] [data-peek-for] { opacity: 0; }
.mv-on [data-peek] [data-peek-for].mv-shown { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none !important; transform: none !important; }
}

/* ---------- números ---------- */
.nums { padding: clamp(72px, 10vw, 140px) 0; border-top: 1px solid #d3e0de; border-bottom: 1px solid #d3e0de; }
main .nums .wrap.nums__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.nums__item { border-left: 1px solid #d3e0de; padding-left: 24px; }
.nums__item:first-child { border-left: 0; padding-left: 0; }
.nums p.nums__n { font: 400 clamp(4rem, 9vw, 8.5rem)/.9 "Newsreader", Georgia, serif; letter-spacing: -.04em; color: #06525c; font-variant-numeric: tabular-nums; margin: 0 0 14px; }
.nums p.nums__l { font-size: 1rem; line-height: 1.45; color: #2f737d; max-width: 16ch; margin: 0; }
@media (max-width: 767px) {
  main .nums .wrap.nums__grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .nums__item:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ---------- depoimentos ---------- */
.depo { background: #06525c; color: #f7f9f8; padding: clamp(88px, 11vw, 150px) 0; }
.depo .depo__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.depo p.depo__score { font: 400 clamp(6rem, 15vw, 13rem)/.8 "Newsreader", Georgia, serif; letter-spacing: -.05em; color: #a5f3fc; margin: 0; font-variant-numeric: tabular-nums; }
.depo h2 { font: 400 clamp(2rem, 4vw, 3.4rem)/1.05 "Newsreader", Georgia, serif; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; max-width: 16ch; }
.depo .depo__head p:not(.depo__score) { color: #c1d0d2; font-size: 1.05rem; line-height: 1.55; margin: 0; max-width: 40ch; }
.depo .depo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.depo__card { margin: 0; padding: 32px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 20px; transition: background-color .4s ease, transform .5s var(--cine-ease); }
.depo__card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.depo__stars { display: flex; gap: 4px; }
.depo__stars svg { width: 20px; height: 20px; fill: #fbbf24; }
.depo__stars svg.off { fill: rgba(255,255,255,.22); }
.depo .depo__card blockquote { margin: 0; font: 400 1.35rem/1.4 "Newsreader", Georgia, serif; color: #fff; flex: 1; }
.depo__card figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.depo__name { font-weight: 600; color: #fff; }
.depo__src { font-size: .85rem; color: #c1d0d2; }
.depo__more { margin: 40px 0 0; }
.depo__link { display: inline-flex; align-items: center; gap: 8px; color: #a5f3fc; border-bottom: 1px solid rgba(165,243,252,.5); padding-bottom: 4px; font-weight: 500; }
.depo__link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
@media (max-width: 1023px) { .depo .depo__grid { grid-template-columns: 1fr; } .depo .depo__head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- localização ---------- */
.local { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; padding: 80px 0; overflow: hidden; background: #ebf0ee; }
.local__map { position: absolute; inset: 0; }
.local__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.local .local__wrap { position: relative; pointer-events: none; display: block; }
.local__card { pointer-events: auto; width: min(460px, 100%); background: #f7f9f8; border-radius: 24px; padding: clamp(28px, 3.4vw, 44px); box-shadow: 0 30px 70px -30px rgba(6, 50, 60, .55); }
.local p.local__kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #2f737d; margin: 0 0 14px; font-weight: 600; }
.local h2 { font: 400 clamp(2rem, 3.4vw, 2.9rem)/1.05 "Newsreader", Georgia, serif; letter-spacing: -.02em; color: #06525c; margin: 0 0 20px; }
.local address.local__addr { font-style: normal; font: 400 1.35rem/1.35 "Newsreader", Georgia, serif; color: #06525c; margin-bottom: 24px; }
.local__hours { display: grid; gap: 10px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid #d3e0de; border-bottom: 1px solid #d3e0de; }
.local__hours div { display: flex; justify-content: space-between; gap: 16px; }
.local__hours dt { color: #2f737d; }
.local__hours dd { margin: 0; color: #06525c; font-weight: 500; text-align: right; }
.local__hours a { color: inherit; border-bottom: 1px solid #a7c4c7; }
.local__ctas { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.local__wa { color: #06525c; font-weight: 500; border-bottom: 1px solid #06525c; padding-bottom: 3px; }
@media (max-width: 767px) {
  .local { display: block; padding: 0; min-height: 0; }
  .local__map { position: relative; height: 340px; }
  .local__wrap { padding-top: 0; }
  .local__card { margin: -48px auto 56px; position: relative; }
  .local__ctas .btn { width: 100%; justify-content: center; }
}

/* a faixa de números e as seções próprias não seguem a altura de tela do kit */
main > section.nums { min-height: 0 !important; height: auto !important; display: block; }
main .nums .wrap.nums__grid { align-items: start; }
main > section.depo, main > section.local { min-height: 0; }
