/* ================================================================
   HOME — largada, grid de pilotos, teste de reação, volta em interlagos
   ================================================================ */

/* ---------------------------------------------------------------
   LARGADA (abertura): ignição, 5 luzes, apagou, o carro rasga a tela
   --------------------------------------------------------------- */
.largada { display: none; }
.js:not(.sem-largada) .largada {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: #fff;
}
.largada-metade {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #000;
  transition: transform 0.75s var(--ease-forte);
}
.largada-metade.cima { top: 0; }
.largada-metade.baixo { bottom: 0; }
.largada-metade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--vermelho);
  box-shadow: 0 0 30px 4px var(--vermelho);
  opacity: 0;
  transition: opacity 0.2s;
}
.largada-metade.cima::after { bottom: 0; }
.largada-metade.baixo::after { top: 0; }
.largada.rasgou .largada-metade::after { opacity: 1; }
.largada.abriu .largada-metade.cima { transform: translateY(-101%); }
.largada.abriu .largada-metade.baixo { transform: translateY(101%); }

.largada-conteudo {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(1.4rem, 4svh, 2.6rem);
  padding: 24px;
  text-align: center;
  transition: opacity 0.25s, transform 0.4s var(--ease);
}
.largada.abriu .largada-conteudo,
.largada.rasgou .largada-conteudo { opacity: 0; transform: scale(1.15); }
.largada-kicker {
  font-family: var(--hud);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--cinza);
}
.largada-luzes {
  display: flex;
  gap: clamp(8px, 2vw, 18px);
  padding: clamp(10px, 2vw, 16px);
  background: #0d0d0f;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px #222, 0 30px 80px -20px #000;
}
.lz {
  display: grid;
  gap: clamp(6px, 1.2vw, 10px);
  padding: clamp(6px, 1.2vw, 10px);
  background: #111;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px #2a2a2e;
}
.lz i {
  width: clamp(36px, 8.5vw, 74px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a0a08, #1a0302 70%);
  box-shadow: inset 0 0 0 2px #000;
  transition: background 0.05s, box-shadow 0.05s;
}
.lz.on i {
  background: radial-gradient(circle at 35% 30%, #ffb3a8, #ff1a0a 40%, #a80400 80%);
  box-shadow: inset 0 0 0 2px #000, 0 0 30px 6px rgb(255 26 10 / 0.55), 0 0 90px 10px rgb(255 26 10 / 0.25);
}
.largada-msg {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  line-height: 0.9;
  min-height: 1.8em;
  display: grid;
  place-items: center;
}
.largada-msg small {
  display: block;
  font-family: var(--hud);
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--cinza);
  margin-top: 0.8rem;
}
.largada-botoes { display: grid; justify-items: center; gap: 14px; }
.largada-ligar {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(130px, 22vw, 168px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff5a4a, #e10600 45%, #7a0300);
  box-shadow: 0 0 0 8px #1a1a1d, 0 0 0 9px #333, 0 20px 60px -10px rgb(225 6 0 / 0.8);
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: transform 0.15s;
}
.largada-ligar i { font-size: 2.1rem; display: block; margin-bottom: 4px; }
.largada-ligar::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px solid var(--vermelho);
  animation: onda 1.6s ease-out infinite;
}
.largada-ligar:hover { transform: scale(1.05); }
.largada-ligar:active { transform: scale(0.94); }
@keyframes onda { from { opacity: 0.9; transform: scale(0.8); } to { opacity: 0; transform: scale(1.35); } }
.largada-mudo {
  font-family: var(--hud);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--cinza);
  padding: 10px 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.largada-mudo:hover { color: #fff; }
.largada.contando .largada-botoes { display: none; }

.largada-carro {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 0;
  width: min(92vw, 1100px);
  transform: translate(-110%, -50%);
  pointer-events: none;
}
.largada-carro img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgb(0 0 0 / 0.6)); }
.largada-carro::before {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  right: 70%;
  width: 260%;
  background: linear-gradient(90deg, transparent, rgb(225 6 0 / 0.0) 20%, rgb(225 6 0 / 0.75));
  filter: blur(14px);
}
.largada.rasgou .largada-carro { animation: passa 0.85s cubic-bezier(0.55, 0, 0.35, 1) forwards; }
@keyframes passa {
  0% { transform: translate(-110%, -50%) scaleX(1.25); filter: blur(6px); }
  50% { filter: blur(1px); }
  100% { transform: translate(160vw, -50%) scaleX(1.35); filter: blur(8px); }
}
.largada-pular {
  position: absolute;
  z-index: 4;
  right: 18px;
  bottom: 18px;
  font-family: var(--hud);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--cinza);
  padding: 10px 14px;
  box-shadow: inset 0 0 0 1px var(--linha-forte);
  border-radius: 99px;
}
.largada-pular:hover { color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.largada.abriu .largada-pular { opacity: 0; }

/* ---------------------------------------------------------------
   GRID (hero): um piloto por vez, troca sozinho
   --------------------------------------------------------------- */
.gp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  display: flex;
  flex-direction: column;
  height: calc(100svh - var(--topo-h));
  min-height: 600px;
  transition: --acc 0.8s ease;
}
.gp[data-piloto="leclerc"] { --acc: #e10600; --ink: #fff; }
.gp[data-piloto="hamilton"] { --acc: #b44dff; --ink: #fff; }
.gp[data-piloto="verstappen"] { --acc: #2f6bff; --ink: #fff; }
.gp[data-piloto="senna"] { --acc: #ffd400; --ink: #000; }

/* faixas diagonais e brilho de fundo */
.gp::before,
.gp::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 22%;
  z-index: -1;
  background: color-mix(in srgb, var(--acc) 10%, transparent);
  transform: skewX(-20deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.gp::before { right: 28%; }
.gp::after { right: 9%; width: 9%; background: color-mix(in srgb, var(--acc) 18%, transparent); }
.gp-brilho {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 55% 60% at 72% 55%, color-mix(in srgb, var(--acc) 26%, transparent), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--preto));
}
.gp-grade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px) 0 0 / 64px 100%;
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 50%, #000, transparent 75%);
}

.gp-palco {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  min-height: 0;
  padding: clamp(1.2rem, 3svh, 2.5rem) var(--gutter) 1.5rem;
}
.gp-copy,
.gp-visual { display: grid; min-height: 0; }
.gp-copy > *,
.gp-visual > * { grid-area: 1 / 1; }

.gp-slide { align-self: center; pointer-events: none; }
.gp-slide.is-active { pointer-events: auto; }
.gp-slide .gp-anim {
  opacity: 0;
  transform: translateX(-50px) skewX(-12deg);
  filter: blur(8px);
  transition: opacity 0.3s ease, transform 0.35s ease, filter 0.3s;
}
.gp-slide.is-active .gp-anim {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.6s var(--ease);
}
.gp-slide.is-active .gp-anim:nth-child(1) { transition-delay: 0.42s; }
.gp-slide.is-active .gp-anim:nth-child(2) { transition-delay: 0.5s; }
.gp-slide.is-active .gp-anim:nth-child(3) { transition-delay: 0.62s; }
.gp-slide.is-active .gp-anim:nth-child(4) { transition-delay: 0.74s; }

.gp-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-family: var(--hud);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  color: var(--cinza);
  margin-bottom: 1.1rem;
}
.gp-kicker b {
  padding: 4px 10px;
  background: var(--acc);
  color: var(--ink);
  border-radius: 8px;
  transform: skewX(-14deg);
  font-weight: 700;
}
.gp-nome {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3.6rem, min(9.6vw, 16svh), 10rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.gp-nome span {
  display: block;
  font-size: 0.3em;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--acc);
  margin-bottom: 0.35em;
  transition: color 0.8s;
}
.gp-frase {
  max-width: 38ch;
  color: #c9c9cf;
  font-size: clamp(0.85rem, 1.4vw, 1.02rem);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}
.gp-acoes { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }

/* visual: número gigante vazado + foto em moldura inclinada */
.gp-foto {
  position: relative;
  place-self: center;
  width: min(100%, 600px, 78svh);
  aspect-ratio: 5 / 4.4;
  opacity: 0;
  transform: translateX(120px) scale(0.92);
  transition: opacity 0.4s ease, transform 0.5s var(--ease);
}
.gp-foto.is-active {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease) 0.35s, transform 1s var(--ease) 0.35s;
}
.gp-numero {
  position: absolute;
  z-index: 3;
  right: -7%;
  bottom: -9%;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: min(24vw, 40svh, 24rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-shadow: 0 0 60px color-mix(in srgb, var(--acc) 60%, transparent);
  pointer-events: none;
}
.gp-foto.is-active .gp-numero { animation: numero-entra 1.2s var(--ease) 0.5s both; }
@keyframes numero-entra {
  from { transform: translateX(-12%) skewX(-18deg); opacity: 0; filter: blur(10px); }
  to { transform: none; opacity: 1; filter: none; }
}
.gp-moldura {
  position: absolute;
  inset: 6% 6% 6% 14%;
  overflow: hidden;
  background: var(--acc);
  border-radius: 28px;
  transform: skewX(-10deg);
  box-shadow: 0 40px 80px -30px #000;
}
.gp-moldura img {
  position: absolute;
  top: 0;
  left: -14%;
  width: 128%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(0.95);
  mix-blend-mode: luminosity;
  transform: skewX(10deg) scale(1.08);
  transition: transform 6s linear;
}
.gp-foto.is-active .gp-moldura img { transform: skewX(10deg); }
.gp-moldura::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / 0.18) 0 1px, transparent 1px 3px),
    linear-gradient(to top, rgb(5 5 6 / 0.85), transparent 50%);
}
.gp-placa {
  position: absolute;
  left: 2%;
  bottom: 3%;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 10px 16px;
  background: #000;
  border-radius: 14px;
  box-shadow: inset 4px 0 0 var(--acc);
  font-family: var(--hud);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--cinza);
}
.gp-placa strong { color: #fff; font-size: 0.9rem; letter-spacing: 0.08em; }

/* o carro passa a cada troca de piloto */
.gp-flyby {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.gp-flyby-faixa {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -45%;
  width: 40%;
  background: var(--acc);
  opacity: 0;
}
.gp-flyby-carro {
  position: absolute;
  top: 58%;
  left: 0;
  width: min(70vw, 900px);
  transform: translate(-110%, -50%);
}
.gp-flyby-carro img { width: 100%; height: auto; filter: drop-shadow(0 24px 24px rgb(0 0 0 / 0.7)); }
.gp-flyby-carro::before {
  content: "";
  position: absolute;
  top: 25%;
  bottom: 20%;
  right: 72%;
  width: 200%;
  background: linear-gradient(90deg, transparent, var(--acc));
  filter: blur(10px);
  opacity: 0.9;
}
.gp-flyby.passa .gp-flyby-faixa { animation: gp-faixa 0.95s var(--ease-forte); }
.gp-flyby.passa .gp-flyby-carro { animation: gp-carro 0.95s cubic-bezier(0.6, 0, 0.3, 1); }
@keyframes gp-faixa {
  0% { opacity: 0.95; transform: skewX(-20deg) translateX(0); }
  100% { opacity: 0.95; transform: skewX(-20deg) translateX(560%); }
}
@keyframes gp-carro {
  0% { transform: translate(-110%, -50%) scaleX(1.2); filter: blur(4px); }
  45% { filter: blur(0); }
  100% { transform: translate(190vw, -50%) scaleX(1.3); filter: blur(6px); }
}

/* abas dos pilotos */
.gp-abas {
  position: relative;
  z-index: 4;
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(1.5rem, 4svh, 2.6rem);
}
.gp-abas [role="tablist"] { display: flex; flex: 1; min-width: 0; gap: 10px; }
.gp-aba {
  --c: #fff;
  --c-ink: #000;
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  text-align: left;
  transform: skewX(-14deg);
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  border-radius: 16px;
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
}
.gp-aba[data-id="leclerc"] { --c: #e10600; --c-ink: #fff; }
.gp-aba[data-id="hamilton"] { --c: #b44dff; --c-ink: #fff; }
.gp-aba[data-id="verstappen"] { --c: #2f6bff; --c-ink: #fff; }
.gp-aba[data-id="senna"] { --c: #ffd400; --c-ink: #000; }
.gp-aba:hover { transform: skewX(-14deg) translateY(-4px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
.gp-aba::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c);
  transform: translateX(-101%);
  transition: transform 0.6s var(--ease);
}
.gp-aba.is-active::before { transform: none; }
.gp-aba-in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px clamp(14px, 2vw, 28px);
  transform: skewX(14deg);
}
.gp-aba-num {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--c);
  transition: color 0.4s;
}
.gp-aba-nome {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--cinza);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.4s;
}
.gp-aba:hover .gp-aba-nome { color: #fff; }
.gp-aba.is-active .gp-aba-num,
.gp-aba.is-active .gp-aba-nome { color: var(--c-ink); }
.gp-progresso {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  height: 4px;
  width: 100%;
  background: var(--c-ink);
  opacity: 0.6;
  transform: scaleX(0);
  transform-origin: left;
  animation: gp-encher var(--gp-tempo, 6s) linear forwards;
}
.gp:is(:hover, :focus-within, .pausado) .gp-progresso { animation-play-state: paused; }
@keyframes gp-encher { to { transform: scaleX(1); } }
.gp-pausa {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.25rem;
  transform: skewX(-14deg);
  background: rgb(255 255 255 / 0.04);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
  border-radius: 14px;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.gp-pausa:hover { background: rgb(255 255 255 / 0.1); }
.gp-pausa i { transform: skewX(14deg); }

/* ---------------------------------------------------------------
   TESTE DE LARGADA (tempo de reação)
   --------------------------------------------------------------- */
.reacao { --acc: var(--vermelho); overflow: clip; }
.reacao-grade {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.reacao-regras {
  display: grid;
  gap: 10px;
  margin-top: 2rem;
  font-family: var(--hud);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--cinza);
}
.reacao-regras li { display: flex; gap: 12px; align-items: baseline; }
.reacao-regras b { color: var(--acc); font-size: 0.9rem; }
.reacao-ref {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2rem;
}
.reacao-ref div {
  padding: 12px 14px;
  background: var(--carbono-2);
  box-shadow: inset 0 0 0 1px var(--linha);
  border-radius: 14px;
}
.reacao-ref dt { font-family: var(--hud); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--cinza-2); }
.reacao-ref dd { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.6rem; font-style: italic; }
.reacao-ref .roxo dd { color: var(--roxo); }

.painel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.6rem;
  width: 100%;
  padding: clamp(1.4rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem);
  border-radius: 28px;
  text-align: center;
  box-shadow: inset 0 0 0 1px var(--linha-forte), 0 40px 100px -40px rgb(225 6 0 / 0.45);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: box-shadow 0.2s, background 0.2s;
}
.painel:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 6px; }
.painel:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.32), 0 40px 100px -40px rgb(225 6 0 / 0.6); }
.painel .largada-luzes { box-shadow: inset 0 0 0 1px #2a2a2e; }
.painel .lz i { width: clamp(30px, 6vw, 62px); }
.painel-tempo {
  font-family: var(--hud);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.painel-tempo small { font-size: 0.32em; color: var(--cinza); margin-left: 6px; letter-spacing: 0.1em; }
.painel-msg {
  min-height: 2.6em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.painel-msg small { display: block; font-family: var(--hud); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.2em; color: var(--cinza); margin-top: 6px; }
.painel[data-estado="queimou"] { background: rgb(255 212 0 / 0.08); }
.painel[data-estado="queimou"] .painel-msg { color: var(--amarelo); }
.painel[data-estado="resultado"] .painel-tempo { color: var(--verde); }
.painel[data-estado="resultado"].recorde .painel-tempo { color: var(--roxo); text-shadow: 0 0 40px rgb(180 77 255 / 0.6); }
.painel-historico {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 46px;
}
.painel-historico i {
  width: 18px;
  border-radius: 99px;
  background: var(--carbono-3);
  transition: height 0.4s var(--ease);
}
.painel-historico i.ok { background: var(--verde); }
.painel-historico i.melhor { background: var(--roxo); }
.painel-historico i.queimou { background: var(--amarelo); }
.painel-rodape {
  display: flex;
  gap: 18px;
  font-family: var(--hud);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--cinza);
}
.painel-rodape b { color: var(--roxo); }

/* ---------------------------------------------------------------
   UMA VOLTA EM INTERLAGOS (a rolagem pilota o carro)
   --------------------------------------------------------------- */
.volta { --acc: var(--amarelo); position: relative; height: 460vh; }
.volta-fixo {
  position: sticky;
  top: var(--topo-h);
  height: calc(100svh - var(--topo-h));
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.42fr);
  grid-template-rows: auto 1fr;
  gap: 0 clamp(1.5rem, 4vw, 4rem);
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(1.2rem, 3svh, 2.4rem) var(--gutter);
  overflow: hidden;
}
.volta-cabeca { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.volta-cabeca .titulo { font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.volta-dica { font-family: var(--hud); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--cinza); display: flex; align-items: center; gap: 10px; }
.volta-dica i { animation: desce 1.4s ease-in-out infinite; }
@keyframes desce { 50% { transform: translateY(5px); } }
.volta-mapa { position: relative; min-height: 0; display: grid; place-items: center; }
.volta-mapa svg { width: 100%; height: 100%; max-height: 100%; overflow: visible; }
.pista-base { fill: none; stroke: #1c1c21; stroke-width: 22; stroke-linejoin: round; stroke-linecap: round; }
.pista-zebra { fill: none; stroke: #fff; stroke-width: 22; stroke-dasharray: 6 6; stroke-linejoin: round; opacity: 0.12; }
.pista-asfalto { fill: none; stroke: #2a2a30; stroke-width: 14; stroke-linejoin: round; stroke-linecap: round; }
.pista-feita { fill: none; stroke: var(--acc); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--acc)); }
.pista-largada { stroke: #fff; stroke-width: 4; }
.pista-curva text {
  font-family: var(--hud);
  font-size: 13px;
  letter-spacing: 0.12em;
  fill: var(--cinza-2);
  transition: fill 0.3s;
}
.pista-curva circle { fill: var(--carbono-3); stroke: var(--cinza-2); stroke-width: 1.5; transition: fill 0.3s, stroke 0.3s; }
.pista-curva.ativa text { fill: #fff; }
.pista-curva.ativa circle { fill: var(--acc); stroke: var(--acc); }
.pista-curva.passou circle { fill: var(--cinza-2); }
.carrinho rect, .carrinho path { fill: #e10600; }
.carrinho .halo { fill: var(--acc); opacity: 0.25; }

.volta-hud {
  display: grid;
  align-content: center;
  gap: 1.1rem;
  min-height: 0;
}
.volta-cronometro {
  font-family: var(--hud);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.volta-rotulo { font-family: var(--hud); font-size: 0.64rem; letter-spacing: 0.22em; color: var(--cinza-2); margin-bottom: 6px; }
.volta-setores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.volta-setores div {
  padding: 8px 12px;
  background: var(--carbono-2);
  border-radius: 12px;
  font-family: var(--hud);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--cinza-2);
  border-bottom: 3px solid #26262b;
  transition: border-color 0.3s, color 0.3s;
}
.volta-setores div b { display: block; color: var(--branco); font-size: 0.9rem; margin-top: 2px; font-variant-numeric: tabular-nums; }
.volta-setores div.roxo { border-color: var(--roxo); color: var(--roxo); }
.volta-medidores { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.volta-vel { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(4rem, 8vw, 7rem); line-height: 0.8; font-variant-numeric: tabular-nums; }
.volta-vel small { font-family: var(--hud); font-style: normal; font-size: 0.16em; letter-spacing: 0.2em; color: var(--cinza); margin-left: 6px; }
.volta-marcha {
  display: grid;
  place-items: center;
  width: 74px;
  height: 84px;
  background: #000;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--linha-forte);
  font-family: var(--hud);
  font-weight: 700;
  font-size: 3rem;
  color: var(--acc);
}
.volta-barra { height: 8px; background: var(--carbono-3); border-radius: 4px; overflow: hidden; }
.volta-barra i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--verde), var(--amarelo), var(--vermelho-2)); }
.volta-curva {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  line-height: 0.9;
  color: var(--acc);
  min-height: 1.9em;
}
.volta-curva small { display: block; font-family: var(--hud); font-style: normal; font-weight: 600; font-size: 0.24em; letter-spacing: 0.24em; color: var(--cinza-2); margin-bottom: 6px; }
.volta-nota { font-family: var(--hud); font-size: 0.62rem; letter-spacing: 0.14em; color: var(--cinza-2); line-height: 1.6; }

/* ---------------------------------------------------------------
   FICHA TÉCNICA (números)
   --------------------------------------------------------------- */
.ficha-grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ficha-item {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px var(--linha);
  overflow: hidden;
  isolation: isolate;
}
.ficha-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--vermelho);
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  transition: clip-path 0.5s var(--ease-forte);
}
.ficha-item:hover::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.ficha-num {
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}
.ficha-num sub { vertical-align: baseline; font-size: 0.4em; margin-left: 4px; -webkit-text-stroke: 0; color: var(--vermelho-2); transition: color 0.3s; }
.ficha-item:hover .ficha-num { color: #fff; }
.ficha-item:hover .ficha-num sub { color: #000; }
.ficha-item p:not(.ficha-num) { margin-top: 1rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; }
.ficha-item small { display: block; margin-top: 4px; font-family: var(--hud); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--cinza); transition: color 0.3s; }
.ficha-item:hover small { color: rgb(255 255 255 / 0.8); }

/* ---------------------------------------------------------------
   DESTINOS (cards inclinados)
   --------------------------------------------------------------- */
.destinos-lista { display: flex; align-items: flex-start; padding-bottom: 4rem; }
.destino {
  --s: 14%;
  position: relative;
  flex: 0 0 38%;
  height: clamp(26rem, 38vw, 32rem);
}
.destino + .destino { margin-left: -2%; }
.destino:nth-child(2) { transform: translateY(4rem); }
.destino-link { position: absolute; inset: 0; display: block; }
.destino-forma {
  position: absolute;
  inset: 0 8%;
  overflow: hidden;
  border-radius: 32px;
  transform: skewX(-12deg);
  background: var(--carbono-2);
}
.destino:nth-child(2) .destino-forma { background: var(--vermelho); }
.destino-forma img {
  position: absolute;
  top: 0;
  left: -25%;
  width: 150%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: grayscale(1) contrast(1.2);
  opacity: 0.7;
  transform: skewX(12deg);
  transition: transform 0.6s var(--ease), filter 0.5s, opacity 0.5s;
}
.destino:nth-child(2) .destino-forma img { mix-blend-mode: luminosity; opacity: 1; }
.destino-link:hover .destino-forma img,
.destino-link:focus-visible .destino-forma img { transform: skewX(12deg) scale(1.06); filter: none; opacity: 1; }
.destino-forma::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.9), transparent 60%); }
.destino-texto {
  position: absolute;
  left: 0;
  right: calc(var(--s) + 1rem);
  bottom: 0;
  padding: 0 0 2rem calc(8% + 1.4rem);
}
.destino-texto small { font-family: var(--hud); font-size: 0.64rem; letter-spacing: 0.24em; color: rgb(255 255 255 / 0.7); }
.destino-texto strong {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  line-height: 0.9;
  margin: 6px 0 14px;
}
.destino-ir { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; letter-spacing: 0.1em; font-size: 0.9rem; }
.destino-ir i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #000; transition: transform 0.3s var(--ease); }
.destino-link:hover .destino-ir i { transform: translateX(6px); }
.destino .torcer { position: absolute; z-index: 3; top: 1.4rem; right: calc(var(--s) * 0.2 + 1.2rem); }

/* ---------------------------------------------------------------
   CHAMADA FINAL (vídeo)
   --------------------------------------------------------------- */
.chamada {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 86svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 6rem;
}
.chamada video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.2) brightness(0.45);
}
.chamada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, rgb(0 0 0 / 0.3) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 20%, var(--preto) 85%);
}
.chamada .titulo { font-size: clamp(3.4rem, 12vw, 11rem); }
.chamada .lead { margin-inline: auto; color: #d0d0d6; }
.chamada-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 2.4rem; }

/* ---------------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .reacao-grade { grid-template-columns: 1fr; }
  .ficha-grade { grid-template-columns: repeat(2, 1fr); }
  .volta-fixo { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; }
  .volta-hud { grid-template-columns: 1fr 1fr; align-content: end; gap: 0.8rem 1.2rem; }
  .volta-hud > .volta-curva { grid-column: 1 / -1; min-height: 0; }
  .volta-nota { display: none; }
}

@media (max-width: 860px) {
  .gp { min-height: 640px; }
  .gp-palco { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; align-content: center; gap: 0.5rem; padding-top: 0.6rem; padding-bottom: 0.8rem; }
  .gp-visual { order: -1; min-height: 0; height: 100%; }
  .gp-foto { width: min(88vw, 44svh * 1.14); max-height: 100%; }
  .gp-numero { font-size: min(40vw, 26svh); right: -3%; bottom: -6%; }
  .gp-kicker { margin-bottom: 0.6rem; font-size: 0.62rem; }
  .gp-nome { font-size: clamp(3rem, 15vw, 4.6rem); margin-bottom: 0.7rem; }
  .gp-frase { margin-bottom: 1.1rem; font-size: 0.8rem; }
  .gp-acoes .btn--fantasma { display: none; }
  .btn { padding: 12px 22px; font-size: 1rem; }
  .gp-abas, .gp-abas [role="tablist"] { gap: 6px; }
  .gp-aba-in { flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; }
  .gp-aba-num { font-size: 1.25rem; }
  .gp-aba-nome { font-size: 0.66rem; letter-spacing: 0.02em; max-width: 100%; }
  .gp-pausa { width: 2.4rem; }
  .gp-placa { display: none; }

  .reacao-ref { grid-template-columns: 1fr 1fr 1fr; }
  .reacao-ref dd { font-size: 1.25rem; }

  .volta { height: 380vh; }
  .volta-dica { display: none; }
  .volta-hud { grid-template-columns: 1fr auto; }
  .volta-hud .volta-setores { grid-column: 1 / -1; }
  .volta-vel { font-size: 3.4rem; }
  .volta-marcha { width: 56px; height: 64px; font-size: 2.2rem; }
  .volta-cronometro { font-size: 2rem; }
  .pista-curva text { font-size: 18px; }

  .destinos-lista { flex-direction: column; gap: 12px; padding-bottom: 0; }
  .destino { --s: 8%; flex: none; width: 100%; height: 18rem; }
  .destino-forma { inset: 0; transform: none; border-radius: 26px; }
  .destino-forma img,
  .destino-link:hover .destino-forma img { left: 0; width: 100%; transform: none; }
  .destino-texto { padding-left: 1.6rem; }
  .destino + .destino { margin-left: 0; }
  .destino:nth-child(2) { transform: none; }
}

@media (max-width: 560px) {
  .ficha-grade { grid-template-columns: 1fr 1fr; }
  .ficha-item { padding: 1.2rem 1rem; }
  .ficha-num { font-size: 3rem; -webkit-text-stroke-width: 1.5px; }
  .ficha-item p:not(.ficha-num) { font-size: 0.95rem; }
  .pista-curva text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-flyby { display: none; }
  /* a barra é o relógio do carrossel: sem ela o piloto trocaria a cada quadro */
  .gp-progresso { animation-duration: var(--gp-tempo, 6s) !important; }
}
