/* =============================================================================
   Distrito 035 — visual "cromo e velocidade", tirado da logo:
   preto fundo, prata escovada nos títulos, vermelho nos riscos e no botão de compra.
   Títulos: Chakra Petch itálico (cantos cortados como as letras da logo).
   Texto: Archivo.
   ========================================================================== */
:root {
  --preto: #060607;
  --carvao: #0e0e10;
  --grafite: #151518;
  --grafite-2: #1c1c21;
  --linha: #2a2a31;
  --linha-forte: #3a3a43;
  --texto: #ececef;
  --apagado: #9b9ba6;
  --mudo: #6d6d78;
  --vermelho: #e1121b;
  --vermelho-vivo: #ff2a33;
  --vermelho-escuro: #7d0a0f;
  --verde: #2fd27a;
  --amarelo: #ffc531;
  --prata: linear-gradient(180deg, #ffffff 0%, #e4e4ea 34%, #8e8e99 52%, #d6d6de 70%, #ffffff 100%);
  --prata-lateral: linear-gradient(100deg, #8a8a94 0%, #f4f4f7 30%, #a5a5af 55%, #ffffff 80%, #9d9da7 100%);
  --raio: 14px;
  --raio-p: 9px;
  --sombra: 0 18px 50px -20px rgba(0, 0, 0, .9);
  --f-titulo: 'Chakra Petch', 'Archivo', sans-serif;
  --f-texto: 'Archivo', system-ui, sans-serif;
  --larg: 1180px;
  --barra-h: 0px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--preto);
  color: var(--texto);
  font: 400 16px/1.55 var(--f-texto);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--barra-h);
}
/* grão de fundo, bem leve */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--vermelho); color: #fff; }
:focus-visible { outline: 2px solid var(--vermelho-vivo); outline-offset: 3px; }

.envelope { width: min(var(--larg), 100% - 32px); margin-inline: auto; }

/* ---------------------------------------------------------------- tipografia */
.cromo {
  font-family: var(--f-titulo); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: -.01em; line-height: .92;
  background: var(--prata); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6));
}
h1, h2, h3 { margin: 0; }
.titulo-secao {
  font-family: var(--f-titulo); font-style: italic; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.45rem, 3.4vw, 1.9rem); letter-spacing: .01em; line-height: 1;
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
}
.titulo-secao::after {
  content: ''; flex: 1; height: 2px; transform: skewX(-30deg);
  background: linear-gradient(90deg, var(--vermelho) 0 46px, var(--linha) 46px);
}
.rotulo {
  font-family: var(--f-titulo); font-weight: 600; font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--apagado);
}
.miudo { font-size: .86rem; color: var(--apagado); }
.vermelho { color: var(--vermelho-vivo); }

/* ---------------------------------------------------------------- topo */
.topo {
  position: sticky; top: 0; z-index: 30;
  background: rgba(6, 6, 7, .78); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topo .envelope { display: flex; align-items: center; gap: 18px; height: 64px; }
.topo .marca { display: block; width: 104px; flex: none; }
.topo .marca img { width: 100%; mix-blend-mode: screen; }
.topo nav { margin-left: auto; display: flex; gap: 6px; }
.topo nav a {
  text-decoration: none; font-family: var(--f-titulo); font-weight: 600; font-size: .86rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--apagado);
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.topo nav a:hover, .topo nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .06); }
.topo nav a { white-space: nowrap; }
@media (max-width: 420px) {
  .topo .marca { width: 88px; }
  .topo nav { gap: 2px; }
  .topo nav a { font-size: .74rem; padding: 8px 9px; letter-spacing: .06em; }
}

/* ---------------------------------------------------------------- botões */
.botao {
  --b-fundo: var(--vermelho);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--b-fundo); color: #fff; text-decoration: none;
  font-family: var(--f-titulo); font-weight: 700; font-style: italic; font-size: 1.02rem;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 10px 30px -10px rgba(225, 18, 27, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
}
.botao::after { /* brilho que passa */
  content: ''; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-25deg); transition: left .55s ease;
}
.botao:hover::after { left: 120%; }
.botao:hover { box-shadow: 0 14px 34px -10px rgba(255, 42, 51, .85), inset 0 1px 0 rgba(255, 255, 255, .3); }
.botao:active { transform: translateY(1px) scale(.99); }
.botao[disabled], .botao.desligado { opacity: .38; pointer-events: none; box-shadow: none; }
.botao.cheio { width: 100%; }
.botao.fantasma {
  background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linha-forte);
  font-style: normal; font-weight: 600; font-size: .9rem; min-height: 40px; padding: 0 16px;
}
.botao.fantasma:hover { box-shadow: inset 0 0 0 1px #fff; }
.botao.prata { background: var(--prata-lateral); color: #111; box-shadow: 0 10px 30px -14px rgba(255, 255, 255, .45); }

.pilula {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px;
  background: var(--grafite); border: 1px solid var(--linha); color: var(--texto);
  font-size: .86rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.pilula:hover { border-color: var(--linha-forte); background: var(--grafite-2); }
.pilula svg { width: 16px; height: 16px; flex: none; }

/* ---------------------------------------------------------------- selos de idade */
.selo {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-family: var(--f-titulo); font-weight: 700; font-style: italic; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px 4px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.selo.mais18 { background: var(--vermelho); color: #fff; }
.selo.mais16 { background: var(--prata-lateral); color: #101012; }
.selo.neutro { background: var(--grafite-2); color: var(--apagado); }

/* ---------------------------------------------------------------- cartões */
.cartao {
  background: linear-gradient(180deg, var(--grafite) 0%, var(--carvao) 100%);
  border: 1px solid var(--linha); border-radius: var(--raio);
}

/* ---------------------------------------------------------------- formulário */
.campo { display: grid; gap: 6px; }
.campo > span { font-size: .8rem; font-weight: 600; color: var(--apagado); letter-spacing: .02em; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--raio-p);
  background: var(--preto); border: 1px solid var(--linha-forte); color: #fff; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.campo textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08);
}
.campo.erro input { border-color: var(--vermelho-vivo); }
.campo .aviso { font-size: .8rem; color: var(--vermelho-vivo); min-height: 0; }
.campo .aviso:empty { display: none; }
.campo .ok { font-size: .8rem; color: var(--verde); }
.grade-2 { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grade-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--apagado); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--vermelho); flex: none; margin: 1px 0 0; }

/* ---------------------------------------------------------------- avisos */
.faixa {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--raio-p);
  background: rgba(225, 18, 27, .1); border: 1px solid rgba(225, 18, 27, .35); font-size: .92rem;
}
.faixa.info { background: rgba(255, 255, 255, .04); border-color: var(--linha); }
.faixa.boa { background: rgba(47, 210, 122, .09); border-color: rgba(47, 210, 122, .35); }
.faixa svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--barra-h) + 20px); z-index: 99;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #fff; color: #111; font-weight: 600; padding: 12px 18px; border-radius: 999px;
  box-shadow: var(--sombra); transition: .25s ease; max-width: calc(100% - 32px); text-align: center;
}
.toast.visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- carregando */
.carregando { display: grid; place-items: center; min-height: 50vh; }
.giro {
  width: 44px; height: 44px; border-radius: 50%;
  border: 3px solid var(--linha); border-top-color: var(--vermelho); animation: giro .8s linear infinite;
}
@keyframes giro { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- pôster automático
   Quando o show não tem banner, a página monta um pôster com os dados dele. */
.poster {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--raio);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(225, 18, 27, .55), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(125, 10, 15, .8), transparent 60%),
    linear-gradient(160deg, #18181c, #050506);
  border: 1px solid var(--linha); isolation: isolate;
  container-type: inline-size;
}
.poster::before { /* riscos de velocidade */
  content: ''; position: absolute; inset: -20%; z-index: -1; opacity: .55;
  background: repeating-linear-gradient(-28deg, transparent 0 22px, rgba(255, 255, 255, .05) 22px 24px,
              transparent 24px 60px, rgba(225, 18, 27, .35) 60px 61px);
  animation: riscos 14s linear infinite;
}
@keyframes riscos { to { transform: translateX(120px); } }
.poster .p-logo { position: absolute; top: 6%; left: 5%; width: 26%; mix-blend-mode: screen; }
.poster .p-data {
  position: absolute; top: 5%; right: 5%; text-align: right;
  font-family: var(--f-titulo); font-weight: 700; font-style: italic; line-height: .85;
  font-size: 15cqi; background: var(--prata); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.poster .p-data small { display: block; font-size: 3.6cqi; letter-spacing: .25em; color: var(--vermelho-vivo); -webkit-text-fill-color: var(--vermelho-vivo); margin-top: 1.4cqi; }
.poster .p-titulo {
  position: absolute; left: 5%; right: 5%; bottom: 13%;
  font-family: var(--f-titulo); font-weight: 700; font-style: italic; text-transform: uppercase;
  font-size: 10cqi; line-height: .9; background: var(--prata); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .6cqi 0 rgba(0, 0, 0, .7));
}
.poster .p-local {
  position: absolute; left: 5%; bottom: 5%; font-family: var(--f-titulo); font-weight: 600;
  font-size: 2.8cqi; letter-spacing: .2em; text-transform: uppercase; color: var(--apagado);
}

/* ---------------------------------------------------------------- rodapé */
.rodape { border-top: 1px solid var(--linha); margin-top: 72px; padding: 32px 0 40px; color: var(--mudo); font-size: .85rem; }
.rodape .envelope { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.rodape img { width: 88px; mix-blend-mode: screen; opacity: .8; }
.rodape a { color: var(--apagado); }

/* ---------------------------------------------------------------- entrada animada */
.surge { animation: surge .7s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes surge { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
