/* =========================================================================
   Clínica Márcio Dietz — Landing page
   Paleta original preservada: verde-sálvia + dourado + branco
   ========================================================================= */
:root {
  --sage: #70806D;
  --sage-deep: #5B6A58;
  --sage-dark: #3B4638;
  --sage-ink: #262E24;
  --forest: #121A13;
  --forest-2: #1A251B;
  --gold: #AEA62E;
  --gold-mid: #C7C073;
  --gold-pale: #ECE48B;
  --cream: #F7F6F0;
  --paper: #FFFFFF;
  --ink: #23281F;
  --muted: #6A7065;
  --line: rgba(35, 40, 31, .12);

  --serif: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: normal; }
::selection { background: var(--gold-pale); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.center { display: flex; justify-content: center; margin-top: clamp(40px, 6vw, 72px); }

/* imagens com fallback elegante (quando o arquivo ainda não existe) */
[data-img] {
  background-color: var(--sage-deep);
  background-image: linear-gradient(150deg, rgba(236,228,139,.18), transparent 40%), linear-gradient(330deg, var(--sage-dark), var(--sage) 70%);
  background-size: cover;
  background-position: center;
}

/* ------------------------------------------------------------------ */
/* Tipografia de seções                                                 */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 22px;
}
.eyebrow .num {
  font: 400 15px/1 var(--serif); letter-spacing: 0; color: var(--gold);
  padding-right: 12px; border-right: 1px solid currentColor;
}
.eyebrow--light { color: rgba(255,255,255,.78); }
.eyebrow--light .num { color: var(--gold-pale); }

.display {
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--ink);
}
.display em { color: var(--sage); }
.display--light { color: #fff; }
.display--light em { color: var(--gold-pale); }

/* ------------------------------------------------------------------ */
/* Botões                                                              */
/* ------------------------------------------------------------------ */
.btn {
  --bg: var(--gold); --bg-h: #9D9629; --fg: #fff; --dot: rgba(255,255,255,.2); --dot-h: #fff; --dot-fg-h: var(--gold);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 7px 7px 7px 26px; min-height: 52px; border-radius: 999px;
  font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn:not(:has(svg)) { padding: 7px 26px; }
.btn svg {
  width: 38px; height: 38px; padding: 11px; flex: 0 0 auto; border-radius: 50%;
  background: var(--dot); color: currentColor;
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.btn:hover { background: var(--bg-h); }
.btn:hover svg { background: var(--dot-h); color: var(--dot-fg-h); transform: rotate(-45deg); }
.btn:active { transform: scale(.985); }
.btn--olive { --bg: var(--sage); --bg-h: var(--sage-deep); --dot-fg-h: var(--sage); }
.btn--ghost-light { --bg: transparent; --bg-h: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn--line { --bg: transparent; --bg-h: var(--ink); --fg: var(--ink); --dot: rgba(35,40,31,.07); --dot-fg-h: var(--ink); box-shadow: inset 0 0 0 1px rgba(35,40,31,.35); }
.btn--line:hover { color: #fff; }
.btn--lg { min-height: 58px; padding-left: 30px; font-size: 13.5px; }
.btn--lg svg { width: 44px; height: 44px; padding: 13px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-pale);
  padding-bottom: 6px; border-bottom: 1px solid rgba(236,228,139,.4);
  transition: gap .4s var(--ease), border-color .4s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 16px; border-color: var(--gold-pale); }

.icon-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .3s, color .3s, box-shadow .3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[data-reel="prev"] svg, .icon-btn[data-gal="prev"] svg, .icon-btn[data-deck-nav="prev"] svg { transform: rotate(180deg); }
.icon-btn:hover { background: var(--sage); color: #fff; box-shadow: none; }

/* ------------------------------------------------------------------ */
/* Barra de progresso e header                                         */
/* ------------------------------------------------------------------ */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-pale)); transform-origin: 0 50%; transform: scaleX(0); }

.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s, transform .5s var(--ease);
}
.header__inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 28px;
}
.header.is-solid {
  background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid.is-dark {
  background: rgba(38,46,36,.55); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.header.is-dark .phone svg { color: var(--gold-pale); }
.header.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; position: relative; }
.brand__logo { height: 52px; width: auto; transition: opacity .5s var(--ease); }
.brand__logo--color { position: absolute; left: 0; top: 0; opacity: 0; }
.header.is-solid:not(.is-dark) .brand__logo--color { opacity: 1; }
.header.is-solid:not(.is-dark) .brand__logo--white { opacity: 0; }
body.menu-open .header .brand__logo--color { opacity: 0; }
body.menu-open .header .brand__logo--white { opacity: 1; }
.footer__logo { height: clamp(80px, 9vw, 110px); width: auto; }
@media (max-width: 920px) { .brand__logo { height: 40px; } }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  font: 500 16px/1 var(--serif); letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px currentColor;
}
.brand__text { display: flex; flex-direction: column; font: 400 17px/1.1 var(--serif); }
.brand__text small { font: 400 10px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; opacity: .7; margin-top: 3px; }

.nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; letter-spacing: .04em; }
.nav > a, .nav__drop > a { position: relative; padding: 8px 0; }
.nav > a::after, .nav__drop > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav > a:hover::after, .nav__drop:hover > a::after { transform: scaleX(1); transform-origin: left; }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: 100%; left: 50%; width: 320px; padding: 10px;
  background: #fff; color: var(--ink); border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(38,46,36,.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 4px); }
.nav__menu a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 14px; line-height: 1.35; }
.nav__menu a:hover { background: var(--cream); color: var(--sage-deep); }

.header__phones { display: flex; gap: 18px; font-size: 13px; letter-spacing: .03em; }
.phone { display: inline-flex; align-items: center; gap: 7px; opacity: .9; transition: opacity .3s; }
.phone:hover { opacity: 1; }
.phone svg { width: 16px; height: 16px; color: var(--gold-pale); }
.header.is-solid .phone svg { color: var(--gold); }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1180px) { .header__phones { display: none; } }
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 90px var(--gutter) 40px;
    background: var(--sage-dark); color: #fff;
    font: 400 30px/1.2 var(--serif);
    clip-path: circle(0 at calc(100% - 40px) 34px);
    transition: clip-path .7s var(--ease);
  }
  body.menu-open .nav { clip-path: circle(150% at calc(100% - 40px) 34px); }
  body.menu-open .header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__menu { display: none; }
}

/* ------------------------------------------------------------------ */
/* Fio dourado                                                          */
/* ------------------------------------------------------------------ */
main { position: relative; }
.thread {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; overflow: visible;
}
.thread path { fill: none; stroke-linecap: round; }
.thread__ghost { stroke: rgba(174,166,46,.18); stroke-width: 1; stroke-dasharray: 2 7; }
.thread__line { stroke: url(#goldGrad); stroke-width: 1.6; }
.thread__tip { fill: var(--gold-pale); filter: drop-shadow(0 0 6px rgba(236,228,139,.95)); }
.node { position: absolute; left: 0; top: 0; width: 1px; height: 1px; pointer-events: none; }
.node[data-at="bottom"] { top: auto; bottom: 0; }

/* conteúdo sempre por cima do fio */
:where(section, footer) > * { position: relative; z-index: 2; }
section, footer { position: relative; }

/* ------------------------------------------------------------------ */
/* Revelações                                                           */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* HERO                                                                 */
/* ------------------------------------------------------------------ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: var(--forest);
  padding-top: calc(var(--header-h) + 40px);
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: 0 !important; will-change: transform; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  background: var(--forest) url("../assets/img/hero/hero-poster.jpg") center / cover no-repeat;
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,26,19,.55) 0%, rgba(18,26,19,.15) 30%, rgba(18,26,19,.35) 60%, rgba(18,26,19,.92) 100%),
    linear-gradient(90deg, rgba(18,26,19,.75) 0%, rgba(18,26,19,.2) 60%, rgba(18,26,19,0) 100%);
}
.hero__inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vh, 70px); }
.hero__copy { max-width: 760px; }
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__title {
  font-size: clamp(52px, 8.4vw, 128px); font-weight: 600;
  line-height: .95; letter-spacing: -.05em; margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero__title em { color: var(--gold-pale); }
body.is-loaded .hero__title .line > span { transform: none; }
.hero__tag { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 560px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero__tag em { color: var(--gold-pale); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* barra de informações */
.hero__bar { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(18,26,19,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__stats {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stats li { display: flex; flex-direction: column; gap: 4px; padding: 24px 0 26px 26px; }
.hero__stats li:first-child { padding-left: 0; }
.hero__stats li + li { border-left: 1px solid rgba(255,255,255,.14); }
.hero__stats strong { font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.01em; }
.hero__stats li:first-child strong { color: var(--gold-pale); }
.hero__stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }

@media (max-width: 760px) {
  .hero { justify-content: center; }
  .hero__inner { flex: 1; display: flex; align-items: center; padding-bottom: 30px; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto; }
  .hero__copy > .eyebrow { display: inline-flex; }
  .hero__shade { background: linear-gradient(180deg, rgba(18,26,19,.6), rgba(18,26,19,.45) 40%, rgba(18,26,19,.92)); }
  .hero__title { font-size: clamp(44px, 13vw, 56px); }
  .hero__tag { font-size: 17px; margin: 0 auto 28px; }
  .hero__ctas { flex-direction: column; align-items: center; width: 100%; }
  .hero__ctas .btn { width: min(100%, 330px); }
  .hero__stats { grid-template-columns: 1fr 1fr; padding: 0; }
  .hero__stats li { padding: 16px 12px; align-items: center; text-align: center; }
  .hero__stats li:first-child { padding-left: 12px; }
  .hero__stats li:nth-child(3) { border-left: 0; }
  .hero__stats li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__stats span { font-size: 10px; }
}

/* ------------------------------------------------------------------ */
/* MANIFESTO                                                            */
/* ------------------------------------------------------------------ */
.manifesto { background: var(--paper); padding: clamp(110px, 16vw, 200px) 0 clamp(60px, 8vw, 100px); }
.manifesto__text {
  font: 400 clamp(24px, 3.2vw, 42px)/1.35 var(--serif);
  letter-spacing: -.025em;
  max-width: 1080px; margin: 0 auto; text-align: center;
}
.manifesto__text .w { opacity: .14; transition: opacity .25s linear; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w.hl { color: var(--sage); font-weight: 500; }
.pillars {
  list-style: none; margin: clamp(56px, 8vw, 96px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 980px;
  border-top: 1px solid var(--line);
}
.pillars li { padding: 26px 22px 0; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.pillars li + li { border-left: 1px solid var(--line); }
.pillars strong { font: 400 22px/1.2 var(--serif); }
.pillars span { color: var(--muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.pillars li:nth-child(2) { --d: .1s; }
.pillars li:nth-child(3) { --d: .2s; }
@media (max-width: 680px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars li + li { border-left: 0; border-top: 1px solid var(--line); padding-bottom: 22px; }
  .pillars li:first-child { padding-bottom: 22px; }
}

/* ------------------------------------------------------------------ */
/* DEPOIMENTOS — carrossel infinito                                    */
/* ------------------------------------------------------------------ */
.testimonials { background: linear-gradient(180deg, var(--paper), var(--cream) 30%); padding: clamp(50px, 7vw, 90px) 0 clamp(80px, 10vw, 120px); overflow: hidden; }
.testimonials__head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px; margin-bottom: clamp(44px, 6vw, 70px); }
.testimonials__aside p { color: var(--muted); max-width: 400px; margin-bottom: 24px; }
.reel-ctrl { display: flex; gap: 10px; }
.reel-ctrl .i-play { display: none; }
.reel.is-paused ~ * .i-play, .testimonials.is-paused .i-play { display: block; }
.testimonials.is-paused .i-pause { display: none; }
@media (max-width: 760px) { .testimonials__head { grid-template-columns: 1fr; } }

.reel { position: relative; padding: 30px 0 40px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reel.is-dragging { cursor: grabbing; }
.reel__track { display: flex; gap: clamp(14px, 2vw, 26px); width: max-content; will-change: transform; }

.tcard {
  --s: 1; --r: 0deg; --o: 1;
  position: relative; flex: 0 0 auto;
  width: clamp(210px, 22vw, 290px); aspect-ratio: 9 / 16;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden; color: #fff; text-align: left;
  transform: scale(var(--s)) rotate(var(--r));
  transform-origin: 50% 100%;
  box-shadow: 0 30px 60px -30px rgba(38,46,36,.55);
  transition: box-shadow .4s;
  isolation: isolate;
}
.tcard:nth-child(odd) { border-radius: 26px 26px 999px 999px; transform-origin: 50% 0; }
.tcard__poster, .tcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38,46,36,.05) 35%, rgba(38,46,36,.85)); }
.tcard:hover .tcard__poster, .tcard:hover video { transform: scale(1.06); }
.tcard__play {
  position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  transition: transform .5s var(--ease), background .4s;
}
.tcard__play svg { width: 24px; height: 24px; margin-left: 3px; }
.tcard:hover .tcard__play { transform: scale(1.12); background: var(--gold); box-shadow: none; }
.tcard__meta { position: absolute; left: 22px; right: 22px; bottom: 26px; }
.tcard:nth-child(odd) .tcard__meta { bottom: 64px; }
.tcard__meta strong { display: block; font-weight: 400; font: 400 21px/1.15 var(--serif); margin-bottom: 8px; }
.tcard__meta span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-pale); }
.tcard__q { position: absolute; top: 22px; right: 22px; font: 60px/1 var(--serif); color: rgba(236,228,139,.85); }
.tcard:nth-child(even) .tcard__q { top: 54px; right: 50%; transform: translateX(50%); }

/* faixa de frases */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0; margin-top: 20px; }
.ticker__track { display: flex; width: max-content; gap: 34px; align-items: center; will-change: transform; }
.ticker span { font: 400 clamp(24px, 3vw, 40px)/1 var(--serif); color: var(--sage-deep); white-space: nowrap; }
.ticker i { font-style: normal; color: var(--gold); font-size: 18px; }

/* ------------------------------------------------------------------ */
/* Cortina (seções verdes que se expandem até sangrar)                 */
/* ------------------------------------------------------------------ */
.curtain { --p: 1; }
.curtain { clip-path: inset(0 calc((1 - var(--p)) * 5vw) 0 calc((1 - var(--p)) * 5vw) round calc((1 - var(--p)) * 80px)); }

/* ------------------------------------------------------------------ */
/* PROCEDIMENTOS — horizontal fixado                                   */
/* ------------------------------------------------------------------ */
.procedures { background: var(--sage); color: #fff; height: var(--pin-h, 380vh); }
.procedures__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.procedures__pin::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(236,228,139,.16), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(38,46,36,.35), transparent 70%);
}
.procedures__head { position: relative; margin-bottom: clamp(26px, 4vh, 48px); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.procedures__head .eyebrow { grid-column: 1 / -1; }
.procedures__head .display { font-size: clamp(34px, 4.6vw, 64px); }
.procedures__count { font: 400 22px/1 var(--serif); color: rgba(255,255,255,.6); }
.procedures__count .cur { color: var(--gold-pale); font-size: 40px; }
.procedures__track {
  display: flex; gap: clamp(18px, 2.4vw, 34px);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
  width: max-content; will-change: transform;
}
.proc {
  position: relative; flex: 0 0 auto;
  width: clamp(300px, 34vw, 470px);
  display: grid; grid-template-rows: auto 1fr;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px; overflow: hidden;
  transition: background .5s, transform .6s var(--ease);
}
.proc:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); }
.proc__media { position: relative; height: clamp(190px, 32vh, 320px); overflow: hidden; }
.proc__img { position: absolute; inset: 0; filter: grayscale(.25) sepia(.1); transition: transform 1.2s var(--ease), filter .8s; }
.proc:hover .proc__img { transform: scale(1.06); filter: none; }
.proc__n {
  position: absolute; left: 22px; bottom: -14px;
  font: 400 96px/1 var(--serif); color: var(--gold-pale);
  text-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.proc__body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; }
.proc__body h3 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.proc__body h3 i { font-style: normal; color: var(--gold-pale); opacity: .7; }
.proc__body p { color: rgba(255,255,255,.78); }
.proc__body .link-arrow { margin-top: auto; align-self: flex-start; }
.proc--cta {
  width: clamp(280px, 28vw, 380px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px;
  padding: 36px; background: transparent; border-style: dashed; border-color: rgba(236,228,139,.45);
}
.proc--cta p { font: 400 clamp(28px, 2.8vw, 38px)/1.2 var(--serif); }
.procedures__bar { position: relative; margin: clamp(26px, 4vh, 44px) auto 0; width: min(var(--max) - 2 * var(--gutter), calc(100% - 2 * var(--gutter))); height: 1px; background: rgba(255,255,255,.2); }
.procedures__bar span { position: absolute; inset: 0; background: var(--gold-pale); transform-origin: 0 50%; transform: scaleX(0); }

/* sem pin no mobile: rolagem lateral nativa com snap */
@media (max-width: 860px), (max-height: 560px) {
  .procedures { height: auto; padding: 90px 0 80px; }
  .procedures__pin { position: relative; height: auto; padding-top: 0; }
  .procedures__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; transform: none !important; }
  .procedures__track::-webkit-scrollbar { display: none; }
  .proc { width: 82vw; scroll-snap-align: center; }
  .procedures__count { display: none; }
}

/* ------------------------------------------------------------------ */
/* SOBRE                                                                */
/* ------------------------------------------------------------------ */
.about { background: var(--paper); padding: clamp(110px, 14vw, 180px) 0 clamp(90px, 12vw, 150px); }
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__visual { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 24px 24px; }
.arch__img { position: absolute; inset: -6% 0; background-size: cover; background-position: center top; will-change: transform; }
.arch--about { aspect-ratio: 4 / 5.2; margin: 0 22px 22px 0; }
.about__frame { position: absolute; left: 22px; top: 22px; width: calc(100% - 22px); height: calc(100% - 22px); overflow: visible; z-index: 2; pointer-events: none; }
.about__frame path { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 0)); }
.stat {
  position: absolute; right: -16px; bottom: 60px; z-index: 3;
  padding: 22px 26px; border-radius: 20px;
  background: var(--sage); color: #fff;
  box-shadow: 0 30px 50px -25px rgba(38,46,36,.6);
  display: flex; flex-direction: column;
}
.stat strong { font: 400 46px/1 var(--serif); color: var(--gold-pale); }
.stat > span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; }

.timeline { list-style: none; padding: 0; margin: 46px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 7px; top: 8px; width: 1px; height: calc((100% - 16px) * var(--draw, 0)); background: var(--gold); }
.timeline li { position: relative; padding: 0 0 34px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:nth-child(2) { --d: .1s; }
.timeline li:nth-child(3) { --d: .2s; }
.timeline__dot { position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--gold); }
.timeline__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .6s var(--ease) .3s; }
.timeline li.is-in .timeline__dot::after { transform: scale(1); }
.timeline h4 { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 10px; }
.timeline p { font: 400 clamp(19px, 1.7vw, 23px)/1.45 var(--serif); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .stat { right: 0; }
}

/* ------------------------------------------------------------------ */
/* A CLÍNICA                                                            */
/* ------------------------------------------------------------------ */
.clinic { background: var(--paper); padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 12vw, 140px); overflow: hidden; }
.clinic__head { margin-bottom: clamp(36px, 5vw, 60px); text-align: center; display: flex; flex-direction: column; align-items: center; }
.spaces {
  max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr; gap: clamp(12px, 1.8vw, 24px);
  align-items: start;
}
.space { --y: 0px; margin: 0; position: relative; transform: translate3d(0, var(--y), 0); will-change: transform; }
.space[data-depth="1"] { margin-top: 170px; }
.space[data-depth=".5"] { margin-top: 80px; }
.space button { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; position: relative; cursor: zoom-in; }
.space__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.space button:hover .space__img { transform: scale(1.06); }
.space figcaption {
  margin-top: 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.space figcaption::before { content: ""; width: 18px; height: 1px; background: var(--gold); }
/* foto central: começa em arco (como o retrato do hero) e se abre */
.space--main button {
  --e: 0;
  border-radius: calc(400px * (1 - var(--e)) + 22px) calc(400px * (1 - var(--e)) + 22px) 22px 22px;
  box-shadow: 0 50px 80px -45px rgba(38,46,36,.6);
  outline: 1px solid rgba(174,166,46,.5); outline-offset: calc(12px * (1 - var(--e)));
}
.space--main figcaption { justify-content: center; color: var(--ink); }
.space--main figcaption::after { content: ""; width: 18px; height: 1px; background: var(--gold); }
.spaces__nav { display: none; }
@media (max-width: 760px) {
  .spaces {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    scroll-padding-inline: var(--gutter); padding-bottom: 4px;
  }
  .spaces::-webkit-scrollbar { display: none; }
  .space { flex: 0 0 62vw; scroll-snap-align: start; margin-top: 0 !important; transform: none; }
  .space--main { order: -1; }
  .space--main button { outline: 0; box-shadow: none; }
  .space--main figcaption { justify-content: flex-start; }
  .space--main figcaption::after { display: none; }
  .spaces__nav { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
}
.gallery__bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.gallery__bar span { position: absolute; top: 0; left: 0; height: 100%; width: 30%; background: var(--sage); transition: left .2s linear; }

/* ------------------------------------------------------------------ */
/* AVALIAÇÕES                                                           */
/* ------------------------------------------------------------------ */
.reviews { background: var(--forest-2); color: #fff; padding: clamp(100px, 13vw, 160px) 0; }
.reviews__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.score { display: flex; align-items: center; gap: 20px; margin: 10px 0 24px; }
.score strong { font: 400 clamp(80px, 9vw, 120px)/.9 var(--serif); color: var(--gold-pale); }
.score span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.stars { color: var(--gold-pale); letter-spacing: .12em; font-size: 22px; }
.reviews__clinic { font: 400 22px/1.3 var(--serif); margin-bottom: 30px; }
.reviews__clinic small { font: 400 13px/1.5 var(--sans); opacity: .7; letter-spacing: .03em; }
/* carrossel vertical infinito, dentro de uma moldura fina */
.reviews__cards {
  position: relative; padding: 14px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 30px;
}
.vloop {
  position: relative; height: clamp(440px, 60vh, 580px); overflow: hidden; border-radius: 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.vloop__track { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.review {
  margin: 0; padding: 24px 26px; border-radius: 20px;
  height: 190px; flex: 0 0 auto; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; color: var(--ink);
}
.review p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__top > div { display: flex; flex-direction: column; line-height: 1.2; }
.review__top small { color: var(--muted); font-size: 12px; }
.review__top .stars { margin-left: auto; color: var(--gold); font-size: 15px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--sage-deep); font: 500 18px/1 var(--serif); }
.review p { font: 400 clamp(17px, 1.4vw, 19px)/1.5 var(--serif); }
@media (max-width: 860px) { .reviews__grid { grid-template-columns: 1fr; } .vloop { height: 460px; } .review { height: 250px; padding: 20px; } .review p { -webkit-line-clamp: 5; } }

/* ------------------------------------------------------------------ */
/* DÚVIDAS                                                              */
/* ------------------------------------------------------------------ */
.faq { overflow: hidden; background: var(--cream); padding: clamp(110px, 14vw, 170px) 0 clamp(90px, 12vw, 140px); }
.faq__head { display: flex; align-items: center; gap: clamp(22px, 4vw, 50px); margin-bottom: clamp(40px, 6vw, 70px); }
.faq__head .eyebrow { margin-bottom: 14px; }
.faq__avatar { flex: 0 0 auto; width: clamp(110px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; padding: 6px; background: conic-gradient(from 200deg, var(--gold-pale), var(--gold), var(--sage), var(--gold-pale)); }
.faq__avatar div { width: 100%; height: 100%; border-radius: 50%; border: 4px solid var(--cream); }
.faq__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 7vw, 120px); align-items: center; }
.faq__lead { color: var(--muted); max-width: 440px; margin-bottom: 30px; }
.faq__list { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.faq__list li { position: relative; border-top: 1px solid var(--line); }
.faq__list li:last-child { border-bottom: 1px solid var(--line); }
.faq__list li::after { /* progresso do story ativo */
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold); transform-origin: 0 50%; transform: scaleX(0);
}
.faq__list li.is-active::after { transform: scaleX(var(--t, 0)); }
.faq__list button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 10px;
  padding: 20px 6px; font: 400 clamp(17px, 1.5vw, 20px)/1.35 var(--serif); letter-spacing: -.01em;
  color: var(--muted);
  transition: color .3s, padding .4s var(--ease);
}
.faq__list button::before { counter-increment: q; content: counter(q, decimal-leading-zero); font: 14px/1 var(--serif); color: var(--gold); }
.faq__list svg { width: 22px; height: 22px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease); }
.faq__list button:hover { color: var(--ink); }
.faq__list button[aria-current="true"] { color: var(--ink); font-weight: 500; padding-left: 14px; }
.faq__list button[aria-current="true"] svg, .faq__list button:hover svg { opacity: 1; transform: none; color: var(--gold); }

/* baralho de vídeos verticais (9:16) */
.faq__stage { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.deck {
  position: relative;
  width: clamp(260px, 25vw, 340px); aspect-ratio: 9 / 16;
  margin-inline: 70px; touch-action: pan-y;
}
.qcard {
  --x: 0px; --r: 0deg; --s: 1; --o: 1; --z: 1;
  position: absolute; inset: 0; z-index: var(--z);
  border-radius: 26px; overflow: hidden; color: #fff; text-align: left;
  background: radial-gradient(80% 60% at 70% 15%, rgba(236,228,139,.2), transparent 60%), linear-gradient(160deg, var(--sage), var(--sage-dark));
  background-size: cover; background-position: center;
  box-shadow: 0 40px 70px -35px rgba(38,46,36,.7);
  transform: translateX(var(--x)) rotate(var(--r)) scale(var(--s));
  transform-origin: 50% 110%;
  opacity: var(--o);
  transition: transform .8s var(--ease), opacity .6s var(--ease), filter .6s;
  cursor: pointer; isolation: isolate;
}
.qcard:not(.is-front) { filter: saturate(.6) brightness(.85); }
.qcard:not(.is-front):hover { filter: none; }
.qcard__bars, .qcard__who, .qcard__meta, .qcard .tcard__play { transition: opacity .5s var(--ease); }
.qcard:not(.is-front) .qcard__bars, .qcard:not(.is-front) .qcard__who, .qcard:not(.is-front) .qcard__meta, .qcard:not(.is-front) .tcard__play { opacity: 0; }
.qcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38,46,36,.45) 0%, transparent 22%, transparent 50%, rgba(38,46,36,.9)); }
.qcard iframe, .qcard video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; z-index: 3; background: #000; }
.qcard__bars { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; gap: 4px; }
.qcard__bars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.qcard__bars i.done { background: #fff; }
.qcard__bars i.now::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
.qcard__who { position: absolute; left: 14px; top: 28px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.qcard__who [data-avatar] { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold-pale); background-size: cover; background-position: center; background-color: var(--sage-deep); }
.qcard__who small { display: block; font-size: 11px; font-weight: 400; opacity: .75; }
.qcard .tcard__play { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.qcard.is-front:hover .tcard__play { transform: scale(1.1); background: var(--gold); box-shadow: none; }
.qcard__meta { position: absolute; left: 20px; right: 20px; bottom: 24px; }
.qcard__meta small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-pale); margin-bottom: 8px; }
.qcard__meta strong { display: block; font: 500 clamp(20px, 1.8vw, 24px)/1.2 var(--serif); letter-spacing: -.02em; }
.deck__ctrl { display: flex; align-items: center; gap: 18px; }
.deck__count { font-size: 15px; color: var(--muted); min-width: 64px; text-align: center; }
.deck__count b { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { flex-direction: column; align-items: flex-start; }
  .faq__stage { order: -1; }
  .deck { width: min(64vw, 300px); margin-inline: 0; }
}

/* ------------------------------------------------------------------ */
/* INSTAGRAM                                                            */
/* ------------------------------------------------------------------ */
.insta { background: var(--paper); padding: clamp(100px, 13vw, 160px) 0 clamp(110px, 14vw, 170px); }
.insta__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.insta__handle { font: 400 clamp(34px, 5vw, 64px)/1 var(--serif); color: var(--sage); transition: color .3s; }
.insta__handle:hover { color: var(--gold); }
.insta { overflow: hidden; }
.igreel { position: relative; padding: 10px 0 70px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.igreel.is-dragging { cursor: grabbing; }
.igreel__track { display: flex; gap: clamp(12px, 1.6vw, 22px); width: max-content; will-change: transform; align-items: flex-start; }
.igcard {
  position: relative; flex: 0 0 auto;
  width: clamp(190px, 18vw, 260px); aspect-ratio: 9 / 16;
  border-radius: 24px; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(80% 60% at 70% 15%, rgba(236,228,139,.2), transparent 60%), linear-gradient(160deg, var(--sage), var(--sage-dark));
  background-size: cover; background-position: center;
  box-shadow: 0 30px 60px -32px rgba(38,46,36,.6);
  isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .4s;
}
.igcard:nth-child(even) { margin-top: 56px; }
.igcard:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 0 0 1px var(--gold), 0 40px 70px -30px rgba(38,46,36,.7); }
.igcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.igcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38,46,36,.35), transparent 20%, transparent 55%, rgba(38,46,36,.8)); }
.igcard__top { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.igcard__top svg { width: 16px; height: 16px; }
.igcard__mute { display: none !important;

  position: absolute; right: 12px; top: 10px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s, transform .4s var(--ease);
}
.igcard__mute svg { width: 13px; height: 13px; margin-left: 2px; }
.igcard:hover .igcard__mute { background: var(--gold); transform: scale(1.15); }
.igcard__meta { position: absolute; left: 16px; right: 16px; bottom: 22px; display: flex; flex-direction: column; align-items: center; }
.igcard__meta small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.igcard__meta strong { font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; margin: 6px 0 6px; }
.igcard__meta em { font-size: 13px; color: var(--gold-pale); }
.igcard__watch {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s, border-color .3s;
}
.igcard__watch svg { width: 12px; height: 12px; }
.igcard:hover .igcard__watch { background: var(--gold); border-color: var(--gold); }
.insta .center { margin-top: 0; }
@media (max-width: 760px) { .igcard:nth-child(even) { margin-top: 36px; } .igreel { padding-bottom: 50px; } }

/* ------------------------------------------------------------------ */
/* FOOTER                                                               */
/* ------------------------------------------------------------------ */
.footer {
  --tile: #0C120D;
  --tile-line: rgba(255,255,255,.09);
  background: var(--forest); color: #fff;
  padding: clamp(110px, 14vw, 170px) 0 0; overflow: hidden;
}
.footer__fx { position: absolute; inset: 0; z-index: 0 !important; pointer-events: none; }
.footer__glow { display: none; }
.footer__mark {
  position: absolute; right: -8%; top: 4%; width: min(52vw, 720px); height: auto;
  opacity: .05; transform: rotate(var(--spin, 0deg)); will-change: transform;
}
.footer__cta {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: end;
  padding-bottom: clamp(50px, 7vw, 80px); margin-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--tile-line);
}
.footer__cta .display { font-size: clamp(40px, 6vw, 84px); }
.footer__cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.footer__cta-side p { color: rgba(255,255,255,.65); max-width: 420px; }

/* bento de contato */
.bento {
  display: grid; gap: 14px;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-areas: "map wa1 wa2" "map addr social";
}
.tile {
  position: relative; border-radius: 24px; padding: 26px;
  background: var(--tile); border: 1px solid var(--tile-line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 34px;
  min-height: 170px; overflow: hidden;
  transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.bento > :nth-child(2) { grid-area: wa1; }
.bento > :nth-child(3) { grid-area: wa2; }
.bento > :nth-child(4) { grid-area: addr; }
.bento > :nth-child(5) { grid-area: social; }
.tile__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.tile__label svg { width: 16px; height: 16px; color: var(--gold-pale); }
.tile strong { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.tile__addr { font-size: clamp(17px, 1.4vw, 19px) !important; }
.tile--link:hover { background: rgba(174,166,46,.12); border-color: rgba(236,228,139,.35); transform: translateY(-4px); }
.tile__go {
  position: absolute; right: 20px; top: 20px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--tile-line);
  transform: rotate(-45deg); transition: background .4s, transform .5s var(--ease), border-color .4s;
}
.tile__go svg { width: 18px; height: 18px; }
.tile--link:hover .tile__go { background: var(--gold); border-color: var(--gold); transform: rotate(0); }
.tile--map { grid-area: map; padding: 0; min-height: 360px; }
.tile--map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(.92) hue-rotate(180deg) grayscale(.55) contrast(.9) brightness(.95);
}
.tile__chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.tile__chip svg { width: 16px; height: 16px; }
.tile__chip:hover { background: #fff; color: var(--forest); }
.socials { display: flex; gap: 10px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tile-line); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

.footer__bottom { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: clamp(50px, 6vw, 70px) 0 26px; }
.footer__logo { height: 48px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-left: auto; font-size: 14px; color: rgba(255,255,255,.7); }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--gold-pale); }
.to-top { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--tile-line); transition: background .3s, border-color .3s; }
.to-top svg { width: 18px; height: 18px; transform: rotate(-90deg); }
.to-top:hover { background: var(--gold); border-color: var(--gold); }
.footer__legal { display: flex; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; padding: 22px 0 10px; border-top: 1px solid var(--tile-line); color: rgba(255,255,255,.45); }

/* assinatura gigante cortada no rodapé */
.footer__giant {
  font-size: clamp(64px, 15.5vw, 250px); font-weight: 600; letter-spacing: -.06em; line-height: .78;
  white-space: nowrap; text-align: center; margin-top: clamp(10px, 2vw, 30px);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(var(--rise, 18%)); user-select: none;
}

@media (max-width: 960px) {
  .footer__cta { grid-template-columns: 1fr; align-items: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "map map" "wa1 wa2" "addr social"; }
  .tile--map { min-height: 280px; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "map" "wa1" "wa2" "addr" "social"; }
  .tile { min-height: 0; gap: 22px; }
  .tile--map { min-height: 260px; }
  .footer__nav { margin-left: 0; width: 100%; order: 3; }
  .to-top { margin-left: auto; }
}

/* ------------------------------------------------------------------ */
/* WhatsApp flutuante + lightbox                                        */
/* ------------------------------------------------------------------ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: #fff;
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.45);
  transform: scale(0); transition: transform .5s var(--ease);
}
.wa-float.is-on { transform: scale(1); }
.wa-float svg { width: 28px; height: 28px; }

@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(26,32,25,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; animation: lb .5s var(--ease); }
@keyframes lb { from { opacity: 0; transform: scale(.96); } }
.lightbox__stage { position: relative; height: min(82vh, 860px); aspect-ratio: 9 / 16; max-width: 92vw; border-radius: 22px; overflow: hidden; background: #000; }
.lightbox__stage.is-wide { height: auto; width: min(92vw, 1100px); aspect-ratio: 16 / 9; }
.lightbox__stage img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__stage video, .lightbox__stage iframe { width: 100%; height: 100%; border: 0; object-fit: contain; }
.lightbox__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; color: rgba(255,255,255,.8); font: 20px/1.4 var(--serif); background: var(--sage-dark); }
.lightbox__title { color: #fff; font: 400 20px/1.3 var(--serif); }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 50px; height: 50px; border-radius: 50%; color: #fff; font-size: 30px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.lightbox__close:hover { background: var(--gold); box-shadow: none; }

/* ------------------------------------------------------------------ */
/* Movimento reduzido                                                   */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .manifesto__text .w { opacity: 1; }
  .hero__title .line > span { transform: none; }
}


/* =========================================================================
   MOBILE — textos centralizados, sem efeitos que quebram em tela estreita
   ========================================================================= */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .thread { display: none; }                       /* o fio dourado colidia com o texto */
  .curtain { clip-path: none !important; }         /* seções verdes não "encolhem" no celular */
  .display { font-size: clamp(32px, 9vw, 40px); line-height: 1.08; }
  .eyebrow { justify-content: center; text-align: center; flex-wrap: wrap; row-gap: 6px; font-size: 11px; letter-spacing: .18em; }
  .btn { max-width: 100%; white-space: nowrap; font-size: 12px; letter-spacing: .12em; }

  /* hero */

  /* manifesto */
  .manifesto { padding: 80px 0 60px; }
  .manifesto__text { font-size: 22px; }
  .pillars { margin-top: 44px; }

  /* depoimentos */
  .testimonials__head { text-align: center; gap: 22px; }
  .testimonials__aside p { margin: 0 auto 20px; }
  .reel-ctrl { justify-content: center; }
  .tcard { width: 62vw; }
  .ticker span { font-size: 22px; }

  /* procedimentos */
  .procedures { padding: 80px 0 70px; }
  .procedures__head { grid-template-columns: 1fr; text-align: center; }
  .procedures__track { padding-inline: var(--gutter); gap: 14px; }
  .proc { width: 84vw; }
  .proc__body { align-items: center; text-align: center; padding: 24px 22px 28px; }
  .proc__body .link-arrow { align-self: center; }
  .proc__n { left: 50%; transform: translateX(-50%); font-size: 80px; }
  .proc--cta { align-items: center; text-align: center; }
  .procedures__bar { display: none; }

  /* sobre */
  .about { padding: 80px 0; }
  .about__grid { gap: 50px; }
  .about__visual { max-width: 320px; }
  .stat { right: -6px; bottom: 40px; padding: 16px 20px; }
  .stat strong { font-size: 36px; }
  .about__copy { text-align: center; }
  .timeline { margin-top: 34px; }
  .timeline::before, .timeline::after { display: none; }
  .timeline li { padding: 0 0 28px; display: flex; flex-direction: column; align-items: center; }
  .timeline__dot { position: relative; left: auto; top: auto; flex: 0 0 auto; margin-bottom: 12px; }
  .timeline p { font-size: 18px; }

  /* clínica */
  .clinic { padding: 30px 0 80px; }
  .space figcaption { justify-content: center; }

  /* avaliações */
  .reviews { padding: 80px 0; }
  .reviews__summary { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .score { justify-content: center; }
  .reviews__clinic { font-size: 20px; }
  .review__top { text-align: left; }

  /* dúvidas */
  .faq { padding: 80px 0; }
  .faq__head { align-items: center; text-align: center; gap: 18px; }
  .faq__lead { margin: 0 auto 22px; text-align: center; }
  .faq__list button { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 18px 6px; }
  .faq__list button[aria-current="true"] { padding-left: 6px; }
  .faq__list svg { display: none; }
  .deck { width: min(62vw, 260px); }

  /* instagram */
  .insta { padding: 80px 0 90px; }
  .insta__handle { font-size: 28px; }
  .igcard { width: 56vw; }

  /* rodapé */
  .footer { padding-top: 80px; }
  .footer__cta { text-align: center; justify-items: center; }
  .footer__cta .display { font-size: clamp(34px, 10vw, 42px); }
  .footer__cta-side { align-items: center; }
  .footer__cta-side p { margin: 0 auto; }
  .tile { align-items: center; text-align: center; }
  .tile__label { justify-content: center; }
  .tile__chip { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .socials { justify-content: center; }
  .footer__bottom { flex-direction: column; justify-content: center; gap: 22px; text-align: center; }
  .footer__nav { justify-content: center; margin: 0; width: auto; order: 0; }
  .to-top { margin: 0; }
  .footer__legal { flex-direction: column; align-items: center; text-align: center; }
  .footer__mark { width: 90vw; right: -30%; }

  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 24px; height: 24px; }
}
