/* Layout: palco 3D fixo em tela cheia com o painel da passada; depois, folhas de conteúdo que deslizam por cima do palco.
   Regras do método: nenhuma seção com 100vh, nenhum clamp() com vw, tamanhos explícitos por breakpoint. */
:root {
  --breu: #0a0d14;
  --hora: #18233a;
  --hora-2: #111a2c;
  --aco: #8b939e;
  --luz: #eef1f4;
  --luz-2: rgba(238, 241, 244, 0.72);
  --ambar: #ffb000;
  --terra: #9a4a2a;
  --tinta: #0a0d14;
  --tinta-2: #4a5160;
  --linha: rgba(238, 241, 244, 0.16);
  --linha-escura: rgba(10, 13, 20, 0.16);
  --hud-veil: rgba(10, 13, 20, 0.66);
  --f-titulo: 'Besley', 'Rockwell', Georgia, serif;
  --f-mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --f-placar: 'Doto', 'Martian Mono', monospace;
  --margem: 56px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--breu); }
body { margin: 0; background: var(--breu); color: var(--luz); font-family: var(--f-titulo); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
.mono { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; }
h1 b, h2 b { font-weight: 900; color: var(--ambar); display: block; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; background: var(--ambar); color: var(--tinta); padding: 18px 24px; border-radius: 3px; border: 0; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.btn:hover { background: #ffc233; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.lnk { font-family: var(--f-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 16px 4px; border-bottom: 1px solid var(--aco); }
.lnk:hover { border-bottom-color: var(--ambar); }

/* ---------- carregamento ---------- */
.loader { position: fixed; inset: 0; z-index: 50; background: var(--breu); display: grid; place-items: center; transition: opacity 0.8s ease, visibility 0.8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-in { display: grid; gap: 14px; justify-items: center; }
.loader-num { font-family: var(--f-placar); font-weight: 900; font-size: 64px; line-height: 1; color: var(--ambar); }
.loader-word { color: var(--aco); }

/* ---------- palco ---------- */
.stage { position: fixed; inset: 0; z-index: 0; background: var(--breu); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.9s ease; }
.gl-ok .stage canvas { opacity: 1; }
.ab { position: absolute; inset: 0; pointer-events: none; }
.ab-fundo { position: absolute; inset: 0; background: var(--breu); will-change: opacity; }
.ab-luz { position: absolute; left: 14%; top: -12%; width: 66%; height: 124%; filter: blur(80px) saturate(1.3); opacity: 0.32; will-change: opacity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, #000 62%); }
.ab-foto { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; overflow: hidden; will-change: clip-path, opacity, transform; background: var(--hora-2) center / cover no-repeat; --m: 0;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, var(--m)) 0%, #000 30%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, var(--m)) 0%, #000 30%); }
.ab-foto video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-sombra { position: absolute; inset: 0; opacity: calc(1 - var(--m)); background: linear-gradient(0deg, rgba(10, 13, 20, 0.55) 0%, rgba(10, 13, 20, 0) 26%), linear-gradient(180deg, rgba(10, 13, 20, 0.86) 0%, rgba(10, 13, 20, 0.5) 10%, rgba(10, 13, 20, 0) 24%); }
.reel { position: absolute; right: 28px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.reel-nome { font-size: 12.5px; font-weight: 600; letter-spacing: 0.2em; color: var(--luz); display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.reel-nome::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ambar); box-shadow: 0 0 12px var(--ambar); }
.reel-barras { display: flex; gap: 5px; }
.reel-barras i { display: block; width: 38px; height: 4px; background: rgba(238, 241, 244, 0.3); overflow: hidden; }
.reel-barras i b { display: block; height: 100%; background: var(--ambar); transform-origin: 0 50%; transform: scaleX(0); }
.lq { background-size: cover; background-position: center; }
.lq > img { opacity: 0; transition: opacity 0.8s ease; }
.lq > img.is-in { opacity: 1; }
.no-gl .stage canvas { display: none; }
.no-gl .track { height: 900px; }

/* ---------- navegação ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: calc(22px + env(safe-area-inset-top, 0px)) var(--margem) 22px; color: var(--luz); transition: color 0.5s ease, background 0.5s ease, padding 0.4s ease; }
.nav::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 130px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 13, 20, 0.6) 0%, rgba(10, 13, 20, 0) 100%); transition: opacity 0.4s; }
.nav.is-solid::before, .tone-light .nav::before { opacity: 0; }
.tone-light .nav { color: var(--tinta); }
.nav.is-solid { background: rgba(10, 13, 20, 0.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-top: calc(13px + env(safe-area-inset-top, 0px)); padding-bottom: 13px; border-bottom: 1px solid var(--linha); color: var(--luz); }
.tone-light .nav.is-solid { background: rgba(238, 241, 244, 0.8); border-bottom-color: var(--linha-escura); color: var(--tinta); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.brand img { width: 38px; height: 38px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }
.nav-links { display: flex; gap: 34px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links a { text-decoration: none; opacity: 0.82; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-dir { display: flex; align-items: center; gap: 12px; }
/* som: botão no menu e aviso de que o site tem som */
.som-caixa { position: relative; display: inline-flex; }
.som-caixa[hidden] { display: none; }
.som-dica { position: absolute; top: calc(100% + 11px); right: 0; white-space: nowrap; font-family: var(--f-mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tinta); background: var(--ambar); padding: 7px 10px; border-radius: 3px; pointer-events: none; transition: opacity 0.3s; }
.som-dica::before { content: ''; position: absolute; right: 15px; top: -4px; width: 9px; height: 9px; background: var(--ambar); transform: rotate(45deg); }
.som { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 3px; padding: 11px 14px; cursor: pointer; opacity: 0.88; transition: opacity 0.2s, color 0.2s; }
.som:hover { opacity: 1; }
.som svg { flex: none; }
.som .som-on { display: none; }
.som[aria-pressed="true"] { color: var(--ambar); opacity: 1; }
.som[aria-pressed="true"] .som-on { display: inline; }
.som[aria-pressed="true"] .som-off { display: none; }
.nav-cta { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; background: var(--ambar); color: var(--tinta); padding: 12px 18px; border-radius: 3px; }

/* ---------- HUD ---------- */
.hud { position: fixed; inset: 0; z-index: 3; pointer-events: none; color: var(--luz); transition: color 0.6s ease; }
.tone-light .hud { color: var(--tinta); }
.hero-copy { position: absolute; left: var(--margem); top: 50%; transform: translateY(-46%); width: 52%; color: var(--luz); will-change: opacity, transform; }
.hero-copy .eyebrow { color: var(--aco); margin-bottom: 30px; font-size: 13px; letter-spacing: 0.22em; }
.hero-copy h1 { font-weight: 400; font-size: 124px; line-height: 1; letter-spacing: -0.02em; }
.hero-copy .lead { margin-top: 36px; font-size: 24px; line-height: 1.5; max-width: 26em; color: #d5dae1; }
.hero-acoes { margin-top: 42px; display: flex; gap: 22px; align-items: center; pointer-events: auto; }
.hero-placar { margin-top: 46px; display: flex; align-items: flex-end; gap: 24px; color: var(--aco); }
.hero-placar .dig { font-family: var(--f-placar); font-weight: 900; font-size: 68px; line-height: 0.86; color: var(--ambar); text-shadow: 0 0 22px rgba(255, 176, 0, 0.5); }
.hero-placar .mono { line-height: 1.8; }

/* O HUD é uma faixa na base da tela, como o placar de uma transmissão: capítulo à esquerda, painel à direita.
   A pista fica livre em cima. O véu atrás da faixa tem a cor do céu, escurecida. */
.hud::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 400px; background: linear-gradient(0deg, var(--hud-veil) 0%, var(--hud-veil) 34%, transparent 100%); opacity: 0; transition: opacity 0.6s ease; }
.hud.is-pista::before { opacity: 1; }
.chapters { position: absolute; left: var(--margem); bottom: 74px; width: 600px; height: 250px; }
.chapter { position: absolute; left: 0; right: 0; bottom: 0; transform: translateY(18px); opacity: 0; visibility: hidden; transition: opacity 0.22s ease, transform 0.4s ease, visibility 0s linear 0.22s; }
.chapter.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s ease 0.22s, transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1) 0.22s, visibility 0s linear 0.22s; }
.chapter.is-past { transform: translateY(-18px); }
.chapter .mono { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.chapter .mono::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.chapter h2 { font-weight: 400; font-size: 46px; line-height: 1.04; letter-spacing: -0.02em; }
.tone-light .chapter h2 b { color: var(--terra); }
.tone-light .chapter .mono::before { background: var(--terra); }
.chapter p.txt { margin-top: 14px; font-size: 18px; max-width: 31em; opacity: 0.9; }
.chapter .btn { margin-top: 20px; pointer-events: auto; }

.painel { position: absolute; right: var(--margem); bottom: 74px; width: 770px; opacity: 0; transition: opacity 0.6s ease; font-family: var(--f-mono);
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: center;
  grid-template-areas: 'tit tit tit' 'tempo vez pass' 'tempo ordem luz' 'nota nota nota'; }
.painel.is-on { opacity: 1; }
.painel > .mono { grid-area: tit; opacity: 0.7; margin-bottom: 12px; }
.p-tempo { grid-area: tempo; display: flex; align-items: flex-end; gap: 8px; }
.p-tempo b { font-family: var(--f-placar); font-weight: 900; font-size: 66px; line-height: 0.84; color: var(--ambar); text-shadow: 0 0 20px rgba(255, 176, 0, 0.45); }
.tone-light .p-tempo b { color: var(--terra); text-shadow: none; }
.p-tempo span { font-size: 11px; letter-spacing: 0.12em; opacity: 0.7; padding-bottom: 3px; }
.p-linha { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; border-top: 1px solid currentColor; border-color: var(--linha); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.p-linha.l-vez { grid-area: vez; }
.p-linha.l-ordem { grid-area: ordem; }
.p-linha.l-pass { grid-area: pass; }
.p-linha.l-luz { grid-area: luz; }
.tone-light .p-linha { border-color: var(--linha-escura); }
.p-linha b { font-weight: 700; font-size: 13.5px; }
.p-linha b.vez { font-family: var(--f-placar); font-weight: 900; font-size: 28px; line-height: 0.8; color: var(--ambar); }
.tone-light .p-linha b.vez { color: var(--terra); }
.p-ordem { display: flex; gap: 3px; font-size: 13px; font-weight: 600; }
.p-ordem i { font-style: normal; width: 14px; text-align: center; opacity: 0.9; transition: opacity 0.3s, color 0.3s; }
.p-ordem i.foi { opacity: 0.32; }
.p-ordem i.vez { color: var(--ambar); opacity: 1; }
.tone-light .p-ordem i.vez { color: var(--terra); }
.p-barras { display: flex; gap: 3px; }
.p-barras i { width: 7px; height: 13px; background: currentColor; opacity: 0.2; transition: opacity 0.3s, background 0.3s; }
.p-barras i.on { background: var(--ambar); opacity: 1; }
.tone-light .p-barras i.on { background: var(--terra); }
.p-luzes { display: flex; gap: 7px; }
.p-luzes i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0.45; transition: all 0.3s; }
.p-luzes i.on { background: var(--luz); border-color: var(--luz); opacity: 1; box-shadow: 0 0 10px rgba(238, 241, 244, 0.8); }
.tone-light .p-luzes i.on { background: var(--tinta); border-color: var(--tinta); box-shadow: none; }
.p-nota { grid-area: nota; margin-top: 10px; font-size: 10px; letter-spacing: 0.06em; line-height: 1.6; opacity: 0.62; text-transform: none; }

.progress-meta { position: absolute; left: var(--margem); right: var(--margem); bottom: 28px; display: flex; justify-content: space-between; opacity: 0; transition: opacity 0.6s; }
.progress-meta.is-on { opacity: 0.66; }

.tags { position: absolute; inset: 0; }
.tag { position: absolute; left: 0; top: 0; width: 0; height: 0; white-space: nowrap; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.tag b { position: absolute; left: 0; top: 0; display: block; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--luz); background: rgba(10, 13, 20, 0.78); border: 1px solid rgba(238, 241, 244, 0.38); padding: 7px 10px; border-radius: 3px; transform: translate(-50%, calc(-100% - 22px)); }
.tag b small { display: block; margin-top: 3px; font-size: 10px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--luz-2); }
.tag::after { content: ''; position: absolute; left: 0; top: -22px; width: 1px; height: 22px; background: rgba(238, 241, 244, 0.6); }

/* ---------- trilha de rolagem ---------- */
.track { position: relative; height: 9200px; }

/* ---------- folhas ---------- */
.sheet { position: relative; z-index: 5; background: var(--breu); box-shadow: 0 -40px 90px rgba(0, 0, 0, 0.5); }
.wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--margem); }
.sec { padding-block: 140px; position: relative; }
.sec.clara { background: var(--luz); color: var(--tinta); }
.sec.azul { background: var(--hora-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: end; margin-bottom: 76px; }
.sec .mono.olho { margin-bottom: 24px; color: var(--aco); display: flex; align-items: center; gap: 10px; }
.sec .mono.olho::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.sec.clara .mono.olho { color: var(--tinta-2); }
.sec.clara .mono.olho::before { background: var(--terra); }
.sec h2 { font-weight: 400; font-size: 64px; line-height: 1.04; letter-spacing: -0.02em; }
.luiz-txt h2 { font-size: 52px; }
.sec.clara h2 b { color: var(--terra); }
.sec-head p.txt { font-size: 20px; color: var(--luz-2); max-width: 26em; }
.sec.clara .sec-head p.txt { color: var(--tinta-2); }

.shot { position: relative; overflow: hidden; background: var(--hora-2); will-change: clip-path; }
.shot img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.shot figcaption, .cred { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.shot figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--luz-2); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }

/* a regra */
.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--linha); }
.passos li { padding: 34px 28px 10px 0; border-right: 1px solid var(--linha); }
.passos li + li { padding-left: 28px; }
.passos li:last-child { border-right: 0; }
.passos .n { font-family: var(--f-placar); font-weight: 900; font-size: 56px; line-height: 0.9; color: var(--ambar); }
.passos h3 { font-weight: 700; font-size: 24px; line-height: 1.15; margin: 22px 0 12px; }
.passos p { font-size: 17px; color: var(--luz-2); }

/* o Luiz */
.luiz-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.luiz-foto { height: 720px; }
.luiz-foto img { object-position: 50% 30%; }
.luiz-txt p { font-size: 20px; margin-top: 22px; max-width: 27em; }
.luiz-txt p:first-of-type { margin-top: 40px; }
.fatos { margin-top: 40px; border-top: 1px solid var(--linha-escura); }
.fatos li { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid var(--linha-escura); display: flex; gap: 14px; }
.fatos li::before { content: ''; width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: var(--terra); flex: none; }
.fala { margin-top: 46px; padding-left: 26px; border-left: 3px solid var(--terra); }
.fala p { font-size: 26px; line-height: 1.34; font-style: italic; margin: 0; max-width: 21em; }
.fala cite { display: block; margin-top: 16px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; color: var(--tinta-2); }

/* o trabalho */
.etapas { display: grid; gap: 110px; }
.etapa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.etapa:nth-child(even) .etapa-midia { order: -1; }
.etapa .n { font-family: var(--f-placar); font-weight: 900; font-size: 64px; line-height: 0.9; color: var(--ambar); }
.etapa h3 { font-weight: 700; font-size: 40px; line-height: 1.08; margin: 20px 0 18px; letter-spacing: -0.01em; }
.etapa p { font-size: 20px; color: var(--luz-2); max-width: 24em; }
.etapa .lnk { display: inline-block; margin-top: 26px; }
.etapa-midia { display: flex; justify-content: center; }
.etapa-midia .shot { width: 100%; height: 470px; }
.etapa-midia .shot.em-pe { width: 400px; height: 500px; }
.janela { position: relative; width: 360px; height: 640px; overflow: hidden; border-radius: 10px; background: var(--hora-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--linha); }
.janela video { width: 100%; height: 100%; object-fit: cover; }
.janela figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; line-height: 1.55; color: var(--luz); background: linear-gradient(0deg, rgba(10, 13, 20, 0.86), rgba(10, 13, 20, 0)); }
.cita { margin-top: 96px; text-align: center; }
.cita p { font-size: 34px; line-height: 1.3; font-style: italic; max-width: 22em; margin-inline: auto; }
.cita cite { display: block; margin-top: 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; color: var(--aco); }

/* cavalos e grupo */
.cav-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.cav-txt .txt { font-size: 20px; margin-top: 26px; max-width: 24em; color: var(--tinta-2); }
.cav-tipos { margin-top: 40px; border-top: 1px solid var(--linha-escura); }
.cav-tipos li { display: grid; grid-template-columns: 170px minmax(0, 1fr); column-gap: 24px; row-gap: 6px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--linha-escura); }
.cav-tipos .lnk { grid-column: 2; justify-self: start; }
.cav-tipos h3 { font-weight: 900; font-size: 40px; line-height: 1; color: var(--terra); }
.cav-tipos p { font-size: 18px; }
.cav-nota { margin-top: 20px; font-size: 10.5px; color: var(--tinta-2); }
.cav-foto { height: 640px; }
.cav-foto img { object-position: 46% 56%; }
.grupo { margin-top: 96px; background: var(--breu); color: var(--luz); border-radius: 8px; padding: 48px 52px 40px; }
.grupo-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.grupo-olho { color: var(--aco); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.grupo-olho::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ambar); }
.grupo h3 { font-weight: 400; font-size: 48px; line-height: 1.04; letter-spacing: -0.02em; }
.grupo h3 b { font-weight: 900; color: var(--ambar); display: block; }
.grupo .btn { flex: none; }
.grupo-linhas { margin-top: 36px; border-top: 1px solid var(--linha); }
.grupo-linhas li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--linha); align-items: baseline; }
.grupo-linhas span { font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ambar); }
.grupo-linhas p { font-size: 18px; color: var(--luz-2); }
.grupo-nota { margin-top: 20px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em; line-height: 1.6; color: var(--aco); max-width: 48em; }
.contato-grupo { margin-top: 14px; }

/* faixa de vídeo */
.faixa { background: #05070b; padding-block: 120px; overflow: hidden; }
.faixa-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.faixa h2 { font-size: 104px; line-height: 0.98; }
.faixa p.txt { margin-top: 30px; font-size: 21px; color: var(--luz-2); max-width: 22em; }
.faixa .janela { width: 400px; height: 711px; margin-inline: auto; }

/* jogo */
.jogo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: stretch; }
.j-pista { position: relative; height: 430px; border-radius: 8px; background: radial-gradient(120% 140% at 50% 50%, #a7684a 0%, #8a4f35 70%, #6f3d29 100%); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 70px rgba(0, 0, 0, 0.45); touch-action: manipulation; }
.j-curral { position: absolute; border: 3px solid rgba(238, 241, 244, 0.86); border-radius: 50%; box-shadow: inset 0 0 60px rgba(60, 28, 16, 0.5); }
.j-rot { position: absolute; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(238, 241, 244, 0.82); }
.j-porteira { position: absolute; background: #9b5b40; }
.j-boi { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 3px solid var(--luz); background: rgba(10, 13, 20, 0.62); color: var(--luz); font-family: var(--f-mono); font-weight: 700; font-size: 18px; display: grid; place-items: center; cursor: pointer; padding: 0; transition: left 0.5s cubic-bezier(0.3, 0.7, 0.2, 1), top 0.5s cubic-bezier(0.3, 0.7, 0.2, 1), border-color 0.25s, background 0.25s, opacity 0.3s; -webkit-tap-highlight-color: transparent; }
.j-boi.sem { border-style: dashed; opacity: 0.75; }
.j-boi.passou { border-color: var(--ambar); background: rgba(255, 176, 0, 0.2); cursor: default; }
.j-boi.erro { border-color: #ff5a4a; background: rgba(255, 90, 74, 0.3); }
.j-boi:disabled { cursor: default; }
.j-lado { display: flex; flex-direction: column; gap: 18px; font-family: var(--f-mono); }
.j-caixa { border: 1px solid var(--linha); border-radius: 6px; padding: 20px 22px; overflow: hidden; }
.j-caixa .mono { opacity: 0.7; }
.j-chamado { font-family: var(--f-placar); font-weight: 900; font-size: 92px; line-height: 0.86; color: var(--ambar); margin-top: 12px; min-height: 80px; }
.j-tempo { font-family: var(--f-placar); font-weight: 900; font-size: 60px; line-height: 0.86; margin-top: 12px; }
.j-msg { font-family: var(--f-titulo); font-size: 19px; line-height: 1.45; min-height: 84px; }
.j-msg b { color: var(--ambar); font-weight: 700; }
.j-lado .btn { justify-content: center; }
.j-lado .btn[hidden] { display: none; }
.j-aviso { font-size: 11px; letter-spacing: 0.04em; line-height: 1.6; color: var(--aco); }

/* placares */
.plac-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.plac { border-top: 1px solid var(--linha); }
.plac li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--linha); align-items: baseline; }
.plac .ano { font-family: var(--f-placar); font-weight: 900; font-size: 30px; line-height: 0.9; color: var(--ambar); }
.plac h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
.plac p { font-size: 16.5px; color: var(--luz-2); margin-top: 6px; }
.plac p b { font-family: var(--f-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--luz); }
.plac-nota { margin-top: 22px; color: var(--aco); font-size: 10.5px; }
.plac-foto { height: 420px; position: sticky; top: 110px; }

/* cursos */
.cursos { border-top: 1px solid var(--linha-escura); }
.cursos li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 260px; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--linha-escura); align-items: baseline; }
.cursos .q { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tinta-2); }
.cursos h3 { font-weight: 700; font-size: 26px; line-height: 1.2; }
.cursos .o { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; text-align: right; }
.cursos-pe { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cursos-pe p { font-size: 20px; max-width: 28em; color: var(--tinta-2); }
.sec.clara .lnk { border-bottom-color: var(--tinta-2); }

/* contato */
.contato-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.contato h2 { font-size: 88px; }
.contato p.txt { margin-top: 28px; font-size: 21px; color: var(--luz-2); max-width: 23em; }
.chips { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--luz); background: transparent; border: 1px solid var(--linha); border-radius: 999px; padding: 12px 16px; cursor: pointer; transition: all 0.2s; }
.chips button[aria-pressed='true'] { background: var(--luz); color: var(--tinta); border-color: var(--luz); }
.contato .btn { margin-top: 30px; font-size: 15px; padding: 22px 30px; }
.contato-dados { margin-top: 30px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; line-height: 2; }
.contato-dados a { text-decoration: none; border-bottom: 1px solid var(--linha); }
.contato-nota { margin-top: 20px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--aco); max-width: 34em; line-height: 1.6; }
.contato-foto { height: 640px; width: 480px; margin-left: auto; }

/* rodapé */
.foot { border-top: 1px solid var(--linha); padding-block: 54px 64px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.foot .brand img { width: 54px; height: 54px; }
.foot-txt { margin-top: 18px; color: var(--luz-2); font-size: 16px; max-width: 22em; }
.foot-cred { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; line-height: 1.9; color: var(--aco); }
.foot-cred p + p { margin-top: 10px; }

/* ---------- telas médias ---------- */
@media (max-width: 1700px) {
  .hero-copy h1 { font-size: 104px; }
}
@media (max-width: 1440px) {
  .hero-copy h1 { font-size: 90px; }
  .hero-copy .lead { font-size: 21px; margin-top: 28px; }
  .hero-acoes { margin-top: 32px; }
  .hero-placar { margin-top: 34px; }
  .hero-placar .dig { font-size: 56px; }
}
@media (max-width: 1500px) {
  .chapters { width: 520px; }
  .chapter h2 { font-size: 42px; }
  .painel { width: 640px; column-gap: 24px; }
  .p-tempo b { font-size: 56px; }
  .p-tempo span { display: none; }
  .p-barras i { width: 5px; }
  .p-ordem i { width: 12px; }
}
/* painel em duas colunas: sai a ordem e saem os refletores */
@media (max-width: 1360px) {
  .painel { width: 410px; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'tit tit' 'tempo vez' 'tempo pass' 'nota nota'; }
  .p-linha.l-ordem, .p-linha.l-luz { display: none; }
}
/* telas baixas (notebook): a faixa do HUD encolhe */
@media (min-width: 761px) and (max-height: 760px) {
  .hud::before { height: 330px; }
  .chapters, .painel { bottom: 58px; }
  .chapter h2 { font-size: 36px; }
  .chapter p.txt { font-size: 16.5px; margin-top: 10px; }
  .hero-copy h1 { font-size: 72px; }
  .hero-copy .lead { margin-top: 22px; font-size: 19px; }
  .hero-acoes { margin-top: 26px; }
  .hero-placar { display: none; }
}
@media (max-width: 1280px) {
  :root { --margem: 40px; }
  .hero-copy h1 { font-size: 80px; }
  .hero-copy .lead { font-size: 21px; }
  .chapters { width: 500px; }
  .chapter h2 { font-size: 40px; }
  .sec h2 { font-size: 52px; }
  .luiz-txt h2 { font-size: 42px; }
  .faixa h2 { font-size: 78px; }
  .contato h2 { font-size: 68px; }
  .contato-foto { width: 400px; height: 540px; }
  .cav-foto { height: 540px; }
  .grupo h3 { font-size: 40px; }
  .cav-tipos li { grid-template-columns: 150px minmax(0, 1fr); }
  .luiz-foto { height: 600px; }
  .jogo { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 36px; }
}
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .hero-copy { width: 54%; }
  .hero-copy h1 { font-size: 62px; }
  .ab-foto { width: 46%; }
  .painel { width: 300px; column-gap: 18px; }
  .p-tempo b { font-size: 46px; }
  .p-tempo span, .p-linha.l-pass .p-barras, .p-nota { display: none; }
  .chapters { width: auto; right: 380px; max-width: 480px; }
  .chapter h2 { font-size: 34px; }
  .chapter p.txt { font-size: 16.5px; }
  .sec { padding-block: 110px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }
  .passos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .passos li { border-bottom: 1px solid var(--linha); padding-bottom: 30px; }
  .passos li:nth-child(odd) { padding-left: 0; }
  .passos li:nth-child(even) { border-right: 0; }
  .luiz-grid, .plac-grid, .contato-grid, .faixa-grid, .cav-grid { gap: 44px; }
  .grupo { padding: 40px 36px 34px; }
  .etapa { gap: 44px; }
  .cursos li { grid-template-columns: 120px minmax(0, 1fr); }
  .cursos .o { grid-column: 2; text-align: left; }
  .jogo { grid-template-columns: minmax(0, 1fr); }
  .faixa .janela { width: 340px; height: 604px; }
}

/* ---------- celular ---------- */
@media (max-width: 760px) {
  :root { --margem: 20px; }
  body { font-size: 17px; }
  .track { height: 7000px; }
  .nav { padding: calc(14px + env(safe-area-inset-top, 0px)) var(--margem) 14px; }
  .brand { font-size: 10.5px; gap: 9px; letter-spacing: 0.1em; }
  .brand img { width: 32px; height: 32px; }
  .nav-cta { font-size: 10.5px; padding: 10px 12px; }
  .nav-dir { gap: 8px; }
  .som { padding: 0; width: 40px; height: 36px; justify-content: center; }
  .som span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ab-foto { left: 0; right: 0; top: 0; bottom: 0; width: auto; -webkit-mask-image: none; mask-image: none; }
  .ab-luz { display: none; }
  .reel { right: auto; left: var(--margem); bottom: auto; top: calc(74px + env(safe-area-inset-top, 0px)); align-items: flex-start; gap: 9px; }
  .reel-nome { font-size: 10.5px; }
  .reel-barras i { width: 28px; }
  .ab-sombra { background: linear-gradient(0deg, var(--breu) 0%, rgba(10, 13, 20, 0.94) 20%, rgba(10, 13, 20, 0.62) 38%, rgba(10, 13, 20, 0) 60%), linear-gradient(180deg, rgba(10, 13, 20, 0.78) 0%, rgba(10, 13, 20, 0) 20%); }

  .hero-copy { left: var(--margem); right: var(--margem); top: auto; bottom: calc(30px + env(safe-area-inset-bottom, 0px)); width: auto; transform: none; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: 0.14em; margin-bottom: 12px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy .lead { font-size: 16px; margin-top: 14px; }
  .hero-acoes { margin-top: 18px; gap: 12px; }
  .btn { font-size: 11px; padding: 15px 16px; }
  .lnk { font-size: 11px; padding: 14px 2px; }
  .hero-placar { display: none; }

  .hud::before { height: 380px; background: linear-gradient(0deg, var(--hud-veil) 0%, var(--hud-veil) 52%, transparent 100%); }
  .chapters { left: var(--margem); right: var(--margem); bottom: 34px; width: auto; max-width: none; height: 250px; }
  .chapter .mono { margin-bottom: 12px; font-size: 10px; }
  .chapter h2 { font-size: 34px; }
  .chapter p.txt { margin-top: 12px; font-size: 15.5px; max-width: none; }
  .chapter .btn { margin-top: 16px; }

  /* no celular o painel é uma barra compacta no topo, com fundo próprio */
  .painel { left: var(--margem); right: var(--margem); top: calc(70px + env(safe-area-inset-top, 0px)); bottom: auto; width: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .painel::before { content: ''; position: absolute; inset: -10px -12px; z-index: -1; background: var(--hud-veil); border-radius: 6px; opacity: 0.86; }
  .painel.is-on.is-oculto { opacity: 0; }   /* sai quando os rótulos da pista aberta entram */
  .painel > .mono, .p-nota, .p-linha.so-desktop, .painel .so-desktop, .p-linha.passados .p-barras, .p-linha.passados > span { display: none; }
  .p-tempo { margin: 0; }
  .p-tempo b { font-size: 40px; }
  .p-tempo span { display: none; }
  .p-linha { border: 0; padding: 0; font-size: 9.5px; gap: 8px; white-space: nowrap; }
  .p-linha b { font-size: 15px; }
  .p-linha b.vez { font-size: 24px; }
  .progress-meta { display: none; }
  .tag b { font-size: 9px; padding: 5px 7px; letter-spacing: 0.08em; }
  .tag b small { display: none; }
  .tag.so-desktop { display: none; }

  .sec { padding-block: 84px; }
  .sec-head { margin-bottom: 40px; }
  .sec h2, .luiz-txt h2 { font-size: 38px; }
  .sec-head p.txt { font-size: 17px; }
  .passos { grid-template-columns: minmax(0, 1fr); }
  .passos li, .passos li + li { padding: 26px 0; border-right: 0; }
  .passos .n { font-size: 44px; }
  .passos h3 { font-size: 22px; margin: 14px 0 8px; }
  .luiz-grid, .plac-grid, .contato-grid, .faixa-grid, .etapa, .foot-grid, .cav-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cav-txt .txt { font-size: 17px; margin-top: 18px; }
  .cav-tipos { margin-top: 28px; }
  .cav-tipos li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; }
  .cav-tipos .lnk { grid-column: 1; }
  .cav-tipos h3 { font-size: 32px; }
  .cav-tipos p { font-size: 16.5px; }
  .cav-foto { height: 420px; }
  .grupo { margin-top: 60px; padding: 30px 22px 26px; }
  .grupo-topo { flex-direction: column; align-items: flex-start; gap: 22px; }
  .grupo h3 { font-size: 32px; }
  .grupo-linhas { margin-top: 26px; }
  .grupo-linhas li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
  .grupo-linhas p { font-size: 16.5px; }
  .luiz-foto { height: 420px; }
  .luiz-txt p { font-size: 17px; margin-top: 16px; }
  .luiz-txt p:first-of-type { margin-top: 26px; }
  .fatos li { font-size: 11px; }
  .fala p { font-size: 21px; }
  .etapas { gap: 76px; }
  .etapa:nth-child(even) .etapa-midia { order: 0; }
  .etapa .n { font-size: 50px; }
  .etapa h3 { font-size: 30px; margin: 14px 0 12px; }
  .etapa p { font-size: 17px; }
  .etapa-midia .shot { height: 250px; }
  .etapa-midia .shot.em-pe { width: 100%; height: 420px; }
  .janela { width: 280px; height: 498px; }
  .cita { margin-top: 70px; }
  .cita p { font-size: 24px; }
  .faixa { padding-block: 84px; }
  .faixa h2 { font-size: 54px; }
  .faixa p.txt { font-size: 17px; margin-top: 18px; }
  .faixa .janela { width: 280px; height: 498px; }
  .j-pista { height: 540px; }
  .j-boi { width: 42px; height: 42px; margin: -21px 0 0 -21px; font-size: 16px; }
  .j-chamado { font-size: 70px; min-height: 62px; }
  .j-tempo { font-size: 38px; }
  .j-msg { font-size: 17px; min-height: 76px; }
  .j-lado { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .j-lado .j-msg, .j-lado .btn, .j-lado .j-aviso { grid-column: 1 / -1; }
  .j-caixa { padding: 14px 16px; }
  .plac li { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .plac .ano { font-size: 24px; }
  .plac h3 { font-size: 19px; }
  .plac p { font-size: 15.5px; }
  .plac-foto { height: 230px; position: relative; top: 0; }
  .cursos li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px 0; }
  .cursos .o { grid-column: 1; }
  .cursos h3 { font-size: 21px; }
  .cursos-pe { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cursos-pe p { font-size: 17px; }
  .contato h2 { font-size: 46px; }
  .contato p.txt { font-size: 17px; margin-top: 18px; }
  .contato .btn { font-size: 12.5px; padding: 18px 20px; }
  .contato-dados { font-size: 12px; }
  .contato-foto { width: 100%; height: 420px; margin: 0; }
  .foot { padding-block: 40px 48px; }
}
/* celular baixo: sai a linha de cima do título */
@media (max-width: 760px) and (max-height: 720px) {
  .hero-copy .eyebrow { display: none; }
  .chapters { height: 220px; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy .lead { font-size: 15px; }
  .chapter h2 { font-size: 27px; }
  .contato h2 { font-size: 34px; }
  .sec h2, .luiz-txt h2 { font-size: 32px; }
  .faixa h2 { font-size: 46px; }
  .janela, .faixa .janela { width: 240px; height: 427px; }
  .j-pista { height: 500px; }
  .j-boi { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 15px; }
  .j-tempo { font-size: 32px; }
  .j-chamado { font-size: 60px; }
  .p-tempo b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter, .chapter.is-active { transition: opacity 0.2s ease; }
}
