/* FRAME · lista de espera */
:root {
  --preto: #000000;
  --branco: #FFFFFF;
  --texto-2: #BDBDBD;
  --texto-3: #8C8C8C;
  --campo: #0F0F0F;
  --borda: #5A5A5A;
  --titulo: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --corpo: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

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

html { background: var(--preto); }

body {
  margin: 0;
  background: var(--preto);
  color: var(--branco);
  font-family: var(--corpo);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--branco); }
a:hover { color: var(--texto-2); }

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

.saltar {
  position: absolute; left: -9999px; top: 0;
  background: var(--branco); color: var(--preto); padding: 12px 16px; z-index: 10;
}
.saltar:focus { left: 16px; top: 16px; }

/* Estrutura */
.pagina {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 40px clamp(16px, 5vw, 72px);
}

.topo, .rodape {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  color: var(--texto-3);
}

.topo {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 6px;
}

.palco {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 120px);
  padding: 48px 0;
}

/* Moldura (elemento gráfico do logótipo) */
.moldura {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 22vw, 300px);
  height: clamp(190px, 28vw, 380px);
  transform: skewX(-12deg);
}
.moldura::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 10px solid var(--branco);
}
.moldura::after {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 12px;
  height: 40%;
  background: var(--preto);
}

.conteudo {
  flex: 1 1 360px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

h1 {
  margin: 0;
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1;
}

.intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto-2);
}

/* Formulário */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.campo label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
}

.campo input,
.campo select {
  height: 48px;
  width: 100%;
  padding: 0 14px;
  background: var(--campo);
  border: 1px solid var(--borda);
  border-radius: 0;
  color: var(--branco);
  font-family: inherit;
  font-size: 16px;
}

.campo select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--branco) 50%), linear-gradient(135deg, var(--branco) 50%, transparent 50%);
  background-position: calc(100% - 22px) 21px, calc(100% - 16px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.campo input:focus,
.campo select:focus {
  outline: 2px solid var(--branco);
  outline-offset: 2px;
}

.consentimento {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--texto-2);
  cursor: pointer;
}
.consentimento input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--branco);
  cursor: pointer;
}

.botao {
  min-height: 52px;
  margin-top: 8px;
  padding: 0 24px;
  background: var(--branco);
  color: var(--preto);
  border: none;
  border-radius: 0;
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  cursor: pointer;
}
.botao:hover { background: #E6E6E6; }
.botao:disabled { opacity: 0.6; cursor: wait; }

.nota {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--texto-3);
}

.erro {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--branco);
  font-size: 14px;
  line-height: 1.5;
}

.escondido { display: none !important; }

.sucesso {
  margin-top: 8px;
  padding: 28px;
  border: 2px solid var(--branco);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sucesso:focus { outline: none; }
.sucesso-titulo {
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
}
.sucesso-texto {
  font-size: 16px;
  color: var(--texto-2);
}

.rodape {
  font-size: 13px;
}
.rodape a { color: var(--texto-3); }
.rodape a:hover { color: var(--branco); }
.rodape-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.rodape-links a { display: inline-block; padding: 8px 0; }

/* Páginas de texto (privacidade, obrigado) */
.texto {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.texto h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 8px; }
.texto h2 {
  margin: 40px 0 12px;
  font-family: var(--titulo);
  font-weight: 700;
  font-size: 26px;
}
.texto p, .texto li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto-2);
}
.texto ul { padding-left: 20px; }
.texto strong { color: var(--branco); font-weight: 600; }
.atualizado { color: var(--texto-3); font-size: 14px; }
.voltar {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-decoration: none;
  color: var(--texto-3);
  padding: 8px 0;
}

/* ===== Página forte (lista de espera) ===== */
.forte {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px);
}

.heroi {
  position: relative;
  margin: 0 clamp(20px, 3.5vw, 52px);
  padding: clamp(28px, 3.5vw, 52px) clamp(32px, 5vw, 80px) clamp(28px, 3.5vw, 52px) clamp(40px, 5.5vw, 88px);
}
.heroi-moldura {
  position: absolute;
  inset: 0;
  border: clamp(8px, 1vw, 14px) solid var(--branco);
  transform: skewX(-12deg);
  transform-origin: center;
  pointer-events: none;
}
.heroi-moldura span {
  position: absolute;
  left: calc(-1 * clamp(8px, 1vw, 14px) - 2px);
  top: calc(-1 * clamp(8px, 1vw, 14px) - 2px);
  width: calc(clamp(8px, 1vw, 14px) + 4px);
  height: 46%;
  background: var(--preto);
}
.heroi-titulo {
  position: relative;
  margin: 0;
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  max-width: 13ch;
}

.faixa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px clamp(32px, 5vw, 72px);
}

.contagem {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
}
.contagem-bloco {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 2.2ch;
}
.contagem-num {
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.contagem-lab {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--texto-3);
}

.faixa-texto {
  flex: 1 1 320px;
  max-width: 460px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--texto-2);
}
.faixa-texto strong { color: var(--branco); font-weight: 600; }
.faixa-texto .linha { display: block; }

.form-forte {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
}
.campos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 32px;
}
.campo-forte {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.campo-forte label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--texto-2);
}
.campo-forte input,
.campo-forte select {
  height: 56px;
  width: 100%;
  padding: 0 2px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--branco);
  border-radius: 0;
  color: var(--branco);
  font-family: inherit;
  font-size: 19px;
  font-weight: 500;
}
.campo-forte select {
  padding-right: 32px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--branco) 50%), linear-gradient(135deg, var(--branco) 50%, transparent 50%);
  background-position: calc(100% - 14px) 25px, calc(100% - 8px) 25px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.campo-forte select option { background: var(--preto); color: var(--branco); }
.campo-forte input:focus,
.campo-forte select:focus {
  outline: none;
  border-bottom-width: 4px;
}

.botao-forte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  padding: 0 clamp(24px, 3vw, 40px);
  background: var(--branco);
  color: var(--preto);
  border: 3px solid var(--branco);
  border-radius: 0;
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.botao-forte .seta { font-style: normal; transition: transform 150ms ease; }
.botao-forte:hover { background: var(--preto); color: var(--branco); }
.botao-forte:hover .seta { transform: translateX(8px); }
.botao-forte:disabled { opacity: 0.6; cursor: wait; }

.sucesso-forte {
  border: clamp(8px, 1vw, 14px) solid var(--branco);
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sucesso-forte:focus { outline: none; }
.sucesso-forte-titulo {
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.9;
}
.sucesso-forte-texto { font-size: 18px; color: var(--texto-2); }

@media (prefers-reduced-motion: no-preference) {
  .heroi-moldura { animation: moldura-entra 900ms cubic-bezier(.2,.7,.2,1) both; }
  .heroi-titulo { animation: titulo-entra 900ms 150ms cubic-bezier(.2,.7,.2,1) both; }
  @keyframes moldura-entra { from { opacity: 0; transform: skewX(-12deg) scale(1.04); } to { opacity: 1; transform: skewX(-12deg) scale(1); } }
  @keyframes titulo-entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 640px) {
  .pagina { padding-top: 24px; padding-bottom: 24px; }
  .heroi { margin: 0 18px; padding: 26px 18px 26px 30px; }
  .heroi-titulo { font-size: clamp(34px, 10vw, 48px); }
  .botao-forte { font-size: 24px; text-align: left; }
  .faixa-texto { font-size: 16px; }
  .botao-forte { min-height: 64px; }
  .topo { letter-spacing: 4px; font-size: 12px; }
  .palco { padding: 40px 0; gap: 40px; justify-content: flex-start; }
  .moldura { width: 120px; height: 150px; margin-left: 16px; }
  .moldura::before { border-width: 8px; }
  .moldura::after { width: 10px; }
}

@media (prefers-reduced-motion: no-preference) {
  .moldura { animation: entrar 900ms ease-out both; }
  @keyframes entrar { from { opacity: 0; transform: skewX(-12deg) translateY(16px); } to { opacity: 1; transform: skewX(-12deg); } }
}

.rodape-marca { font-weight: 600; letter-spacing: 6px; color: var(--texto-3); }

/* ===== Inscrições ===== */
.secao-titulo {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--texto-2);
}
.packs {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.packs legend { padding: 0; margin-bottom: 16px; }
.pack { position: relative; display: block; cursor: pointer; }
.pack input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pack-corpo {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 28px;
  border: 2px solid var(--texto-3);
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}
.pack:hover .pack-corpo { border-color: var(--branco); }
.pack input:focus-visible + .pack-corpo { outline: 2px solid var(--branco); outline-offset: 3px; }
.pack input:checked + .pack-corpo {
  background: var(--branco);
  color: var(--preto);
  border-color: var(--branco);
}
.pack-nome {
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 0.95;
  overflow-wrap: anywhere;
}
.pack-preco { font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.pack-preco strong {
  font-family: var(--titulo);
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0;
}
.pack-lista {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--texto-2);
}
.pack input:checked + .pack-corpo .pack-lista { color: #333333; }
.pack-lista > span { display: block; padding-left: 18px; position: relative; }
.pack-lista > span::before { content: "—"; position: absolute; left: 0; }
.pack-nota { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--texto-3); }
.campo-largo { grid-column: 1 / -1; }
.campo-forte textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 2px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--branco);
  border-radius: 0;
  color: var(--branco);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.5;
  resize: vertical;
}
.campo-forte textarea:focus { outline: none; border-bottom-width: 4px; }
.campo-opcional { font-weight: 500; letter-spacing: 1px; text-transform: none; color: var(--texto-3); }
.aviso-forte {
  border-left: 6px solid var(--branco);
  padding: 4px 0 4px 20px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--texto-2);
  max-width: 640px;
}
.aviso-forte strong { color: var(--branco); font-weight: 600; }

/* ===== Cor FRAME (#D5432B), igual ao logótipo final ===== */
:root { --vermelho: #D5432B; --vermelho-escuro: #B8371F; }
.heroi-moldura, .sucesso-forte { border-color: var(--vermelho); }
.botao-forte { background: var(--vermelho); border-color: var(--vermelho); color: var(--branco); }
.botao-forte:hover { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); color: var(--branco); }
.topo-logo { display: block; padding: 0; }
.topo-logo img { display: block; height: 44px; width: auto; }
.topo-data { color: var(--branco); }
.topo-data::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--vermelho); vertical-align: middle; margin: -2px 14px 0 0; transform: skewX(-12deg); }
@media (max-width: 640px) { .topo-logo img { height: 34px; } }
.consentimento input { accent-color: var(--vermelho); }
.pack input:checked + .pack-corpo { border-color: var(--vermelho); box-shadow: inset 0 0 0 2px var(--vermelho); }
.pack-lista > span::before { color: var(--vermelho); }
.pack input:checked + .pack-corpo .pack-lista > span::before { color: var(--vermelho); }
.aviso-forte { border-left-color: var(--vermelho); }
