/* ============================================================
   PRAUS — Landing (skill-based matchmaking)
   Identidade: Brand System v0.1 · ref. estrutural: tipspace.gg
   Dark base · laranja-brasa com parcimônia · vídeo nítido (sem fosco)
   ============================================================ */

:root {
  /* Neutros (base do produto) */
  --bg:    #14110F;
  --bg-2:  #1B1714;
  --bg-3:  #221D19;
  --line:  #2A231E;
  --ink-3: #8A817A;
  --ink:   #F4EFEA;

  /* Laranja — a regra (brasa) */
  --orange:      #FF7A00;
  --orange-hot:  #FF9233;
  --orange-deep: #C95A00;

  /* Semânticos */
  --win:  #B8E04A;
  --loss: #E6322B;
  --info: #7CC9FF;

  /* Tipografia — 8 papéis */
  --f-hero: 'Bebas Neue', sans-serif;
  --f-num:    'Bebas Neue', sans-serif;
  --f-italic: 'Newsreader', Georgia, serif;
  --f-money:  'Space Grotesk', sans-serif;
  --f-mono:   'JetBrains Mono', monospace;
  --f-tag:    'JetBrains Mono', monospace;
  --f-ui:     'Inter Tight', sans-serif;
  --f-read:   'Manrope', sans-serif;

  --chamfer: 10px;
  --maxw: 1180px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-read);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--orange); color: #000; }

/* ---------- Barra de rolagem: só o polegar laranja, sem trilho ----------
   Os dois caminhos são exclusivos de propósito: o Chrome dá precedência a
   scrollbar-color sobre as regras ::-webkit-, e por aquele caminho não há
   como esconder as setas das pontas. Isolando cada motor, o Chrome/Safari
   usa ::-webkit- (controle total) e o Firefox usa a propriedade padrão. */
@supports not selector(::-webkit-scrollbar) {
  :root {
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
  }
}
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track,
  ::-webkit-scrollbar-corner { background: transparent; }
  ::-webkit-scrollbar-button { display: none; }   /* mata as setas das pontas */
  ::-webkit-scrollbar-thumb {
    background: var(--orange);
    /* borda transparente + clip no padding afina a barra sem pintar trilho */
    border: 3px solid transparent;
    background-clip: padding-box;
  }
  ::-webkit-scrollbar-thumb:hover { background: var(--orange-hot); }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: 760px; }
.section { padding-block: 84px; }
.section--alt { background: var(--bg-2); }
@media (min-width: 768px) { .section { padding-block: 124px; } }

/* ---------- Mono tag ---------- */
.mono-tag {
  font-family: var(--f-tag);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.kicker { display: inline-block; color: var(--orange); margin-bottom: 22px; }
.kicker::before {
  content: ""; display: inline-block; width: 22px; height: 1px;
  background: var(--orange); vertical-align: middle; margin-right: 10px;
  transform: translateY(-3px);
}

/* ---------- Editorial italic (tempero, só keywords) ---------- */
em {
  font-family: var(--f-italic);
  font-style: italic; font-weight: 400;
  text-transform: none; color: var(--orange);
  letter-spacing: -0.01em;
}

/* ---------- Wordmark (letreiro stencil + marca do cavalo) ---------- */
.wordmark {
  display: inline-flex; align-items: center; gap: 0.38em;
  font-size: 46px; line-height: 1; color: var(--ink);
}
.wordmark__mark { height: 1.45em; width: auto; flex: none; }
.wordmark__text {
  font-family: var(--f-hero); font-size: 1em;
  letter-spacing: 0.26em; text-transform: uppercase;
  /* o letter-spacing deixa um vão fantasma depois do "S"; cancelar faz o
     gap acima ser o espaçamento real entre o letreiro e a marca */
  margin-right: -0.26em;
}
.wordmark__full { height: 1.45em; width: auto; display: block; }
/* respiro vertical dá ao link da nav um alvo de toque confortável */
.nav .wordmark { padding-block: 8px; }
.wordmark--footer { font-size: 48px; }

/* ---------- Botões (chanfros, mono uppercase) ---------- */
.btn {
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-ui); font-size: 16px; font-weight: 650;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 26px; border: none; cursor: pointer; white-space: nowrap;
  border: none; 
  transition: background-color .15s ease, color .15s ease, transform .06s ease, box-shadow .15s ease;
}
.btn__arrow { display: inline-block; opacity: 0; max-width: 0; overflow: hidden; transform: translateX(-8px); transition: opacity .2s ease, max-width .2s ease, transform .2s ease; } .btn:hover .btn__arrow { opacity: 1; max-width: 20px; transform: translateX(4px); margin-left: 4px; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #000; }
.btn--primary:hover { background: var(--orange-hot); box-shadow: 0 0 28px rgba(255,122,0,.35); }
.btn--primary:active { background: var(--orange-deep); }
.btn--sm { font-size: 12px; padding: 11px 16px; --c: 7px; }

/* ---------- Card (chanfrado) ---------- */
.card {
  --c: var(--chamfer);
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c));
}
.section--alt .card { background: var(--bg); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: 64px;
  background: rgba(20,17,15,0); backdrop-filter: blur(0px);
  transition: background-color .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(20,17,15,.85); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 26px; height: 64px; }
.nav__menu { display: none; gap: 80px; margin-left: 55px; }
.nav__menu a {
  font-family: var(--f-money); font-size: 15px; color: var(--ink-3); font-weight: 600; 
  transition: color .15s ease;  
  position: relative;
}
.nav__menu a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: #EF8232; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; } .nav__menu a:hover::after { transform: scaleX(1); }
.nav__menu a:hover { color: var(--ink); }
.nav__cta { margin-left: auto; }
@media (min-width: 880px) { .nav__menu { display: flex; } }

/* ============================================================
   1. HERÓI — vídeo de fundo nítido
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: center; padding-block: 96px 110px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; background: #0d0b0a; }
.hero__vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* Crossfade entre o clipe horizontal (A) e o vertical da pessoa (B, sem JS) */
.hero__vid--a { animation: heroFade 18s infinite; }
.hero__vid--b { opacity: 0; object-position: center 32%; animation: heroFade 18s infinite -9s; }
@keyframes heroFade {
  0%, 38% { opacity: 1; }
  50%, 88% { opacity: 0; }
  100% { opacity: 1; }
}
/* Scrim leve — só o necessário para legibilidade, SEM aspecto fosco */
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,11,10,.55) 0%, rgba(13,11,10,.18) 26%, rgba(13,11,10,.12) 55%, rgba(13,11,10,.82) 100%),
    radial-gradient(120% 90% at 18% 60%, rgba(13,11,10,.55) 0%, transparent 60%);
}
.hero__inner { position: relative; z-index: 2; }

.hero__title {
  font-family: var(--f-hero); font-weight: 600; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.9;
  font-size: clamp(48px, 9.4vw, 116px); margin-bottom: 24px; max-width: 14ch;
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero__sub {
  font-family: var(--f-money); font-size: clamp(16px, 2.2vw, 20px); line-height: 1.55;
  color: #e7e0d8; max-width: 54ch; margin-bottom: 34px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}

.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--ink-3); animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,6px)} }

/* ---------- Waitlist ---------- */
.waitlist { max-width: 540px; }
.waitlist--center { margin-inline: auto; }
.waitlist__field { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 520px) { .waitlist__field { flex-direction: row; } }
.waitlist input[type="email"] {
  flex: 1; min-width: 0;
  font-family: var(--f-ui); font-size: 16px; color: var(--ink);
  background: rgba(34,29,25,.92); border: 1px solid var(--line); padding: 16px 18px;
  border-radius: 10px; }
.waitlist input::placeholder { color: var(--ink-3); }
.waitlist input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.waitlist input.invalid { border-color: var(--loss); box-shadow: 0 0 0 1px var(--loss); }
.waitlist__micro { font-family: var(--f-ui); font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.waitlist--center .waitlist__micro { text-align: center; }
.waitlist__success { font-family: var(--f-ui); font-size: 15px; font-weight: 600; color: var(--win); margin-top: 16px; }
.waitlist--center .waitlist__success { text-align: center; }
.waitlist__error { font-family: var(--f-ui); font-size: 14px; font-weight: 500; color: var(--loss); margin-top: 12px; }
.waitlist--center .waitlist__error { text-align: center; }
/* [hidden] do UA perde para o display:flex acima — sem isto o formulário
   continua na tela depois do envio, com a mensagem de sucesso ao lado. */
.waitlist__field[hidden] { display: none; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn[disabled]:hover { background: var(--orange); box-shadow: none; }

/* ---- Vagas esgotadas ---- */
/* Cinza inerte: sem laranja, sem brilho, sem reação ao hover. Vence os
   estados de :hover/[disabled] acima, por isso vem depois e repete o seletor. */
.btn--esgotado,
.btn--esgotado:hover,
.btn--esgotado:active,
.btn[disabled].btn--esgotado,
.btn[disabled].btn--esgotado:hover {
  background: #3A332D;
  color: #CFC7BF;          /* 7,4:1 sobre o cinza — continua legível */
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}
.waitlist input[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

/* ============================================================
   Cabeçalho de seção
   ============================================================ */
.section__head { margin-bottom: 48px; max-width: 760px; }
.section__title {
  font-family: var(--f-hero); font-weight: 400; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.2; font-size: clamp(34px, 6vw, 66px);
}
.section__lead {
  font-family: var(--f-read); font-size: 17px; line-height: 1.6;
  color: #cfc7bf; margin-top: 22px; max-width: 58ch;
}

/* ============================================================
   2. DIFERENCIAIS
   ============================================================ */
/* Bento: HUD grande à esquerda + cards limpos */
.feats { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .feats { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) {
  .feats { grid-template-columns: 1.18fr 1fr 1fr; grid-auto-rows: 1fr; }
  .feat--hud { grid-row: span 2; }
}

.feat {
  padding: 28px; display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-3px); border-color: rgba(255,122,0,.4); }
.feat__idx { color: var(--orange); display: block; margin-bottom: 16px; }
.feat__title {
  font-family: var(--f-money); font-weight: 600; font-size: 20px;
  letter-spacing: -0.01em; margin-bottom: 10px; color: var(--ink);
}
.feat__body { font-family: var(--f-read); font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }
.feat:not(.feat--hud) .feat__body { margin-top: auto; }

/* ---- Tile HUD ---- */
.feat--hud { padding: 0; overflow: hidden; }
.feat--hud:hover { box-shadow: 0 0 50px rgba(255,122,0,.12); }
.hud {
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 20px;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(255,122,0,.1), transparent 55%),
    linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border-bottom: 1px solid var(--line);
}
.hud__top { display: flex; align-items: center; justify-content: space-between; }
.hud__live { display: inline-flex; align-items: center; gap: 7px; color: var(--orange); }
.hud__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: pulse 1.6s infinite; }
.hud__id { color: var(--ink-3); }

.hud__timer { display: flex; flex-direction: column; gap: 2px; }
.hud__timer-num {
  font-family: var(--f-mono); font-weight: 700; font-size: clamp(48px,7vw,64px);
  color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .01em;
}
.hud__timer-label { color: var(--ink-3); }

.hud__line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hud__line-label { color: var(--ink-3); }
.hud__line-val { font-family: var(--f-money); font-weight: 600; font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.hud__pix { font-family: var(--f-mono); font-style: normal; font-size: 13px; color: var(--orange); letter-spacing: .04em; }
.hud__bar { height: 5px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.hud__bar span { display: block; height: 100%; width: 68%; background: linear-gradient(90deg, var(--orange-deep), var(--orange)); }
.hud__escrow { color: var(--ink-3); letter-spacing: .14em; }

.feat--hud .feat__foot { padding: 22px 26px 26px; }

/* ============================================================
   3. COMO FUNCIONA
   ============================================================ */
/* Stepper interativo com prévia da tela */
.flow { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .flow { grid-template-columns: 0.92fr 1.08fr; gap: 28px; } }

/* --- Passos (controles) --- */
.flow__steps { display: flex; flex-direction: column; gap: 12px; }
.flow__step {
  --c: 9px; position: relative; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  background: transparent; color: inherit; border: 1px solid var(--line);
  padding: 18px 20px 20px; overflow: hidden;
  clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c));
  transition: background-color .2s ease, border-color .2s ease, transform .1s ease;
}
.flow__step:hover { border-color: rgba(255,122,0,.4); }
.flow__step.is-active { background: var(--bg-3); border-color: rgba(255,122,0,.55); }
.flow__step-num {
  grid-row: span 2; font-family: var(--f-num); font-size: 40px; line-height: .9;
  color: var(--ink-3); letter-spacing: .02em; transition: color .2s ease;
}
.flow__step.is-active .flow__step-num { color: var(--orange); }
.flow__step-tt {
  display: block; font-family: var(--f-ui); font-weight: 600; font-size: 16.5px;
  color: var(--ink); line-height: 1.25;
}
.flow__step-desc {
  display: block; font-family: var(--f-read); font-size: 13.5px; color: var(--ink-3);
  line-height: 1.5; margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease, margin-top .3s ease;
}
.flow__step.is-active .flow__step-desc { max-height: 90px; opacity: 1; }
.flow__step-bar {
  grid-column: 1 / -1; height: 2px; margin-top: 14px; background: var(--line); display: block;
}
.flow__step-bar i { display: block; height: 100%; width: 0; background: var(--orange); }
.flow__step.is-active .flow__step-bar i { animation: stepFill var(--fill,4800ms) linear forwards; }
@keyframes stepFill { from { width: 0; } to { width: 100%; } }

/* --- Telas (prévia do produto) --- */
.flow__screens { position: relative; }
.screen {
  --c: 12px; background: linear-gradient(180deg, var(--bg-3), var(--bg)); border: 1px solid var(--line);
  overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,.35);
  border-radius: var(--c);
  animation: screenIn .4s ease;
}
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.screen[hidden] { display: none; }
.screen__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; background: rgba(13,11,10,.5); border-bottom: 1px solid var(--line);
  color: var(--ink-3); letter-spacing: .14em;
}
.screen__live, .screen__win { display: inline-flex; align-items: center; gap: 7px; color: var(--orange); }
.screen__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: pulse 1.6s infinite; }
.screen__win { color: var(--win); }
.screen__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 268px; }
.screen__body--center { align-items: center; justify-content: center; text-align: center; gap: 10px; }
.screen__label { color: var(--ink-3); }
.screen__money { font-family: var(--f-money); font-weight: 600; font-size: 24px; color: var(--orange); font-variant-numeric: tabular-nums; }
.screen__money--xl { font-size: clamp(40px,8vw,56px); line-height: 1; }
.screen__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 4px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  --c: 6px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .05em;
  color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); padding: 9px 14px; cursor: default;
  border-radius: var(--c);
}
.chip--on { background: var(--orange); color: #000; border-color: var(--orange); }
.screen__cta {
  --c: 8px; margin-top: auto; text-align: center; font-family: var(--f-mono); font-weight: 700;
  font-size: 14px; letter-spacing: .08em; color: #000; background: var(--orange); padding: 15px;
  border-radius: var(--c); } 

/* tela 2 — placar */
.screen__score { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 8px 0 4px; }
.screen__team { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.screen__team-tag { color: var(--ink-3); }
.screen__team-pts { font-family: var(--f-num); font-size: 64px; line-height: .9; color: var(--ink); font-variant-numeric: tabular-nums; }
.screen__score-x { font-family: var(--f-num); font-size: 40px; color: var(--ink-3); }
.screen__ref { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line); }
.screen__ref-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--win); box-shadow: 0 0 8px var(--win); flex: none; }
.screen__ref-txt { font-family: var(--f-read); font-size: 14px; color: var(--ink); }
.screen__timer { color: var(--ink-3); margin-top: auto; }
.screen__timer b { color: var(--ink); font-weight: 700; }

/* tela 3 — pago */
.screen__check {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 32px; color: #000; background: var(--win); margin-bottom: 4px;
  box-shadow: 0 0 30px rgba(184,224,74,.4);
}
.screen__win-tt { font-family: var(--f-hero); font-size: 28px; letter-spacing: .02em; color: var(--ink); }
.screen__pix { color: var(--win); letter-spacing: .14em; }
.screen__elo { color: var(--ink-3); }

/* ============================================================
   4. JOGOS
   ============================================================ */
.games { display: grid; gap: 16px; grid-template-columns: repeat(2,1fr); }
@media (min-width: 900px) { .games { grid-template-columns: repeat(4,1fr); } }
.game { padding: 0; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.game:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.game__cover { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--bg-3); }
.game__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.game:hover .game__cover img { transform: scale(1.05); }
.game__cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,11,10,.85) 100%);
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-tag); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 500; padding: 6px 10px; background: rgba(13,11,10,.7); border: 1px solid var(--line);
}
.badge--live { color: var(--orange); border-color: rgba(255,122,0,.45); }
.badge--live::before {
  content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
  box-shadow: 0 0 8px var(--orange); animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.badge--soon { color: var(--ink-3); }
.game__meta { padding: 16px 18px 20px; }
.game__name {
  font-family: var(--f-hero); font-weight: 400; font-size: clamp(18px,2.2vw,24px);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 7px;
}
.game__mode { color: var(--ink-3); }

/* Em breve — capa real, levemente esmaecida para os ATIVO se destacarem */
.game--soon .game__cover img { filter: saturate(.9) brightness(.86); }
.game--soon:hover .game__cover img { filter: saturate(1) brightness(.96); }
.game--soon .game__name { color: var(--ink-3); }

/* ============================================================
   4b. RANKING (leaderboard)
   ============================================================ */
/* #jogos e #ranking têm o mesmo fundo; a divisória faz a separação —
   mesmo recurso que .cta-final já usa. */
.section--edge { border-top: 1px solid var(--line); }

.rank {
  --c: 12px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg));
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,.35);
  clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c));
}
.rank__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 18px; background: rgba(13,11,10,.5);
  border-bottom: 1px solid var(--line); color: var(--ink-3); letter-spacing: .14em;
}

/* ---- Abas Jogadores / Times ---- */
.rank__tabs { display: flex; border-bottom: 1px solid var(--line); }
.rank__tab {
  flex: 1; position: relative; background: transparent; border: 0; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--ink-3); padding: 15px 12px;
  transition: color .15s ease, background-color .15s ease;
}
.rank__tab:hover { color: var(--ink); }
.rank__tab.is-active { color: var(--ink); background: rgba(255,122,0,.06); }
.rank__tab.is-active::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--orange);
}
/* [hidden] do UA perde para qualquer display de autor — declarar explicitamente */
.rank__panel[hidden] { display: none; }

/* ---- Tabela ---- */
.rank__table { width: 100%; border-collapse: collapse; }
.rank__cap {
  caption-side: bottom; text-align: left; color: var(--ink-3);
  padding: 13px 18px; border-top: 1px solid var(--line); letter-spacing: .1em;
}
.rank__table th {
  font-family: var(--f-tag); font-size: 10px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-3); text-align: left;
  padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.rank__table td { padding: 12px 18px; border-bottom: 1px solid rgba(42,35,30,.5); }
.rank__table tbody tr:last-child td { border-bottom: 0; }
.rank__table tbody tr { transition: background-color .15s ease; }
.rank__table tbody tr:hover { background: rgba(255,122,0,.05); }

.rank__pos {
  font-family: var(--f-num); font-size: 21px; color: var(--ink-3);
  width: 1%; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.rank__table tbody tr:nth-child(-n+3) .rank__pos { color: var(--orange); }
.rank__nick { font-family: var(--f-ui); font-weight: 600; font-size: 15px; color: var(--ink); }
.rank__tier {
  font-family: var(--f-tag); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap;
}
.rank__table th:last-child, .rank__elo { text-align: right; }
.rank__elo {
  font-family: var(--f-money); font-weight: 600; font-size: 16px;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---- Faixa "sua posição" ---- */
.rank__you {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 18px; border-top: 1px solid var(--line); background: rgba(13,11,10,.4);
}
.rank__you-txt { font-family: var(--f-read); font-size: 14px; color: var(--ink-3); }
@media (min-width: 620px) {
  .rank__you { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; }
}
/* telas estreitas: a patente sai para o ELO nunca ser espremido */
@media (max-width: 520px) {
  .rank__table th:nth-child(3), .rank__table td:nth-child(3) { display: none; }
  .rank__table th, .rank__table td, .rank__cap, .rank__bar { padding-inline: 13px; }
}

/* ============================================================
   5. LANCES (clipe)
   ============================================================ */
.clip { max-width: 960px; margin-inline: auto; }
.clip__frame {
  --c: 12px; position: relative; aspect-ratio: 16/9; background: #000;
  border: 1px solid var(--line); overflow: hidden;
  clip-path: polygon(var(--c) 0,100% 0,100% calc(100% - var(--c)),calc(100% - var(--c)) 100%,0 100%,0 var(--c));
  box-shadow: 0 0 60px rgba(255,122,0,.12);
}
.clip__frame iframe,
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.clip__video { object-fit: cover; background: #000; display: block; }
.clip__cap { margin-top: 14px; color: var(--ink-3); text-align: center; }

/* ============================================================
   6. PARCEIROS
   ============================================================ */
.partners { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .partners { grid-template-columns: repeat(3,1fr); } }
.partner {
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .2s ease;
}
.section--alt .partner { background: var(--bg); }
.partner:hover { border-color: rgba(255,122,0,.4); }
.partner__name { font-family: var(--f-money); font-weight: 600; font-size: 22px; color: var(--ink); }
.partner__role { font-family: var(--f-ui); font-size: 14px; color: var(--ink-3); }

/* ============================================================
   7. NÚMEROS
   ============================================================ */
.stats {
  display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .stats { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { background: var(--bg-2); padding: 34px 26px; display: flex; flex-direction: column; gap: 12px; }
.stat__num {
  font-family: var(--f-money); font-weight: 700; font-size: clamp(36px,5vw,52px);
  letter-spacing: -0.02em; color: var(--orange); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat__desc { font-family: var(--f-read); font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }

/* ============================================================
   8. FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq__item { background: var(--bg); }
.faq__q {
  font-family: var(--f-ui); font-weight: 600; font-size: 18px; padding: 22px 24px;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; transition: color .15s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; font-family: var(--f-mono); font-size: 22px; color: var(--orange);
  line-height: 1; transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--orange); }
.faq__a {
  font-family: var(--f-read); font-size: 15.5px; color: var(--ink-3);
  line-height: 1.65; padding: 0 24px 24px; max-width: 64ch;
}

/* ============================================================
   9. CTA FINAL
   ============================================================ */
.cta-final {
  position: relative; border-top: 1px solid var(--line);
  padding-block: 96px; overflow: hidden; text-align: center;
}
@media (min-width: 768px) { .cta-final { padding-block: 140px; } }
.cta-final__glow {
  position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 50% 120%, rgba(255,122,0,.18), transparent 65%);
  pointer-events: none;
}
.cta-final__inner { position: relative; }
.cta-final .kicker { color: var(--orange); }
.cta-final__title {
  font-family: var(--f-hero); font-weight: 400; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.2; font-size: clamp(44px,9vw,110px); margin-bottom: 24px;
}
.cta-final__sub { font-family: var(--f-read); font-size: 17px; color: #cfc7bf; max-width: 48ch; margin: 0 auto 38px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 56px; background: var(--bg); }

/* ---- CTA compacto no topo do rodapé ---- */
/* full-bleed como as outras divisórias da página (.footer, .cta-final) */
.footer__cta { border-bottom: 1px solid var(--line); padding-bottom: 30px; margin-bottom: 34px; }
.footer__cta-inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.footer__cta-txt {
  font-family: var(--f-ui); font-size: 16.5px; font-weight: 500;
  color: var(--ink); line-height: 1.4; max-width: 40ch;
}
@media (min-width: 620px) {
  .footer__cta-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; }
}

.footer__inner { display: flex; flex-direction: column; gap: 26px; }
.footer__brand { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer__tagline { color: var(--orange); letter-spacing: .16em; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__link {
  font-family: var(--f-ui); font-size: 14px; color: var(--ink-3);
  border-bottom: 1px solid transparent; transition: color .15s ease, border-color .15s ease;
}
.footer__link:hover { color: var(--ink); border-color: var(--orange); }
.footer__note { font-family: var(--f-read); font-size: 13px; color: var(--ink-3); max-width: 64ch; line-height: 1.5; }
.footer__copy { color: var(--ink-3); }
@media (min-width: 768px) {
  .footer__inner {
    display: grid; grid-template-columns: 1fr auto;
    grid-template-areas: "brand links" "note note" "copy copy";
    align-items: start; gap: 28px 40px;
  }
  .footer__brand { grid-area: brand; }
  .footer__links { grid-area: links; justify-content: flex-end; }
  .footer__note { grid-area: note; }
  .footer__copy { grid-area: copy; }
}

/* ============================================================
   Reveal on scroll (microinteração sutil)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-delay: .05s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__vid--b { opacity: 0; }
}
