/* ==========================================================================
   Clínica Paula Ceconi · Landing page
   Celular e tablet compartilham o mesmo layout centralizado.
   O layout de desktop entra a partir de 1080px.
   ========================================================================== */

/* Alta: fonte de títulos do Figma (auto-hospedada em assets/fonts/).
   Marcellus SC (Google Fonts) é a reserva enquanto ela carrega e cobre o "₂" de CO₂. */
@font-face {
  font-family: "Alta";
  src: url("../fonts/Alta-Regular.woff2") format("woff2"),
       url("../fonts/Alta-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141937;
  --ink-deep: #0d1128;
  --brown: #644d45;
  --brown-deep: #4b3933;
  --copper: #b17864;
  --sand: #eee7de;
  --sand-2: #e3d8cb;
  --paper: #f7f3ee;
  --gold: #c4a574;
  --gold-soft: #d9c39c;
  --text: #303030;
  --text-soft: #5e4e47;
  --on-dark: #ffffff;
  --on-dark-soft: #e3dad4;
  --on-brown-soft: #eadcd5;

  --wa-a: #2a9d3d;
  --wa-b: #157a27;


  --f-display: "Alta", "Marcellus SC", "Times New Roman", serif;
  --f-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 32px);
  --sec-y: clamp(72px, 10vw, 120px);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 29px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  /* Transição suave dos gradientes (equivalente ao Smart Animate do Figma) */
  --ease-soft: cubic-bezier(0.3, 0.7, 0.4, 1); /* começa na hora e desacelera suave */
  --ga-dur: 1.4s;
  --shadow-soft: 0 18px 40px -22px rgba(36, 22, 16, 0.55);
  --shadow-lift: 0 26px 50px -24px rgba(36, 22, 16, 0.6);

}

/* Ângulo dos gradientes animável (as variações do Figma giram o gradiente em -90°) */
@property --ga {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  interpolate-size: allow-keywords;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
strong { font-weight: 600; }

::selection { background: var(--copper); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

html { scrollbar-color: var(--copper) var(--sand-2); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sand-2); }
::-webkit-scrollbar-thumb { background: var(--copper); border-radius: 10px; border: 2px solid var(--sand-2); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tipografia ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.125rem, 1.55rem + 2.3vw, 3rem);
  line-height: 1.02;
  color: var(--on-dark);
}
.h2--brown { color: var(--brown); }

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.45;
  color: var(--on-dark-soft);
  max-width: 34rem;
  text-wrap: pretty;
}
.lead--dark { color: var(--text); }

.prose { display: grid; gap: 1em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.45; color: var(--on-brown-soft); max-width: 34rem; text-wrap: pretty; }
.prose strong { color: #fff; font-weight: 700; }
.prose--dark { color: var(--text); }
.prose--dark strong { color: var(--brown); }

.support { font-size: 1rem; line-height: 1.4; color: var(--on-dark-soft); max-width: 30rem; }
.support strong { color: #fff; font-weight: 700; }

.fineprint { font-size: 0.875rem; line-height: 1.45; color: var(--on-brown-soft); opacity: .9; max-width: 30rem; }

/* ---------- Botões ---------- */
.btn {
  --lift: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 12px 30px 12px 22px;
  border-radius: 82px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  border: 0;
  transform: translateY(var(--lift));
  transition: transform .5s var(--ease-soft), box-shadow .9s var(--ease-soft), --ga var(--ga-dur) var(--ease-soft);
  -webkit-tap-highlight-color: transparent;
}
.btn__icon { width: 30px; height: 30px; flex: none; }
.btn--wa {
  --ga: 211deg;
  color: #fff;
  background: linear-gradient(var(--ga), var(--wa-a) 0%, var(--wa-b) 60%, #10661f 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .95), 0 12px 24px -14px rgba(20, 14, 10, .55);
  text-shadow: 0 1px 1px rgba(0, 60, 10, .35);
}
.btn--wa:hover, .btn--wa:focus-visible { --lift: -2px; --ga: 121deg; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25), 0 18px 30px -16px rgba(20, 14, 10, .6); }
.btn--wa:active { --lift: 0px; transition-duration: .1s; }
.btn--sm { min-height: 44px; padding: 8px 20px 8px 14px; font-size: 0.9375rem; gap: 8px; }
.btn--sm .btn__icon { width: 22px; height: 22px; }
.btn--lg { min-height: 64px; font-size: 1.1875rem; padding-inline: 26px 36px; }
.btn--card { min-height: 50px; font-size: 1rem; padding: 10px 22px 10px 16px; gap: 10px; white-space: nowrap; }
.btn--card .btn__icon { width: 24px; height: 24px; }
.btn--ghost {
  color: #fff; min-height: 50px; font-size: 1rem; font-weight: 500;
  padding: 10px 24px 10px 18px;
  box-shadow: inset 0 0 0 1px rgba(217, 195, 156, .6);
}
.btn--ghost .btn__icon { width: 22px; height: 22px; color: var(--gold-soft); }
.btn--ghost:hover { --lift: -2px; box-shadow: inset 0 0 0 1px var(--gold-soft); background: rgba(255,255,255,.05); }

.btn__label-short { display: none; }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  color: #fff;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s;
}
.topbar.is-solid {
  background: rgba(20, 25, 55, .88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(196, 165, 116, .25);
}
.topbar__inner {
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-grid; gap: 8px; text-decoration: none; line-height: 1; }
.brand__logo { height: 46px; width: auto; }
.brand__name { font-family: var(--f-display); font-size: 1.625rem; letter-spacing: .01em; }
.brand__tag { white-space: nowrap; font-size: 0.6875rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: #3a312e;
  color: #fff;
  text-align: center;
  padding: 0 0 var(--sec-y);
  overflow: hidden;
}
.hero__bg { display: block; position: relative; }
.hero__bg img { width: 100%; aspect-ratio: 820 / 800; object-fit: cover; object-position: 50% 20%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,36,36,.55) 0%, rgba(36,36,36,0) 22%, rgba(58,49,46,0) 62%, #3a312e 100%);
}
.hero__grid { display: grid; justify-items: center; margin-top: -64px; position: relative; }
.hero__copy { display: grid; gap: 22px; justify-items: center; max-width: 36rem; }
.hero__title {
  font-size: clamp(2.5rem, 1.7rem + 3.4vw, 3.75rem);
  line-height: 1;
  text-shadow: 0 2px 18px rgba(20, 14, 12, .35);
}
.hero__lead { color: var(--on-dark-soft); }
.hero__action { display: grid; gap: 14px; justify-items: center; margin-top: 8px; }

/* ---------- Credibilidade ---------- */
.proof {
  background: var(--sand);
  padding: var(--sec-y) 0;
  text-align: center;
}
.proof__title { color: var(--brown); font-size: clamp(2.125rem, 1.55rem + 2.3vw, 3rem); line-height: 1; margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 34rem; margin-inline: auto; }
.stat {
  display: grid; align-content: start; gap: 12px;
  padding: 26px 18px;
  border-radius: var(--r-md);
  --ga: 134deg;
  background: linear-gradient(var(--ga), var(--brown) 0%, var(--copper) 100%);
  transition: --ga var(--ga-dur) var(--ease-soft), transform .8s var(--ease-soft);
  color: var(--sand);
  box-shadow: var(--shadow-soft);
}
.stat__value { font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; color: #f3ece6; }
.stat__text { font-size: 0.9375rem; line-height: 1.35; font-weight: 400; color: #eadfd8; }

/* ---------- Problema ---------- */
.pain { background: var(--brown); color: #fff; padding: var(--sec-y) 0; text-align: center; }
.pain__grid { display: grid; gap: 48px; justify-items: center; }
.pain__copy { display: grid; gap: 24px; justify-items: center; max-width: 36rem; }
.pain__media { width: min(100%, 380px); order: 2; }
.pain__media img { width: 100%; filter: drop-shadow(0 24px 30px rgba(30, 18, 14, .35)); }

/* ---------- Método ---------- */
.method { background: var(--sand); padding: var(--sec-y) 0; text-align: center; }
.method__grid { display: grid; gap: 44px; justify-items: center; }
.method__copy { display: grid; gap: 22px; justify-items: center; max-width: 36rem; }
.pillars { display: grid; gap: 10px; width: 100%; max-width: 36rem; }
/* Itens com estado ativo (component "lista" do Figma):
   ativo = gradiente preenchido e texto branco; demais = só contorno, tom apagado. */
.pillar, .protocol__body {
  position: relative; isolation: isolate;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(100, 77, 69, .32);
  transition: box-shadow .6s var(--ease-soft), color .6s var(--ease-soft), transform .6s var(--ease-soft), background-color .6s var(--ease-soft);
}
.pillar::before, .protocol__body::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .6s var(--ease-soft);
}
.pillar::before { background: linear-gradient(222deg, var(--copper) 0%, var(--brown) 76%); }
.protocol__body::before { background: linear-gradient(164deg, var(--copper) 0%, var(--brown) 45%, var(--brown-deep) 100%); }
.pillar.is-active::before, .protocol.is-active .protocol__body::before { opacity: 1; }
.pillar.is-active, .protocol.is-active .protocol__body {
  background-color: var(--brown); /* base sólida sob o gradiente: o texto branco nunca fica sem fundo */
  box-shadow: inset 0 0 0 1px rgba(100, 77, 69, 0), 0 24px 40px -24px rgba(60, 36, 28, .55);
}

.pillar { padding: 24px 26px; color: var(--brown); }
.pillar.is-active { color: #fff; }
.pillar__title { font-family: var(--f-body); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); line-height: 1.1; margin-bottom: 8px; }
.pillar p { font-weight: 400; font-size: 1.0625rem; line-height: 1.45; color: var(--text-soft); transition: color .6s var(--ease-soft); }
.pillar.is-active p { color: #f1e7e2; }

/* ---------- Protocolos ---------- */
.protocols { background: var(--paper); padding: var(--sec-y) 0 calc(var(--sec-y) - 16px); text-align: center; }
.protocols__head { display: grid; gap: 24px; justify-items: center; margin-bottom: 36px; }
.protocols__head .h2 { max-width: 32rem; }

.rail-nav { display: none; gap: 10px; }
.rail-nav__btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(100, 77, 69, .35); background: transparent; color: var(--brown);
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s, opacity .3s;
}
.rail-nav__btn svg { width: 22px; height: 22px; }
.rail-nav__btn--prev svg { transform: rotate(180deg); }
.rail-nav__btn:hover:not(:disabled) { background: var(--brown); color: #fff; border-color: var(--brown); }
.rail-nav__btn:disabled { opacity: .3; cursor: default; }

.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(84vw, 380px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 8px max(var(--gutter), calc((100vw - min(84vw, 380px)) / 2)) 28px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -4px; }
/* Arrastar com o mouse (no toque o deslize já é nativo) */
@media (pointer: fine) {
  .rail__track { cursor: grab; }
  .rail__track.is-grabbing { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
  .rail__track.is-grabbing * { pointer-events: none; }
}
.rail__track { -webkit-user-select: none; user-select: none; }
.rail__track img { -webkit-user-drag: none; user-drag: none; }

.protocol {
  scroll-snap-align: center;
  scroll-snap-stop: always; /* no toque, para em cada card em vez de voar vários */
  display: flex; flex-direction: column;
  text-align: left;
}
.protocol__body {
  display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; flex: 1;
  border-radius: 20px;
  color: var(--brown);
}
.protocol.is-active .protocol__body { color: #fff; }
.protocol__title { font-weight: 500; font-size: 1.375rem; line-height: 1.3; }
.protocol__text { font-weight: 400; font-size: 1rem; line-height: 1.4; color: var(--text-soft); transition: color .6s var(--ease-soft); }
.protocol.is-active .protocol__text { color: #e2dbd6; }
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 1rem; line-height: 1.4; font-weight: 400; }
.checks svg { width: 20px; height: 20px; color: var(--copper); margin-top: 1px; transition: color .6s var(--ease-soft); }
.protocol.is-active .checks svg { color: var(--gold-soft); }
.stages { display: grid; gap: 10px; }
.stages li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 10px; background: rgba(100,77,69,.05); box-shadow: inset 0 0 0 1px rgba(100,77,69,.22); font-weight: 400; transition: background-color .6s var(--ease-soft), box-shadow .6s var(--ease-soft); }
.protocol.is-active .stages li { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(217,195,156,.3); }
.stages__n { font-size: .8125rem; color: var(--copper); letter-spacing: .04em; transition: color .6s var(--ease-soft); }
.protocol.is-active .stages__n { color: var(--gold-soft); }
.protocol .btn--card { margin-top: auto; align-self: stretch; }
.protocol__body > .btn--card { margin-top: auto; }
.protocol__body > :nth-last-child(2) { margin-bottom: 6px; }

.rail__meta {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 4px; padding-inline: var(--gutter);
}
.rail__hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 500; letter-spacing: .02em; color: var(--text-soft);
  transition: opacity .5s var(--ease-out);
}
.rail__hint svg { width: 18px; height: 18px; }
.rail.is-used .rail__hint { opacity: 0; }
.rail__meta--light .rail__hint { color: var(--on-brown-soft); }
.rail__progress {
  width: min(160px, 36vw); height: 2px; flex: none;
  background: rgba(100, 77, 69, .18); border-radius: 2px; overflow: hidden;
}
.rail__progress span { display: block; height: 100%; width: 20%; background: var(--brown); border-radius: 2px; transform-origin: left; transition: transform .2s linear; }

/* ---------- Como funciona ---------- */
.steps { background: var(--ink); color: #fff; padding: var(--sec-y) 0; text-align: center; }
.steps__title { max-width: 30rem; margin: 0 auto 52px; }
.steps__list { display: grid; gap: 0; max-width: 30rem; margin-inline: auto; counter-reset: step; }
.step { display: grid; justify-items: center; gap: 10px; padding-bottom: 44px; position: relative; }
.step:not(:last-child)::after {
  content: ""; width: 1px; height: 28px; margin-top: 18px;
  background: linear-gradient(var(--gold), transparent);
}
.step__n {
  font-family: var(--f-display); font-size: 3.5rem; line-height: 1; height: 1em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  margin-bottom: 4px;
}
.step__title { font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.step p { color: var(--on-dark-soft); max-width: 24rem; }
.steps__action { display: flex; justify-content: center; margin-top: 8px; }

/* ---------- Sobre ---------- */
.about { background: var(--sand); padding: var(--sec-y) 0; text-align: center; }
.about__grid { display: grid; gap: 56px; justify-items: center; }
.about__media { width: min(100%, 360px); }
.about__media img { width: 100%; }
.about__caption { margin-top: 14px; font-size: .875rem; letter-spacing: .04em; color: var(--text-soft); }
.about__copy { display: grid; gap: 24px; justify-items: center; max-width: 36rem; }
.facts {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: center; gap: 0;
  border-top: 1px solid rgba(100, 77, 69, .22);
  padding-top: 20px; margin: 4px 0 0;
}
.facts div { padding: 0 16px; display: grid; gap: 4px; }
.facts div + div { border-left: 1px solid rgba(100, 77, 69, .22); }
.facts dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); font-weight: 400; }
.facts dd { font-family: var(--f-display); font-size: 1.25rem; color: var(--brown); line-height: 1.1; }

/* ---------- Antes e depois ---------- */
.results {
  background:
    radial-gradient(90% 60% at 100% 100%, rgba(177,120,100,.35), transparent 60%),
    var(--brown-deep);
  color: #fff; padding: var(--sec-y) 0; text-align: center;
}
.results__head { display: grid; gap: 24px; justify-items: center; margin-bottom: 36px; }
.results__copy { display: grid; gap: 22px; justify-items: center; max-width: 36rem; }
.results__copy .lead { color: var(--on-brown-soft); }
.link-light { color: #fff; font-weight: 500; text-decoration-color: var(--gold); }
.link-light:hover { color: var(--gold-soft); }

.rail-nav--light .rail-nav__btn { border-color: rgba(234, 220, 213, .4); color: #fff; }
.rail-nav--light .rail-nav__btn:hover:not(:disabled) { background: var(--sand); color: var(--brown); border-color: var(--sand); }
.rail__track--results { grid-auto-columns: min(78vw, 340px); }
.rail__track--results { padding-inline: max(var(--gutter), calc((100vw - min(78vw, 340px)) / 2)); }
.result { scroll-snap-align: center; scroll-snap-stop: always; }
.result figure { display: grid; gap: 14px; }
.result__img {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 1086 / 1448;
  box-shadow: 0 0 0 1px rgba(255,255,255,.75), var(--shadow-lift);
  background: #6b5650;
}
.result__img img { width: 100%; height: 100%; object-fit: cover; }
.result__tag {
  position: absolute; top: 12px;
  font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  padding: 5px 10px; border-radius: 30px;
  background: rgba(20, 25, 55, .62); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.result__tag--before { left: 12px; }
.result__tag--after { left: calc(50% + 12px); }
.result figcaption { font-family: var(--f-display); font-size: 1.375rem; line-height: 1.1; color: #fff; }
.rail__meta--light .rail__progress { background: rgba(234, 220, 213, .2); }
.rail__meta--light .rail__progress span { background: var(--sand); }
.results__foot { display: grid; gap: 22px; justify-items: center; margin-top: 32px; }

/* ---------- Rosto e pele ---------- */
.face { background: var(--paper); padding: var(--sec-y) 0; text-align: center; }
.face__grid { display: grid; gap: 40px; justify-items: center; }
.face__copy { display: grid; gap: 22px; justify-items: center; max-width: 36rem; }
.face__media { width: 100%; max-width: 30rem; margin-top: 8px; }
.face__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.menu { width: 100%; max-width: 36rem; display: grid; }
.menu__item { padding: 20px 0; border-top: 1px solid rgba(100, 77, 69, .2); display: grid; gap: 6px; }
.menu__item:last-child { border-bottom: 1px solid rgba(100, 77, 69, .2); }
.menu dt { font-family: var(--f-display); font-size: 1.625rem; line-height: 1.1; color: var(--brown); }
.menu dd { color: var(--text); font-size: 1.0625rem; line-height: 1.45; }

/* ---------- Onde estamos ---------- */
.units { background: var(--sand); padding: var(--sec-y) 0; text-align: center; }
.units__grid { display: grid; gap: 40px; justify-items: center; }
.units__copy { display: grid; gap: 22px; justify-items: center; max-width: 36rem; }
.units__list { display: grid; gap: 12px; }
.units__list li { display: inline-flex; gap: 10px; align-items: flex-start; justify-content: center; font-weight: 400; }
.units__list svg { width: 22px; height: 22px; flex: none; color: var(--copper); margin-top: 1px; }
.units__cities { color: var(--text-soft); font-size: .9375rem; max-width: 30rem; }
.unit__actions { display: grid; gap: 14px; justify-items: center; margin-top: 4px; }
.unit__actions .btn { white-space: nowrap; }
.link-route { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--brown); text-decoration: none; padding: 6px 2px; }
.link-route svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.link-route:hover svg { transform: translateX(4px); }
.units__map {
  width: 100%; max-width: 36rem;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--sand-2);
  box-shadow: 0 0 0 1px rgba(100, 77, 69, .16), 0 24px 44px -30px rgba(60, 36, 28, .5);
}
.units__map iframe { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); padding: var(--sec-y) 0; }
.faq__grid { display: grid; gap: 36px; }
.faq__title { text-align: center; }
.faq__list { max-width: 44rem; margin-inline: auto; width: 100%; }
.qa { border-top: 1px solid rgba(100, 77, 69, .22); }
.qa:last-child { border-bottom: 1px solid rgba(100, 77, 69, .22); }
.qa summary {
  list-style: none;
  display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center;
  padding: 22px 0;
  font-weight: 500; font-size: 1.125rem; line-height: 1.35; color: var(--ink);
  cursor: pointer;
  transition: color .25s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--brown); }
.qa summary svg {
  width: 28px; height: 28px; padding: 5px; border-radius: 50%;
  color: var(--brown); box-shadow: inset 0 0 0 1px rgba(100, 77, 69, .35);
  transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.qa[open] summary svg { transform: rotate(45deg); background: var(--brown); color: #fff; }
.qa__a { padding: 0 44px 24px 0; }
.qa__a p { color: var(--text); font-size: 1.0625rem; line-height: 1.55; max-width: 62ch; }
.qa::details-content {
  block-size: 0; overflow: clip;
  transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }

/* ---------- CTA final ---------- */
.closing {
  position: relative; isolation: isolate;
  background: var(--ink); color: #fff;
  padding: calc(var(--sec-y) + 20px) 0;
  text-align: center;
  overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 90% at 50% 110%, rgba(177,120,100,.45), transparent 70%),
    linear-gradient(180deg, rgba(20, 25, 55, .2), rgba(20, 25, 55, .75));
}
.closing__inner { position: relative; z-index: 1; display: grid; gap: 24px; justify-items: center; }
.closing__title { font-size: clamp(2.375rem, 1.6rem + 3.2vw, 3.75rem); line-height: 1; max-width: 20ch; }
.closing__lead { max-width: 36rem; }
.closing__support { max-width: 26rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink-deep); color: #cfc6c0; padding: 64px 0 40px; font-size: .9375rem; text-align: center; }
.footer__grid { display: grid; gap: 36px; justify-items: center; }
.footer__brand { display: grid; gap: 16px; justify-items: center; }
.brand--footer { color: #fff; }
.brand--footer .brand__logo { height: 84px; }
.footer__legal { color: #a99e97; font-size: .875rem; }
.footer__col { display: grid; gap: 8px; max-width: 24rem; }
.footer__h { font-family: var(--f-body); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--gold-soft); margin-bottom: 4px; }
.footer a { color: #e9e1dc; text-decoration-color: rgba(217,195,156,.5); }
.footer a:hover { color: #fff; text-decoration-color: var(--gold-soft); }
.footer strong { color: #fff; font-weight: 500; }
.footer__link-btn { background: none; border: 0; padding: 0; color: #e9e1dc; text-decoration: underline; text-decoration-color: rgba(217,195,156,.5); text-underline-offset: .2em; }
.footer__link-btn:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(217,195,156,.18); display: grid; gap: 10px; font-size: .8125rem; color: #a99e97; }
.footer__bottom p { max-width: 60ch; margin-inline: auto; }
.footer__credit { margin-top: 20px; font-size: .8125rem; color: #a99e97; text-align: center; }
.footer__credit strong { font-weight: 700; }

/* ---------- Botão flutuante (celular e tablet) ---------- */
.float-wa {
  position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: min(calc(100% - 28px), 420px); min-height: 56px; padding: 10px 22px;
  border-radius: 60px;
  color: #fff; font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  background: linear-gradient(211deg, var(--wa-a) 0%, var(--wa-b) 60%, #10661f 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.95), 0 16px 30px -12px rgba(0,0,0,.45);
  text-shadow: 0 1px 1px rgba(0, 60, 10, .35);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.float-wa .btn__icon { width: 26px; height: 26px; }
.float-wa.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Banner de cookies ---------- */
.cookie {
  position: fixed; z-index: 60;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 560px; margin-inline: auto;
  background: var(--paper); color: var(--text);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(100,77,69,.15), 0 30px 60px -20px rgba(20,12,8,.5);
  animation: cookie-in .6s var(--ease-out) both;
}
.cookie[hidden] { display: none; }
@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } }
.cookie__inner { padding: 22px 22px 20px; display: grid; gap: 12px; }
.cookie__title { font-family: var(--f-display); font-size: 1.5rem; color: var(--brown); line-height: 1; }
.cookie__text { font-size: .9375rem; line-height: 1.45; }
.cookie__text a { color: var(--brown); font-weight: 500; }
.cookie__prefs { display: grid; gap: 10px; padding: 6px 0; }
.cookie__prefs[hidden] { display: none; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cbtn {
  min-height: 44px; padding: 8px 16px; border-radius: 40px;
  font-size: .9375rem; font-weight: 500;
  background: transparent; border: 1px solid rgba(100,77,69,.4); color: var(--brown);
  transition: background-color .25s, color .25s;
}
.cbtn:hover { background: rgba(100,77,69,.08); }
.cbtn--solid { background: var(--brown); border-color: var(--brown); color: #fff; }
.cbtn--solid:hover { background: var(--brown-deep); }
.cbtn--text { border-color: transparent; text-decoration: underline; text-underline-offset: .2em; }
.cbtn[hidden] { display: none; }

.toggle { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; font-size: .875rem; line-height: 1.35; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { width: 42px; height: 24px; border-radius: 20px; background: #cdbfb6; position: relative; transition: background-color .25s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease-out); }
.toggle input:checked + .toggle__ui { background: var(--brown); }
.toggle input:checked + .toggle__ui::after { transform: translateX(18px); }
.toggle input:disabled + .toggle__ui { opacity: .55; }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Movimento ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), --ga var(--ga-dur) var(--ease-soft), box-shadow .6s var(--ease-soft), color .6s var(--ease-soft), background-color .6s var(--ease-soft); }
html.js .reveal.is-in { opacity: 1; transform: none; }

html.js .hero__copy > * { animation: rise 1s var(--ease-out) both; }
html.js .hero__copy > :nth-child(2) { animation-delay: .12s; }
html.js .hero__copy > :nth-child(3) { animation-delay: .24s; }
html.js .hero__bg img { animation: settle 1.8s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } }

/* Gradientes giram ao passar o mouse; no toque, giram quando o card entra na tela */
@media (hover: hover) {
  .stat:hover { --ga: 44deg; transform: translateY(-3px); }
}
@media (hover: none) {
  .stat.is-lit { --ga: 44deg; }
}

/* Com "reduzir movimento" ativo: nada se desloca, mas as trocas de cor
   (giro dos gradientes, contornos) continuam suaves, pois não causam movimento. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .btn { --lift: 0px !important; }
  .stat:hover { transform: none; }
  .float-wa, .cookie, .qa::details-content, .link-route svg { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Celular pequeno
   ========================================================================== */
@media (max-width: 400px) {
  .btn--card { font-size: .9375rem; padding-inline: 14px 18px; gap: 8px; }
  .brand__name { font-size: 1.375rem; }
  .brand__tag { letter-spacing: .08em; }
  .stat { padding: 22px 14px; }
  .facts div { padding: 0 10px; }
  .facts dd { font-size: 1.0625rem; }
}
@media (max-width: 520px) {
  /* Botões principais sempre em uma linha no celular */
  .btn:not(.btn--sm) { white-space: nowrap; font-size: clamp(.875rem, 4.1vw, 1.0625rem); padding-inline: 14px 20px; gap: 8px; }
  .btn:not(.btn--sm):not(.btn--card) .btn__icon { width: 26px; height: 26px; }
  .btn--lg { min-height: 58px; }
  .btn__label-long { display: none; }
  .btn__label-short { display: inline; }
}

/* ==========================================================================
   Tablet: mesmo estilo do celular, centralizado, com mais respiro
   ========================================================================== */
@media (min-width: 640px) and (max-width: 1079.98px) {
  .hero__title { font-size: clamp(3rem, 2rem + 3vw, 3.75rem); }
  .about__media { width: min(100%, 400px); }
  .hero__bg img { aspect-ratio: 16 / 11; object-position: 50% 18%; }
  .pain__media { width: min(100%, 420px); }
  .stats { max-width: 40rem; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 1080px) {
  :root { --gutter: 40px; }
  body { font-size: 1.125rem; }
  .float-wa { display: none; }
  .topbar .brand__logo { height: 56px; }

  .hero { text-align: left; padding: 150px 0 120px; min-height: min(100svh, 860px); display: grid; align-items: center; background: #2c2624; }
  .hero__bg { position: absolute; inset: 0; z-index: -1; }
  .hero__bg img { height: 100%; aspect-ratio: auto; object-position: 72% 30%; }
  .hero__bg::after { background: linear-gradient(90deg, rgba(36,36,36,.92) 0%, rgba(36,36,36,.78) 34%, rgba(36,36,36,.15) 62%, rgba(36,36,36,0) 80%), linear-gradient(180deg, rgba(36,36,36,.45), transparent 25%); }
  .hero__grid { margin-top: 0; justify-items: start; }
  .hero__copy { justify-items: start; max-width: 36rem; }
  .hero__title { font-size: clamp(3rem, 1rem + 2.9vw, 3.75rem); line-height: 1.02; }
  .hero__action { justify-items: start; }

  .proof { padding: 90px 0; }
  .proof__title { margin-bottom: 44px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
  .stat { text-align: left; padding: 32px; min-height: 170px; gap: 17px; }

  .pain { text-align: left; }
  .pain__grid { grid-template-columns: 456px minmax(0, 1fr); gap: 80px; align-items: center; justify-items: stretch; }
  .pain__media { order: 0; width: 100%; }
  .pain__copy { justify-items: start; max-width: 36rem; }

  .method { text-align: left; }
  .method__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 60px; align-items: center; justify-items: stretch; }
  .method__copy { justify-items: start; max-width: 32rem; position: sticky; top: 120px; align-self: start; }
  .pillars { max-width: none; }
  .pillar { padding: 22px 40px 24px; }

  .protocols { text-align: left; }
  .protocols__head { grid-template-columns: 1fr auto; align-items: end; justify-items: stretch; margin-bottom: 40px; }
  .rail-nav { display: flex; }
  .rail__track {
    grid-auto-columns: 380px;
    gap: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  .protocol { scroll-snap-align: start; }
  .rail__meta { justify-content: flex-start; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }

  .steps__title { max-width: 34rem; }
  .steps__list { grid-template-columns: repeat(3, 1fr); max-width: none; gap: 40px; position: relative; }
  .steps__list::before {
    content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
    opacity: .5;
  }
  .step { padding-bottom: 56px; }
  .step:not(:last-child)::after { display: none; }
  .step__n { font-size: 4rem; background: var(--ink); padding: 0 18px; position: relative; }

  .about { text-align: left; }
  .about__grid { grid-template-columns: 420px minmax(0, 1fr); gap: 96px; align-items: center; justify-items: stretch; }
  .about__media { width: 100%; }
  .about__copy { justify-items: start; }
  .about__caption { text-align: center; }
  .facts { justify-content: start; }
  .facts div:first-child { padding-left: 0; }

  .results__head { grid-template-columns: 1fr auto; align-items: end; justify-items: stretch; text-align: left; }
  .results__copy { justify-items: start; }
  .rail-nav--light { display: flex; }
  .rail__track--results {
    grid-auto-columns: 300px;
    scroll-snap-type: x mandatory;
    padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  .result { scroll-snap-align: start; }
  .results__foot { grid-template-columns: 1fr auto; align-items: center; justify-items: start; text-align: left; }

  .face { text-align: left; }
  .face__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; justify-items: stretch; }
  .face__copy { justify-items: start; }
  .face .menu { position: sticky; top: 120px; align-self: start; }
  .face__media { max-width: 26rem; }
  .menu { max-width: none; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .menu__item:nth-last-child(2) { border-bottom: 1px solid rgba(100, 77, 69, .2); }

  .units { text-align: left; }
  .units__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; justify-items: stretch; }
  .units__copy { justify-items: start; }
  .units__list li { justify-content: start; }
  .unit__actions { grid-auto-flow: column; align-items: center; justify-content: start; gap: 24px; }
  .units__map { max-width: none; }
  .units__map iframe { aspect-ratio: 5 / 4; }

  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .faq__title { text-align: left; position: sticky; top: 120px; }
  .faq__list { margin: 0; max-width: none; }

  .footer { text-align: left; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1fr; justify-items: stretch; gap: 48px; }
  .footer__brand { justify-items: start; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
  .footer__bottom p { margin: 0; }
}

/* ==========================================================================
   Páginas internas (Política de Privacidade, 404)
   ========================================================================== */
.page-top { background: var(--ink); color: #fff; padding: 120px 0 64px; text-align: center; }
.page-top .display { font-size: clamp(2.5rem, 1.8rem + 3vw, 3.75rem); line-height: 1; }
.page-top p { margin-top: 16px; color: var(--on-dark-soft); }
.legal { background: var(--paper); padding: 64px 0 var(--sec-y); }
.legal__body { max-width: 46rem; margin-inline: auto; display: grid; gap: 14px; font-size: 1.0625rem; line-height: 1.6; }
.legal__body h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--brown); margin-top: 28px; }
.legal__body ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal__body li::marker { color: var(--copper); }
.legal__body a { color: var(--brown); font-weight: 500; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--brown); font-weight: 500; text-decoration: none; }
.legal__back svg { width: 18px; height: 18px; transform: rotate(180deg); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--ink); color: #fff; padding: 40px var(--gutter); }
.notfound__inner { display: grid; gap: 22px; justify-items: center; max-width: 32rem; }
.notfound .display { font-size: clamp(2.5rem, 1.8rem + 3vw, 3.5rem); line-height: 1; }
.notfound p { color: var(--on-dark-soft); }
.notfound a.link-light { margin-top: 4px; }
