/* ============================================================
   Desarmando a armadilha do século — página de oferta
   Mundo: sistema de sinalização impressa, aceso num quarto escuro.
   Paleta fechada (disciplina doada pelo campo Game Boy).
   Sem gradiente, sem vidro, sem brilho, sem sombra decorativa.
   ============================================================ */

/* ---------- faces (servidas do próprio projeto) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("fonts/martian-mono.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- títulos ---------- */
:root {
  /* chão */
  --ink-0: #0B0D10;
  --ink-1: #101216;
  --ink-2: #171A20;
  --rule-dark: #262A32;
  --mut-dark: #9AA0AA;

  /* painéis de esmalte */
  --paper: #EFEEE9;
  --paper-2: #E4E2DB;
  --rule-paper: #C9C6BC;
  --ink-on-paper: #14171C;
  --mut-paper: #4A4F58;

  /* tinta de sinalização */
  --sig: #E2502A;        /* a linha do ciclo */
  --sig-deep: #A83318;   /* preenchimento interativo */
  --exit: #2E7D5C;       /* a linha de saída */
  --exit-soft: #4FA37C;  /* texto verde sobre escuro */
  --measure: #8A929E;

  /* ritmo */
  --step: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  --band: clamp(4rem, 3rem + 6vw, 8rem);
  --wrap: 1180px;
  --narrow: 760px;
  --r: 2px;

  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink-1);
  color: var(--paper);
  font-family: "Literata", Georgia, serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 640;
  line-height: 1.06;
  letter-spacing: -.032em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); letter-spacing: -.02em; line-height: 1.15; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

em { font-style: normal; color: var(--sig); }

a { color: inherit; }

strong { font-weight: 620; }

/* ---------- superfícies de navegador ---------- */
::selection { background: var(--sig); color: #fff; }
body { caret-color: var(--sig); }

:focus-visible {
  outline: 2px solid var(--sig);
  outline-offset: 3px;
  border-radius: 1px;
}

html {
  scrollbar-color: var(--rule-dark) var(--ink-0);
  scrollbar-width: thin;
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb {
  background: var(--rule-dark);
  border: 3px solid var(--ink-0);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: #39404B; }

/* ---------- utilitários ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.wrap.narrow { max-width: var(--narrow); }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  z-index: 100;
  background: var(--paper);
  color: var(--ink-on-paper);
  padding: .75rem 1.25rem;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  left: 1rem;
  top: 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ---------- botões e links ---------- */
.btn {
  --bg: var(--sig-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--bg);
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-weight: 620;
  font-size: 1rem;
  letter-spacing: -.01em;
  text-decoration: none;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { background: #B2371A; }
.btn:active { transform: translateY(1px); }
.btn--wide { width: 100%; }
.btn--sm { padding: .6rem 1rem; font-size: .9rem; }

.link {
  font-family: "Archivo", sans-serif;
  font-size: .95rem;
  font-weight: 520;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  text-decoration-color: var(--rule-dark);
  transition: text-decoration-color .18s var(--ease), color .18s var(--ease);
}
.link:hover { text-decoration-color: var(--sig); color: var(--sig); }

/* ---------- topo ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ink-0) 88%, transparent);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--rule-dark);
}
.top__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 66px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none;
  margin-inline-end: auto;
}
.mark__sig { width: 26px; height: 26px; flex: none; }
.mark__loop { fill: none; stroke: var(--sig); stroke-width: 2; }
.mark__out { fill: none; stroke: var(--exit-soft); stroke-width: 2; }
.mark__name {
  font-family: "Archivo", sans-serif;
  font-weight: 620;
  font-size: .82rem;
  letter-spacing: .005em;
  line-height: 1.15;
  max-width: 16ch;
}
.top__nav {
  display: flex;
  gap: clamp(.9rem, 2vw, 1.9rem);
  font-family: "Archivo", sans-serif;
  font-size: .9rem;
  font-weight: 500;
}
.top__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: var(--mut-dark);
  transition: color .18s var(--ease);
}
.top__nav a:hover { color: var(--paper); }
@media (max-width: 860px) { .top__nav { display: none; } }
@media (max-width: 520px) { .mark__name { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--ink-1);
  padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) var(--band);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  grid-template-areas:
    "head fig"
    "act  fig";
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.hero__head { grid-area: head; }
.hero__head h1 { max-width: 20ch; }
.hero__fig  { grid-area: fig; margin: 0; align-self: center; }
.hero__act  { grid-area: act; align-self: start; }

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "act" "fig";
    row-gap: clamp(1.75rem, 5vw, 2.5rem);
  }
  .hero__head h1 { max-width: none; }
  .hero__fig { align-self: start; }
}

.hero__sub {
  margin-top: clamp(1.25rem, 2vw, 1.9rem);
  max-width: 46ch;
  color: #C8CBD1;
  font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem);
  line-height: 1.6;
}
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
}
.hero__note {
  margin-top: 1.1rem;
  font-family: "Archivo", sans-serif;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--mut-dark);
  max-width: 40ch;
}

/* ---------- a linha ---------- */
.loop { width: 100%; height: auto; display: block; overflow: visible; }

.loop__track {
  fill: none;
  stroke: var(--sig);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.7s var(--ease) .25s forwards;
}
.loop__exit {
  fill: none;
  stroke: var(--exit);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw .9s var(--ease) 1.75s forwards;
}
.loop__arrow {
  fill: none;
  stroke: var(--exit);
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  opacity: 0;
  animation: appear .4s var(--ease) 2.5s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

.loop__stops .stop {
  fill: var(--ink-1);
  stroke: var(--sig);
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: stopIn .5s var(--ease) forwards;
  animation-delay: calc(.55s + var(--i) * .21s);
}
.loop__stops .stop--here {
  fill: var(--sig);
  stroke: var(--sig);
  stroke-width: 3;
}
@keyframes stopIn {
  from { opacity: 0; transform: scale(.4); }
  to   { opacity: 1; transform: scale(1); }
}

.loop__nums text {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 21px;
  font-weight: 500;
  fill: var(--measure);
  opacity: 0;
  animation: appear .45s var(--ease) forwards;
  animation-delay: calc(.7s + var(--i, 0) * .2s);
}
.loop__nums text:nth-child(1) { animation-delay: .75s; }
.loop__nums text:nth-child(2) { animation-delay: .96s; }
.loop__nums text:nth-child(3) { animation-delay: 1.17s; }
.loop__nums text:nth-child(4) { animation-delay: 1.38s; }
.loop__nums text:nth-child(5) { animation-delay: 1.59s; }
.loop__nums text:nth-child(6) { animation-delay: 1.80s; }

.loop__here {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .03em;
  fill: var(--sig);
  text-transform: uppercase;
  opacity: 0;
  animation: appear .5s var(--ease) 1.95s forwards;
}
.loop__exitlbl {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .03em;
  fill: var(--exit-soft);
  text-transform: uppercase;
  opacity: 0;
  animation: appear .5s var(--ease) 2.6s forwards;
}

.hero__fig figcaption {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-dark);
  font-family: "Archivo", sans-serif;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--mut-dark);
  max-width: 46ch;
}

/* ============================================================
   BANDAS
   ============================================================ */
.band {
  padding-block: var(--band);
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  background: var(--ink-1);
}
.band > .wrap { padding-inline: 0; }

.band--panel {
  position: relative;
  background: var(--paper);
  color: var(--ink-on-paper);
}
.band--panel h2 { color: var(--ink-on-paper); }
.band--panel .lede { color: var(--mut-paper); }
.band--panel .turn { color: var(--ink-on-paper); border-top-color: var(--rule-paper); }
.band--panel .turn strong { color: var(--sig-deep); }

/* grão de impressão sutil — honestidade material */
.band--panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
.band--panel > .wrap { position: relative; z-index: 1; }

.lede {
  margin-top: 1.15rem;
  max-width: 68ch;
  font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem);
  color: #B9BDC5;
}

.turn {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  max-width: 68ch;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem);
  color: #DDE0E5;
}
.turn strong { color: var(--sig); font-weight: 640; }

/* ---------- lista de estações ---------- */
.stops {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}
.stops__i {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  padding-block: clamp(1.4rem, 3vw, 2.2rem);
  border-bottom: 1px solid var(--rule-dark);
}
.stops__n {
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: calc(.95rem + var(--g) * .42rem);
  font-weight: 600;
  line-height: 1;
  padding-top: .3rem;
  color: var(--measure);
}
.stops__i[style*="--g:2"] .stops__n { color: #8C929C; }
.stops__i[style*="--g:3"] .stops__n { color: var(--sig); }
.stops__b h3 { color: var(--paper); }
.stops__b p {
  margin-top: .55rem;
  max-width: 62ch;
  color: #B9BDC5;
  font-size: 1rem;
}
.stops__i--here .stops__b h3 { color: var(--sig); }

/* ---------- mecanismo ---------- */
.mech {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.mech__i h3 { color: var(--ink-on-paper); }
.mech__i p {
  margin-top: .7rem;
  color: var(--mut-paper);
  font-size: 1rem;
  max-width: 40ch;
}

/* ---------- evidência ---------- */
.ev {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.ev__i { display: flex; flex-direction: column; }
.ev__num {
  font-family: "Archivo", sans-serif;
  font-weight: 680;
  font-size: clamp(3rem, 2rem + 4vw, 4.5rem);
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.ev__num span { font-size: .5em; letter-spacing: -.02em; color: var(--sig); }
.ev__txt {
  margin-top: 1.1rem;
  color: #B9BDC5;
  font-size: .98rem;
  max-width: 42ch;
}
.ev__src {
  margin-top: auto;
  padding-top: 1.25rem;
  font-family: "Martian Mono", ui-monospace, monospace;
  font-size: .8rem;
  line-height: 1.55;
  color: var(--measure);
}
.ev__src cite { font-style: italic; color: #8C929C; }

/* ---------- módulos ---------- */
.mods {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.75rem, 4vw, 3.25rem) clamp(2rem, 4vw, 3.5rem);
}
.mods__i h3 { color: var(--ink-on-paper); }
.mods__i p {
  margin-top: .6rem;
  color: var(--mut-paper);
  font-size: 1rem;
  max-width: 44ch;
}
.mods__m {
  width: 44px;
  height: 24px;
  display: block;
  margin-bottom: 1.1rem;
  fill: none;
  stroke: var(--sig-deep);
  stroke-width: 2;
  stroke-linecap: square;
}

/* ---------- anti-venda ---------- */
.nots {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 1.1rem;
}
.nots li {
  position: relative;
  padding-left: 2rem;
  max-width: 66ch;
  color: #C8CBD1;
  font-size: 1.02rem;
}
.nots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .85rem;
  height: 2px;
  background: var(--sig);
}

/* ============================================================
   OFERTA
   ============================================================ */
.band--offer {
  background: var(--ink-0);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .offer { grid-template-columns: minmax(0, 1fr); }
}

.gets {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  gap: .9rem;
}
.gets li {
  position: relative;
  padding-left: 1.85rem;
  max-width: 58ch;
  color: #DDE0E5;
}
.gets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .8rem;
  height: .8rem;
  border: 2px solid var(--exit);
  border-radius: 50%;
}

.fine {
  margin-top: clamp(2rem, 3vw, 2.75rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dark);
  max-width: 66ch;
  font-family: "Archivo", sans-serif;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--mut-dark);
}
.fine strong { color: #C8CBD1; }

.offer__r {
  position: sticky;
  top: 88px;
  background: var(--ink-2);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.offer__r h3 {
  font-size: .78rem;
  font-family: "Martian Mono", ui-monospace, monospace;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--measure);
}
.price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: .9;
  color: var(--paper);
}
.price__cur { font-size: 1.6rem; color: var(--mut-dark); }
.price__val { font-size: clamp(3.5rem, 2rem + 6vw, 5rem); }
.price__note {
  margin-top: .75rem;
  font-family: "Archivo", sans-serif;
  font-size: .84rem;
  color: var(--mut-dark);
}
.offer__r .btn { margin-top: 1.75rem; }

.assure {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule-dark);
  display: grid;
  gap: .7rem;
}
.assure li {
  position: relative;
  padding-left: 1.4rem;
  font-family: "Archivo", sans-serif;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--mut-dark);
}
.assure li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: .5rem;
  height: .5rem;
  background: var(--exit-soft);
  border-radius: 50%;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--rule-paper);
}
.faq details { border-bottom: 1px solid var(--rule-paper); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.015em;
  color: var(--ink-on-paper);
  transition: color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--sig-deep); }
.faq summary::after {
  content: "";
  position: absolute;
  right: .25rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--sig-deep);
  transform: translateY(-50%);
  transition: transform .25s var(--ease);
}
.faq summary::before {
  content: "";
  position: absolute;
  right: .25rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--sig-deep);
  transform: translateY(-50%) rotate(90deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::before { transform: translateY(-50%) rotate(0deg); }
.faq details p {
  padding-bottom: 1.5rem;
  max-width: 68ch;
  color: var(--mut-paper);
  font-size: 1rem;
}

/* ============================================================
   FECHO
   ============================================================ */
.close {
  padding-block: var(--band);
  background: var(--ink-1);
  text-align: center;
}
.close h2 { max-width: 24ch; margin-inline: auto; }
.close p {
  margin: 1.35rem auto 0;
  max-width: 52ch;
  color: #C8CBD1;
  font-size: clamp(1.02rem, 1rem + .25vw, 1.15rem);
}
.close .btn { margin-top: 2.25rem; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.foot {
  background: var(--ink-0);
  border-top: 1px solid var(--rule-dark);
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
}
.foot__in { display: grid; gap: 1.35rem; }
.foot__disc, .foot__meta {
  max-width: 74ch;
  font-family: "Archivo", sans-serif;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--measure);
}
.foot__help {
  max-width: 74ch;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--rule-dark);
  border-radius: var(--r);
  background: var(--ink-1);
  font-size: .9rem;
  line-height: 1.6;
  color: #C8CBD1;
}
.foot__help strong { color: var(--exit-soft); font-weight: 640; }

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .loop__track, .loop__exit { stroke-dashoffset: 0; }
  .loop__arrow, .loop__nums text, .loop__here, .loop__exitlbl,
  .loop__stops .stop { opacity: 1; }
}
