/* Site do GoLive LAN — fundação do design "Sinal".
 *
 * Os tokens são os do preset "sinal" do app (golive/src/renderer/sinal/
 * tokens.css): tinta, giz, fio e o vermelho-sinal. Quem baixa o app reconhece
 * a casa na hora que abre.
 *
 * Regras que têm teste (css-rules.test.js, contrast.test.js):
 *
 *   1. --live significa UMA coisa: alguém está ao vivo. Só a logo
 *      (.logo-origem), as palavras "ao vivo" (.ao-vivo), o selo AO VIVO
 *      (.selo-vivo) e o nó de quem transmite (.no--vivo) podem usá-lo.
 *   2. Só transform e opacity são animados.
 *   3. Nenhuma cor literal fora de um bloco :root, em nenhum CSS do site.
 *      Cor nova vira token aqui primeiro.
 *   4. --tx3 nunca sobre --s3/--s4 (4,4:1).
 *
 * Este arquivo vale para todas as páginas. O CSS de cada página mora em
 * css/<pagina>.css e não redefine tokens.
 */

@font-face { font-family: 'Sora'; font-weight: 600; font-display: swap;
  src: url('assets/fonts/sora-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-weight: 700; font-display: swap;
  src: url('assets/fonts/sora-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400; font-display: swap;
  src: url('assets/fonts/atkinson-next-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 400; font-display: swap;
  src: url('assets/fonts/atkinson-next-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 700; font-display: swap;
  src: url('assets/fonts/atkinson-next-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Atkinson Hyperlegible Next'; font-weight: 700; font-display: swap;
  src: url('assets/fonts/atkinson-next-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist Mono'; font-weight: 500; font-display: swap;
  src: url('assets/fonts/geistmono-500-latin.woff2') format('woff2'); }

:root {
  color-scheme: dark;

  /* ---- Superfícies (escada de luminosidade, como no app) ---- */
  --void: #07070B;
  --bg: #0E0E14;
  --s1: #15151D;
  --s2: #1C1C26;
  --s3: #262632;
  --s4: #33333F;

  --line:  rgba(237, 237, 242, 0.09);
  --line2: rgba(237, 237, 242, 0.17);
  --line3: rgba(237, 237, 242, 0.28);

  /* ---- Texto. Medido sobre --s2 (o fundo mais claro com texto):
     tx 14.5, tx2 8.3, tx3 5.0. --tx3 não vai sobre --s3/--s4. ---- */
  --tx:  #EDEDF2;
  --tx2: #B4B4C3;
  --tx3: #8A8A9E;

  /* ---- Ação principal = giz com texto em tinta (16.5:1) ---- */
  --act:       #EDEDF2;
  --act-hover: #FFFFFF;
  --on-act:    #0E0E14;

  /* ---- Fio: a sua atenção (foco, seleção, links). 6.2:1 sobre --s2 ---- */
  --wire:      #8C92FF;
  --wire-soft: rgba(140, 146, 255, 0.14);
  --wire-line: rgba(140, 146, 255, 0.5);
  --on-wire:   #0E0E14;

  /* ---- Sinal: ao vivo, e só isso. Ver a regra 1 no topo ---- */
  --live:      #FF4D4F;
  --live-soft: rgba(255, 77, 79, 0.16);
  --on-live:   #0E0E14;

  --ok:     #43D98C;
  --warn:   #F5C04A;
  --warn-dim: rgba(245, 192, 74, 0.1);
  --danger: #FF8A3D;

  /* ---- Pessoas: a cor de cada um no rabisco e no cursor (como no app).
     Sempre como fundo de etiqueta com texto --on-act, nunca como texto. ---- */
  --pessoa-1: #F5C04A;
  --pessoa-2: #6CB6FF;
  --pessoa-3: #43D98C;

  /* ---- Cena de jogo dentro do palco do Início (ilustração, sem texto) ---- */
  --cena-ceu-1: #12132A;
  --cena-ceu-2: #2B2D5C;
  --cena-lua:   #C9CCFF;
  --cena-serra-1: #222446;
  --cena-serra-2: #17182E;
  --cena-chao:  #0C0C16;
  --cena-pedra: #34365F;

  /* ---- Véus (sobre palco/print) ---- */
  --scrim:  rgba(7, 7, 11, 0.72);
  --nav-bg: rgba(14, 14, 20, 0.94);
  --sombra: rgba(0, 0, 0, 0.5);

  /* ---- Tipografia ---- */
  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-texto: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, sans-serif;
  --f-dado: 'Geist Mono', 'Cascadia Mono', Consolas, monospace;

  --fs-display: clamp(2.75rem, 7.2vw, 6.75rem);
  --fs-h1:      clamp(2.5rem, 5.6vw, 5rem);
  --fs-h2:      clamp(2rem, 4.4vw, 3.75rem);
  --fs-h3:      clamp(1.25rem, 1.8vw, 1.5rem);
  --fs-lede:    clamp(1.125rem, 1.6vw, 1.375rem);
  --fs-texto:   1.0625rem;
  --fs-pequeno: 0.9375rem;
  --fs-dado:    0.8125rem;
  --fs-etiqueta: 0.75rem;

  /* ---- Espaço (4 px) ---- */
  --e-1: 4px;  --e-2: 8px;   --e-3: 12px;  --e-4: 16px;
  --e-5: 24px; --e-6: 32px;  --e-7: 48px;  --e-8: 64px;  --e-9: 96px;
  --respiro: clamp(72px, 10vw, 144px);

  --largura: 1360px;
  --calha: clamp(16px, 4vw, 56px);
  --largura-texto: 68ch;

  /* ---- Forma: círculo só em nó ---- */
  --r-video: 4px;
  --r-ctl: 6px;
  --r-cartao: 10px;
  --r-painel: 14px;
  --r-no: 999px;

  /* ---- Profundidade e camadas ---- */
  --elev: 0 24px 64px var(--sombra), 0 0 0 1px var(--line2);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--wire);

  --z-base: 0;
  --z-acima: 10;
  --z-nav: 40;
  --z-menu: 50;
  --z-pular: 90;

  /* ---- Movimento ---- */
  --dur-micro: 120ms;
  --dur-painel: 180ms;
  --dur-entrada: 240ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --altura-nav: 64px;
}

/* ===================================================================== */
/* Base                                                                   */
/* ===================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-nav) + var(--e-5));
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--f-texto);
  font-size: var(--fs-texto);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--e-4); }

ul, ol { margin: 0; padding: 0; }

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

strong { font-weight: 700; color: var(--tx); }

a {
  color: var(--wire);
  text-decoration: underline;
  text-decoration-color: var(--wire-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-color: var(--wire); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-ctl);
}

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

code, kbd, .dado {
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: 0.875em;
  letter-spacing: 0;
}
code {
  padding: 0.1em 0.4em;
  border-radius: var(--r-ctl);
  background: var(--s2);
  color: var(--tx);
}
kbd {
  display: inline-block;
  min-width: 1.9em;
  padding: 0.15em 0.5em;
  border: 1px solid var(--line2);
  border-bottom-width: 2px;
  border-radius: var(--r-ctl);
  background: var(--s2);
  color: var(--tx);
  text-align: center;
  line-height: 1.4;
}

[hidden] { display: none !important; }

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

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.pular {
  position: fixed;
  top: var(--e-3);
  left: var(--e-3);
  z-index: var(--z-pular);
  padding: var(--e-2) var(--e-4);
  border-radius: var(--r-ctl);
  background: var(--act);
  color: var(--on-act);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.pular:focus-visible { transform: none; }

.icone {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icone--p { width: 16px; height: 16px; }
.icone--g { width: 24px; height: 24px; }

/* ===================================================================== */
/* Estrutura                                                              */
/* ===================================================================== */

.pagina {
  width: 100%;
  max-width: calc(var(--largura) + 2 * var(--calha));
  margin-inline: auto;
  padding-inline: var(--calha);
}

.secao {
  padding-block: var(--respiro);
  border-top: 1px solid var(--line);
}
.secao--sem-borda { border-top: 0; }
.secao--colada { padding-top: 0; }

/*
 * Trilho: o esqueleto do site. Rótulo à esquerda (nó, índice, nome), fixo
 * enquanto a seção rola; conteúdo largo à direita. No celular o rótulo vira
 * uma linha acima do conteúdo.
 */
.trilho {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--e-6);
}

.trilho-rotulo {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: var(--fs-etiqueta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx2);
}
.trilho-indice { color: var(--tx3); }

.trilho-corpo { min-width: 0; }

@media (min-width: 1024px) {
  .trilho {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--e-5);
  }
  .trilho-rotulo {
    grid-column: 1 / span 3;
    align-self: start;
    position: sticky;
    top: calc(var(--altura-nav) + var(--e-6));
  }
  .trilho-corpo { grid-column: 4 / -1; }
}

/* Cabeçalho de seção dentro do corpo do trilho. */
.cabeca {
  display: grid;
  gap: var(--e-4);
  max-width: 40ch;
  margin-bottom: var(--e-7);
}
.cabeca--larga { max-width: 60ch; }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--tx2);
  max-width: 56ch;
}

.sem-quebra { white-space: nowrap; }

.texto-2 { color: var(--tx2); }
.texto-3 { color: var(--tx3); }

.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: var(--fs-etiqueta);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx2);
}

/* As palavras "ao vivo". Só no título, e só elas. */
.ao-vivo { color: var(--live); }

/* ===================================================================== */
/* Nós e fio — a geometria do ícone                                       */
/* ===================================================================== */

/* Anel = alguém na sala. */
.no {
  position: relative;
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  border: 2px solid var(--tx);
  border-radius: var(--r-no);
}
.no--p { width: 8px; height: 8px; border-width: 1.5px; }
.no--g { width: 20px; height: 20px; border-width: 2.5px; }

/* Disco de fio = você, selecionado, a seção atual. */
.no--cheio { background: var(--wire); border-color: var(--wire); }
.no--apagado { border-color: var(--line3); }

/* Disco vermelho = ao vivo. O anel respira (ver @keyframes respira). */
.no--vivo { background: var(--live); border-color: var(--live); }
.no--vivo::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-no);
  border: 2px solid var(--live);
  opacity: 0;
  animation: respira 2.4s var(--ease-out) infinite;
}

@keyframes respira {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Selo AO VIVO: tinta sobre vermelho (5.9:1). */
.selo-vivo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border-radius: var(--r-ctl);
  background: var(--live);
  color: var(--on-live);
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*
 * Fio: linha de 1-2 px que liga nós. Horizontal por padrão; .fio--v vertical.
 * Desenha-se (scale) quando a seção entra -- ver [data-revela] abaixo.
 */
.fio {
  display: block;
  height: 2px;
  background: var(--wire-line);
  transform-origin: left center;
}
.fio--v {
  width: 2px;
  height: auto;
  transform-origin: center top;
}

/* ===================================================================== */
/* Botões e links                                                         */
/* ===================================================================== */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--e-2);
  min-height: 44px;
  padding: 0 var(--e-5);
  border: 1px solid var(--line2);
  border-radius: var(--r-ctl);
  background: transparent;
  color: var(--tx);
  font-family: var(--f-texto);
  font-weight: 700;
  font-size: var(--fs-pequeno);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-micro) var(--ease-out);
}
.botao:hover { background: var(--s2); }
.botao:active { transform: translateY(1px); }
.botao:focus-visible { border-radius: var(--r-ctl); }

.botao--giz {
  border-color: var(--act);
  background: var(--act);
  color: var(--on-act);
}
.botao--giz:hover { border-color: var(--act-hover); background: var(--act-hover); }

.botao--grande { min-height: 56px; padding: 0 var(--e-6); font-size: var(--fs-texto); }
.botao--pequeno { min-height: 36px; padding: 0 var(--e-4); }

.botao--fantasma { border-color: transparent; color: var(--tx2); }
.botao--fantasma:hover { background: var(--s2); color: var(--tx); }

/* Link com seta: a ação secundária de uma seção. */
.link-seta {
  display: inline-flex;
  align-items: center;
  gap: var(--e-2);
  min-height: 44px;
  color: var(--tx);
  font-weight: 700;
  text-decoration: none;
}
.link-seta .icone {
  color: var(--wire);
  transition: transform var(--dur-micro) var(--ease-out);
}
.link-seta:hover .icone { transform: translateX(3px); }
.link-seta:hover { text-decoration: underline; text-decoration-color: var(--wire); }

/* Linha de ação: botão principal + metadado em mono. */
.acao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--e-3) var(--e-5);
}
.acao-meta {
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: var(--fs-dado);
  color: var(--tx3);
}

/* ===================================================================== */
/* Superfícies                                                            */
/* ===================================================================== */

.painel {
  border: 1px solid var(--line);
  border-radius: var(--r-painel);
  background: var(--s1);
}

.cartao {
  border: 1px solid var(--line);
  border-radius: var(--r-cartao);
  background: var(--s1);
  padding: var(--e-5);
}

/* O chão da Mesa: pontos a cada 24 px. Estático. */
.pontilhado {
  background-color: var(--void);
  background-image: radial-gradient(circle at 1px 1px, var(--line2) 1px, transparent 1.5px);
  background-size: 24px 24px;
}

/*
 * Janela: a moldura das janelas da Mesa (barra de 36 px com título em cima,
 * conteúdo embaixo). Serve para emoldurar prints e recriações do app.
 */
.janela {
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: var(--r-cartao);
  background: var(--s1);
}
.janela-barra {
  display: flex;
  align-items: center;
  gap: var(--e-2);
  height: 36px;
  padding: 0 var(--e-3);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 13px;
  color: var(--tx);
}
.janela-barra .no { margin-right: 2px; }
.janela-barra-fim { margin-left: auto; color: var(--tx3); font-family: var(--f-dado); font-weight: 500; font-size: 11px; }
.janela-corpo { background: var(--void); }
.janela-corpo img { width: 100%; }

/* Lista de ticks (texto com ✓ do sprite). */
.lista-ok { list-style: none; display: grid; gap: var(--e-3); }
.lista-ok li { display: grid; grid-template-columns: 20px 1fr; gap: var(--e-3); color: var(--tx2); }
.lista-ok .icone { margin-top: 3px; color: var(--ok); }

/* Aviso (atenção, nunca vermelho). */
.aviso {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--e-4);
  padding: var(--e-5);
  border: 1px solid var(--line);
  border-left: 3px solid var(--warn);
  border-radius: var(--r-cartao);
  background: var(--warn-dim);
  color: var(--tx2);
}
.aviso > .icone { color: var(--warn); }

/* Pergunta (details). */
.pergunta { border-bottom: 1px solid var(--line); }
.pergunta:first-child { border-top: 1px solid var(--line); }
.pergunta summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--e-4);
  min-height: 64px;
  padding: var(--e-4) 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary::after {
  content: '+';
  flex: none;
  font-family: var(--f-dado);
  font-size: 20px;
  color: var(--wire);
  transition: transform var(--dur-painel) var(--ease-out);
}
.pergunta[open] summary::after { transform: rotate(45deg); }
.pergunta-corpo { padding: 0 0 var(--e-5); max-width: var(--largura-texto); color: var(--tx2); }

/* Tabela de dados. */
.tabela { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tabela caption {
  padding-bottom: var(--e-4);
  text-align: left;
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: var(--fs-etiqueta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx3);
}
.tabela th, .tabela td {
  padding: var(--e-4) var(--e-3);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.tabela thead th {
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: var(--fs-etiqueta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx3);
}
.tabela tbody th { font-weight: 700; }
.tabela td { color: var(--tx2); }

/*
 * Controle segmentado (o seletor do app). Botões com aria-pressed; o
 * selecionado sobe uma superfície e ganha a marca de fio embaixo.
 */
.segmentado {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--r-cartao);
  background: var(--s1);
}
.segmentado button {
  position: relative;
  min-height: 40px;
  padding: 0 var(--e-4);
  border: 0;
  border-radius: var(--r-ctl);
  background: transparent;
  color: var(--tx2);
  font: 700 var(--fs-pequeno)/1 var(--f-texto);
  cursor: pointer;
}
.segmentado button:hover { color: var(--tx); background: var(--s2); }
.segmentado button[aria-pressed='true'],
.segmentado button[aria-selected='true'] {
  background: var(--s3);
  color: var(--tx);
}
.segmentado button[aria-pressed='true']::after,
.segmentado button[aria-selected='true']::after {
  content: '';
  position: absolute;
  left: var(--e-4);
  right: var(--e-4);
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--wire);
}

/* Passos ligados pelo fio. Vertical por padrão; .passos--h deita em telas largas. */
.passos {
  list-style: none;
  display: grid;
  gap: var(--e-6);
  counter-reset: passo;
}
.passo {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--e-4);
  counter-increment: passo;
}
.passo::before {
  content: counter(passo, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--wire);
  border-radius: var(--r-no);
  background: var(--bg);
  color: var(--tx);
  font: 500 13px/1 var(--f-dado);
}
.passo:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: calc(-1 * var(--e-6) + 4px);
  width: 2px;
  background: var(--wire-line);
}
.passo h3 { margin: 8px 0 var(--e-2); }
.passo p { color: var(--tx2); }

@media (min-width: 1024px) {
  .passos--h { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .passos--h .passo { grid-template-columns: 1fr; gap: var(--e-4); }
  .passos--h .passo:not(:last-child)::after {
    left: 48px;
    right: calc(-1 * var(--e-6) + 8px);
    top: 19px;
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .passos--h .passo h3 { margin-top: 0; min-height: 2.4em; display: flex; align-items: flex-end; }
}

/* ===================================================================== */
/* Navegação                                                              */
/* ===================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  border-bottom: 1px solid var(--line);
  background: var(--nav-bg);
}
.nav-caixa {
  display: flex;
  align-items: center;
  gap: var(--e-6);
  height: var(--altura-nav);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--tx);
  text-decoration: none;
}
.logo-marca { width: 28px; height: 28px; color: var(--tx); }
.logo-origem { color: var(--live); fill: var(--live); }
.logo-nome {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.logo-lan {
  margin-left: 6px;
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--tx3);
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--e-1);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--e-3);
  border-radius: var(--r-ctl);
  color: var(--tx2);
  font-weight: 700;
  font-size: var(--fs-pequeno);
  text-decoration: none;
}
.nav-link:hover { color: var(--tx); background: var(--s2); }
.nav-link[aria-current='page'] { color: var(--tx); }
.nav-link[aria-current='page']::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-right: var(--e-2);
  border-radius: var(--r-no);
  background: var(--wire);
}

.nav-acoes {
  display: flex;
  align-items: center;
  gap: var(--e-2);
  margin-left: auto;
}

.menu-movel { position: relative; }
.menu-movel summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line2);
  border-radius: var(--r-ctl);
  color: var(--tx);
  list-style: none;
  cursor: pointer;
}
.menu-movel summary::-webkit-details-marker { display: none; }
.menu-movel-painel {
  position: absolute;
  top: calc(100% + var(--e-2));
  right: 0;
  z-index: var(--z-menu);
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: var(--e-2);
  border-radius: var(--r-cartao);
  background: var(--s2);
  box-shadow: var(--elev);
  list-style: none;
}
.menu-movel-painel .nav-link { display: flex; min-height: 44px; }

/* Seletor de idioma: no topo a partir de 900px, no painel do menu abaixo disso. */
.idiomas { display: flex; gap: 2px; }
.idiomas a {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 40px;
  padding: 0 var(--e-2);
  border-radius: var(--r-ctl);
  color: var(--tx2);
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.idiomas a:hover { color: var(--tx); background: var(--s2); }
.idiomas a[aria-current='true'] { color: var(--tx); box-shadow: inset 0 -2px 0 var(--wire); }
.nav-acoes > .idiomas { display: none; }
.menu-movel-idiomas {
  margin-top: var(--e-1);
  padding-top: var(--e-2);
  border-top: 1px solid var(--line);
}
.menu-movel-idiomas .idiomas a { min-width: 44px; min-height: 44px; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-movel { display: none; }
  .nav-acoes > .idiomas { display: flex; }
}

/* ===================================================================== */
/* Rodapé                                                                 */
/* ===================================================================== */

.rodape {
  border-top: 1px solid var(--line);
  background: var(--s1);
  padding-top: var(--e-9);
}
.rodape-grade {
  display: grid;
  gap: var(--e-7) var(--e-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rodape-marca { grid-column: 1 / -1; display: grid; gap: var(--e-4); justify-items: start; max-width: 40ch; }
.rodape-nota { color: var(--tx2); font-size: var(--fs-pequeno); }
.rodape-titulo {
  margin-bottom: var(--e-4);
  font-family: var(--f-dado);
  font-weight: 500;
  font-size: var(--fs-etiqueta);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx3);
}
.rodape-links { list-style: none; display: grid; gap: var(--e-1); }
.rodape-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--tx2);
  font-size: var(--fs-pequeno);
  text-decoration: none;
}
.rodape-links a:hover { color: var(--tx); text-decoration: underline; text-decoration-color: var(--wire); }
.rodape-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--e-3);
  margin-top: var(--e-9);
  padding-block: var(--e-5);
  border-top: 1px solid var(--line);
}
.direitos { margin: 0; font-family: var(--f-dado); font-weight: 500; font-size: 12px; color: var(--tx3); }

@media (min-width: 900px) {
  .rodape-grade { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .rodape-marca { grid-column: 1 / span 4; }
  .rodape-grade > div:not(.rodape-marca) { grid-column: span 2; }
}

/* ===================================================================== */
/* Cabeçalho de página (todas menos o Início)                            */
/* ===================================================================== */

.topo {
  padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px);
}
.topo-grade { display: grid; gap: var(--e-6); }
.topo h1 { max-width: 14ch; }
.topo .lede { max-width: 52ch; }
.topo-rastro {
  display: flex;
  align-items: center;
  gap: var(--e-3);
  margin-bottom: var(--e-5);
}

/* ===================================================================== */
/* Entrada por rolagem                                                    */
/* ===================================================================== */

/*
 * Só esconde depois que o site.js provar que rodou (.js-ligado). Sem JS, ou
 * com JS quebrado, o conteúdo nasce visível.
 */
.js-ligado [data-revela] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur-entrada) var(--ease-out) var(--atraso, 0ms),
    transform var(--dur-entrada) var(--ease-out) var(--atraso, 0ms);
}
.js-ligado [data-revela].visivel { opacity: 1; transform: none; }

.js-ligado [data-revela] .fio { transform: scaleX(0); transition: transform 600ms var(--ease-out) calc(var(--atraso, 0ms) + 120ms); }
.js-ligado [data-revela] .fio--v { transform: scaleY(0); }
.js-ligado [data-revela].visivel .fio { transform: none; }

/* ===================================================================== */
/* Movimento: toque e preferência                                         */
/* ===================================================================== */

@media (hover: none), (pointer: coarse) {
  .no--vivo::after { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .no--vivo::after { animation: none; }
}
