/* Studio Doze. Mundo visual: pacote gráfico de transmissão ao vivo num set virtual.
   Um azul, barras de canto vivo cortadas numa única diagonal, valores que estalam em vez de flutuar. */

@font-face {
  font-family: "Archivo Expandida";
  src: url("../assets/fonts/archivo-expanded-var.woff") format("woff");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --vazio: #050608;        /* o escuro do estúdio */
  --set: #0b0d12;          /* superfícies do set */
  --set-2: #11141c;
  --giz: #f4f6fa;          /* branco do lettering */
  --giz-2: #c5ccdb;        /* texto corrido */
  --giz-3: #8e98ad;        /* apoio, sempre puxado para o azul */
  --fio: rgba(244, 246, 250, 0.14);
  --azul: #0a4dfb;         /* o azul do 12 */
  --azul-luz: #6aa5ff;     /* a dobra clara do 12, para texto e foco */
  --azul-fundo: #062fa8;
  --alerta: #ff8a73;

  --display: "Archivo Expandida", "Arial Black", system-ui, sans-serif;
  --texto: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --margem: clamp(1.25rem, 5vw, 5rem);
  --bloco: clamp(5rem, 11vw, 9.5rem);
  --corte: 0.7em;                         /* a diagonal única do pacote */
  --saida: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out exponencial */
  --bug-h: 4.25rem;

  --z-palco: 0;
  --z-texto: 2;
  --z-stinger: 5;
  --z-bug: 50;
  --z-pular: 100;
}

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

html {
  background: var(--vazio);
  color-scheme: dark;
  scrollbar-color: #263257 var(--vazio);
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--vazio);
  color: var(--giz-2);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--azul-luz);
  overflow-x: clip;
}

::selection { background: var(--azul); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--vazio); }
::-webkit-scrollbar-thumb { background: #263257; }
::-webkit-scrollbar-thumb:hover { background: var(--azul); }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--azul-luz);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: calc(var(--bug-h) + 0.5rem); }

/* ---------- Tipos ---------- */

.titulo-xl, .titulo-l, .titulo-m {
  font-family: var(--display);
  color: var(--giz);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.titulo-xl { font-size: clamp(2.2rem, 5.1vw, 4.6rem); font-weight: 800; line-height: 0.98; }
.titulo-l  { font-size: clamp(1.85rem, 4.5vw, 4.1rem); font-weight: 800; line-height: 1; }
.titulo-m  { font-size: clamp(1.15rem, 1.75vw, 1.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }

.apoio {
  font-size: clamp(1.0625rem, 1.35vw, 1.3rem);
  line-height: 1.45;
  color: var(--giz-2);
  max-width: 44ch;
  text-wrap: pretty;
}

/* ---------- Componentes do pacote ---------- */

/* Super: a barra do terço inferior. É o botão do site. */
.super {
  --campo: var(--azul);
  --tinta: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem calc(1.5rem + var(--corte)) 0.85rem 1.5rem;
  border: 0;
  background: var(--campo);
  color: var(--tinta);
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%);
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.12s var(--saida);
}
.super::before {
  /* o campo branco que varre a barra na mesma diagonal */
  content: "";
  position: absolute;
  inset: 0 -1.5em;
  z-index: -1;
  background: var(--giz);
  transform: translateX(-102%) skewX(-22deg);
  transition: transform 0.45s var(--saida);
}
.super:hover, .super:focus-visible { color: var(--azul-fundo); }
.super:hover::before, .super:focus-visible::before { transform: translateX(0) skewX(-22deg); }
.super:active { transform: translateY(1px); }
.super[disabled] { cursor: progress; filter: saturate(0.4); }
.super[disabled]::before { transform: translateX(-102%) skewX(-22deg); }

/* Elo: link de texto, com a linha que varre */
.elo {
  display: inline-block;
  padding-block: 0.35rem;
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--giz);
  background:
    linear-gradient(var(--azul-luz), var(--azul-luz)) 0 100% / 0 2px no-repeat,
    linear-gradient(var(--fio), var(--fio)) 0 100% / 100% 2px no-repeat;
  transition: background-size 0.45s var(--saida), color 0.2s;
}
a:hover > .elo, a:focus-visible > .elo, a.elo:hover, a.elo:focus-visible {
  background-size: 100% 2px, 100% 2px;
  color: var(--azul-luz);
}

.pular {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: var(--z-pular);
  padding: 0.75rem 1rem;
  background: var(--giz);
  color: var(--vazio);
  font-weight: 600;
  transform: translateY(-200%);
}
.pular:focus { transform: none; }

/* Entradas: o conteúdo é visível por padrão. Só com JS ele espera a vez de entrar. */
.js [data-entra] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.42s steps(6, jump-end); /* entra em estalos, como um caractere de TV */
}
.js [data-entra].entrou { clip-path: inset(0 0 0 0); }
/* nas frentes, o texto estala e a imagem entra cortada na diagonal */
.js .frente[data-entra] { clip-path: none; }
.js .frente .frente__texto { clip-path: inset(0 100% 0 0); transition: clip-path 0.42s steps(6, jump-end); }
.js .frente .frente__placa { clip-path: polygon(0 0, 0 0, -18% 100%, -18% 100%); transition: clip-path 0.9s var(--saida) 0.1s; }
.js .frente.entrou .frente__texto { clip-path: inset(0 0 0 0); }
.js .frente.entrou .frente__placa { clip-path: polygon(0 0, 118% 0, 100% 100%, 0 100%); }

/* ---------- Bug (cabeçalho) ---------- */

.bug {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-bug);
  height: var(--bug-h);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  padding-inline: var(--margem);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}
.bug--solido {
  background: var(--vazio);
  border-bottom-color: var(--fio);
}
.bug__marca { flex: none; display: block; }
.bug__marca img { width: auto; height: 2.1rem; }

.bug__segmento {
  display: flex;
  align-items: stretch;
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.bug__no-ar {
  padding: 0.45rem 0.6rem 0.45rem 0.55rem;
  background: var(--azul);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%);
}
.bug__nome {
  min-width: 7.5em;
  padding: 0.45rem 0.6rem;
  background: var(--giz);
  color: var(--vazio);
  margin-left: -0.15em;
  clip-path: polygon(0.4em 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%);
}
.bug__nome.troca { animation: estalo 0.32s steps(2, jump-none); }
@keyframes estalo {
  0% { clip-path: polygon(0.4em 0, 0.4em 0, 0 100%, 0 100%); }
  100% { clip-path: polygon(0.4em 0, 100% 0, calc(100% - 0.4em) 100%, 0 100%); }
}

.bug__nav {
  margin-left: auto;
  display: flex;
  gap: clamp(1rem, 2.2vw, 2.25rem);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--giz);
}
.bug__nav a {
  padding-block: 0.5rem;
  background: linear-gradient(var(--azul-luz), var(--azul-luz)) 0 100% / 0 2px no-repeat;
  transition: background-size 0.4s var(--saida);
}
.bug__nav a:hover, .bug__nav a:focus-visible { background-size: 100% 2px; }
.super--bug { min-height: 2.6rem; padding-block: 0.55rem; font-size: 0.75rem; visibility: hidden; clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); transition: clip-path 0.3s steps(5, jump-end), visibility 0s 0.3s, transform 0.12s var(--saida); }
.bug--passou .super--bug { visibility: visible; clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%); transition: clip-path 0.3s steps(5, jump-end), transform 0.12s var(--saida); }

/* no celular, a ação fica presa embaixo depois que a da abertura sai */
.acao-fixa { display: none; }

/* ---------- Abertura ---------- */

.abertura {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: calc(var(--bug-h) + 1.5rem) var(--margem) clamp(2rem, 6vh, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.palco {
  position: absolute;
  inset: 0;
  z-index: var(--z-palco);
  background: var(--vazio);
}
.palco__tela, .palco__reserva {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.palco__tela { display: block; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity 0.5s linear; }
.palco__tela.arrastando { cursor: grabbing; }
.palco__reserva { object-fit: cover; object-position: 62% 50%; transition: opacity 0.5s linear; }
.palco--pronto .palco__tela { opacity: 1; }
.palco--pronto .palco__reserva { opacity: 0; }
.palco::after {
  /* sombra do set atrás do texto, para o título ler sobre a cena */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5, 6, 8, 0.86) 0, rgba(5, 6, 8, 0.6) 4.25rem, rgba(5, 6, 8, 0) 9.5rem),
    linear-gradient(to top, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.55) 26%, rgba(5, 6, 8, 0) 58%),
    linear-gradient(to right, rgba(5, 6, 8, 0.7) 0%, rgba(5, 6, 8, 0) 46%);
}

.abertura__texto {
  position: relative;
  z-index: var(--z-texto);
  max-width: min(58rem, 100%);
  pointer-events: none;
}
.abertura__texto a { pointer-events: auto; }
.linha { display: block; overflow: hidden; padding-bottom: 0.06em; }
.linha__i { display: inline-block; }
.js .abertura .linha__i { transform: translateY(104%); transition: transform 0.85s var(--saida); }
.js .abertura .linha:nth-child(2) .linha__i { transition-delay: 0.09s; }
.js .abertura .apoio,
.js .abertura .acoes { clip-path: inset(0 100% 0 0); transition: clip-path 0.7s var(--saida) 0.28s; }
.js .abertura .acoes { transition-delay: 0.4s; }
.js .abertura.no-ar .linha__i { transform: none; }
.js .abertura.no-ar .apoio,
.js .abertura.no-ar .acoes { clip-path: inset(-0.5rem -0.5rem -0.5rem -0.5rem); }

.abertura .apoio { margin-top: clamp(1rem, 2vw, 1.5rem); }
.acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.dica {
  position: absolute;
  right: var(--margem);
  bottom: clamp(2rem, 6vh, 4.5rem);
  z-index: var(--z-texto);
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--giz-3);
  pointer-events: none;
  transition: opacity 0.3s;
}
.dica.some, .sem-webgl .dica { opacity: 0; }

/* ---------- Serviços (frentes) ---------- */

.frentes {
  position: relative;
  padding: var(--bloco) var(--margem);
  overflow: hidden;
}
.stinger {
  /* a vinheta de passagem: uma cunha azul que cruza a tela quando o segmento muda */
  position: absolute;
  top: 0;
  left: 0;
  z-index: var(--z-stinger);
  width: 70vw;
  height: clamp(4rem, 14vh, 9rem);
  background: var(--azul);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
  transform: translateX(-120%);
  pointer-events: none;
  will-change: transform;
}
.frentes .titulo-l { margin-bottom: clamp(2.5rem, 6vw, 5rem); }

.frente {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(2rem, 4.5vw, 3.75rem);
  border-top: 1px solid var(--fio);
}
.frente__texto p { margin-top: 0.9rem; max-width: 38ch; }
.frente__texto .titulo-m { font-size: clamp(1.5rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.frente__placa {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--set);
}
.frente__placa img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--saida);
}
.frente:hover .frente__placa img { transform: scale(1.035); }
.frente__placa figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.5rem calc(0.9rem + var(--corte)) 0.5rem 0.9rem;
  background: var(--vazio);
  color: var(--giz-2);
  font-size: 0.8125rem;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%);
}

/* ---------- Trabalhos (replays) ---------- */

.replays {
  padding-block: var(--bloco);
  background: var(--set);
}
.replays__cab { padding-inline: var(--margem); }
.replays__cab .apoio { margin-top: 1rem; }
.replays__janela {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.replays__janela::-webkit-scrollbar { display: none; }
@media (hover: hover) {
  /* com mouse e sem o trilho fixo, a barra aparece para os trabalhos seguintes ficarem ao alcance */
  .replays:not(.replays--fixo) .replays__janela { scrollbar-width: thin; scrollbar-color: var(--azul) var(--set-2); padding-bottom: 1rem; }
  .replays:not(.replays--fixo) .replays__janela::-webkit-scrollbar { display: block; height: 8px; }
  .replays:not(.replays--fixo) .replays__janela::-webkit-scrollbar-thumb { background: var(--azul); }
  .replays:not(.replays--fixo) .replays__janela::-webkit-scrollbar-track { background: var(--set-2); }
}
.replays__trilho {
  display: flex;
  gap: clamp(1rem, 3vw, 3rem);
  width: max-content;
  padding-inline: var(--margem);
}
.placa {
  flex: none;
  width: min(86vw, 34rem);
  scroll-snap-align: center;
}
.placa a { display: block; }
.placa figure {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--set-2);
}
.placa figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.9s var(--saida); }
.placa figure::after {
  /* a varredura do replay */
  content: "";
  position: absolute;
  inset: 0 -30%;
  background: var(--azul);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  transform: translateX(-125%);
  transition: transform 0.7s var(--saida);
  pointer-events: none;
}
.placa a:hover figure::after, .placa a:focus-visible figure::after { transform: translateX(125%); }
.placa a:hover figure img, .placa a:focus-visible figure img { transform: scale(1.03); }
.placa .titulo-m {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: 94%;
  margin-top: -1.55rem;
  padding: 0.7rem calc(1.1rem + var(--corte)) 0.7rem 1.1rem;
  background: var(--giz);
  color: var(--vazio);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%);
  transition: background-color 0s, color 0s;
}
.placa a:hover .titulo-m, .placa a:focus-visible .titulo-m { background: var(--azul); color: #fff; }
.placa p { margin-top: 0.85rem; max-width: 40ch; color: var(--giz-2); }
.placa .elo { margin-top: 0.9rem; }

/* ---------- Processo (espelho do programa) ---------- */

.espelho { padding: var(--bloco) var(--margem); }
.espelho__lista {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--fio);
}
.passo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(0.5rem, 4vw, 4rem);
  align-items: baseline;
  padding: clamp(1.1rem, 2.3vw, 1.85rem) clamp(0.9rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--fio);
  isolation: isolate;
}
.passo::before {
  /* o campo azul da linha que está no ar */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--azul);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.passo.aceso::before {
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.4rem) 100%, 0 100%);
  transition: clip-path 0.3s steps(5, jump-end);
}
.passo .titulo-m { font-size: clamp(1.35rem, 2.7vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; }
.passo p { max-width: 40ch; color: var(--giz-2); }
.passo.aceso .titulo-m, .passo.aceso p { color: #fff; }

/* ---------- Contato (chamada) ---------- */

.chamada {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: var(--bloco) var(--margem);
  background: var(--set);
}
.chamada__texto { position: sticky; top: calc(var(--bug-h) + 2rem); }
.chamada__texto .titulo-l { font-size: clamp(1.75rem, 3.5vw, 3.2rem); }
.chamada__texto .apoio { margin-top: 1.25rem; }

.ficha { display: grid; gap: 1.5rem; }
.campo { display: grid; gap: 0.5rem; }
.campo label, .campo legend {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--giz);
}
.campo legend { margin-bottom: 0.5rem; }
.campo__opc { font-weight: 400; color: var(--giz-3); }
.campo input[type="text"], .campo textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--vazio);
  border: 1px solid rgba(244, 246, 250, 0.3);
  border-radius: 0;
  color: var(--giz);
  transition: border-color 0.2s;
}
.campo textarea { resize: vertical; min-height: 7rem; }
.campo input[type="text"]:hover, .campo textarea:hover { border-color: rgba(244, 246, 250, 0.55); }
.campo input[type="text"]:focus-visible, .campo textarea:focus-visible { border-color: var(--azul-luz); outline-offset: 0; }
.campo input[aria-invalid="true"] { border-color: var(--alerta); }
.campo__ajuda { font-size: 0.875rem; color: var(--giz-3); }
.campo__erro { font-size: 0.875rem; color: var(--alerta); }

.campo--opcoes { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.campo--opcoes legend { float: left; width: 100%; }
.opcao { position: relative; cursor: pointer; }
.opcao input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opcao span {
  display: block;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(244, 246, 250, 0.3);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--giz);
  transition: background-color 0.15s, border-color 0.15s;
}
.opcao:hover span { border-color: rgba(244, 246, 250, 0.6); }
.opcao input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.opcao input:focus-visible + span { outline: 2px solid var(--azul-luz); outline-offset: 3px; }

.campo--isca { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }

.ficha .super { justify-self: start; }
.ficha__nota { font-size: 0.875rem; color: var(--giz-3); }
.ficha__status:empty { display: none; }
.ficha__status {
  justify-self: start;
  padding: 0.85rem calc(1.25rem + var(--corte)) 0.85rem 1.25rem;
  font-weight: 600;
  color: #fff;
  background: var(--azul);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%);
  animation: entra-super 0.5s var(--saida);
}
.ficha__status.erro { background: #3a1410; color: #ffd9d1; }
@keyframes entra-super {
  from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to { clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%); }
}

/* ---------- Créditos (rodapé) ---------- */

.creditos {
  padding: clamp(3.5rem, 8vw, 7rem) var(--margem) 2rem;
  border-top: 1px solid var(--fio);
}
.creditos__logo { width: min(100%, 68rem); margin-inline: auto; }
.creditos__linha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--fio);
  font-size: 0.9375rem;
  color: var(--giz-3);
}
.creditos__linha nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.creditos__linha a { padding-block: 0.4rem; color: var(--giz-2); transition: color 0.2s; }
.creditos__linha a:hover, .creditos__linha a:focus-visible { color: var(--azul-luz); }

/* ---------- Telas grandes: o trilho de trabalhos trava e corre de lado ---------- */

@media (min-width: 900px) {
  .placa { width: min(52vw, calc((100dvh - 28rem) * 1.6), 56rem); min-width: 24rem; }
  .replays--fixo {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: calc(var(--bug-h) + 1.5rem) 2rem;
    overflow: hidden; /* o trilho corre por dentro, sem alargar a página */
  }
  .replays--fixo .replays__janela { overflow: visible; scroll-snap-type: none; }
}

/* ---------- Telas pequenas ---------- */

@media (max-width: 899px) {
  .bug__nav, .super--bug { display: none; }
  .bug { justify-content: space-between; }
  .bug__marca img { height: 1.85rem; }
  .bug__segmento { font-size: 0.625rem; }
  .bug__nome { min-width: 0; }
  .acao-fixa {
    display: inline-flex;
    position: fixed;
    left: var(--margem);
    right: var(--margem);
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: var(--z-bug);
    transform: translateY(220%);
    transition: transform 0.3s var(--saida);
  }
  .acao-fixa--on { transform: none; }
  .creditos { padding-bottom: 6rem; }

  .abertura { padding-bottom: 2rem; }
  .palco::after {
    background:
      linear-gradient(to bottom, rgba(5, 6, 8, 0.86) 0, rgba(5, 6, 8, 0) 7rem),
      linear-gradient(to top, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.82) 30%, rgba(5, 6, 8, 0) 62%);
  }
  .palco__tela, .palco__reserva { height: 66%; }
  .palco__reserva { object-position: 50% 50%; }
  .acoes .super { flex: 1 1 100%; }
  .dica { display: none; }

  .frente { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .frente__placa { order: -1; }

  .passo { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }

  .chamada { grid-template-columns: minmax(0, 1fr); }
  .chamada__texto { position: static; }
  .ficha .super { justify-self: stretch; }
}

/* ---------- Movimento reduzido: tudo no lugar, nada varre ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-entra],
  .js .frente .frente__texto,
  .js .frente .frente__placa,
  .js .abertura .apoio,
  .js .abertura .acoes { clip-path: none; }
  .super--bug { visibility: visible; clip-path: polygon(0 0, 100% 0, calc(100% - var(--corte)) 100%, 0 100%); }
  .js .abertura .linha__i { transform: none; }
  .stinger { display: none; }
}

/* ---------- Modo de captura: só o set, para gerar as imagens de reserva ---------- */

.modo-foto .bug, .modo-foto .abertura__texto, .modo-foto .dica, .modo-foto .pular, .modo-foto .palco__reserva { display: none !important; }
.modo-foto .palco::after { display: none; }
.modo-foto .palco__tela { height: 100% !important; opacity: 1; transition: none; }
