/* As Oito Chaves da Noite — landing page cinematográfica (v3)
   Identidade: Chave Oito (opção 01). Tokens de cor e tipo em tokens.css.
   .has-motion = versão animada (JS ativo, sem movimento reduzido). Sem essa classe, tudo é estático e visível. */

:root {
  --ivory-soft: rgb(244 239 230 / 0.82);   /* corpo: ~12:1 sobre ônix */
  --ivory-faint: rgb(244 239 230 / 0.64);  /* legendas: ~7:1 sobre ônix */
  --gold-line: rgb(201 164 92 / 0.3);
  --gold-line-strong: rgb(201 164 92 / 0.6);
  --gold-ink: #6b4a1c;                      /* ouro escuro para texto sobre papel: ~5,6:1 */
  --metal: linear-gradient(100deg, #8a642d 0%, #c9a45c 38%, #f1d99b 52%, #c9a45c 68%, #8a642d 100%);
  --paper: #efe8da;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 2px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 11vw, 9rem);
  --topbar-h: 2.5rem;

  /* Livro */
  --bw: clamp(150px, 46vw, 220px);
  --bh: calc(var(--bw) * 1.4125);
  --bt: calc(var(--bw) * 0.12);
  --lane: clamp(300px, 34vw, 460px);
}
@media (min-width: 1024px) {
  :root { --bw: clamp(220px, 23vw, 330px); }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 1rem);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #3a3326 var(--color-onyx);
  background: var(--color-onyx);
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.15rem);
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgb(201 164 92 / 0.35); color: var(--color-ivory); }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem); letter-spacing: -0.01em; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
h2.h-long { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); max-width: 26ch; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 600; color: var(--color-ivory); }

a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
  border-radius: var(--radius);
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-ivory); color: var(--color-onyx);
  font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 50rem; }
.motion-only { display: none; }

/* ---------- Camadas ---------- */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(55% 45% at 78% 30%, rgb(201 164 92 / 0.07), transparent 70%),
    radial-gradient(60% 50% at 12% 85%, rgb(138 100 45 / 0.08), transparent 70%),
    radial-gradient(90% 70% at 50% 0%, #111115, var(--color-onyx) 70%);
}
.sky__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__moon {
  position: absolute; top: 16vh; right: 7vw;
  width: clamp(40px, 5vw, 76px);
  color: #e6c987; opacity: 0.85;
  filter: drop-shadow(0 0 14px rgb(241 217 155 / 0.45));
  will-change: transform;
}
main, .site-footer, .site-header { position: relative; z-index: 2; }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

/* ---------- Faixa superior e marca ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  min-height: var(--topbar-h);
  display: grid; place-items: center;
  padding: 0.5rem var(--gutter);
  background: #0b0b0e;
  border-bottom: 1px solid var(--gold-line);
  text-align: center;
}
.topbar__text { font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--ivory-soft); line-height: 1.4; }
.topbar__text strong { color: var(--color-gold-light); }
.topbar__text s { color: var(--ivory-faint); }
.topbar__clock { color: var(--color-gold-light); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.site-header { display: flex; justify-content: center; padding: 1.5rem var(--gutter) 0; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--color-ivory); }
.brand__mark { width: 18px; height: 27px; color: var(--color-gold); flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35em;
  min-height: 52px;
  padding: 0.9rem 1.7rem;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius);
  font: 600 0.9375rem/1.25 var(--font-body);
  letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.btn--primary {
  background: linear-gradient(180deg, #d9b56a, var(--color-gold) 55%, #b48d47);
  color: var(--color-onyx);
  box-shadow: 0 10px 30px -12px rgb(201 164 92 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.btn--primary:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(1px); }
.btn--xl { min-height: 60px; font-size: 1rem; padding-inline: 2.2rem; }
.btn:disabled, .btn[aria-disabled="true"] { background: transparent; color: var(--color-ivory); border-color: var(--gold-line-strong); box-shadow: none; cursor: not-allowed; transform: none; }
.cta-note { margin-top: 0.9rem; font-size: 0.875rem; color: var(--ivory-faint); }
.cta-row { margin-top: clamp(2rem, 4vw, 2.75rem); }
.cta-row--center { display: flex; justify-content: center; text-align: center; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ivory); text-decoration-color: var(--gold-line-strong); }

/* ---------- Primeira tela ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(4rem, 8vw, 7rem); }
.hero__grid { display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
@media (min-width: 1024px) {
  .hero { min-height: calc(100vh - var(--topbar-h) - 4rem); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; }
  .hero__object { margin-top: clamp(2rem, 6vh, 5rem); }
}
.hero__label {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  color: var(--color-gold); margin-bottom: 0.4rem;
}
.hero__title {
  font-size: clamp(2rem, 1.2rem + 2.7vw, 3.4rem);
  line-height: 1.06; letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  max-width: 21ch;
}
.hero__question {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem);
  line-height: 1.3; max-width: 28ch;
  margin-bottom: 1.75rem; color: var(--color-ivory);
}
.hero__body { display: grid; gap: 1rem; max-width: 56ch; color: var(--ivory-soft); }
.hero__hook { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--color-gold-light); }
.hero__actions { margin-top: 2.25rem; }
.hero__close { margin-top: 2rem; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ivory-soft); }

.hero__object { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.book-anchor, .offer__anchor { width: var(--bw); height: var(--bh); position: relative; }
.book-anchor__flat {
  width: 100%; height: 100%;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(201 164 92 / 0.25);
  transition: opacity 0.6s var(--ease-out);
}
.has-motion.rig-ready .book-anchor__flat { opacity: 0; visibility: hidden; }
.caption { font-size: 0.8125rem; color: var(--ivory-faint); text-align: center; max-width: 34ch; }

@media (min-width: 1024px) { .has-motion .scroll-cue {
  display: block; position: absolute; left: 50%; bottom: 1.5rem;
  width: 1px; height: 56px; background: var(--gold-line); overflow: hidden;
} }
.scroll-cue span { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--color-gold-light)); animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Interlúdios (celular): espaço vazio onde o livro reaparece por um instante */
.interlude { display: none; }
@media (max-width: 1023px) {
  .has-motion .interlude { display: grid; place-items: center; height: calc(var(--bh) + 10rem); }
  .interlude__anchor { width: var(--bw); height: var(--bh); }
}

/* ---------- Faixas de micro-frases ---------- */
.ticker {
  position: relative; overflow: hidden;
  border-block: 1px solid var(--gold-line);
  padding-block: 1rem;
  background: rgb(8 9 11 / 0.6);
}
.ticker__track { display: flex; width: max-content; }
.ticker__track span {
  padding-right: 1.25rem; white-space: nowrap;
  font-size: 0.8125rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--color-gold);
}
.has-motion .ticker__track { animation: marquee 70s linear infinite; }
.has-motion .ticker--b .ticker__track { animation-duration: 85s; animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }
.no-motion .ticker__track, html:not(.js) .ticker__track { width: auto; justify-content: center; padding-inline: var(--gutter); }
.no-motion .ticker__track span, html:not(.js) .ticker__track span { white-space: normal; text-align: center; line-height: 2; }
.no-motion .ticker__track span + span, html:not(.js) .ticker__track span + span { display: none; }

/* ---------- Livro 3D (camada fixa) ---------- */
.rig { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.rig[hidden] { display: none; }
.rig__pos { position: absolute; left: 0; top: 0; width: var(--bw); height: var(--bh); will-change: transform, opacity; opacity: 0; }
.rig__rings {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--bw) * 2.05); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: var(--color-gold); opacity: 0.32; pointer-events: none;
}
/* cada anel é uma camada própria: gira no compositor, sem repintar o SVG */
.ring { position: absolute; inset: 0; will-change: transform; }
.ring svg { width: 100%; height: 100%; }
.ring--a { animation: spin 90s linear infinite; }
.ring--b { animation: spin 60s linear infinite reverse; }
.ring--c { animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rig__glow {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--bw) * 2.4); height: calc(var(--bh) * 1.5);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(241 217 155 / 0.42), rgb(201 164 92 / 0.14) 50%, transparent);
  opacity: 0; pointer-events: none;
}
.rig__glow.is-burst { animation: burst 1.8s var(--ease-out); }
@keyframes burst {
  0% { filter: brightness(1); transform: translate(-50%, -50%) scale(0.8); }
  18% { filter: brightness(1.9); transform: translate(-50%, -50%) scale(1.15); }
  100% { filter: brightness(1); transform: translate(-50%, -50%) scale(1); }
}
.scene { position: absolute; inset: 0; perspective: 2400px; touch-action: pan-y; pointer-events: none; outline-offset: 10px; }
.rig.is-interactive .scene { pointer-events: auto; cursor: grab; }
.scene.is-dragging { cursor: grabbing; }
.scene::after {
  content: ""; position: absolute; left: 50%; bottom: -2.5rem;
  width: calc(var(--bw) * 1.1); height: 2.2rem; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.8), transparent);
  filter: blur(6px); pointer-events: none; z-index: -1;
}
.book { position: relative; width: var(--bw); height: var(--bh); transform-style: preserve-3d; transform: rotateX(4deg) rotateY(18deg); }
.book__face { position: absolute; backface-visibility: hidden; }
.book__back { inset: 0; transform: translateZ(calc(var(--bt) / -2)) rotateY(180deg); background: #0c0c0f; box-shadow: inset 0 0 0 1px rgb(201 164 92 / 0.25); }
.book__spine {
  top: 0; left: calc(var(--bt) / -2); width: var(--bt); height: var(--bh);
  transform: rotateY(-90deg);
  background: linear-gradient(90deg, #050506 0%, #1b1a1d 45%, #0d0d10 70%, #050506 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(var(--bt) * 0.5) 0;
  box-shadow:
    inset 0 calc(var(--bt) * 0.22) 0 -1px #08090b, inset 0 calc(var(--bt) * 0.25) 0 -1px var(--color-gold),
    inset 0 calc(var(--bt) * -0.22) 0 -1px #08090b, inset 0 calc(var(--bt) * -0.25) 0 -1px var(--color-gold);
}
.spine__mark { width: calc(var(--bt) * 0.36); color: var(--color-gold); margin-top: calc(var(--bt) * 0.35); }
.spine__title { writing-mode: vertical-rl; font-family: var(--font-display); font-weight: 600; font-size: calc(var(--bt) * 0.3); letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-gold); white-space: nowrap; }
.spine__star { width: calc(var(--bt) * 0.28); color: var(--color-gold); margin-bottom: calc(var(--bt) * 0.35); }
.book__edge { background-color: #b48d47; }
.book__edge--right {
  top: 3px; left: calc(var(--bw) - 3px - var(--bt) * 0.46);
  width: calc(var(--bt) * 0.92); height: calc(var(--bh) - 6px);
  transform: rotateY(90deg);
  background-image: repeating-linear-gradient(90deg, rgb(0 0 0 / 0.16) 0 1px, transparent 1px 3px), linear-gradient(180deg, #8a642d, #c9a45c 30%, #f1d99b 50%, #c9a45c 70%, #8a642d);
}
.book__edge--top, .book__edge--bottom {
  left: 2px; width: calc(var(--bw) - 5px); height: calc(var(--bt) * 0.92);
  background-image: repeating-linear-gradient(0deg, rgb(0 0 0 / 0.16) 0 1px, transparent 1px 3px), var(--metal);
}
.book__edge--top { top: calc(3px - var(--bt) * 0.46); transform: rotateX(90deg); }
.book__edge--bottom { top: calc(var(--bh) - 3px - var(--bt) * 0.46); transform: rotateX(-90deg); }
.book__page, .book__leaf { top: 3px; left: 1px; width: calc(var(--bw) - 4px); height: calc(var(--bh) - 6px); background: var(--paper); transform-origin: left center; overflow: hidden; }
.book__page { transform: translateZ(calc(var(--bt) / 2 - 3px)); }
.book__leaf { transform: translateZ(calc(var(--bt) / 2 - 2px)); visibility: hidden; background: linear-gradient(90deg, #d9cfbb, var(--paper) 30%, #f6f1e7); box-shadow: inset 0 0 0 1px rgb(138 100 45 / 0.18); backface-visibility: visible; }
.book__leaf--1 { background: linear-gradient(90deg, #e3d9c5, var(--paper) 14%, #f4eee3); }
.book__page::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 18%; background: linear-gradient(90deg, rgb(60 40 10 / 0.28), transparent); }
.page-glow { position: absolute; inset: 0; background: radial-gradient(85% 65% at 0% 50%, rgb(241 217 155 / 0.9), rgb(201 164 92 / 0.3) 45%, transparent 78%); opacity: 0; pointer-events: none; }
.book__cover { position: absolute; inset: 0; transform-style: preserve-3d; transform-origin: left center; transform: translateZ(calc(var(--bt) / 2)); }
.cover__out { inset: 0; background: #08090b; overflow: hidden; }
.cover__out img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.cover__sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgb(241 217 155 / 0.12) 50%, transparent 65%); background-size: 300% 100%; background-position: 50% 0; mix-blend-mode: screen; pointer-events: none; }
.cover__in {
  inset: 0; transform: rotateY(180deg);
  background: radial-gradient(80% 60% at 50% 45%, #1a191c, #0b0b0d);
  box-shadow: inset 0 0 0 calc(var(--bw) * 0.035) #0b0b0d, inset 0 0 0 calc(var(--bw) * 0.035 + 1px) rgb(201 164 92 / 0.45);
  display: grid; place-items: center;
}
.cover__in-mark { width: 24%; color: rgb(201 164 92 / 0.5); }

/* ---------- Sumário selado (dentro do livro e na versão estática) ---------- */
.toc {
  position: absolute; inset: 7% 10% 6% 12%;
  display: flex; flex-direction: column;
  color: #1c1812;
  font-family: var(--font-display);
}
.toc__label {
  font-family: var(--font-body); font-weight: 600;
  font-size: calc(var(--bw) * 0.026); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-ink); text-align: center;
  padding-bottom: calc(var(--bw) * 0.02);
  border-bottom: 1px solid rgb(122 85 35 / 0.35);
}
.toc__title { font-weight: 600; font-size: calc(var(--bw) * 0.09); text-align: center; margin: calc(var(--bw) * 0.04) 0 calc(var(--bw) * 0.03); line-height: 1; }
.toc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.toc__row { display: flex; align-items: center; gap: calc(var(--bw) * 0.035); min-height: calc(var(--bw) * 0.07); }
.toc__row--open { justify-content: center; }
.toc__name { font-style: italic; font-weight: 500; font-size: calc(var(--bw) * 0.048); color: #3a3125; }
.toc__num { width: calc(var(--bw) * 0.07); font-weight: 600; font-size: calc(var(--bw) * 0.052); color: var(--gold-ink); font-variant-numeric: lining-nums tabular-nums; }
.toc__seal { position: relative; flex: 1; height: calc(var(--bw) * 0.024); display: block; }
.toc__seal::before { /* tarja selada no lugar do título */
  content: ""; position: absolute; inset: 0 calc(var(--bw) * 0.05) 0 0;
  border-radius: 1px;
  background: linear-gradient(100deg, #8a642d 0%, #c9a45c 30%, #e9cd88 46%, #c9a45c 62%, #8a642d 100%) 0 0 / 220% 100%;
  opacity: 0.45;
  transition: opacity 0.6s var(--ease-out);
}
.toc__seal i { /* lacre de cera */
  position: absolute; right: 0; top: 50%;
  width: calc(var(--bw) * 0.075); height: calc(var(--bw) * 0.075);
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #e9cd88, #b48d47 45%, #7a5523);
  box-shadow: 0 1px 2px rgb(60 40 10 / 0.45);
  opacity: 0.6;
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}
.toc__seal svg {
  position: absolute; right: calc(var(--bw) * 0.0255); top: 50%;
  width: calc(var(--bw) * 0.024); height: auto;
  transform: translateY(-50%);
  color: #3a2a12;
}
.toc__row.is-lit .toc__seal::before { opacity: 1; animation: seal-shine 2.4s var(--ease-out) both; }
.toc__row.is-lit .toc__seal i { opacity: 1; transform: translateY(-50%) scale(1.08); }
@keyframes seal-shine { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Capítulo: o livro se abre ---------- */
.chapter { position: relative; padding-block: var(--section-y); text-align: center; border-top: 1px solid var(--gold-line); }
.chapter__sticky { position: relative; }
.constellation { display: none; }
.spread {
  --bw: min(40vw, 280px); --bh: calc(var(--bw) * 1.4125);
  display: flex; justify-content: center;
  margin: 0 auto 2.5rem;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.7));
}
.spread__left, .spread__right { position: relative; width: var(--bw); height: var(--bh); }
.spread__left {
  background: radial-gradient(80% 60% at 50% 45%, #1a191c, #0b0b0d);
  box-shadow: inset 0 0 0 calc(var(--bw) * 0.035) #0b0b0d, inset 0 0 0 calc(var(--bw) * 0.035 + 1px) rgb(201 164 92 / 0.45);
  display: grid; place-items: center;
}
.spread__left svg { width: 22%; color: rgb(201 164 92 / 0.55); }
.spread__right { background: linear-gradient(90deg, #e6ddca, var(--paper) 12%, #f4eee3); }
.chapter__captions { display: grid; gap: 0.5rem; }
.chapter__line { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1rem + 2.2vw, 2.75rem); line-height: 1.3; color: var(--color-ivory); }
.chapter__note { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--ivory-faint); }

.has-motion .chapter { height: 440vh; padding: 0; border-top: 0; }
.has-motion .chapter__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.has-motion .spread { display: none; }
.has-motion .constellation {
  display: block; position: absolute; left: 50%; top: 44%;
  height: 82vh; width: auto; transform: translate(-50%, -50%);
  color: var(--color-gold); opacity: var(--cop, 0.6);
}
@media (min-width: 1024px) { .has-motion .constellation { left: 19%; height: 76vh; } }
.has-motion .constellation__lines path { stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); }
.has-motion .constellation__stars { opacity: var(--stars, 0); }
.has-motion .chapter__captions { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9vh; display: block; height: 4rem; }
.has-motion .chapter__line { position: absolute; inset: auto 0 0; opacity: 0; will-change: opacity, transform, filter; }
.has-motion .chapter__note { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 3vh; margin: 0; }
@media (max-width: 1023px) {
  .has-motion .chapter__captions { bottom: 21vh; }
  .has-motion .chapter__note { bottom: 13vh; }
}
@media (max-width: 599px) {
  .chapter__captions { padding-inline: 16px; }
  .spread .toc__label { display: none; }
  .chapter__note { margin-top: 2rem; padding-inline: 16px; }
  .no-motion .chapter, html:not(.js) .chapter { padding-bottom: calc(var(--section-y) + 1rem); }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); position: relative; border-top: 1px solid var(--gold-line); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 40rem; }
.section-head h2 { margin-bottom: 0; }
.section-head__lede, .section-head + .section-head__lede {
  margin-top: 1.25rem;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  color: var(--ivory-soft); line-height: 1.4; max-width: 44ch;
}
@media (min-width: 1024px) { .has-motion .wrap--lane { padding-right: calc(var(--lane) + var(--gutter)); } }
.lane-probe { position: absolute; top: 0; height: 1px; right: calc(max(0px, (100% - var(--content-max)) / 2) + var(--gutter)); width: var(--lane); visibility: hidden; pointer-events: none; }

.prose { display: grid; gap: 1.1rem; max-width: 60ch; color: var(--ivory-soft); }
.prose__pull { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); line-height: 1.35; color: var(--color-ivory); padding-block: 0.5rem; }
.prose--close { margin-top: 3rem; }
.closing { margin-top: clamp(2rem, 4vw, 3rem); font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.35; color: var(--color-gold-light); max-width: 40ch; }

/* Contraste */
.versus { display: grid; gap: 1rem; }
@media (min-width: 760px) { .versus { grid-template-columns: 1fr 1fr; } }
.versus__col { padding: clamp(1.5rem, 3vw, 2.25rem); }
.versus__col h3 { font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.75rem); margin-bottom: 1.25rem; }
.versus__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.versus__col li { position: relative; padding-left: 1.5rem; }
.versus__col li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; }
.versus__col--dim { color: var(--ivory-faint); border: 1px solid rgb(244 239 230 / 0.1); }
.versus__col--dim h3 { color: var(--ivory-faint); }
.versus__col--dim li::before { border: 1px solid rgb(244 239 230 / 0.35); }
.versus__col--lit { color: var(--color-ivory); border: 1px solid var(--gold-line-strong); background: linear-gradient(160deg, rgb(201 164 92 / 0.1), rgb(21 21 24 / 0.85) 45%); }
.versus__col--lit h3 { color: var(--color-gold-light); }
.versus__col--lit li::before { background: var(--color-gold-light); box-shadow: 0 1px 8px rgb(241 217 155 / 0.6); }

/* O ritual da noite */
.rite { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem) 2rem; }
@media (min-width: 600px) { .rite { grid-template-columns: 1fr 1fr; } }
.rite__icon { width: 44px; height: 44px; color: var(--color-gold); margin-bottom: 1rem; }
.rite__item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.rite__item p { color: var(--ivory-soft); max-width: 38ch; }

/* Pistas */
.clues { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.clue {
  --cut: 18px; position: relative;
  padding: 1.75rem 1.5rem 2rem; display: flex; flex-direction: column; isolation: isolate;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  background: var(--gold-line);
}
@media (min-width: 560px) { .clue { min-height: 17rem; } }
.clue::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; clip-path: inherit;
  background:
    linear-gradient(105deg, transparent 42%, rgb(241 217 155 / 0.09) 50%, transparent 58%) -120% 0 / 260% 100% no-repeat,
    radial-gradient(120% 80% at 50% 0%, #1c1b1f, var(--color-graphite) 60%);
}
.clue__num { position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.5rem; color: var(--color-gold); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; font-variant-numeric: lining-nums tabular-nums; }
.clue__num svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.clue__q { font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.55rem); line-height: 1.3; color: var(--color-ivory); margin-bottom: 1rem; }
.clue__a { margin-top: auto; color: var(--ivory-soft); font-size: 1rem; }

/* O que você recebe */
.receive { overflow: hidden; }
.receive__grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .receive__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; } }
.receive__figure { margin: 0; max-width: 420px; justify-self: center; width: 100%; }
.receive__frame { position: relative; overflow: hidden; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.9); }
.receive__frame img { width: 100%; }
.has-motion .receive__frame img { transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }
.receive__figure figcaption { margin-top: 1rem; font-size: 0.8125rem; color: var(--ivory-faint); }
.has-motion .reveal-wipe .receive__frame::after { content: ""; position: absolute; inset: 0; background: var(--color-onyx); transform-origin: top; transition: transform 1.7s var(--ease-out); }
.has-motion .reveal-wipe.is-in .receive__frame::after { transform: scaleY(0); }
.gets { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; }
.gets li { display: grid; grid-template-columns: 1rem 1fr; gap: 0.9rem; align-items: start; color: var(--ivory-soft); }
.gets svg { width: 14px; height: 14px; margin-top: 0.35em; color: var(--color-gold-light); }

/* Dentro */
.inside .wrap--narrow { text-align: left; }
.constel { position: absolute; width: clamp(110px, 14vw, 170px); color: var(--color-gold); opacity: 0.55; pointer-events: none; }
.constel path { fill: none; stroke: currentColor; stroke-width: 0.6; }
.constel g { fill: currentColor; }
.constel--a { top: 2.5rem; right: 6vw; }
.constel--b { top: 2.5rem; left: 5vw; }
.constel--c { top: 2.5rem; right: 8vw; }
.has-motion .constel path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease-out); }
.has-motion .constel g { opacity: 0; transition: opacity 1.4s var(--ease-out) 0.4s; }
.has-motion .constel.is-in path { stroke-dashoffset: 0; }
.has-motion .constel.is-in g { opacity: 1; }

/* Depoimentos */
.voices__grid { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 900px) { .voices__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.veil { margin: 0; border-top: 1px solid var(--gold-line); }
.veil > div { display: grid; grid-template-columns: 10rem 1fr; gap: 0.25rem 1.5rem; padding: 1.1rem 0; border-bottom: 1px solid var(--gold-line); }
.veil dt { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gold); padding-top: 0.2rem; }
.veil dd { margin: 0; color: var(--ivory-soft); }
@media (max-width: 520px) { .veil > div { grid-template-columns: 1fr; } }
.preview-tag { display: inline-block; margin: 0 0 1.5rem; padding: 0.35rem 0.75rem; border: 1px dashed var(--gold-line-strong); font-size: 0.8125rem; color: var(--color-gold-light); }
.letters { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin: 1rem 0 1.5rem; }
.voices__a:not([hidden]) { margin-bottom: clamp(4rem, 8vw, 6rem); }
.letter {
  position: relative; margin: 0; padding: 2rem 1.75rem 1.75rem;
  background: linear-gradient(170deg, #f4efe6, #e9e0cf);
  color: #1c1812;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9), inset 0 0 0 1px rgb(122 85 35 / 0.25), inset 0 0 0 6px #efe7d8, inset 0 0 0 7px rgb(122 85 35 / 0.3);
}
.letter__mark { font-family: var(--font-display); font-size: 3.5rem; line-height: 0.6; color: var(--gold-ink); display: block; height: 1.5rem; }
.letter__text { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; margin-bottom: 1.5rem; }
.letter__who { display: flex; align-items: center; gap: 0.85rem; }
.letter__mono, .letter__photo { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.letter__mono { display: grid; place-items: center; border: 1px solid var(--gold-ink); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--gold-ink); }
.letter__photo { object-fit: cover; }
.letter__name, .letter__meta { display: block; }
.letter__text { margin: 0 0 1.5rem; }
.letter__name { font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; }
.letter__meta { font-size: 0.8125rem; color: #4a4033; }
.letter__tag { position: absolute; top: 0.8rem; right: 0.9rem; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.fine { margin-top: 1.25rem; font-size: 0.875rem; color: var(--ivory-faint); max-width: 70ch; }

/* Para quem é */
.who__grid { display: grid; gap: 3rem clamp(2rem, 6vw, 6rem); }
@media (min-width: 900px) { .who__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.who__h { font-size: 1.5rem; color: var(--color-gold-light); margin-bottom: 1.25rem; }
.notfor { margin-top: 2rem; padding: 1.5rem 1.75rem; border: 1px solid rgb(244 239 230 / 0.18); }
.notfor h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.notfor p { color: var(--ivory-soft); }

/* Prints de leitores */
.prints__head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.prints__head .seal-tag { margin-inline: auto; }
.prints__head h2 { margin-top: 1rem; }
.prints__head .section-head__lede { margin-inline: auto; }
/* carrossel infinito: o trilho tem a lista duas vezes e anda até a metade */
.carrossel { --h: clamp(340px, 30vw, 440px); position: relative; overflow: hidden; padding-block: 1.5rem 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.carrossel::before, .carrossel::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line-strong) 30%, var(--color-gold-light) 50%, var(--gold-line-strong) 70%, transparent); opacity: 0.55; }
.carrossel::before { top: 0.4rem; }
.carrossel::after { bottom: 0.9rem; }
.carrossel__trilho { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; }
.has-motion .carrossel__trilho { animation: carrossel var(--dur, 72s) linear infinite; }
.has-motion .carrossel:hover .carrossel__trilho, .has-motion .carrossel:focus-within .carrossel__trilho, .has-motion .carrossel.is-paused .carrossel__trilho { animation-play-state: paused; }
@keyframes carrossel { to { transform: translate3d(-50%, 0, 0); } }
.no-motion .carrossel { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
.no-motion .print { scroll-snap-align: center; }
.no-motion .print[aria-hidden="true"] { display: none; }
@media (max-width: 640px) { .carrossel { --h: 320px; } }
.print { flex: none; height: var(--h); margin: 0; border: 1px solid var(--gold-line); border-radius: 12px; overflow: hidden; background: var(--color-graphite); box-shadow: 0 28px 50px -30px rgb(0 0 0 / 0.95); transition: border-color 0.4s, transform 0.5s var(--ease-out, ease); }
.print:hover { border-color: var(--color-gold-light); transform: translateY(-4px) scale(1.015); }
.print__btn { display: block; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.print__btn img { display: block; height: 100%; width: auto; max-width: none; }
.print--empty { display: grid; place-items: center; border-style: dashed; }
.print__empty { color: var(--ivory-faint); font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 1rem; text-align: center; }
.prints__fine { margin-inline: auto; text-align: center; }
.prints__zoom { padding: 0; border: 1px solid var(--gold-line-strong); border-radius: 10px; background: var(--color-onyx); max-width: min(92vw, 720px); max-height: 92vh; overflow: auto; }
.prints__zoom::backdrop { background: rgb(8 9 11 / 0.86); }
.prints__zoom img { display: block; width: 100%; height: auto; }
.prints__close { position: sticky; bottom: 0.75rem; display: block; margin: -3.5rem 0.75rem 0.75rem auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold-line-strong); background: rgb(8 9 11 / 0.85); color: var(--color-gold-light); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Oferta */
.offer { scroll-margin-top: 0; }
.offer__grid { display: grid; gap: 3rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .offer__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.offer__visual { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.offer__card {
  --cut: 26px; position: relative; padding: 1px;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  background: linear-gradient(160deg, var(--color-gold-light), var(--color-gold) 30%, #6b4a1c 70%, var(--color-gold));
}
.offer__surface {
  clip-path: inherit;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: radial-gradient(120% 70% at 50% 0%, #241f17, #121115 60%), #121115;
}
.offer__title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.2; margin-bottom: 2rem; }
.offer__h { font-size: 1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 1.1rem; }
.gets--recap { margin-bottom: 2.25rem; }
.price { padding: 1.75rem 0 1.25rem; border-top: 1px solid var(--gold-line); }
.price__regular { color: var(--ivory-faint); font-size: 1rem; }
.price__regular s { color: var(--ivory-soft); text-decoration-color: var(--color-gold); text-decoration-thickness: 2px; }
.price__label { margin-top: 0.5rem; font-size: 0.875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold); }
.price__now strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(4rem, 2.5rem + 6vw, 6.5rem); line-height: 1; color: var(--color-gold-light); font-variant-numeric: lining-nums; letter-spacing: -0.01em; }
.price__once { margin-top: 0.4rem; color: var(--ivory-soft); }
.anchor-lines { display: grid; gap: 0.4rem; padding: 1rem 0 1.5rem; color: var(--ivory-soft); border-bottom: 1px solid var(--gold-line); }
.offer__decide { margin: 1.75rem 0; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.35; color: var(--color-ivory); }
.buy .btn { width: 100%; }

/* Urgência */
.urgency__inner { text-align: center; }
.urgency__inner .prose { margin-inline: auto; text-align: center; }
.urgency__inner h2 { margin-inline: auto; }
.urgency .closing { margin-inline: auto; }
.seal-tag { display: inline-block; margin-bottom: 1.5rem; padding: 0.45rem 1rem; border: 1px solid var(--color-gold); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold-light); }
.urgency__lead { color: var(--ivory-soft); font-size: 1.15rem; }
.timer { position: relative; width: min(260px, 72vw); aspect-ratio: 1; margin: 2rem auto; display: grid; place-items: center; }
.timer__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.timer__track { fill: none; stroke: var(--gold-line); stroke-width: 1.5; }
.timer__arc { fill: none; stroke: var(--color-gold-light); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--used, 0); filter: drop-shadow(0 0 6px rgb(241 217 155 / 0.5)); }
.timer__digits { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(3.25rem, 2rem + 5vw, 4.75rem); line-height: 1; color: var(--color-gold-light); font-variant-numeric: lining-nums tabular-nums; }
.timer__sep { opacity: 0.7; padding-inline: 0.04em; }
.has-motion .timer.is-ticking .timer__sep { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.timer.is-long .timer__digits { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem); }
.timer.is-long .timer__unit { font-size: 0.625rem; letter-spacing: 0.12em; }
.offer-timer { text-align: center; margin: 2rem 0 1.5rem; padding: 1.5rem 1rem 1.25rem; border: 1px solid var(--gold-line); border-radius: 4px; }
.offer-timer .seal-tag { margin-inline: auto; }
.offer-timer__lead { color: var(--ivory-soft); font-size: 1.05rem; margin-top: 0.75rem; }
.offer-timer__after { color: var(--ivory-faint); font-size: 0.9rem; }
.timer--offer { width: min(200px, 60vw); margin: 1.25rem auto; }
.timer--offer .timer__digits { font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); }
.timer--offer .timer__unit { font-size: 0.625rem; letter-spacing: 0.1em; bottom: 24%; }
.urgency__clock { color: var(--color-gold-light); font-variant-numeric: tabular-nums; }
.timer__unit { position: absolute; bottom: 26%; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-faint); }

/* Perguntas */
.faq__grid { display: grid; gap: 2.5rem clamp(2rem, 6vw, 6rem); }
@media (min-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); } }
.faq__list { border-top: 1px solid var(--gold-line); }
.faq details { border-bottom: 1px solid var(--gold-line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 3.5rem; padding: 1.1rem 0.5rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem); line-height: 1.3;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1px solid var(--color-gold); border-bottom: 1px solid var(--color-gold); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--ease-out); }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq summary:hover { color: var(--color-gold-light); }
.faq details p { padding: 0 2rem 1.5rem 0.5rem; color: var(--ivory-soft); max-width: 62ch; }
.has-motion .faq details[open] p { animation: faq-in 0.5s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* Última chamada */
.last__inner { text-align: center; }
.last__inner .prose { margin-inline: auto; text-align: center; }
.last__inner h2 { margin-inline: auto; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--gold-line); padding-block: 3rem; background: var(--color-onyx); }
.site-footer__inner { display: grid; gap: 1.1rem; }
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__mark { width: 16px; height: 24px; color: var(--color-gold); flex: none; }
.site-footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.site-footer__note, .site-footer__seller { font-size: 0.875rem; color: var(--ivory-faint); max-width: 80ch; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.875rem; color: var(--ivory-soft); }

/* Barra de CTA no celular */
.mbar { display: none; }
@media (max-width: 759px) {
  html { scroll-padding-bottom: 5rem; }
  .mbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgb(8 9 11 / 0), rgb(8 9 11 / 0.92) 28%, var(--color-onyx) 60%);
    transform: translateY(110%); transition: transform 0.45s var(--ease-out);
  }
  .mbar.is-on { transform: none; }
  .mbar .btn { width: 100%; min-height: 50px; font-size: 0.875rem; }
  .site-footer { padding-bottom: 6rem; }
}

.preview-badge {
  position: fixed; left: 0.75rem; bottom: 0.75rem; z-index: 40;
  padding: 0.3rem 0.65rem; border: 1px solid var(--color-gold); background: var(--color-onyx);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold-light);
}
@media (max-width: 759px) { .preview-badge { bottom: auto; left: auto; right: 0.6rem; top: calc(var(--topbar-h) + 2.2rem); } }

/* ---------- Entradas (somente na versão animada) ---------- */
.has-motion [data-split] .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.04em 0.04em 0.14em; margin: -0.04em -0.04em -0.14em; }
.has-motion [data-split] .w__i {
  display: inline-block; transform: translate3d(0, 110%, 0) rotate(5deg); opacity: 0; filter: blur(10px);
  transition: transform 1.2s var(--ease-out), opacity 0.9s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 45ms + var(--d, 0ms));
}
.has-motion [data-split].is-in .w__i { transform: none; opacity: 1; filter: blur(0); }
.has-motion .reveal { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out), filter 0.9s var(--ease-out); transition-delay: var(--delay, 0ms); }
.has-motion .reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

.has-motion .clue { opacity: 0; transform: perspective(1100px) rotateY(-78deg) translate3d(0, 20px, -60px); transform-origin: left center; transition: transform 1.3s var(--ease-out), opacity 0.7s var(--ease-out); transition-delay: var(--delay, 0ms); }
.has-motion .clue.is-in { opacity: 1; transform: none; animation: card-edge 2.2s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.has-motion .clue.is-in::before { animation: card-sweep 2s var(--ease-out) both; animation-delay: calc(var(--delay, 0ms) + 300ms); }
.has-motion .clue.is-in .clue__num { animation: ignite 2s var(--ease-out) both; animation-delay: calc(var(--delay, 0ms) + 250ms); }
@keyframes card-edge { 0%, 20% { background: var(--gold-line); } 45% { background: rgb(241 217 155 / 0.75); } 100% { background: var(--gold-line); } }
@keyframes card-sweep { from { background-position: -120% 0, 0 0; } to { background-position: 220% 0, 0 0; } }
@keyframes ignite { 0% { color: #5e5034; filter: none; } 40% { color: var(--color-gold-light); filter: drop-shadow(0 0 10px rgb(241 217 155 / 0.75)); } 100% { color: var(--color-gold); filter: drop-shadow(0 0 0 transparent); } }

/* ---------- Telas estreitas ---------- */
@media (max-width: 599px) {
  .topbar__text { font-size: 0.75rem; letter-spacing: 0.03em; }
  .hero { padding-top: 2rem; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
