/* =============================================================
   v2.css — Redesign "O Playbook Aberto"
   Sistema completo e autocontido (não importa os CSS antigos).

   Voz: atlética, operacional, scoreboard. Archivo variável
   (wdth 62–125) faz display e corpo com uma família só.
   Vermelho FSS (#FE063B) em estratégia Committed: carrega
   seções inteiras (placar, CTA final), tinta PRETA sobre o
   vermelho para contraste AA real.
   ============================================================= */

/* -----------------------------------------------------------
   Tokens
   ----------------------------------------------------------- */
:root {
  /* Cor — base preta, vermelho de marca, derivados em color-mix */
  --bg:          oklch(0.145 0.006 20);            /* near-black quente  */
  --bg-raise:    oklch(0.19 0.009 20);
  --line:        oklch(1 0 0 / 0.12);
  --line-strong: oklch(1 0 0 / 0.24);
  --ink:         oklch(0.985 0 0);
  --ink-2:       oklch(0.985 0 0 / 0.78);
  --ink-3:       oklch(0.985 0 0 / 0.58);

  --red:         #FE063B;
  --red-hot:     color-mix(in oklch, #FE063B 86%, white);
  --red-deep:    color-mix(in oklch, #FE063B 72%, black);
  --red-tint:    color-mix(in oklch, #FE063B 14%, transparent);
  --on-red:      oklch(0.16 0.03 12);               /* tinta preta p/ fundos vermelhos */
  --on-red-soft: oklch(0.16 0.03 12 / 0.78);

  --err:         #FF5C7A;

  /* Tipografia — Archivo variável: largura é a voz */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --stretch-display: 116%;
  --stretch-mega:    125%;

  --fs-display: clamp(2.3rem, 4.6vw, 4.35rem);
  --fs-h2:      clamp(1.9rem, 4.2vw, 3.1rem);
  --fs-h3:      clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-body:    1.0625rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;

  /* Espaço */
  --section-y:  clamp(4.5rem, 10vw, 8.5rem);
  --container:  1180px;
  --pad:        clamp(1.25rem, 4.5vw, 3rem);

  /* Forma e movimento */
  --radius:     12px;
  --radius-lg:  18px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);   /* out-expo */
  --t-fast:     180ms;
  --t-base:     280ms;
  --t-slow:     650ms;

  /* Z-scale semântica */
  --z-header:   100;
  --z-floating: 200;
  --z-exit:     300;
  --z-modal:    400;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.exit-popup-open { overflow: hidden; }

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

h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong { color: var(--ink); font-weight: 700; }

a { color: var(--ink); }

button { font-family: inherit; }

::selection { background: var(--red); color: var(--on-red); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: calc(var(--z-modal) + 1);
  background: var(--red);
  color: var(--on-red);
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Scrollbar discreta */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: oklch(1 0 0 / 0.18); border-radius: 999px; }

/* -----------------------------------------------------------
   Tipografia de seção
   ----------------------------------------------------------- */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  font-stretch: var(--stretch-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-sub {
  margin-top: 1.25rem;
  max-width: 56ch;
  font-size: var(--fs-body);
  color: var(--ink-3);
}

/* -----------------------------------------------------------
   Botões
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-stretch: 106%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
  background: var(--red);
  color: var(--on-red);
  box-shadow: 0 8px 28px -8px color-mix(in oklch, var(--red) 65%, transparent);
}
.btn-primary:hover:not([disabled]) {
  background: var(--red-hot);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px color-mix(in oklch, var(--red) 80%, transparent);
}

.btn-inverse {
  background: var(--on-red);
  color: var(--ink);
}
.btn-inverse:hover {
  background: oklch(0.08 0.02 12);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px oklch(0 0 0 / 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--red);
}

.btn-sm { font-size: 0.8125rem; padding: 0.6rem 1.15rem; }
.btn-md { font-size: 0.9375rem; padding: 0.95rem 1.8rem; }
.btn-lg { font-size: 1.0625rem; padding: 1.15rem 2.3rem; }

/* -----------------------------------------------------------
   Header
   ----------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}

.site-header-logo img { width: 103px; height: 32px; }

.site-header-nav {
  display: flex;
  gap: 1.75rem;
  margin-inline: auto;
}
.site-header-nav a {
  color: var(--ink-3);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: color var(--t-fast) var(--ease);
}
.site-header-nav a:hover { color: var(--ink); }

@media (max-width: 800px) {
  .site-header-nav { display: none; }
  .site-header-inner { justify-content: space-between; }
}

/* -----------------------------------------------------------
   Hero
   ----------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(8rem, 16vh, 11rem);
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(56rem 38rem at 84% 8%, color-mix(in oklch, var(--red) 22%, transparent), transparent 64%),
    radial-gradient(40rem 30rem at 0% 100%, color-mix(in oklch, var(--red) 7%, transparent), transparent 60%),
    repeating-linear-gradient(90deg, oklch(1 0 0 / 0.025) 0 1px, transparent 1px 120px);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.hero-kicker {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid color-mix(in oklch, var(--red) 45%, transparent);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  margin: 0 0 1.5rem;
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 850;
  font-stretch: var(--stretch-display);
  line-height: 0.99;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  font-stretch: 84%;
}
.hero-line {
  display: block;
}
.hero-line > * { display: inline; }
.hero-line-red { color: var(--red); }

.hero-body {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--ink-2);
}

.hero-cta-row {
  margin-top: 2.1rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-cta-note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  max-width: 18ch;
  line-height: 1.4;
}

.hero-proof {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.2rem;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}
.hero-proof strong {
  font-weight: 800;
  font-stretch: 112%;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Mockup */
.hero-mockup {
  position: relative;
  justify-self: center;
  max-width: 420px;
  width: 100%;
}
.hero-mockup img {
  position: relative;
  filter: drop-shadow(0 40px 60px oklch(0 0 0 / 0.55));
}
.hero-mockup-glow {
  position: absolute;
  inset: 8% -6% -4% -6%;
  background: radial-gradient(closest-side, color-mix(in oklch, var(--red) 32%, transparent), transparent 72%);
  filter: blur(8px);
}
.hero-stamp {
  position: absolute;
  top: 4%;
  right: -2%;
  background: var(--red);
  color: var(--on-red);
  font-weight: 850;
  font-stretch: 120%;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  rotate: 7deg;
  box-shadow: 0 10px 30px -6px color-mix(in oklch, var(--red) 70%, transparent);
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { max-width: 300px; order: 2; }
  .hero-content { order: 1; }
}

/* Entrada do hero — roda no load, termina visível */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker,
  .hero-body,
  .hero-cta-row,
  .hero-proof {
    animation: hero-fade 0.9s var(--ease) both;
  }
  .hero-body    { animation-delay: 0.38s; }
  .hero-cta-row { animation-delay: 0.5s; }
  .hero-proof   { animation-delay: 0.62s; }

  .hero-line {
    animation: hero-line 0.85s var(--ease) both;
  }
  .hero-line:nth-child(1) { animation-delay: 0.05s; }
  .hero-line:nth-child(2) { animation-delay: 0.13s; }
  .hero-line:nth-child(3) { animation-delay: 0.21s; }
  .hero-line:nth-child(4) { animation-delay: 0.29s; }

  .hero-mockup {
    animation: hero-mockup 1.1s var(--ease) both;
    animation-delay: 0.35s;
  }
}

@keyframes hero-fade {
  from { opacity: 0; translate: 0 18px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes hero-line {
  from { opacity: 0; translate: 0 0.55em; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes hero-mockup {
  from { opacity: 0; translate: 0 34px; scale: 0.96; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}

/* Capas da Academy no hero — marquee decorativo */
.hero-covers {
  overflow: hidden;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.hero-covers-track {
  display: flex;
  width: max-content;
}
.hero-covers-set {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}
.hero-covers-set img {
  height: clamp(96px, 12vw, 150px);
  width: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-covers-track { animation: marquee-x 48s linear infinite; }
  .hero-covers { animation: hero-fade 0.9s var(--ease) both; animation-delay: 0.7s; }
}

@keyframes marquee-x {
  to { transform: translateX(-50%); }
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 0.85rem;
  background: oklch(1 0 0 / 0.02);
}
.ticker-track {
  display: flex;
  gap: 2.25rem;
  width: max-content;
  white-space: nowrap;
  font-size: var(--fs-xs);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ticker-track .tick { color: var(--red); }

@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: ticker 36s linear infinite; }
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* -----------------------------------------------------------
   Scoreboard — drench vermelho
   ----------------------------------------------------------- */
.scoreboard {
  background: var(--red);
  color: var(--on-red-soft);
}
.scoreboard-inner {
  padding-block: clamp(3rem, 6.5vw, 5rem);
}
.scoreboard-caption {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-red);
  margin-bottom: 2.2rem;
}
.scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: clamp(0.5rem, 1.5vw, 1.5rem);
}
.scoreboard-item {
  min-width: 0;
  padding-inline: clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid oklch(0.16 0.03 12 / 0.25);
}
.scoreboard-item:first-child { border-left: 0; padding-left: 0; }

.scoreboard-value {
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  font-weight: 900;
  font-stretch: var(--stretch-mega);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on-red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scoreboard-plus { color: oklch(1 0 0 / 0.9); }
.scoreboard-label {
  margin-top: 0.7rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  max-width: 24ch;
}

@media (max-width: 880px) {
  .scoreboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 0;
  }
  .scoreboard-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 460px) {
  .scoreboard-grid { grid-template-columns: 1fr; }
  .scoreboard-item { border-left: 0; padding-left: 0; border-top: 1px solid oklch(0.16 0.03 12 / 0.25); padding-top: 1.5rem; }
  .scoreboard-item:first-child { border-top: 0; padding-top: 0; }
}

/* -----------------------------------------------------------
   Índice — capítulos do playbook
   ----------------------------------------------------------- */
.indice { padding-block: var(--section-y); }

.indice-head { max-width: 760px; }

.indice-list {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.indice-row {
  display: grid;
  grid-template-columns: minmax(90px, 150px) 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(0.5rem, 1.5vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t-base) var(--ease);
}

.indice-num {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  font-stretch: var(--stretch-mega);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px oklch(1 0 0 / 0.32);
  font-variant-numeric: tabular-nums;
  transition: color var(--t-base) var(--ease), -webkit-text-stroke-color var(--t-base) var(--ease);
}

.indice-title {
  font-size: var(--fs-h3);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color var(--t-base) var(--ease);
}
.indice-desc {
  margin-top: 0.35rem;
  max-width: 62ch;
  font-size: var(--fs-sm);
  color: var(--ink-3);
  transition: color var(--t-base) var(--ease);
}

.indice-arrow {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  translate: 0 0;
  transition: translate var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

@media (hover: hover) {
  .indice-row:hover { background: var(--red); }
  .indice-row:hover .indice-num {
    color: var(--on-red);
    -webkit-text-stroke-color: transparent;
  }
  .indice-row:hover .indice-title { color: var(--on-red); }
  .indice-row:hover .indice-desc { color: var(--on-red-soft); }
  .indice-row:hover .indice-arrow { color: var(--on-red); translate: 8px 0; }
}

.indice-cta {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.indice-cta-note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  max-width: 34ch;
}

@media (max-width: 640px) {
  .indice-row { grid-template-columns: 64px 1fr; }
  .indice-arrow { display: none; }
  .indice-num { font-size: 2rem; -webkit-text-stroke-width: 1px; }
}

/* -----------------------------------------------------------
   Full Sales Flix — prateleira
   ----------------------------------------------------------- */
.flix {
  padding-block: var(--section-y);
  background:
    radial-gradient(50rem 28rem at 50% 0%, color-mix(in oklch, var(--red) 8%, transparent), transparent 65%),
    var(--bg-raise);
  border-block: 1px solid var(--line);
  overflow: clip;
}

.flix-head { max-width: 780px; }
.flix-wordmark { color: var(--red); }

.flix-shelf-wrap {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}

.flix-marquee {
  display: flex;
  width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .flix-marquee { animation: marquee-x 60s linear infinite; }
  .flix-shelf-wrap:hover .flix-marquee { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .flix-shelf-wrap { overflow-x: auto; }
}

.flix-shelf {
  list-style: none;
  margin: 0;
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: 1.5rem 0 2rem;
  padding-right: clamp(1rem, 2vw, 1.5rem);
}

.flix-item {
  flex: 0 0 auto;
  width: clamp(170px, 21vw, 240px);
}
.flix-item img {
  border-radius: var(--radius);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  transition:
    translate var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.flix-item:hover img {
  translate: 0 -10px;
  border-color: color-mix(in oklch, var(--red) 60%, transparent);
  box-shadow: 0 24px 48px -16px color-mix(in oklch, var(--red) 38%, transparent);
}
.flix-item-title {
  margin-top: 0.8rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-2);
}

.flix-cta { margin-top: 1rem; }

/* -----------------------------------------------------------
   Depoimentos
   ----------------------------------------------------------- */
.depo { padding-block: var(--section-y); }

.depo-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.depo-stars {
  color: var(--red);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  margin-bottom: 1.1rem;
}

.depo-content .btn { margin-top: 2rem; }

.depo-fan {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.depo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -20px oklch(0 0 0 / 0.7);
  background: var(--bg-raise);
  transition: translate var(--t-base) var(--ease), rotate var(--t-base) var(--ease), z-index 0s;
}
.depo-card:nth-child(1) { rotate: -4deg; translate: 14% 0; z-index: 1; }
.depo-card:nth-child(2) { rotate: 1.5deg; z-index: 2; scale: 1.06; }
.depo-card:nth-child(3) { rotate: 4.5deg; translate: -14% 0; z-index: 1; }

@media (hover: hover) {
  .depo-card:hover { rotate: 0deg; translate: 0 -8px; z-index: 3; }
}

@media (max-width: 880px) {
  .depo-grid { grid-template-columns: 1fr; }
  .depo-fan { max-width: 480px; margin-inline: auto; }
}

/* -----------------------------------------------------------
   Destaques — prova social em vídeo pós-hero
   (reusa .result-card/.result-body; a media é vídeo nativo
   com proporção própria, sem o aspect-ratio 4/5 dos cards
   da seção Resultados)
   ----------------------------------------------------------- */
.destaques { padding-block: var(--section-y); }

.destaques-head { max-width: 780px; }

.destaques-grid {
  margin-top: clamp(2rem, 4.5vw, 3.5rem);
  display: grid;
  gap: 1rem;
}
@media (min-width: 880px) {
  .destaques-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

/* .result-media.destaque-media: especificidade acima das regras
   base de .result-media (que vêm depois no arquivo) — sem isso o
   width/height 100% + aspect-ratio 4/5 delas venceriam. */
.result-media.destaque-media {
  aspect-ratio: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  background: oklch(0.1 0.005 20);
}
.result-media.destaque-media video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 440px;
  display: block;
  object-fit: contain;
}

/* -----------------------------------------------------------
   Resultados — depoimentos em vídeo e prints
   ----------------------------------------------------------- */
.results { padding-block: var(--section-y); }

.results-head { max-width: 780px; }

.results-track {
  margin-top: clamp(2rem, 4.5vw, 3.5rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76vw, 300px);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  /* sangra até a borda da tela no mobile: card cortado = affordance de scroll */
  margin-inline: calc(var(--pad) * -1);
  padding-inline: var(--pad);
  padding-bottom: 1rem;
}
.results-track > * { scroll-snap-align: start; }

@media (min-width: 880px) {
  .results-track {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
}

.result-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: oklch(1 0 0 / 0.025);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease);
}
.result-card:hover { border-color: color-mix(in oklch, var(--red) 50%, transparent); }

.result-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: oklch(0.1 0.005 20);
}
.result-media img,
.result-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* nos prints o número É a prova — nunca cortar */
.result-media-print img { object-fit: contain; }
.result-media video { object-fit: contain; background: #000; }

.result-play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.55), transparent 45%);
  color: var(--on-red);
  cursor: pointer;
}
.result-play svg {
  width: 64px;
  height: 64px;
  padding: 18px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 10px 30px -6px color-mix(in oklch, var(--red) 70%, transparent);
  transition: scale var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.result-play:hover svg { scale: 1.08; background: var(--red-hot); }

.result-body {
  padding: 1.1rem 1.2rem 1.25rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}
.result-headline {
  font-size: 1.0625rem;
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.25;
  color: var(--ink);
}
.result-meta { font-size: var(--fs-xs); color: var(--ink-3); }
.result-meta strong { color: var(--ink-2); font-weight: 700; }

.results-cta {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.results-cta-note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  max-width: 34ch;
}

/* -----------------------------------------------------------
   Sobre
   ----------------------------------------------------------- */
.sobre {
  padding-block: var(--section-y);
  background: var(--bg-raise);
  border-block: 1px solid var(--line);
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.sobre-photo { margin: 0; position: relative; }
.sobre-photo img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}
.sobre-photo::after {
  content: "";
  position: absolute;
  inset: -14px auto auto -14px;
  width: 64px;
  height: 64px;
  border-top: 3px solid var(--red);
  border-left: 3px solid var(--red);
  border-top-left-radius: var(--radius-lg);
  pointer-events: none;
}
.sobre-photo figcaption {
  margin-top: 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sobre-lead {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--ink);
  max-width: 46ch;
}
.sobre-content > p:not(.sobre-lead) {
  margin-top: 1.1rem;
  max-width: 62ch;
  color: var(--ink-2);
}
.sobre-content .btn { margin-top: 2rem; }

@media (max-width: 880px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { max-width: 440px; }
}

/* -----------------------------------------------------------
   VSL — metodologia em ação
   ----------------------------------------------------------- */
.vsl {
  padding-block: var(--section-y);
  background:
    radial-gradient(46rem 26rem at 50% 0%, color-mix(in oklch, var(--red) 8%, transparent), transparent 65%);
}

.vsl-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}
.vsl-head { max-width: 760px; }
.vsl-head .section-sub { margin-inline: auto; }

.vsl-player {
  width: min(760px, 100%);
  margin-top: clamp(2rem, 4.5vw, 3.25rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 30px 70px -24px oklch(0 0 0 / 0.8);
}
.vsl-player vturb-smartplayer { display: block; width: 100%; }
/* placeholder de altura enquanto o player não carrega (lazy);
   quando o custom element define, a proporção real assume */
.vsl-player vturb-smartplayer:not(:defined) { aspect-ratio: 16 / 9; }

.vsl-cta {
  margin-top: 2.2rem;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}
.vsl-cta-note {
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* -----------------------------------------------------------
   FAQ
   ----------------------------------------------------------- */
.faq { padding-block: var(--section-y); }

.faq-inner { max-width: 800px; }

.accordion {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  gap: 0.8rem;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(1 0 0 / 0.025);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.accordion-item[data-open="true"] {
  border-color: color-mix(in oklch, var(--red) 50%, transparent);
  background: oklch(1 0 0 / 0.045);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: left;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
}
.accordion-chevron {
  width: 20px; height: 20px;
  flex: none;
  color: var(--red);
  transition: rotate var(--t-base) var(--ease);
}
.accordion-item[data-open="true"] .accordion-chevron { rotate: 180deg; }

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.accordion-item[data-open="true"] .accordion-content { grid-template-rows: 1fr; }
.accordion-content-inner {
  overflow: hidden;
  min-height: 0;
}
.accordion-content-inner p {
  padding: 0 1.3rem 1.25rem;
  color: var(--ink-2);
  font-size: var(--fs-body);
  max-width: 68ch;
}

/* -----------------------------------------------------------
   CTA final — drench vermelho
   ----------------------------------------------------------- */
.cta-final {
  background: var(--red);
  color: var(--on-red);
}
.cta-final-inner {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-final-title {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 900;
  font-stretch: var(--stretch-mega);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--on-red);
}
.cta-final-note {
  margin-top: 1.1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--on-red-soft);
  max-width: 36ch;
}

@media (max-width: 880px) {
  .cta-final-inner { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.site-footer-inner {
  padding-block: 2.5rem;
  text-align: center;
  display: grid;
  gap: 0.4rem;
}
.site-footer-line {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.site-footer-legal a {
  color: var(--ink-3);
  text-underline-offset: 3px;
}
.site-footer-legal a:hover { color: var(--ink); }
.site-footer-legal span { margin-inline: 0.5rem; }

/* -----------------------------------------------------------
   Floating CTA
   ----------------------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: var(--z-floating);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: oklch(0.16 0.01 20 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.4rem;
  box-shadow: 0 18px 50px -12px oklch(0 0 0 / 0.8);
  transform: translate(-50%, 0);
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}
.floating-cta[aria-hidden="true"] {
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
}
body.modal-open .floating-cta,
body.exit-popup-open .floating-cta {
  transform: translate(-50%, 160%);
  opacity: 0;
  pointer-events: none;
}

.floating-cta-text {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--on-red);
  font-weight: 800;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.floating-cta-btn:hover { background: var(--red-hot); transform: translateY(-1px); }
.floating-cta-btn svg { width: 1em; height: 1em; }

/* Label curto/longo no botão (padrão da fixed bar do fap01): no
   mobile o "Baixar agora" quebrava em 2 linhas e a barra dobrava
   de altura — abaixo de 520px fica só "Baixar →". */
.floating-cta-btn { white-space: nowrap; }
.floating-cta-btn-short { display: none; }

@media (max-width: 520px) {
  .floating-cta { width: calc(100% - 2rem); justify-content: space-between; }
  .floating-cta-text { font-size: var(--fs-xs); }
  .floating-cta-btn-full { display: none; }
  .floating-cta-btn-short { display: inline; }
}

/* -----------------------------------------------------------
   Modal — formulário 4 passos
   ----------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: oklch(0 0 0 / 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility 0s linear var(--t-base);
}
.modal-backdrop[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t-base) var(--ease);
}

.modal {
  width: min(560px, 100%);
  max-height: min(86dvh, 760px);
  display: flex;
  flex-direction: column;
  background: oklch(0.17 0.008 20);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -20px oklch(0 0 0 / 0.85);
  overflow: hidden;
  translate: 0 24px;
  scale: 0.98;
  transition: translate var(--t-base) var(--ease), scale var(--t-base) var(--ease);
}
.modal-backdrop[data-open="true"] .modal { translate: 0 0; scale: 1; }

@media (max-width: 560px) {
  .modal-backdrop { padding: 0; align-items: flex-end; }
  .modal {
    width: 100%;
    max-height: 94dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    border-bottom: 0;
  }
}

.modal-header {
  flex: none;
  padding: 1rem 1.4rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.modal-header-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.2rem;
}
.modal-close {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.06);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.modal-close:hover { background: oklch(1 0 0 / 0.12); color: var(--ink); }
.modal-close svg { width: 18px; height: 18px; }

.modal-progress-bar {
  height: 4px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.1);
  overflow: hidden;
}
.modal-progress-bar-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--red);
  transition: width var(--t-slow) var(--ease);
}

.modal-tabs {
  display: grid;
  /* Colunas por auto-flow: divide igualmente entre as tabs visíveis
     (4 ou 5 — a tab Instagram só entra no fluxo com receita 50k+). */
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.4rem;
  margin-top: 0.9rem;
}
.modal-tab[hidden] { display: none; }
.modal-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-3);
}
.modal-tab-num {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: oklch(1 0 0 / 0.08);
  color: var(--ink-3);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.modal-tab[data-state="current"] { color: var(--ink); }
.modal-tab[data-state="current"] .modal-tab-num { background: var(--red); color: var(--on-red); }
.modal-tab[data-state="done"] .modal-tab-num { background: color-mix(in oklch, var(--red) 30%, transparent); color: var(--ink); }

@media (max-width: 480px) {
  .modal-tab-label { display: none; }
}

.modal-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

/* Steps */
.form { display: flex; flex-direction: column; min-height: 0; }

.form-step {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.4rem 1.4rem 1.2rem;
  overflow-y: auto;
}
.form-step[hidden] { display: none; }

.form-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 1.12;
}
.form-step-sub {
  margin-top: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

.form-cards {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.form-cards-grid { grid-template-columns: 1fr 1fr; }
.form-cards-stacked { grid-template-columns: 1fr; }

@media (max-width: 440px) {
  .form-cards-grid { grid-template-columns: 1fr; }
}

.form-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.form-card:hover { border-color: var(--line-strong); }
.form-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.form-card-radio {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: border-color var(--t-fast) var(--ease);
}
.form-card-radio::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--red);
  scale: 0;
  transition: scale var(--t-fast) var(--ease);
}
.form-card.is-checked {
  border-color: var(--red);
  background: var(--red-tint);
  color: var(--ink);
}
.form-card.is-checked .form-card-radio { border-color: var(--red); }
.form-card.is-checked .form-card-radio::after { scale: 1; }
.form-card:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.form-error {
  display: block;
  min-height: 1.1em;
  margin-top: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--err);
}
.form-error:empty { margin-top: 0; min-height: 0; }

.form-security {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.form-security svg { width: 14px; height: 14px; flex: none; color: var(--red); }

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  bottom: -1.2rem;
  margin: 1.2rem -1.4rem -1.2rem;
  padding: 0.9rem 1.4rem 1.2rem;
  background: linear-gradient(to top, oklch(0.17 0.008 20) 72%, transparent);
}
.form-actions .btn:only-child { margin-left: auto; }

/* Fix mobile "scroll cego": o .form-actions sticky vive DENTRO do
   container scrollável (.form-step) e, no estado inicial, cobre a
   última opção da lista — padding-bottom não resolve, porque sticky
   in-flow não muda a posição pinada inicial. Movemos o scroll pra
   lista e tiramos o CTA do fluxo scrollável: CONTINUAR fica sempre
   visível abaixo da lista, sem sobrepor nada.
   (Precisa vir DEPOIS das regras base de .form-step/.form-actions
   acima — mesma especificidade, a última vence.) */
@media (max-width: 560px) {
  .form-step { overflow-y: hidden; }
  .form-cards,
  .form-step-scroll {
    overflow-y: auto;
    min-height: 0;
    overscroll-behavior: contain;
    /* respiro no fim do scroller: a última opção ("Outro") nunca
       cola no corte da área visível */
    padding-bottom: 0.75rem;
  }
  .form-actions { position: static; margin-bottom: 0; }

  /* Affordance de scroll: fade sticky no fundo do scroller enquanto
     houver opções abaixo do corte (classe alternada em main.js —
     initModalScrollHint). Sem isso, o corte pode cair num gap entre
     cards e a lista parece ter acabado ("Outro" invisível). */
  .form-cards::after,
  .form-step-scroll::after {
    content: "";
    position: sticky;
    bottom: -0.75rem; /* compensa o padding-bottom do scroller */
    display: block;
    height: 48px;
    margin-top: -48px; /* overlay: não ocupa espaço no fluxo */
    background: linear-gradient(to top, oklch(0.17 0.008 20) 20%, transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--t-fast) var(--ease);
  }
  .form-cards.has-more-below::after,
  .form-step-scroll.has-more-below::after { opacity: 1; }
}

.form-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 0;
  color: var(--ink-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--t-fast) var(--ease);
}
.form-back-link:hover { color: var(--ink); }
.form-back-link svg { width: 16px; height: 16px; }

/* Step 4 */
.form-step-scroll { display: grid; gap: 0.9rem; margin-top: 1.1rem; }

.info-block {
  border: 1px solid color-mix(in oklch, var(--red) 38%, transparent);
  background: var(--red-tint);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.form-field { display: grid; gap: 0.4rem; }
.form-field label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}
.form-req { color: var(--red); }

.form-field input,
.whatsapp-input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: oklch(1 0 0 / 0.04);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.form-field input { padding: 0.8rem 1rem; }
.form-field input::placeholder { color: oklch(0.985 0 0 / 0.6); }
.form-field input:focus {
  outline: none;
  border-color: var(--red);
  background: oklch(1 0 0 / 0.06);
}
.form-field.has-error input { border-color: var(--err); }

.whatsapp-input {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.whatsapp-input input {
  border: 0;
  background: none;
  flex: 1;
}
.whatsapp-input input:focus { background: none; }
.whatsapp-input:focus-within { border-color: var(--red); background: oklch(1 0 0 / 0.06); }
.whatsapp-prefix {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.5rem 0 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
  margin-right: 0.25rem;
}
/* Modo internacional (primeiro caractere "+"): o form.js liga .is-intl e
   o prefixo fixo +55 some — o DDI passa a fazer parte do próprio campo. */
.whatsapp-input.is-intl .whatsapp-prefix { display: none; }

/* Dica abaixo do campo (ex.: "Fora do Brasil? Digite com +código do país") */
.form-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

/* Submit spinner */
.form-spinner {
  display: none;
  width: 1.1em; height: 1.1em;
  border: 2.5px solid color-mix(in oklch, var(--on-red) 35%, transparent);
  border-top-color: var(--on-red);
  border-radius: 999px;
}
[data-form-submit][aria-busy="true"] .form-spinner,
[data-form-submit-ig][aria-busy="true"] .form-spinner {
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
[data-form-submit][aria-busy="true"] .form-submit-arrow,
[data-form-submit-ig][aria-busy="true"] .form-submit-arrow { display: none; }
@keyframes spin { to { rotate: 360deg; } }

/* Success */
.form-success {
  align-items: center;
  text-align: center;
  padding-block: 2.5rem;
  gap: 0.4rem;
}
.form-success-message {
  margin-top: 0.6rem;
  color: var(--ink-2);
  max-width: 40ch;
}
.form-success .btn { margin-top: 1.6rem; }
.form-success-close {
  margin-top: 1rem;
  background: none;
  border: 0;
  color: var(--ink-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-success-close:hover { color: var(--ink); }

/* -----------------------------------------------------------
   Exit-intent popup
   ----------------------------------------------------------- */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: var(--z-exit);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: oklch(0 0 0 / 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
}
.exit-popup[hidden] { display: none; }
.exit-popup[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.exit-popup-panel {
  position: relative;
  width: min(480px, 100%);
  background: oklch(0.17 0.008 20);
  border: 1px solid color-mix(in oklch, var(--red) 45%, transparent);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px oklch(0 0 0 / 0.4),
    0 40px 90px -20px oklch(0 0 0 / 0.9),
    0 0 80px -30px color-mix(in oklch, var(--red) 55%, transparent);
  padding: 1.75rem;
  translate: 0 20px;
  scale: 0.97;
  transition: translate var(--t-base) var(--ease), scale var(--t-base) var(--ease);
}
.exit-popup[data-open="true"] .exit-popup-panel { translate: 0 0; scale: 1; }

.exit-popup-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.06);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease);
}
.exit-popup-close:hover { background: oklch(1 0 0 / 0.14); }
.exit-popup-close svg { width: 16px; height: 16px; }

.exit-popup-row {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.exit-popup-mockup {
  width: 128px;
  flex: none;
  filter: drop-shadow(0 16px 28px oklch(0 0 0 / 0.6));
}

.exit-popup-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.exit-popup-title {
  margin-top: 0.4rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  font-weight: 850;
  font-stretch: 112%;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.exit-popup-copy {
  margin-top: 0.7rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.exit-popup-cta {
  width: 100%;
  margin-top: 1.5rem;
}
.exit-popup-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.exit-popup-trust svg { width: 14px; height: 14px; color: var(--red); }

@media (max-width: 440px) {
  .exit-popup-row { flex-direction: column; text-align: center; }
  .exit-popup-mockup { width: 110px; }
}

/* -----------------------------------------------------------
   Scroll reveals (progressive enhancement)
   Conteúdo 100% visível sem JS; .js-motion só entra quando
   IO existe e reduced-motion está desligado.
   ----------------------------------------------------------- */
.js-motion [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.75s var(--ease), translate 0.75s var(--ease);
}
.js-motion [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
}

/* Stagger natural nas linhas do índice */
.js-motion .indice-row:nth-child(2).is-in { transition-delay: 0.06s; }
.js-motion .indice-row:nth-child(3).is-in { transition-delay: 0.12s; }
.js-motion .indice-row:nth-child(4).is-in { transition-delay: 0.18s; }
.js-motion .indice-row:nth-child(5).is-in { transition-delay: 0.24s; }

/* -----------------------------------------------------------
   Reduced motion — corta tudo
   ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none !important; }
}
