/* Domingo da Restituição · ICB Vitória

   Conceito: o cartaz na parede e o ingresso na bilheteria. O topo é o cartaz
   do evento, no estilo dos cartazes da igreja. A inscrição é o próprio
   ingresso de papel: a pessoa escreve o nome nas linhas dele, e na página de
   obrigado o mesmo ingresso volta preenchido e carimbado.

   Cores da igreja (royal, marinho, celeste) sobre o azul-noite. O verde fica
   só para o que está livre: as vagas do Setor Geral e o botão que garante uma. */

:root {
  --noite: #06112E;
  --marinho: #0A1E5A;
  --marinho-claro: #0F2A78;
  --royal: #1646A8;
  --celeste: #6EC6FF;
  --luz: #F4F7FF;
  --luz-suave: #BFD0F5;
  --apagado: #8FA3D9;
  --verde: #34D27B;
  --verde-escuro: #1E9E58;
  --laranja: #FF9447;
  --dourado: #F2CF73;
  --erro: #FF9A8A;

  --papel: #F4F7FF;
  --tinta: #0A1E5A;
  --tinta-suave: #4A5C8F;
  --linha: #B9C6E8;
  --erro-papel: #B3261E;

  --fonte-titulo: 'Unbounded', 'Arial Black', sans-serif;
  --fonte-texto: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --margem: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(90% 55% at 50% -8%, rgba(110, 198, 255, 0.22), transparent 62%),
    linear-gradient(180deg, var(--noite) 0%, #081A4D 55%, var(--noite) 100%);
  background-color: var(--noite);
  color: var(--luz);
  font-family: var(--fonte-texto);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, address { margin: 0; }

:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 6px; }

.pular {
  position: absolute; left: var(--margem); top: -60px; z-index: 50;
  background: var(--luz); color: var(--noite); padding: 10px 14px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.pular:focus { top: 12px; }

.aviso-demo {
  background: #FFD166; color: #2B1D00; text-align: center;
  font-size: 13px; font-weight: 700; padding: 8px var(--margem);
}

/* ---------- tela de entrada ----------
   A página já carregada aparece atrás, embaçada. O dourado vem do banner
   oficial; o botão guarda o mistério e libera o som no mesmo toque. */
.intro { display: none; }
html.com-intro body { overflow: hidden; }
html.com-intro .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 100;
  padding: 24px 22px calc(24px + env(safe-area-inset-bottom));
  background: rgba(6, 17, 46, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 0.7s ease, backdrop-filter 0.7s ease, -webkit-backdrop-filter 0.7s ease;
}
html.com-intro .intro.saindo {
  opacity: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
}
.intro-conteudo {
  max-width: 440px; display: grid; gap: 26px; justify-items: center; text-align: center;
  animation: surgir 0.9s ease-out both;
}
@keyframes surgir { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.intro-conteudo img { width: 72px; height: 72px; }
.intro-promessa { margin: 0; }
.intro-promessa p {
  font-size: clamp(22px, 6.4vw, 30px); font-weight: 600; font-style: italic; line-height: 1.4;
  text-wrap: balance; text-shadow: 0 2px 18px rgba(6, 17, 46, 0.8);
}
.intro-promessa cite {
  display: block; margin-top: 12px; font-style: normal;
  font-size: 15px; font-weight: 700; color: var(--dourado);
}
.intro-botao {
  max-width: 340px; min-height: 60px; padding: 16px 26px; border: 0; border-radius: 14px; cursor: pointer;
  font: 800 17px/1.3 var(--fonte-texto); color: var(--noite);
  background: linear-gradient(180deg, #F8E09A, #E2B454);
  box-shadow: 0 4px 0 #B8862E;
  animation: chamar 2.4s ease-out infinite;
}
.intro-botao:active { transform: translateY(2px); box-shadow: 0 2px 0 #B8862E; }
@keyframes chamar {
  0% { box-shadow: 0 4px 0 #B8862E, 0 0 0 0 rgba(248, 224, 154, 0.55); }
  70% { box-shadow: 0 4px 0 #B8862E, 0 0 0 18px rgba(248, 224, 154, 0); }
  100% { box-shadow: 0 4px 0 #B8862E, 0 0 0 0 rgba(248, 224, 154, 0); }
}
.so-clique { display: none; }
@media (hover: hover) and (pointer: fine) {
  .so-toque { display: none; }
  .so-clique { display: inline; }
}

/* Botão de pausar a música: pequeno, no canto, acima da barra fixa. */
.musica {
  position: fixed; left: var(--margem); bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 45;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px;
  border-radius: 999px; cursor: pointer;
  background: rgba(6, 17, 46, 0.9); color: var(--luz); font: 700 13px var(--fonte-texto);
  border: 1px solid rgba(242, 207, 115, 0.5); backdrop-filter: blur(8px);
}
.musica-icone { width: 12px; height: 12px; display: inline-flex; gap: 2px; align-items: flex-end; }
.musica[aria-pressed="true"] .musica-icone {
  background: linear-gradient(var(--dourado), var(--dourado)) 0 100% / 3px 60% no-repeat,
              linear-gradient(var(--dourado), var(--dourado)) 50% 100% / 3px 100% no-repeat,
              linear-gradient(var(--dourado), var(--dourado)) 100% 100% / 3px 40% no-repeat;
}
.musica[aria-pressed="false"] .musica-icone {
  width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--dourado);
}

/* ---------- topo ---------- */
.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1160px; margin: 0 auto; padding: 14px var(--margem);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: 44px; height: 44px; }
.marca-texto { font-weight: 700; font-size: 14px; line-height: 1.2; }
.marca-texto small { display: block; font-weight: 500; font-size: 12px; color: var(--luz-suave); }
.topo-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 0 16px; border-radius: 10px;
  border: 1.5px solid rgba(110, 198, 255, 0.5); color: var(--luz);
}
.topo-cta:hover { background: rgba(110, 198, 255, 0.12); }

/* ---------- estrutura ---------- */
.pagina {
  max-width: 1160px; margin: 0 auto; padding: 0 var(--margem) 96px;
  display: grid; gap: 56px;
}

.secao-titulo {
  font-family: var(--fonte-titulo); font-weight: 800;
  font-size: clamp(22px, 5.6vw, 32px); line-height: 1.15; letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- cartaz (hero): o banner oficial ----------
   No celular o banner vai de ponta a ponta; no computador ele se alinha
   à grade da página. O título em texto fica para leitores de tela, já que o
   banner traz o título, a data e o horário na própria arte. */
.so-leitor {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.hero { display: grid; gap: 14px; }
.cartaz { margin: 0 calc(-1 * var(--margem)); background: var(--marinho); }
.banner { display: block; }
.banner img { width: 100%; height: auto; }

/* Contagem regressiva colada na base do banner. */
.contagem {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap;
  gap: 4px 10px; padding: 8px var(--margem);
  background: linear-gradient(90deg, var(--royal), var(--marinho-claro));
  border-top: 1px solid rgba(110, 198, 255, 0.35);
}
.contagem-rotulo { font-size: 14px; font-weight: 700; color: var(--luz-suave); }
.contagem-numeros { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: var(--luz-suave); }
.contagem-numeros i { font-style: normal; }
.contagem-numeros b {
  font: 800 20px var(--fonte-titulo); color: var(--luz);
  font-variant-numeric: tabular-nums; margin-right: 2px;
}

.hero-chamada { display: grid; gap: 14px; }
.hero-texto { display: grid; gap: 6px; }
/* Primeiro a data e o horário, depois a condição de entrada. */
.chamada-titulo { display: grid; gap: 6px; }
.chamada-data {
  font-family: var(--fonte-titulo); font-weight: 800;
  font-size: clamp(20px, 5.6vw, 28px); line-height: 1.2; text-wrap: balance;
}
.chamada-entrada { font-size: clamp(15px, 4.1vw, 20px); font-weight: 800; line-height: 1.3; }
.hero-lead { font-size: 16px; color: var(--luz-suave); max-width: 44ch; }
.hero-acao { display: grid; gap: 12px; }
.hero-acao .botao { width: 100%; }

/* Barra de ocupação: laranja é o que já foi preenchido, verde o que resta,
   as mesmas cores da planta do templo. */
.ocupacao { display: grid; gap: 6px; }
.ocupacao-texto { font-size: 16px; font-weight: 800; }
.ocupacao-barra { height: 10px; border-radius: 999px; background: var(--verde); overflow: hidden; }
.ocupacao-barra span { display: block; width: 75%; height: 100%; background: var(--laranja); }

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 22px; border-radius: 12px; border: 0;
  font-family: var(--fonte-texto); font-size: 17px; font-weight: 800;
  text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.2s ease;
}
.botao-principal { background: var(--verde); color: var(--noite); box-shadow: 0 4px 0 var(--verde-escuro); }
.botao-principal:hover { background: #45DE89; }
.botao-principal:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--verde-escuro); }
.botao-principal:disabled { opacity: 0.7; cursor: progress; }
.botao-secundario { background: transparent; color: var(--luz); border: 1.5px solid rgba(110, 198, 255, 0.55); }
.botao-secundario:hover { background: rgba(110, 198, 255, 0.1); }
.botao-largo { width: 100%; }
.botao-texto {
  background: none; border: 0; padding: 8px 12px; min-height: 44px; margin: 0 auto; display: block;
  color: var(--tinta-suave); font: 600 14px var(--fonte-texto);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* ---------- bilheteria: planta + ingresso ---------- */
.bilheteria { scroll-margin-top: 16px; display: grid; gap: 20px; }
.bilheteria-cabeca p { margin-top: 8px; color: var(--luz-suave); font-size: 16px; max-width: 46ch; }

.planta {
  background: var(--noite); border: 1px solid rgba(110, 198, 255, 0.22);
  border-radius: 18px; padding: 12px 12px 14px;
}
.mapa { display: block; width: 100%; height: auto; max-width: 420px; margin: 0 auto; }
.legenda {
  display: flex; justify-content: center; gap: 20px; margin-top: 8px;
  font-size: 13px; font-weight: 600; color: var(--luz-suave);
}
.legenda span { display: inline-flex; align-items: center; gap: 7px; }
.legenda-ponto { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legenda-ponto.ocupado { background: var(--laranja); }
.legenda-ponto.livre { background: var(--verde); }

.m-templo { fill: #0A1E5A; stroke: rgba(110, 198, 255, 0.4); stroke-width: 1.5; }
.m-porta { fill: var(--noite); }
.m-batente { stroke: var(--celeste); stroke-width: 2; stroke-linecap: round; }
.m-palco-texto { font: 800 12px var(--fonte-titulo); fill: var(--noite); }
.m-entrada { font: 700 10px var(--fonte-texto); fill: var(--celeste); }
.m-setor { stroke-width: 1; }
.m-lotado .m-setor { fill: rgba(255, 148, 71, 0.08); stroke: rgba(255, 148, 71, 0.55); }
.m-aberto .m-setor { fill: rgba(52, 210, 123, 0.07); stroke: rgba(52, 210, 123, 0.6); }
.m-rotulo { font: 700 10.5px var(--fonte-texto); fill: var(--luz); }
.m-status { font: 700 10px var(--fonte-texto); }
.m-lotado .m-status { fill: var(--laranja); }
.m-quase .m-setor { fill: rgba(255, 148, 71, 0.06); stroke: rgba(255, 193, 110, 0.6); }
.m-quase .m-status { fill: #FFC16E; }
.m-nivel { stroke: rgba(110, 198, 255, 0.35); stroke-width: 1.5; stroke-dasharray: 5 4; }
.m-rotulo-arena { font-size: 9.5px; }
.m-aberto .m-status { fill: var(--verde); }
.m-assento { fill: var(--verde); transition: fill 0.4s ease; }
.m-assento.ocupado { fill: var(--laranja); }
.m-assento.chegou { animation: sentou 0.7s ease-out; transform-box: fill-box; transform-origin: center; }
@keyframes sentou { 0% { transform: scale(1.8); } 100% { transform: scale(1); } }
.m-pessoa { fill: #FFFFFF; stroke: var(--celeste); stroke-width: 1.5; }

.m-seu-lugar-ponto { fill: #FFFFFF; stroke: var(--noite); stroke-width: 1.5; }
.m-seu-lugar-onda {
  fill: none; stroke: #FFFFFF; stroke-width: 2;
  transform-box: fill-box; transform-origin: center; animation: onda 1.6s ease-out infinite;
}
@keyframes onda { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.m-seu-lugar-texto { font: 800 10px var(--fonte-texto); fill: #FFFFFF; paint-order: stroke; stroke: var(--noite); stroke-width: 3px; }

.ingresso-bilheteria { scroll-margin-top: 12px; }

/* Telas bem estreitas (320 a 359 px): a contagem cabe numa linha só. */
@media (max-width: 359px) {
  .contagem { gap: 2px 8px; }
  .contagem-numeros { gap: 7px; font-size: 12px; }
  .contagem-numeros b { font-size: 17px; }
}

/* ---------- ingresso de papel (inscrição e obrigado) ----------
   Cada parte tem o próprio fundo de papel; o picote é transparente nas
   bordas, então os recortes redondos mostram o que estiver atrás. */
.ingresso {
  position: relative; border-radius: 18px; overflow: hidden;
  color: var(--tinta);
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.45));
}
.ingresso-topo {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: linear-gradient(120deg, var(--royal), var(--marinho-claro));
  color: var(--luz);
}
.ingresso-topo img { width: 42px; height: 42px; flex: none; }
.ingresso-evento { font-family: var(--fonte-titulo); font-weight: 900; font-size: 17px; text-transform: uppercase; line-height: 1.15; }
.ingresso-sub { font-size: 13px; font-weight: 600; color: var(--luz-suave); }

.ingresso-corpo, .ingresso-canhoto { background: var(--papel); }
.ingresso-corpo { padding: 18px 18px 10px; }
.ingresso-canhoto { padding: 6px 18px 18px; }
.ingresso-picote {
  position: relative; height: 24px;
  background:
    radial-gradient(circle at 0 50%, transparent 11px, var(--papel) 11.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 11px, var(--papel) 11.5px) right / 51% 100% no-repeat;
}
.ingresso-picote::after {
  content: ""; position: absolute; left: 20px; right: 20px; top: 50%;
  border-top: 2px dashed var(--linha);
}

.ingresso-dados { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.dado-largo { grid-column: 1 / -1; }
.dado dt { font-size: 12px; font-weight: 700; color: var(--tinta-suave); }
.dado dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.35; }

/* Linhas para escrever no ingresso. */
.formulario { display: grid; }
.linha-ingresso { display: grid; gap: 2px; margin-bottom: 16px; }
.linha-ingresso label { font-size: 13px; font-weight: 700; color: var(--tinta-suave); }
.linha-ingresso input {
  width: 100%; min-height: 46px; padding: 6px 4px;
  border: 0; border-bottom: 2px solid var(--linha); border-radius: 0;
  background: transparent; color: var(--tinta);
  font: 600 19px var(--fonte-texto);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.linha-ingresso input::placeholder { color: #9AA8CC; font-weight: 500; }
.linha-ingresso input:focus {
  outline: none; border-bottom-color: var(--royal);
  background: rgba(22, 70, 168, 0.07); box-shadow: 0 2px 0 var(--royal);
}
.linha-ingresso input[aria-invalid="true"] { border-bottom-color: var(--erro-papel); }
.campo-erro { font-size: 13px; font-weight: 600; color: var(--erro-papel); margin-top: 4px; }
.formulario .ingresso-dados { margin-top: 4px; grid-template-columns: 2fr 1fr; }
.formulario-erro { font-size: 14px; font-weight: 600; color: var(--erro-papel); margin-top: 12px; }
.privacidade { font-size: 12px; color: var(--tinta-suave); text-align: center; margin-top: 12px; }
.pote { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ja-inscrito { display: grid; gap: 12px; padding-bottom: 20px; }
.ja-inscrito-titulo { font-weight: 700; font-size: 17px; text-align: center; }

/* Inscrever outra pessoa: segundo botão do ingresso, com o motivo logo acima. */
.outra-pessoa {
  display: grid; gap: 10px; margin-top: 6px; padding-top: 16px;
  border-top: 2px dashed var(--linha); text-align: center;
}
.outra-pessoa p { font-size: 15px; font-weight: 600; color: var(--tinta-suave); line-height: 1.4; text-wrap: balance; }
.botao-contorno {
  background: transparent; color: var(--royal);
  border: 2px solid var(--royal); box-shadow: 0 3px 0 rgba(22, 70, 168, 0.25);
  gap: 10px;
}
.botao-contorno:hover { background: rgba(22, 70, 168, 0.07); }
.botao-contorno:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(22, 70, 168, 0.25); }
/* Compartilhar: setinha apontando para o botão, que abre o menu do aparelho. */
.seta-baixo {
  justify-self: center; width: 14px; height: 14px; margin: -2px 0 2px;
  border-right: 3px solid var(--royal); border-bottom: 3px solid var(--royal);
  transform: rotate(45deg); animation: apontar 1.4s ease-in-out infinite;
}
@keyframes apontar {
  0%, 100% { transform: translateY(-3px) rotate(45deg); }
  50% { transform: translateY(4px) rotate(45deg); }
}
.botao-compartilhar {
  gap: 10px; background: var(--royal); color: #FFFFFF;
  box-shadow: 0 4px 0 #0E2F75;
}
.botao-compartilhar:hover { background: #1B52C2; }
.botao-compartilhar:active { transform: translateY(2px); box-shadow: 0 2px 0 #0E2F75; }
.icone-compartilhar { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.compartilhar-opcoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.opcao {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 46px; padding: 6px 8px; border-radius: 10px; cursor: pointer; text-decoration: none;
  font: 700 14px var(--fonte-texto); color: var(--royal);
  background: rgba(22, 70, 168, 0.08); border: 1.5px solid rgba(22, 70, 168, 0.35);
}
.opcao[data-rede="whatsapp"] { color: #0E7A3F; background: rgba(37, 211, 102, 0.12); border-color: rgba(14, 122, 63, 0.4); }

.botao-mais {
  width: 14px; height: 14px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat,
    linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat;
}

/* ---------- anfitriões ----------
   Arte oficial dos anfitriões: de ponta a ponta no celular, como o banner
   do topo; centralizada e com cantos arredondados no computador. */
.arte-anfitrioes {
  width: calc(100% + 2 * var(--margem)); max-width: none; height: auto;
  margin: 0 calc(-1 * var(--margem)); background: var(--marinho);
}

/* ---------- local ---------- */
.local { display: grid; gap: 12px; justify-items: start; }
.locais { display: grid; gap: 28px; justify-items: start; }
.local-item { display: grid; gap: 12px; justify-items: start; }
.local-quando { font-weight: 700; font-size: 14px; color: var(--dourado); }
.local address { font-style: normal; font-size: 16px; color: var(--luz-suave); line-height: 1.6; }
.local address strong { display: block; color: var(--luz); font-size: 18px; }
.referencia { font-weight: 700; color: var(--celeste); }
/* No celular o mapa embutido não aparece nem carrega (economiza dados):
   o botão abre direto o app de mapas. */
.local-mapa { display: none; width: 100%; height: 260px; border: 0; border-radius: 14px; filter: saturate(0.85); }

/* ---------- rodapé ---------- */
.rodape {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 28px var(--margem) 110px; font-size: 13px; color: var(--luz-suave);
  border-top: 1px solid rgba(110, 198, 255, 0.14);
}
.rodape a { color: var(--celeste); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- barra fixa (celular) ---------- */
.barra-fixa {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--margem) calc(12px + env(safe-area-inset-bottom));
  background: rgba(6, 17, 46, 0.92); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(110, 198, 255, 0.2);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.barra-fixa.visivel { transform: translateY(0); }
/* iPhone: ao puxar além do fim da página, o Safari "quica" a tela e a barra
   subia junto, deixando um vão embaixo. Sem o quique, ela fica presa ao pé
   da tela. Nos aparelhos que ainda quicam, cópias do fundo da barra (sombras)
   cobrem o vão. Sombra só desenha: não cria área de rolagem, ao contrário de
   um elemento abaixo da barra, que no iPhone aumentava a página. */
html, body { overscroll-behavior-y: none; }
/* Só no Safari do iPhone, que é onde a tela quica. */
@supports (-webkit-touch-callout: none) {
  .barra-fixa {
    box-shadow:
      0 60px 0 var(--noite),
      0 120px 0 var(--noite),
      0 180px 0 var(--noite),
      0 240px 0 var(--noite),
      0 300px 0 var(--noite),
      0 360px 0 var(--noite),
      0 420px 0 var(--noite),
      0 480px 0 var(--noite),
      0 540px 0 var(--noite),
      0 600px 0 var(--noite),
      0 660px 0 var(--noite),
      0 720px 0 var(--noite),
      0 780px 0 var(--noite),
      0 840px 0 var(--noite),
      0 900px 0 var(--noite),
      0 960px 0 var(--noite);
  }
}

/* ---------- seções opcionais ---------- */
.beneficios, .video, .preletores, .programacao { display: grid; gap: 20px; }

.beneficios-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.beneficios-lista li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(22, 70, 168, 0.28); border: 1px solid rgba(110, 198, 255, 0.18);
  font-weight: 700; font-size: 16px;
}
.beneficios-lista li::before {
  content: ""; flex: none; width: 10px; height: 10px; transform: rotate(45deg);
  background: var(--dourado); box-shadow: 0 0 0 4px rgba(242, 207, 115, 0.18);
}

.video-quadro {
  position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: var(--noite); border: 1px solid rgba(110, 198, 255, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.video-quadro iframe, .video-capa { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-capa { padding: 0; cursor: pointer; background: none; display: block; }
.video-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--dourado); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.video-play::after {
  content: ""; position: absolute; left: 31px; top: 24px;
  border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--noite);
}
.video-capa:hover .video-play, .video-capa:focus-visible .video-play { transform: scale(1.08); }

.preletores-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 24px 16px;
}
.preletor { display: grid; justify-items: center; text-align: center; gap: 6px; }
.preletor img, .preletor-inicial {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--dourado); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.preletor-inicial {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--royal), var(--marinho));
  font-family: var(--fonte-titulo); font-weight: 800; font-size: 34px; color: var(--luz);
}
.preletor-nome { margin-top: 6px; font-family: var(--fonte-titulo); font-weight: 700; font-size: 15px; line-height: 1.25; }
.preletor-papel { font-size: 13px; color: var(--luz-suave); line-height: 1.4; }

.programacao-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.programacao-item {
  display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px;
  background: rgba(10, 30, 90, 0.7); border: 1px solid rgba(110, 198, 255, 0.18);
  border-left: 4px solid var(--dourado);
}
.programacao-quando { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.programacao-dia { font-family: var(--fonte-titulo); font-weight: 800; font-size: 17px; }
.programacao-hora { font-weight: 800; font-size: 14px; color: var(--noite); background: var(--dourado); border-radius: 999px; padding: 2px 10px; }
.programacao-desc { font-size: 15px; color: var(--luz); }
.programacao-local { font-size: 14px; font-weight: 600; color: var(--celeste); }

/* Botão do WhatsApp (fechamento da inscrição paga). */
.botao-whatsapp { gap: 10px; background: #25D366; color: #052E16; box-shadow: 0 4px 0 #128C4B; }
.botao-whatsapp:hover { background: #3BE07A; }
.botao-whatsapp:active { transform: translateY(2px); box-shadow: 0 2px 0 #128C4B; }
.icone-whatsapp { flex: none; }

/* ---------- computador ---------- */
@media (min-width: 960px) {
  :root { --margem: 32px; }
  .pagina { row-gap: 88px; padding-top: 4px; }
  .hero { gap: 28px; }
  .cartaz {
    margin: 0; border-radius: 20px; overflow: hidden;
    border: 1px solid rgba(110, 198, 255, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  }
  .contagem { padding: 12px 24px; gap: 12px; }
  .contagem-rotulo { font-size: 15px; }
  .contagem-numeros { gap: 14px; font-size: 14px; }
  .contagem-numeros b { font-size: 24px; }
  .hero-chamada { grid-template-columns: minmax(0, 1fr) 380px; align-items: center; column-gap: 56px; }
  .hero-lead { font-size: 18px; max-width: 52ch; }

  .bilheteria {
    grid-template-columns: minmax(0, 1fr) 440px;
    grid-template-areas: "cabeca cabeca" "planta ingresso";
    column-gap: 48px; row-gap: 28px; align-items: start;
  }
  .bilheteria-cabeca { grid-area: cabeca; }
  .planta { grid-area: planta; padding: 20px; }
  .mapa { max-width: 460px; }
  .ingresso-bilheteria { grid-area: ingresso; align-self: center; }

  .arte-anfitrioes {
    width: 100%; max-width: 560px; margin: 0 auto; border-radius: 20px;
    border: 1px solid rgba(110, 198, 255, 0.25); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  }
  .local { grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
  .local > .secao-titulo { grid-column: 1 / -1; }
  .local > .locais { grid-column: 1; }
  .local-mapa { display: block; grid-column: 2; grid-row: 2; height: 100%; min-height: 240px; }
  .beneficios-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-quadro { max-width: 860px; }
  .preletores-lista { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .programacao-lista { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .barra-fixa { display: none; }
  .musica { bottom: 24px; left: 24px; }
  .rodape { padding-bottom: 32px; }
}

/* ---------- plataforma ---------- */
.banner-vazio { display: grid; place-items: center; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--royal), var(--marinho)); }
.banner-vazio p { font-family: var(--fonte-titulo); font-weight: 800; font-size: clamp(22px, 5vw, 44px); text-align: center; padding: 16px; }
.compartilhar-dentro { display: grid; gap: 10px; }

/* Celular estreito: "Garantir minha vaga gratuita" cabe numa linha no ingresso. */
@media (max-width: 374px) {
  .ingresso-canhoto .botao { padding-inline: 12px; font-size: 15px; }
}
