/* ============================================================================
   DRA. RENATA GIOIA — SISTEMA VISUAL "ENVELHECER REJUVENESCENDO"
   ----------------------------------------------------------------------------
   Tipografia : Bodoni Moda (display, didone — ecoa o logotipo GIOIA) + Jost
   Paleta     : preto quente · cacau · marrom da marca (#5F4B46) · bege · osso
   ========================================================================== */

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  /* Cor — preto quente, marrons do logo (#5F4B46), bege e branco acinzentado.
     Os nomes antigos foram mantidos para que a paleta se propague por todo o
     arquivo; o que mudou foram os valores. */
  --porcelain:   #E6E4DF;   /* branco acinzentado — superfície de leitura */
  --porcelain-2: #DCD9D1;   /* osso mais fechado */
  --paper:       #EFEDE7;   /* cartões sobre o osso */
  --frame:       #DCD2C4;   /* o "passe-partout" bege sob as fotos */
  --ink:         #1C1815;   /* texto escuro */
  --ink-soft:    #574C44;
  --umber:       #5F4B46;   /* marrom do logotipo */
  --umber-lt:    #6F5B50;   /* escurecido: as legendas de 12px exigem 4.5:1 */
  --verdigris:   #15120F;   /* preto quente — superfície escura principal */
  --jade:        #C9A880;   /* camelo — acento sobre escuro */
  --jade-deep:   #7A5B38;   /* bronze — acento sobre claro */
  --cream:       #E9E1D4;   /* linho — texto sobre escuro */

  /* Superfícies adicionais da nova distribuição */
  --sand:        #D7CAB5;   /* bege */
  --sand-2:      #C9B99F;
  --cacao:       #342821;   /* marrom profundo */
  --obsidian:    #0F0D0B;   /* o preto mais fechado, para o rodapé */

  --line:      color-mix(in srgb, var(--umber) 18%, transparent);
  --line-soft: color-mix(in srgb, var(--umber) 10%, transparent);
  --line-dark: color-mix(in srgb, var(--jade) 26%, transparent);

  /* Tipografia — didone de alta modulação + geométrica de moda */
  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans:    'Jost', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --vf:      'opsz' 96;     /* títulos grandes: hastes finíssimas */
  --vf-sm:   'opsz' 14;     /* títulos pequenos: haste mais encorpada */

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(0.98rem, 0.94rem + 0.2vw,  1.06rem);
  --step-1:  clamp(1.1rem,  1.02rem + 0.4vw,  1.3rem);
  --step-2:  clamp(1.45rem, 1.28rem + 0.85vw, 2rem);
  --step-3:  clamp(1.95rem, 1.6rem + 1.75vw,  3.1rem);
  --step-4:  clamp(2.6rem,  1.9rem + 3.4vw,   5.2rem);

  /* Espaço e forma */
  --shell:  1240px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --band:   clamp(4.5rem, 9vw, 8.5rem);
  --r-md:   6px;
  --r-lg:   14px;
  --r-pill: 999px;

  /* Movimento */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.78;
  letter-spacing: 0.006em;
  color: var(--ink);
  background: var(--porcelain);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--jade); color: var(--verdigris); }

:focus-visible {
  outline: 2px solid var(--jade-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--verdigris);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  transition: top 0.3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* ------------------------------------------------------------ 3. TIPOGRAFIA */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: var(--vf);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.12; }

em, .italic {
  font-style: italic;
  font-variation-settings: 'opsz' 96;
}

p { text-wrap: pretty; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--umber-lt);
}
.eyebrow::before {
  content: '';
  flex: none;
  width: clamp(18px, 3vw, 34px);
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--jade); }

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
}

.prose { color: var(--ink-soft); max-width: 58ch; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------- 4. LAYOUT */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 900px; }

.band {
  position: relative;
  padding-block: var(--band);
}
.band--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.band--dark { background: var(--verdigris); color: var(--cream); }

/* Variações de fundo escuro — o texto claro vem de .band--dark */
.band--cacao { background: var(--cacao); }

/* Bege: superfície clara, com os cartões subindo para o tom mais claro */
.band--sand {
  background: var(--sand);
  --porcelain: var(--paper);
  --paper: #F2EFE8;
  --line:      color-mix(in srgb, var(--umber) 26%, transparent);
  --line-soft: color-mix(in srgb, var(--umber) 16%, transparent);
}
.band--dark .lede,
.band--dark .prose { color: color-mix(in srgb, var(--cream) 74%, transparent); }
.band--dark h1,
.band--dark h2,
.band--dark h3 { color: var(--cream); }

.section-head { max-width: 62ch; }
.section-head > * + * { margin-top: 1.15rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }

/* --------------------------------------------------------------- 5. BOTÕES */
.btn {
  --btn-bg: var(--verdigris);
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              color 0.35s var(--ease-soft);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--jade);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  color: var(--verdigris);
  box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--verdigris) 60%, transparent);
}
.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--light {
  --btn-bg: var(--cream);
  --btn-fg: var(--verdigris);
}
.btn--lg { padding: 1.1rem 2rem; }

.ulink {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  color: var(--umber);
  font-weight: 500;
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--umber) 32%, transparent);
}
.ulink::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.ulink:hover::after,
.ulink:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* --------------------------------------------------------------- 6. HEADER */
.masthead {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: padding 0.45s var(--ease-out);
}
.masthead::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--porcelain) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity 0.45s var(--ease-soft);
}
.masthead.is-stuck { padding-block: 0.7rem; }
.masthead.is-stuck::after { opacity: 1; }

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.masthead__logo img {
  width: auto;
  height: clamp(38px, 4.4vw, 52px);
  transition: height 0.45s var(--ease-out);
}
.masthead.is-stuck .masthead__logo img { height: clamp(32px, 3.6vw, 40px); }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.1rem);
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 4px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease-soft);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--umber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-current='true'] { color: var(--ink); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current='true']::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { margin-left: 0.5rem; }

.burger {
  display: none;
  position: relative;
  z-index: 110;
  width: 44px; height: 44px;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out), opacity 0.25s var(--ease-soft),
              width 0.45s var(--ease-out);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; width: 15px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 22px; }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------------------------------------------------- 7. TRILHO DO TEMPO */
.rail {
  position: fixed;
  left: clamp(18px, 2.4vw, 34px);
  top: 22vh;
  bottom: 16vh;
  z-index: 40;
  width: 1px;
  background: var(--line-soft);
  pointer-events: none;
}
.rail__fill {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(to bottom, var(--umber-lt), var(--jade-deep));
  transform-origin: top;
  transform: scaleY(var(--progress, 0));
}
.rail__label {
  position: absolute;
  left: 12px;
  top: 0;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--umber-lt);
  transition: opacity 0.35s var(--ease-soft), transform 0.5s var(--ease-out);
}
.rail__label.is-swapping { opacity: 0; transform: translateY(12px); }

/* ----------------------------------------------------------------- 8. HERO */
.hero {
  position: relative;
  padding-top: clamp(7.5rem, 13vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -18%;
  right: -12%;
  width: min(920px, 90vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
              color-mix(in srgb, var(--jade) 24%, transparent) 0%, transparent 62%);
  filter: blur(30px);
  pointer-events: none;
  animation: drift 22s var(--ease-soft) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-5%, 4%, 0) scale(1.12); }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__copy > * + * { margin-top: clamp(1.3rem, 2.4vw, 2rem); }

.hero__title {
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 0.96;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: block; }
.hero__title .accent {
  color: var(--verdigris);
  font-style: italic;
  font-variation-settings: 'opsz' 96;
}

/* O arco que sobe sob a palavra — a tese desenhada */
.hero__arc {
  display: block;
  width: min(100%, 30ch);
  height: auto;
  margin-top: -0.45em;
  overflow: visible;
}
.hero__arc path {
  fill: none;
  stroke: var(--jade-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
}
.is-ready .hero__arc path { animation: draw 1.6s var(--ease-out) 1.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.2rem, 3.5vw, 2.75rem);
  padding-top: clamp(1.2rem, 2.5vw, 1.9rem);
  border-top: 1px solid var(--line-soft);
}
.stat__value {
  display: block;
  font-family: var(--display);
  font-variation-settings: var(--vf);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--umber);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--umber-lt);
}

/* Retrato: bordas dissolvidas no fundo da página */
.portrait { position: relative; }
.portrait__frame {
  position: relative;
  background: var(--frame);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.portrait__frame img {
  width: 100%;
  -webkit-mask-image: radial-gradient(128% 116% at 50% 44%, #000 30%, rgba(0,0,0,0.55) 76%, transparent 100%);
          mask-image: radial-gradient(128% 116% at 50% 44%, #000 30%, rgba(0,0,0,0.55) 76%, transparent 100%);
}
.portrait__tag {
  position: absolute;
  left: clamp(-10px, -1.5vw, 0px);
  bottom: clamp(14px, 4vw, 34px);
  max-width: 15.5rem;
  padding: 0.8rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px -22px rgba(34, 29, 26, 0.4);
}
.portrait__tag strong {
  display: block;
  font-family: var(--display);
  font-variation-settings: var(--vf-sm);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.portrait__tag span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--umber-lt);
}

/* ------------------------------------------------- 9. MANIFESTO + CURVA */
.method__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.method__copy > * + * { margin-top: 1.2rem; }

.curve {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.curve__chart { width: 100%; height: auto; overflow: visible; }
.curve__chart .axis { stroke: var(--line); stroke-width: 1; }
.curve__chart .tick {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  fill: var(--umber-lt);
}
.curve__chart .trace {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.9s var(--ease-out);
}
.curve__chart .trace--natural {
  stroke: var(--umber-lt);
  stroke-dasharray: 5 7;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease-soft);
}
.curve.is-visible .curve__chart .trace--natural { opacity: 0.8; }
.curve__chart .trace--treated { stroke: var(--jade-deep); transition-delay: 0.4s; }
.curve.is-visible .curve__chart .trace { stroke-dashoffset: 0; }

.curve__chart .marker {
  fill: var(--jade-deep);
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.5s var(--ease-soft) 1.75s, transform 0.6s var(--spring) 1.75s;
}
.curve.is-visible .curve__chart .marker { opacity: 1; transform: scale(1); }

.curve__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.curve__legend li { display: flex; align-items: center; gap: 0.5rem; }
.curve__legend i {
  flex: none;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--jade-deep);
}
.curve__legend li:first-child i {
  background: repeating-linear-gradient(to right, var(--umber-lt) 0 4px, transparent 4px 8px);
}
.curve__note {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--umber-lt);
}

/* -------------------------------------------------- 10. MAPA DO PROTOCOLO */
.protocol__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.2rem, 4.5vw, 3.5rem);
}

.tiers {
  display: flex;
  gap: 0.35rem;
  padding: 0.35rem;
  background: color-mix(in srgb, var(--cream) 8%, transparent);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
}
.tier {
  position: relative;
  z-index: 0;
  padding: 0.6rem 1.05rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 62%, transparent);
  transition: color 0.35s var(--ease-soft);
}
.tier::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-pill);
  background: var(--jade);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.4s var(--ease-soft), transform 0.5s var(--spring);
}
.tier:hover { color: var(--cream); }
.tier[aria-selected='true'] { color: var(--verdigris); }
.tier[aria-selected='true']::before { opacity: 1; transform: scale(1); }

.map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.facemap {
  width: 100%;
  max-width: 385px;
  margin-inline: auto;
  overflow: visible;
}
.facemap .contour {
  fill: none;
  stroke: color-mix(in srgb, var(--cream) 45%, transparent);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 2.2s var(--ease-out);
}
.facemap .detail {
  fill: none;
  stroke: color-mix(in srgb, var(--cream) 26%, transparent);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.8s var(--ease-soft) 1.1s;
}
.facemap.is-visible .contour { stroke-dashoffset: 0; }
.facemap.is-visible .detail { opacity: 1; }

.zone { cursor: pointer; }
.zone__halo {
  fill: var(--jade);
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.5s var(--ease-soft), transform 0.6s var(--spring);
}
.zone__dot {
  fill: var(--verdigris);
  stroke: var(--jade);
  stroke-width: 1.4;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.55s var(--spring), fill 0.35s var(--ease-soft);
}
.zone__lead {
  stroke: var(--jade);
  stroke-width: 1;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  opacity: 0.5;
  transition: stroke-dashoffset 0.7s var(--ease-out);
}
.zone__code {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  fill: var(--jade);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
}
.zone__pulse {
  fill: none;
  stroke: var(--jade);
  stroke-width: 1;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.zone.is-on .zone__halo { opacity: 0.16; transform: scale(1); }
.zone.is-on .zone__dot  { transform: scale(1); }
.zone.is-on .zone__lead { stroke-dashoffset: 0; }
.zone.is-on .zone__code { opacity: 1; }
.zone.is-on .zone__pulse { animation: pulse 3s var(--ease-out) infinite; }
.zone.is-on:hover .zone__halo,
.zone.is-active .zone__halo { opacity: 0.34; transform: scale(1.18); }
.zone.is-active .zone__dot { fill: var(--jade); }
.zone:focus-visible { outline: none; }
.zone:focus-visible .zone__halo { opacity: 0.42; transform: scale(1.28); }

@keyframes pulse {
  0%   { opacity: 0.5; transform: scale(0.5); }
  70%  { opacity: 0;   transform: scale(1.9); }
  100% { opacity: 0;   transform: scale(1.9); }
}

.zones { display: flex; flex-direction: column; gap: 2px; }
.zone-row {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  padding: 0.85rem 1rem;
  text-align: left;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  opacity: 0.32;
  transition: opacity 0.45s var(--ease-soft), background 0.35s var(--ease-soft),
              border-color 0.35s var(--ease-soft), transform 0.45s var(--ease-out);
}
.zone-row.is-on { opacity: 1; }
.zone-row.is-on:hover,
.zone-row.is-active {
  background: color-mix(in srgb, var(--cream) 7%, transparent);
  border-color: var(--line-dark);
}
.zone-row.is-active { transform: translateX(6px); }
.zone-row__code {
  padding-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--jade);
  font-variant-numeric: tabular-nums;
}
.zone-row__name {
  display: block;
  font-family: var(--display);
  font-variation-settings: var(--vf-sm);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.zone-row__desc {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.87rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 62%, transparent);
}
.zone-row__new {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.45rem;
  vertical-align: middle;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--jade) 22%, transparent);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade);
}

.protocol__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-dark);
}
.protocol__foot p {
  max-width: 46ch;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--cream) 68%, transparent);
}

/* ---------------------------------------------------- 11. ALÉM DA TOXINA */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  margin-top: clamp(2.2rem, 4.5vw, 3.5rem);
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  background: var(--porcelain);
  transition: background 0.5s var(--ease-soft);
}
.pillar::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--jade-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pillar:hover { background: var(--paper); }
.pillar:hover::after { transform: scaleX(1); }
.pillar__mark { width: 36px; height: 36px; color: var(--umber); }
.pillar__mark svg { width: 100%; height: 100%; }
.pillar h3 { margin-top: 1.15rem; font-size: 1.4rem; font-weight: 500; }
.pillar p {
  margin-top: 0.7rem;
  margin-bottom: 1.1rem;
  font-size: 0.93rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.pillar__meta {
  display: block;
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--umber-lt);
}

/* ---------------------------------------------------------------- 12. SOBRE */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__copy > * + * { margin-top: 1.2rem; }

.creds {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.cred {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.cred svg { width: 20px; height: 20px; margin-top: 2px; color: var(--jade-deep); }

/* -------------------------------------------------------------- 13. JORNADA */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  margin-top: clamp(2.4rem, 5vw, 3.75rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1rem; left: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--jade-deep);
  font-variant-numeric: tabular-nums;
}
.step::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 100%; height: 1px;
  background: var(--umber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.step.is-visible::after { transform: scaleX(1); }
.step h3 { font-size: 1.5rem; font-weight: 500; }
.step p {
  margin-top: 0.7rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------- 14. DEPOIMENTOS */
.voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2.4rem, 5vw, 3.5rem);
}
.voice {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.voice:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -34px rgba(34, 29, 26, 0.55);
}
.voice__mark {
  height: 1.6rem;
  font-family: var(--display);
  font-variation-settings: var(--vf);
  font-size: 3.4rem;
  line-height: 0.62;
  color: var(--jade);
}
.voice blockquote {
  flex: 1;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.voice figcaption {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--umber-lt);
}
.voice figcaption strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--display);
  font-variation-settings: var(--vf-sm);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ------------------------------------------------------------------ 15. FAQ */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--display);
  font-variation-settings: var(--vf);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.012em;
  transition: color 0.3s var(--ease-soft);
}
.faq__q:hover { color: var(--umber); }
.faq__sign {
  position: relative;
  flex: none;
  width: 18px; height: 18px;
  margin-top: 5px;
}
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: var(--umber);
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease-soft);
}
.faq__sign::before { width: 16px; height: 1.5px; }
.faq__sign::after  { width: 1.5px; height: 16px; }
.faq__item.is-open .faq__q { color: var(--umber); }
.faq__item.is-open .faq__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  max-width: 62ch;
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.68;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease-soft) 0.12s, transform 0.5s var(--ease-out) 0.12s;
}
.faq__item.is-open .faq__a p { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------ 16. CTA FINAL */
.close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.close__copy > * + * { margin-top: 1.35rem; }
.close__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.close__note {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--cream) 58%, transparent);
}

.card-info {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: color-mix(in srgb, var(--cream) 6%, transparent);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
}
.card-info dl { display: grid; gap: 1.15rem; }
.card-info dt {
  margin-bottom: 0.3rem;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jade);
}
.card-info dd {
  font-size: 0.95rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--cream) 82%, transparent);
}
.card-info dd a { border-bottom: 1px solid var(--line-dark); }
.card-info dd a:hover { border-color: var(--jade); }

/* -------------------------------------------------------------- 17. RODAPÉ */
.foot { padding-block: clamp(3rem, 6vw, 4.5rem) 0; background: var(--porcelain-2); }
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.foot__logo { height: 46px; width: auto; }
.foot__tag {
  max-width: 30ch;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.foot__social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.foot__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--umber);
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft),
              transform 0.4s var(--ease-out);
}
.foot__social a:hover {
  background: var(--verdigris);
  color: var(--cream);
  transform: translateY(-3px);
}
.foot__social svg { width: 17px; height: 17px; }

.foot__title {
  margin-bottom: 1.1rem;
  font-family: var(--sans);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--umber-lt);
}
.foot__links { display: grid; gap: 0.6rem; font-size: 0.92rem; color: var(--ink-soft); }
.foot__links a { transition: color 0.3s var(--ease-soft); }
.foot__links a:hover { color: var(--umber); }
.foot__addr { font-size: 0.92rem; line-height: 1.7; color: var(--ink-soft); }
.foot__addr a { display: block; margin-top: 0.7rem; }

.foot__bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.foot__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.75rem;
  color: var(--umber-lt);
}

/* --------------------------------------------------------- 18. CTA FLUTUANTE */
.dock {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  background: var(--verdigris);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: 0 18px 40px -16px rgba(34, 56, 47, 0.65);
  opacity: 0;
  transform: translateY(24px) scale(0.94);
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--spring),
              background 0.35s var(--ease-soft);
}
.dock.is-in { opacity: 1; transform: none; pointer-events: auto; }
.dock:hover { background: var(--jade-deep); }
.dock svg { width: 19px; height: 19px; flex: none; }

/* --------------------------------------------------- 19. REVELAÇÃO NO SCROLL */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(5px);
  transition: opacity 0.9s var(--ease-out) var(--d, 0ms),
              transform 0.9s var(--ease-out) var(--d, 0ms),
              filter 0.9s var(--ease-out) var(--d, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* Sequência orquestrada de entrada do herói */
.js .hero__intro { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.js.is-ready .hero__intro {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 1s var(--ease-out) var(--d, 0ms),
              transform 1.05s var(--ease-out) var(--d, 0ms),
              filter 1s var(--ease-out) var(--d, 0ms);
}
.js .hero__title .line > span { transform: translateY(108%); }
.js.is-ready .hero__title .line > span {
  transform: none;
  transition: transform 1.1s var(--ease-out) var(--d, 0ms);
}
.js .portrait { opacity: 0; transform: scale(1.05); }
.js.is-ready .portrait {
  opacity: 1;
  transform: none;
  transition: opacity 1.3s var(--ease-out) 0.35s, transform 1.6s var(--ease-out) 0.35s;
}

/* ------------------------------------------------------------- 20. RESPONSIVO */
@media (max-width: 1279px) {
  .rail { display: none; }
}

@media (max-width: 1023px) {
  .hero__grid,
  .method__grid,
  .about__grid,
  .close__grid,
  .map,
  .faq { grid-template-columns: minmax(0, 1fr); }

  .hero__grid { gap: clamp(2.5rem, 6vw, 3.5rem); }
  .portrait { max-width: 460px; margin-inline: auto; }
  .about__media { max-width: 440px; margin-inline: auto; }
  .protocol__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --band: clamp(3.5rem, 11vw, 5rem); }

  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 105;
    width: min(340px, 86vw);
    padding: 6rem 2rem 2rem;
    background: var(--paper);
    box-shadow: -30px 0 60px -30px rgba(34, 29, 26, 0.4);
    overflow-y: auto;
    transform: translateX(101%);
    transition: transform 0.55s var(--ease-out);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-soft); }
  .nav__list > li:last-child { border: 0; padding-top: 1.5rem; }
  .nav__link {
    display: block;
    padding: 1rem 0;
    font-family: var(--display);
    font-variation-settings: var(--vf);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin: 0; width: 100%; }

  .scrim {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(34, 29, 26, 0.4);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease-soft);
  }
  .scrim.is-open { opacity: 1; pointer-events: auto; }

  .hero { padding-top: 6.5rem; }
  .hero__stats { gap: 1.25rem 1.75rem; }
  .stat { min-width: 6.5rem; }
  .protocol__foot { flex-direction: column; align-items: stretch; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .dock { padding: 0.8rem 1.1rem; font-size: 0.75rem; }
  .zone-row { grid-template-columns: 2rem minmax(0, 1fr); padding: 0.75rem 0.6rem; }
  .zone-row.is-active { transform: none; }
}

@media (max-width: 479px) {
  .btn { width: 100%; }
  .hero__actions,
  .close__actions { flex-direction: column; align-items: stretch; }
  .dock { padding: 0.9rem; border-radius: 50%; }
  .dock__label { display: none; }
}

/* ------------------------------------------------------ 21. MOVIMENTO REDUZIDO */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal],
  .js .hero__intro,
  .js .portrait { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hero__title .line > span { transform: none !important; }
  .hero__arc path,
  .facemap .contour,
  .curve__chart .trace { stroke-dashoffset: 0 !important; }
  .facemap .detail { opacity: 1 !important; }
  .curve__chart .marker { opacity: 1 !important; transform: none !important; }
  .hero__glow { animation: none; }
}

/* ------------------------------------------------------------- 22. IMPRESSÃO */
@media print {
  .masthead, .dock, .rail, .hero__glow { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ============================================================================
   23. CARROSSEL HORIZONTAL
   (resultados no desktop e no celular · depoimentos no celular)
   ========================================================================== */
.rail-x { position: relative; }

.rail-x__track {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-block: 0.35rem;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail-x__track::-webkit-scrollbar { display: none; }
.rail-x__track > * { scroll-snap-align: start; flex: 0 0 auto; }

.rail-x__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
}
.rail-x__dots { display: flex; gap: 0.45rem; }
.rail-x__dots button {
  width: 24px; height: 3px;
  border-radius: var(--r-pill);
  background: var(--line);
  transition: background 0.4s var(--ease-soft), width 0.4s var(--ease-out);
}
.rail-x__dots button[aria-current="true"] { width: 40px; background: var(--umber); }

.rail-x__arrows { display: flex; gap: 0.5rem; }
.rail-x__arrows button {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--umber);
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft),
              border-color 0.4s var(--ease-soft), opacity 0.3s var(--ease-soft);
}
.rail-x__arrows button:hover:not(:disabled) {
  background: var(--verdigris);
  border-color: var(--verdigris);
  color: var(--cream);
}
.rail-x__arrows button:disabled { opacity: 0.3; cursor: default; }
.rail-x__arrows svg { width: 17px; height: 17px; }

.rail-x__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--umber-lt);
}
.rail-x__hint svg { width: 22px; height: 22px; }
.rail-x__hint .drag-finger { animation: nudge 2.6s var(--ease-soft) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateX(-2px); }
  50%      { transform: translateX(4px); }
}

/* ============================================================================
   24. RESULTADOS — COMPARADOR ANTES / DEPOIS
   ========================================================================== */
.shot {
  display: flex;
  flex-direction: column;
  width: min(78vw, 420px);
}

.shot__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--frame);
  user-select: none;
  -webkit-user-select: none;
}
.shot__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.shot__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.shot__tag {
  position: absolute;
  top: 0.85rem;
  z-index: 3;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.shot__tag--a { left: 0.85rem; }
.shot__tag--d { right: 0.85rem; }

.shot__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  z-index: 4;
  width: 2px;
  margin-left: -1px;
  background: var(--cream);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent);
  pointer-events: none;
}
.shot__knob {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cream);
  color: var(--verdigris);
  box-shadow: 0 6px 18px -6px rgba(34, 29, 26, 0.5);
  transition: transform 0.35s var(--spring);
}
.shot__stage:hover .shot__knob { transform: translate(-50%, -50%) scale(1.08); }
.shot__knob svg { width: 20px; height: 20px; }

/* O range invisível por cima faz arraste, toque e teclado funcionarem */
.shot__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  touch-action: pan-y;
}
.shot__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2px; height: 100%;
}
.shot__range::-moz-range-thumb { width: 2px; height: 100%; border: 0; }
.shot__range:focus-visible { outline: none; }
.shot__range:focus-visible ~ .shot__handle { box-shadow: 0 0 0 2px var(--jade); }

.shot__meta { padding-top: 1.15rem; }
.shot__meta h3 { font-size: 1.32rem; font-weight: 500; }
.shot__meta p {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.shot__chip {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--umber-lt);
}

.results__note {
  max-width: 64ch;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--umber-lt);
}

/* ============================================================================
   25. GRÁFICO DO COLÁGENO — PEÇAS ANIMADAS
   ========================================================================== */
.curve__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.curve__age {
  font-family: var(--display);
  font-variation-settings: var(--vf);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--umber);
  font-variant-numeric: tabular-nums;
}
.curve__age small {
  margin-left: 0.35rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--umber-lt);
}
.curve__replay {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--umber-lt);
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft),
              border-color 0.35s var(--ease-soft);
}
.curve__replay:hover {
  background: var(--verdigris);
  border-color: var(--verdigris);
  color: var(--cream);
}
.curve__replay svg { width: 13px; height: 13px; }
.curve__replay.is-playing svg { animation: spin 1.3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Cursor que percorre a curva enquanto ela é traçada */
.curve__chart .head-dot  { fill: var(--jade-deep); opacity: 0; }
.curve__chart .head-ring { fill: none; stroke: var(--jade-deep); stroke-width: 1.2; opacity: 0; }
.curve.is-playing .curve__chart .head-dot  { opacity: 1; }
.curve.is-playing .curve__chart .head-ring { opacity: 0.4; }

.curve__chart .band-fill {
  fill: var(--jade);
  opacity: 0;
  transition: opacity 1s var(--ease-soft) 0.2s;
}
.curve.is-filled .curve__chart .band-fill { opacity: 0.17; }

.curve__chart .trace--treated { transition: none; }
.curve__chart .marker {
  transition: opacity 0.35s var(--ease-soft), transform 0.5s var(--spring);
}

/* ============================================================================
   26. CELULAR — QUEBRAS DE LINHA E DENSIDADE
   ========================================================================== */
/* Quebras forçadas só valem onde existe largura para elas */
@media (max-width: 639px) {
  .brk { display: none; }
}

@media (max-width: 767px) {
  .shot { width: min(84vw, 380px); }
  .voice { width: min(82vw, 360px); }
  .rail-x__arrows { display: none; }

  /* Depoimentos viram carrossel */
  .voices {
    display: flex;
    gap: 0.9rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .voices::-webkit-scrollbar { display: none; }
  .voice {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 1.3rem 1.35rem;
  }
  .voice blockquote { font-size: 0.93rem; line-height: 1.58; }
  .voice figcaption { margin-top: 1.1rem; padding-top: 0.9rem; }
  .voice:hover { transform: none; box-shadow: none; }
  .voice__mark { font-size: 2.8rem; height: 1.3rem; }

  /* Números do herói: três colunas iguais, sem órfãos */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem 0.7rem;
  }
  .stat { min-width: 0; }
  .stat__value { font-size: clamp(1.4rem, 6.4vw, 1.9rem); }
  .stat__label { font-size: 0.65rem; letter-spacing: 0.07em; }

  /* Seletor de protocolo: rola no eixo x em vez de espremer */
  .tiers {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tiers::-webkit-scrollbar { display: none; }
  .tier { padding: 0.55rem 0.8rem; font-size: 0.69rem; }

  .protocol__head { gap: 1.4rem; }
  .map { gap: 1.6rem; }
  .facemap { max-width: 275px; }
  .zone-row__name { font-size: 1.12rem; }
  .zone-row__desc { font-size: 0.85rem; }

  .curve__head { margin-bottom: 0.7rem; }
  .curve__age { font-size: 1.3rem; }

  /* Sem larguras de coluna herdadas do desktop */
  .section-head,
  .lede,
  .prose,
  .protocol__foot p,
  .results__note { max-width: none; }

  .foot__tag { max-width: none; }
  .close__actions { align-items: flex-start; }
}

@media (max-width: 479px) {
  .shot { width: min(88vw, 340px); }
  .voice { width: min(86vw, 330px); }
  .shot__knob { width: 40px; height: 40px; }
  .shot__tag { padding: 0.28rem 0.55rem; font-size: 0.58rem; }
  .hero__stats { gap: 0.9rem 0.55rem; }
  .stat__label { font-size: 0.61rem; }
  .rail-x__bar { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-x__hint .drag-finger { animation: none; }
  .curve__chart .band-fill { opacity: 0.17 !important; }
  .rail-x__track, .voices { scroll-behavior: auto; }
}

.voices-bar { display: none; }
@media (max-width: 767px) {
  .voices-bar { display: flex; justify-content: center; margin-top: 1.25rem; }
}

/* Barra do carrossel empilha nas telas mais estreitas */
@media (max-width: 479px) {
  .rail-x__bar { flex-direction: column; gap: 0.9rem; }
}

/* ============================================================================
   27. ELEMENTOS DA NOVA COPY
   (frase de destaque, checklist da avaliação, numeração das 4 bases)
   ========================================================================== */

/* Frase de destaque — o pensamento que fecha um bloco */
.pullquote {
  max-width: 34ch;
  margin-block: clamp(2.5rem, 5vw, 3.75rem);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
  text-align: center;
  font-family: var(--display);
  font-variation-settings: 'opsz' 96;
  font-style: italic;
  font-size: clamp(1.35rem, 1rem + 1.6vw, 2.05rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--umber);
  text-wrap: balance;
}
.pullquote::before,
.pullquote::after {
  content: '';
  display: block;
  width: 42px;
  height: 1px;
  margin-inline: auto;
  background: var(--line);
}
.pullquote::before { margin-bottom: clamp(1.1rem, 2.5vw, 1.6rem); }
.pullquote::after  { margin-top: clamp(1.1rem, 2.5vw, 1.6rem); }

.pullquote--tight {
  max-width: 40ch;
  margin-inline: 0;
  margin-block: 1.9rem 0;
  padding-inline: 0;
  text-align: left;
  font-size: clamp(1.2rem, 0.95rem + 1vw, 1.55rem);
}
.pullquote--tight::before { margin-inline: 0; }
.pullquote--tight::after  { display: none; }

.band--dark .pullquote { color: var(--jade); }
.band--dark .pullquote::before,
.band--dark .pullquote::after { background: var(--line-dark); }
.pullquote--light { color: var(--jade); }

/* Fechamento das 4 bases */
.bases__close {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-soft);
}
.bases__close .prose { max-width: 52ch; margin: 0; }

/* Numeração das bases — aqui a ordem é informação, não enfeite */
.pillar__num {
  position: absolute;
  top: clamp(1.6rem, 3vw, 2.3rem);
  right: clamp(1.6rem, 3vw, 2.3rem);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--umber-lt);
  opacity: 0.5;
  font-variant-numeric: tabular-nums;
}
.pillar__sub {
  margin-top: 0.3rem !important;
  margin-bottom: 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jade-deep) !important;
}

/* Subtítulo das etapas de "Como funciona" */
.step__sub {
  margin-top: 0.45rem !important;
  margin-bottom: 0.6rem;
  font-size: 0.78rem !important;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--jade-deep) !important;
}

/* Prosa centralizada (bloco Filosofia) */
.prose--center { margin-inline: auto; text-align: center; }

/* O que a avaliação inclui */
.checklist {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border: 1px solid var(--jade);
  border-radius: 50%;
  background: color-mix(in srgb, var(--jade) 35%, transparent);
}

@media (max-width: 767px) {
  .pullquote { max-width: none; }
  .pullquote--tight { margin-top: 1.5rem; }
  .bases__close { flex-direction: column; align-items: stretch; }
  .bases__close .btn { width: 100%; }
  .checklist li { font-size: 0.9rem; padding-left: 1.6rem; }
  .pillar__num { top: 1.35rem; right: 1.35rem; }
}

/* Colunas longas: a mídia acompanha o topo do texto, não o centro */
.about__grid,
.close__grid { align-items: start; }

.card-info__title {
  font-family: var(--display);
  font-variation-settings: var(--vf);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.card-info .checklist {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
}
.card-info__contato {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}

/* ============================================================================
   28. NOVA DISTRIBUIÇÃO DE SUPERFÍCIES
   ----------------------------------------------------------------------------
   O site deixa de ser "claro com duas faixas escuras". O ritmo agora é:
   preto → osso → bege → preto → cacau → osso → bege → cacau → osso → preto.
   A foto da doutora é clara: ela passa a repousar sobre um passe-partout
   bege, recortado contra o preto — e não mais sobre um fundo quase branco.
   ========================================================================== */

/* ---- Herói em preto quente ---- */
.hero {
  background: var(--verdigris);
  color: var(--cream);
}
.hero h1,
.hero .hero__title { color: var(--cream); }
.hero .lede   { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.hero .prose  { color: color-mix(in srgb, var(--cream) 64%, transparent); }
.hero .eyebrow { color: var(--jade); }
.hero .hero__title .accent { color: var(--jade); }
.hero .hero__arc path { stroke: var(--jade); }
.hero .hero__stats { border-top-color: color-mix(in srgb, var(--cream) 18%, transparent); }
.hero .stat__value { color: var(--cream); }
.hero .stat__label { color: color-mix(in srgb, var(--cream) 55%, transparent); }
.hero .btn--ghost {
  --btn-fg: var(--cream);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cream) 26%, transparent);
}
.hero .btn--ghost:hover,
.hero .btn--ghost:focus-visible { color: var(--verdigris); }
.hero__glow {
  background: radial-gradient(circle at 50% 50%,
              color-mix(in srgb, var(--jade) 20%, transparent) 0%, transparent 62%);
  opacity: 0.55;
}

/* O cabeçalho começa sobre o preto e só vira claro quando cola no topo */
.masthead:not(.is-stuck) .nav__link { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.masthead:not(.is-stuck) .nav__link:hover,
.masthead:not(.is-stuck) .nav__link[aria-current='true'] { color: var(--cream); }
.masthead:not(.is-stuck) .nav__link::after { background: var(--jade); }
.masthead:not(.is-stuck) .burger span { background: var(--cream); }
.masthead:not(.is-stuck) .masthead__logo img { filter: invert(1) brightness(1.6) sepia(0.25); }
.masthead:not(.is-stuck) .nav__cta {
  --btn-bg: var(--cream);
  --btn-fg: var(--verdigris);
}
@media (max-width: 767px) {
  /* O menu lateral é claro: os links voltam ao escuro dentro dele */
  .masthead:not(.is-stuck) .nav__link { color: var(--ink); }
  .masthead:not(.is-stuck) .nav__link:hover { color: var(--umber); }
}

/* ---- Passe-partout: a foto clara ganha uma moldura bege ---- */
.portrait__frame {
  background: var(--frame);
  padding: clamp(14px, 2.2vw, 26px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.7);
}
.portrait__frame img {
  border-radius: 2px;
  -webkit-mask-image: none;
          mask-image: none;
}
/* Fio bronze por dentro da moldura — o detalhe de galeria */
.portrait__frame::after {
  content: '';
  position: absolute;
  inset: clamp(7px, 1.1vw, 13px);
  border: 1px solid color-mix(in srgb, var(--umber) 30%, transparent);
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}
.portrait__tag {
  background: var(--verdigris);
  border-color: color-mix(in srgb, var(--cream) 16%, transparent);
  color: var(--cream);
}
.portrait__tag strong { color: var(--cream); }
.portrait__tag span { color: var(--jade); }

/* Na seção cacau a moldura não precisa de sombra tão funda */
.band--cacao .portrait__frame { box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.6); }

/* ---- Faixa bege: o gráfico e os cartões sobem de tom ---- */
.band--sand .curve { background: var(--paper); }
.band--sand .pillar { background: var(--paper); }
.band--sand .pillar:hover { background: #F6F3EC; }
.band--sand .voice { background: var(--paper); }

/* ---- Faixa cacau ---- */
.band--cacao .card-info,
.band--cacao .tiers { background: color-mix(in srgb, #000 18%, transparent); }
.band--cacao .pullquote { color: var(--jade); }

/* ---- Rodapé fecha a página no preto mais cerrado ---- */
.foot {
  background: var(--obsidian);
  color: var(--cream);
}
.foot__logo { filter: invert(1) brightness(1.6) sepia(0.25); }
.foot__tag,
.foot__addr,
.foot__links { color: color-mix(in srgb, var(--cream) 62%, transparent); }
.foot__title { color: var(--jade); }
.foot__links a:hover { color: var(--jade); }
.foot__social a {
  border-color: color-mix(in srgb, var(--cream) 20%, transparent);
  color: var(--cream);
}
.foot__social a:hover {
  background: var(--jade);
  border-color: var(--jade);
  color: var(--verdigris);
}
.foot__bottom { border-top-color: color-mix(in srgb, var(--cream) 14%, transparent); }
.foot__bottom-inner { color: color-mix(in srgb, var(--cream) 45%, transparent); }
.foot .ulink {
  color: var(--jade);
  box-shadow: inset 0 -1px 0 color-mix(in srgb, var(--jade) 40%, transparent);
}

/* ---- Trilho do tempo sobre fundos escuros ---- */
.rail__fill { background: linear-gradient(to bottom, var(--umber-lt), var(--jade)); }

/* ---- Botões: o preenchimento que sobe passa a ser camelo ---- */
.btn::before { background: var(--jade); }

/* ---- Mapa facial: contraste recalibrado para o preto quente ---- */
.facemap .contour { stroke: color-mix(in srgb, var(--cream) 52%, transparent); }
.facemap .detail  { stroke: color-mix(in srgb, var(--cream) 30%, transparent); }

/* ---- Comparador: a moldura bege também vale aqui ---- */
.shot__stage { background: var(--frame); }
.shot__tag {
  background: color-mix(in srgb, var(--verdigris) 78%, transparent);
  color: var(--cream);
}
.shot__knob { background: var(--cream); color: var(--verdigris); }
.shot__handle { background: var(--cream); }

/* ---- Destaques tipográficos em Bodoni pedem mais ar ---- */
.pullquote { line-height: 1.3; }
.hero__title { line-height: 1.02; letter-spacing: -0.01em; }
.stat__value { letter-spacing: -0.01em; }

/* A Bodoni em corpo pequeno sobre escuro fica frágil: engrossa um pouco */
.band--dark .zone-row__name,
.hero .portrait__tag strong { font-weight: 500; }

@media (max-width: 767px) {
  .portrait__frame { padding: clamp(10px, 3vw, 16px); }
  .portrait__frame::after { inset: clamp(5px, 1.5vw, 8px); }
}

/* ---- Botões sobre fundo escuro ----------------------------------------
   O preenchimento padrão é o próprio preto da superfície: sobre o escuro
   o botão sólido passa a ser camelo. */
.hero .btn:not(.btn--ghost):not(.btn--light),
.band--dark .btn:not(.btn--ghost):not(.btn--light) {
  --btn-bg: var(--jade);
  --btn-fg: var(--verdigris);
}
.hero .btn:not(.btn--ghost):not(.btn--light)::before,
.band--dark .btn:not(.btn--ghost):not(.btn--light)::before { background: var(--cream); }
.hero .btn:not(.btn--ghost):not(.btn--light):hover,
.band--dark .btn:not(.btn--ghost):not(.btn--light):hover { color: var(--verdigris); }

/* O botão flutuante atravessa seções claras e escuras: camelo funciona nas duas */
.dock {
  background: var(--jade);
  color: var(--verdigris);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.dock:hover { background: var(--cream); color: var(--verdigris); }

/* ============================================================================
   29. AJUSTE FINO DA DIDONE E CONTRASTE SOBRE FUNDO ESCURO
   ========================================================================== */

/* A Bodoni é de contraste altíssimo: o tamanho óptico precisa acompanhar o
   corpo real de cada nível, senão as hastes finas somem. */
h1 { font-variation-settings: 'opsz' 96; font-weight: 400; }
h2 { font-variation-settings: 'opsz' 60; font-weight: 450; }
h3 { font-variation-settings: 'opsz' 24; font-weight: 500; }
h4 { font-variation-settings: 'opsz' 16; font-weight: 500; }
h1 em, h2 em { font-variation-settings: 'opsz' 72; }
h3 em { font-variation-settings: 'opsz' 24; }

.pullquote { font-variation-settings: 'opsz' 48; font-weight: 450; }
.faq__q    { font-variation-settings: 'opsz' 28; font-weight: 500; }
.curve__age,
.stat__value { font-variation-settings: 'opsz' 40; font-weight: 450; }
.card-info__title { font-variation-settings: 'opsz' 20; font-weight: 500; }

/* ---- Contraste sobre as superfícies escuras ---- */
/* O destaque do texto corrido era escuro: sobre preto ou cacau sumia. */
.band--dark .prose strong,
.hero .prose strong { color: var(--cream); font-weight: 500; }

/* Rótulos de seção acompanham o acento claro sem precisar de classe extra */
.band--dark .eyebrow { color: var(--jade); }

/* Numeração e metadados dos cartões sobre bege */
.band--sand .pillar__num { opacity: 0.65; }

/* ---- O bloco Filosofia ganha largura: a didone pede linhas mais longas ---- */
#filosofia .shell--narrow { max-width: 1060px; }
#filosofia h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.6rem); }

/* Textos auxiliares sobre o preto: 55% de linho não alcançava 4.5:1 em 12px */
.hero .stat__label { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.band--dark .zone-row__desc,
.zone-row__desc { color: color-mix(in srgb, var(--cream) 76%, transparent); }
.band--dark .checklist li { color: color-mix(in srgb, var(--cream) 86%, transparent); }
.band--dark .protocol__foot p { color: color-mix(in srgb, var(--cream) 80%, transparent); }
.band--dark .close__note { color: color-mix(in srgb, var(--cream) 70%, transparent); }
.band--dark .card-info dd { color: color-mix(in srgb, var(--cream) 88%, transparent); }
.foot__tag, .foot__addr, .foot__links { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.foot__bottom-inner { color: color-mix(in srgb, var(--cream) 58%, transparent); }

/* O <picture> existe só para oferecer o PNG de reserva do logo:
   não deve gerar caixa própria nem interferir no alinhamento do <img>. */
picture { display: contents; }

/* O atributo hidden precisa vencer qualquer display declarado nas regras
   acima — é o que mantém a seção Resultados fora do ar sem apagá-la. */
[hidden] { display: none !important; }
