/* CondoSamba — página pública (condosamba.com.br)
   Cores, tipografia e medidas vêm de /comum/css/tokens.css: aqui só se usam, não se redefinem.
   Ordem: base · faixa · abertura · seções · peças · rodapé · página de erro · movimento · impressão */

:root {
  --fio: linear-gradient(90deg, transparent, var(--ouro) 22%, var(--ouro-claro) 50%, var(--ouro) 78%, transparent);
  /* reflexo que desce do alto e do centro, por cima do dourado metálico */
  --luz-de-cima: radial-gradient(ellipse 70% 130% at 50% -10%, rgba(255, 255, 255, 0.62), transparent 62%);
  --moldura: linear-gradient(180deg, #ffe9a6 0%, #ebaf34 28%, #8a4a12 68%, #e0a035 100%);
  --saida-suave: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--preto);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: var(--texto);
  line-height: 1.6;
  color: var(--creme);
  background: var(--preto);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

img,
svg,
canvas {
  display: block;
}

a {
  color: var(--ouro-claro);
  text-underline-offset: 0.2em;
}

strong {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

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

::selection {
  background: var(--ouro);
  color: var(--sobre-ouro);
}

[id] {
  scroll-margin-top: 1.5rem;
}

.junto {
  white-space: nowrap;
}

.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1.1rem;
  border-radius: var(--raio-pequeno);
  background: var(--ouro);
  color: var(--sobre-ouro);
  font-weight: 700;
}

.pular:focus {
  top: 0.75rem;
}

.moldes {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------------------------------------------------------------- faixa do alto */
.primeira-tela {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.faixa {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem max(1rem, env(safe-area-inset-right)) 0.5rem max(1rem, env(safe-area-inset-left));
  background: linear-gradient(180deg, #1d140b, var(--painel));
  font-size: var(--texto-minimo);
  line-height: 1.35;
  text-align: center;
}

.faixa::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--fio);
}

.faixa strong {
  color: var(--ouro-claro);
  letter-spacing: 0.02em;
}

.faixa-cadeado {
  flex: none;
  color: var(--ouro);
}

.faixa-ponto {
  color: var(--ouro);
}

@media (max-width: 35.99rem) {
  .faixa-ponto {
    display: none;
  }

  .faixa-resto {
    display: block;
  }
}

/* ---------------------------------------------------------------- abertura */
.abertura {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  overflow: clip;
  padding: 1rem 1rem 5rem;
  padding: clamp(0.75rem, 2.4svh, 2rem) 1rem clamp(4.75rem, 11svh, 7rem);
  text-align: center;
  background:
    linear-gradient(180deg, transparent 78%, var(--preto) 100%),
    radial-gradient(ellipse 90% 72% at 50% 36%, #21160b 0%, #150f09 50%, var(--preto) 100%);
}

/* brilho dourado atrás do logo, como no vídeo do telão */
.abertura-brilho {
  position: absolute;
  z-index: 0;
  top: -6%;
  left: 50%;
  width: min(150vw, 74rem);
  height: min(118vw, 44rem);
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 50% 50% at 50% 46%,
    rgba(246, 160, 40, 0.34),
    rgba(246, 160, 40, 0.12) 46%,
    transparent 70%
  );
  animation: pulso 7s ease-in-out 6 alternate;
  pointer-events: none;
}

/* Sem script não há botão de pausa: plumas e brilho dão algumas voltas e param (WCAG 2.2.2).
   Com o script, giram sem parar e o botão "Pausar animação" controla tudo. */
.animacao-livre .abertura-brilho,
.animacao-livre .pena {
  animation-iteration-count: infinite;
}

.fundo-vivo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}

.fundo-vivo.pronto {
  opacity: 1;
}

/* plumas nos cantos: cada uma gira em torno da própria base, que fica fora da tela */
.penas {
  position: absolute;
  top: 0;
  z-index: 1;
  width: clamp(10rem, 40vw, 30rem);
  aspect-ratio: 1;
  pointer-events: none;
}

.penas-esq {
  left: 0;
}

.penas-dir {
  right: 0;
  transform: scaleX(-1);
}

.pena {
  position: absolute;
  top: -2%;
  left: calc(var(--l) / -2 - 2%);
  width: var(--l);
  height: auto;
  overflow: visible;
  transform-origin: 50% 96.97%;
  transform: translateY(-96.97%) rotate(var(--a));
  animation: balanco var(--t) ease-in-out 6 alternate;
  will-change: transform;
}

.pena-1 {
  --l: 76%;
  --a: 171deg;
  --t: 8.5s;
}

.pena-2 {
  --l: 70%;
  --a: 150deg;
  --t: 7s;
  animation-delay: -2s;
}

.pena-3 {
  --l: 62%;
  --a: 127deg;
  --t: 9s;
  animation-delay: -4s;
}

.pena-4 {
  --l: 50%;
  --a: 105deg;
  --t: 6.5s;
  animation-delay: -1s;
}

/* a base da abertura some no preto da página (os refletores não terminam em linha reta) */
.abertura::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 24%;
  background: linear-gradient(180deg, transparent, var(--preto) 92%);
  pointer-events: none;
}

.abertura-conteudo {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
}

/* véu escuro atrás dos textos, para o confete não atrapalhar a leitura */
.abertura-conteudo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 30% -8% -6%;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(14, 11, 8, 0.88),
    rgba(14, 11, 8, 0.7) 55%,
    transparent 100%
  );
}

.marca {
  position: relative;
  width: min(80vw, 21rem, 46vh);
  width: min(80vw, 21rem, 46svh);
  margin: 0 auto;
  aspect-ratio: 694 / 454;
  animation: entra-logo 0.6s cubic-bezier(0.2, 0.8, 0.3, 1.12) both;
}

.marca img {
  width: 100%;
  height: 100%;
}

/* reflexo de luz: uma faixa clara que atravessa o logo, recortada pelo próprio logo */
.marca-reflexo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("/comum/img/condosamba-logo.webp") center / 100% 100% no-repeat;
  mask: url("/comum/img/condosamba-logo.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}

.marca-reflexo::before {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 252, 240, 0.78) 50%, transparent);
  transform: translateX(-150%) skewX(-22deg);
  animation: varre 1.05s 0.65s cubic-bezier(0.45, 0, 0.2, 1) both;
}

.edicao {
  margin-top: clamp(0.1rem, 0.9svh, 0.7rem);
  padding-left: 0.42em; /* compensa o espaçamento depois da última letra */
  font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  animation: sobe 0.55s 0.95s var(--saida-suave) both;
}

/* placa "CAMAROTE" do abadá: dourado metálico, pontas em bico, letra escura */
.placa-fios {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: clamp(0.55rem, 1.5svh, 1rem);
  filter: drop-shadow(0 0 14px rgba(235, 175, 52, 0.42));
  animation: abre-placa 0.6s 1.2s cubic-bezier(0.2, 0.8, 0.3, 1.15) both;
}

.placa-fios::before,
.placa-fios::after {
  content: "";
  flex: 1 1 0;
  max-width: 5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro));
}

.placa-fios::after {
  background: linear-gradient(270deg, transparent, var(--ouro));
}

.placa {
  position: relative;
  flex: none;
  overflow: hidden;
  padding: 0.5em 2.1em 0.5em calc(2.1em + 0.34em); /* a sobra à esquerda compensa o espaçamento depois da última letra */
  font-size: clamp(1.0625rem, 0.92rem + 0.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sobre-ouro);
  background: var(--luz-de-cima), var(--ouro-metal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 3px rgba(138, 74, 18, 0.55);
  clip-path: polygon(1em 0, calc(100% - 1em) 0, 100% 50%, calc(100% - 1em) 100%, 1em 100%, 0 50%);
}

.placa::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7) 50%, transparent);
  transform: translateX(-160%) skewX(-22deg);
  animation: varre-placa 0.9s 1.75s cubic-bezier(0.45, 0, 0.2, 1) both;
}

.abertura-local {
  margin-top: clamp(0.6rem, 1.6svh, 1rem);
  font-size: clamp(0.9375rem, 0.85rem + 0.5vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  animation: sobe 0.5s 1.45s var(--saida-suave) both;
}

.abertura-local span {
  white-space: nowrap;
}

.travessao {
  color: var(--ouro);
}

@media (max-width: 33.99rem) {
  .abertura-local span {
    display: block;
  }

  .abertura-local .travessao {
    display: none;
  }
}

/* datas e horário em caixinhas de moldura dourada, como os quadros do abadá */
.fichas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 24rem;
  margin: clamp(0.7rem, 1.8svh, 1.2rem) auto 0;
  animation: sobe 0.5s 1.55s var(--saida-suave) both;
}

.ficha {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.25rem 0.45rem;
  border: 1px solid rgba(235, 175, 52, 0.7);
  border-radius: 10px;
  background: rgba(14, 11, 8, 0.66);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 18px -6px rgba(235, 175, 52, 0.45);
  line-height: 1.15;
}

.ficha-rotulo {
  font-size: var(--texto-minimo);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ouro-claro);
}

.ficha-valor {
  margin-top: 0.1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.ficha-as {
  font-size: 0.7em;
  font-weight: 600;
}

/* contagem regressiva */
.contagem {
  margin-top: clamp(0.8rem, 2svh, 1.4rem);
  animation: sobe 0.5s 1.65s var(--saida-suave) both;
}

.contagem-texto,
.contagem-relogio {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(3.6rem, 3rem + 2.8vw, 5rem);
}

.contagem-texto {
  font-size: clamp(1.35rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ouro-claro);
  text-wrap: balance;
}

.contagem-parte {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(4.4rem, 3.4rem + 5vw, 7rem);
  padding: 0 0.4rem;
}

.contagem-parte + .contagem-parte::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 28%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ouro), transparent);
}

.contagem-numero {
  font-size: clamp(2.1rem, 1.5rem + 3vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: var(--ouro);
}

.contagem-unidade {
  margin-top: 0.3rem;
  font-size: var(--texto-minimo);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--suave);
}

.contagem-rotulo {
  max-width: 34rem;
  margin: 0.45rem auto 0;
  font-size: var(--texto-pequeno);
  line-height: 1.4;
  color: var(--creme);
  text-wrap: balance;
}

@media (max-width: 33.99rem) {
  .contagem-rotulo {
    min-height: 2.8em; /* o rótulo da contagem ocupa duas linhas no celular */
  }
}

.lema {
  margin-top: clamp(0.6rem, 1.8svh, 1.3rem);
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3rem);
  font-weight: 600;
  color: var(--ouro-claro);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  animation: sobe 0.5s 1.75s var(--saida-suave) both;
}

/* fita dourada torcida, na passagem da abertura para o conteúdo */
.fita {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  width: 100%;
  height: clamp(4.5rem, 9vw, 8rem);
  pointer-events: none;
}

/* botão discreto logo abaixo do lema, longe da fita e das plumas */
.pausar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  margin-top: clamp(0.6rem, 1.6svh, 1.1rem);
  padding: 0 0.85rem 0 0.75rem;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: rgba(14, 11, 8, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--suave);
  font: 500 var(--texto-minimo) / 1 var(--fonte);
  cursor: pointer;
  animation: sobe 0.5s 1.85s var(--saida-suave) both;
}

/* área de toque de 48 px sem engordar o botão */
.pausar::after {
  content: "";
  position: absolute;
  inset: -0.4rem;
}

.pausar:hover {
  color: var(--creme);
  border-color: var(--bronze);
}

.pausar-icone {
  width: 0.62rem;
  height: 0.7rem;
  border: solid currentColor;
  border-width: 0 0.2rem;
}

.animacao-pausada .pausar-icone {
  width: 0;
  height: 0;
  border-width: 0.38rem 0 0.38rem 0.62rem;
  border-color: transparent transparent transparent currentColor;
}

.animacao-pausada .pena,
.animacao-pausada .abertura-brilho {
  animation-play-state: paused;
}

@media (min-width: 48rem) {
  /* sem logo em vetor, não passa de ~1,3× o tamanho do arquivo (ver docs/pendencias/SITE.md) */
  .marca {
    width: min(26rem, 46vh);
    width: min(26rem, 46svh);
  }

  .fichas {
    max-width: 27rem;
    gap: 0.75rem;
  }

  .ficha {
    padding: 0.55rem 0.5rem 0.6rem;
  }
}

/* ---------------------------------------------------------------- seções */
.secao {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
}

/* luz de cima e um brilho dourado que alterna os lados, para o preto não ficar chapado */
.secao::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 30rem 50% at 4% 50%, rgba(235, 175, 52, 0.12), transparent);
  pointer-events: none;
}

.secao:nth-of-type(even)::before {
  background: radial-gradient(ellipse 30rem 50% at 96% 50%, rgba(235, 175, 52, 0.12), transparent);
}

/* luz de cima só logo depois de uma fita, que esconde onde ela começa */
.divisor + .secao::before {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0, rgba(235, 175, 52, 0.07), transparent),
    radial-gradient(ellipse 30rem 50% at 4% 50%, rgba(235, 175, 52, 0.12), transparent);
}

.divisor + .secao:nth-of-type(even)::before {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0, rgba(235, 175, 52, 0.07), transparent),
    radial-gradient(ellipse 30rem 50% at 96% 50%, rgba(235, 175, 52, 0.12), transparent);
}

/* a fita do abadá de novo, mais estreita, entre algumas seções */
.divisor {
  height: clamp(2.75rem, 5.5vw, 4.75rem);
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.divisor svg {
  width: 100%;
  height: 100%;
}

.divisor-espelho {
  transform: scaleX(-1);
}

/* pluma parada e apagada num canto da seção, como as do abadá */
.enfeite {
  position: absolute;
  z-index: -1;
  top: 0;
  width: clamp(7rem, 22vw, 15rem);
  height: auto;
  opacity: 0.18;
  pointer-events: none;
}

.enfeite-esq {
  left: clamp(-3rem, -4vw, -1rem);
  transform: rotate(-28deg);
}

.enfeite-dir {
  right: clamp(-3rem, -4vw, -1rem);
  transform: rotate(28deg);
}

.miolo {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
}

.miolo.estreito {
  max-width: 46rem;
}

/* título entre dois fios dourados, como "PATROCINADORES OFICIAIS" no abadá */
.titulo-fio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  color: var(--ouro-claro);
}

.titulo-fio span {
  padding-left: 0.2em;
  text-wrap: balance;
}

.titulo-fio::before,
.titulo-fio::after {
  content: "";
  flex: 1 1 1.5rem;
  min-width: 1.25rem;
  max-width: 10rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro));
}

.titulo-fio::after {
  background: linear-gradient(270deg, transparent, var(--ouro));
}

/* no celular o título cabe numa linha só, para os fios não virarem tocos */
@media (max-width: 27.99rem) {
  .titulo-fio {
    gap: 0.6rem;
    font-size: 1rem;
    letter-spacing: 0.07em;
  }

  .titulo-fio span {
    padding-left: 0.1em;
  }

  .titulo-fio::before,
  .titulo-fio::after {
    flex-basis: 0;
    min-width: 1rem;
  }
}

@media (max-width: 23.49rem) {
  .titulo-fio {
    font-size: var(--texto-pequeno);
    letter-spacing: 0.06em;
  }
}

.subtitulo {
  margin: calc(clamp(1.5rem, 4vw, 2.5rem) * -0.6) 0 clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  color: var(--creme);
}

.apresentacao {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3rem);
  line-height: 1.65;
  text-align: center;
  text-wrap: pretty;
}

.nota {
  margin-top: 1.5rem;
  font-size: var(--texto-pequeno);
  text-align: center;
  color: var(--suave);
}

/* ---------------------------------------------------------------- peças */
/* cartão de moldura dourada arredondada, como os quadros de patrocinador do abadá */
.cartao {
  position: relative;
  border: 1.5px solid transparent;
  border-radius: var(--raio);
  background:
    linear-gradient(180deg, var(--painel-2), var(--painel)) padding-box,
    var(--moldura) border-box;
  box-shadow:
    var(--sombra),
    0 0 26px -12px rgba(235, 175, 52, 0.5);
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--toque);
  padding: 0.7rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    filter 0.15s ease,
    background-color 0.15s ease;
}

.botao.principal {
  color: var(--sobre-ouro);
  background: var(--luz-de-cima), var(--ouro-metal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 12px 26px -14px rgba(235, 175, 52, 0.8);
}

.botao.secundario {
  color: var(--ouro-claro);
  border-color: var(--ouro);
  background: rgba(235, 175, 52, 0.07);
}

.botao:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.botao.secundario:hover {
  background: rgba(235, 175, 52, 0.16);
}

.botao:active {
  transform: none;
}

/* O Camarote: três fatos */
.fatos {
  display: grid;
  gap: 0.9rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.fato {
  display: grid;
  grid-template-columns: minmax(5.6rem, auto) 1fr;
  align-items: center;
  column-gap: 0.9rem;
  padding: 1.1rem 1.1rem 1.1rem 0.6rem;
}

.fato-numero {
  grid-row: span 2;
  font-size: clamp(2.3rem, 1.8rem + 2.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-align: center;
  color: var(--ouro);
}

.fato h3 {
  align-self: end;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ouro-claro);
}

.fato p {
  align-self: start;
  margin-top: 0.2rem;
  line-height: 1.45;
}

@media (min-width: 56rem) {
  .fatos {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .fato {
    display: block;
    padding: 1.9rem 1.4rem 1.7rem;
    text-align: center;
  }

  .fato-numero {
    display: block;
    margin-bottom: 0.7rem;
  }

  .fato p {
    margin-top: 0.4rem;
  }
}

/* dourado metálico só nos números grandes (onde o navegador sabe recortar o fundo pela letra) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .contagem-numero,
  .fato-numero {
    background: var(--ouro-metal);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* Programação: uma linha do tempo por noite */
.noites {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 52rem) {
  .noites {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.noite {
  padding: clamp(1.25rem, 3.6vw, 2.1rem);
}

.noite-titulo {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
}

.noite-data {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--texto);
  font-weight: 600;
  color: var(--ouro-claro);
}

.linha-do-tempo {
  margin-top: 1.2rem;
}

.linha-do-tempo > li {
  position: relative;
}

/* o fio: um trecho por item, do ponto dele até o ponto do item seguinte (os itens têm alturas diferentes) */
.linha-do-tempo > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.38rem;
  bottom: -1.38rem;
  width: 2px;
  margin-left: -1px;
  background: rgba(235, 175, 52, 0.8);
  transform-origin: top;
}

.linha-do-tempo > .lt-meia-noite::after {
  top: 0;
}

.lt-item {
  display: grid;
  grid-template-columns: 4.3rem 1fr;
  align-items: baseline;
  column-gap: 0.5rem;
  padding: 0.6rem 0.5rem 0.6rem 1.9rem;
}

.lt-item::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 1.38rem;
  width: 0.7rem;
  height: 0.7rem;
  margin: -0.35rem 0 0 -0.35rem;
  z-index: 1;
  border: 2px solid var(--ouro);
  border-radius: 50%;
  background: var(--painel);
}

.lt-item time {
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ouro-claro);
}

.lt-nome {
  font-weight: 600;
  line-height: 1.35;
}

/* 20h — Abertura do camarote: o primeiro item de cada noite, em destaque */
.lt-abertura {
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(235, 175, 52, 0.2), rgba(235, 175, 52, 0.04) 85%);
}

.lt-abertura::before {
  width: 0.95rem;
  height: 0.95rem;
  margin: -0.475rem 0 0 -0.475rem;
  border: 0;
  background: var(--ouro-metal);
  box-shadow: 0 0 0 4px rgba(235, 175, 52, 0.22), 0 0 14px rgba(235, 175, 52, 0.7);
}

.lt-abertura .lt-nome {
  font-weight: 700;
  color: var(--ouro-claro);
}

/* em tela estreita o destaque vira duas linhas: o horário em cima, "Abertura do camarote" embaixo */
@media (max-width: 27.99rem) {
  .lt-abertura {
    display: block;
  }

  .lt-abertura time {
    display: block;
    font-size: 1.35rem;
    line-height: 1.3;
  }
}

.lt-meia-noite {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.5rem 0.35rem 1.9rem;
  font-size: var(--texto-minimo);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--suave);
}

.lt-meia-noite span {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lt-meia-noite span::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--bronze) 0 5px, transparent 5px 11px);
}

/* "madrugada" fica sempre na linha de baixo do nome: as duas noites ficam com o mesmo desenho */
.lt-selo {
  display: block;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.05rem 0.6rem 0.1rem;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  font-size: var(--texto-minimo);
  font-weight: 500;
  line-height: 1.4;
  color: var(--suave);
}

/* Como funciona o convite: quatro passos */
.passos {
  position: relative;
  display: grid;
  gap: 1.4rem;
  max-width: 34rem;
  margin: 0 auto;
}

.passos::before {
  content: "";
  position: absolute;
  left: 1.625rem;
  top: 1.6rem;
  bottom: 1.6rem;
  width: 1px;
  background: linear-gradient(180deg, var(--ouro), var(--bronze));
}

.passo {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  align-items: center;
  column-gap: 1rem;
}

.passo-numero {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--sobre-ouro);
  background: var(--luz-de-cima), var(--ouro-metal);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 5px var(--preto),
    0 0 18px rgba(235, 175, 52, 0.45);
}

.passo strong {
  color: var(--ouro-claro);
}

@media (min-width: 56rem) {
  .passos {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: none;
  }

  .passos::before {
    left: 12.5%;
    right: 12.5%;
    top: 1.625rem;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--bronze), var(--ouro) 20%, var(--ouro) 80%, var(--bronze));
  }

  .passo {
    display: block;
    text-align: center;
  }

  .passo-numero {
    margin: 0 auto 1.1rem;
  }
}

/* Perguntas frequentes */
.perguntas {
  padding: 0.35rem clamp(1rem, 3.5vw, 1.75rem);
}

.pergunta + .pergunta {
  border-top: 1px solid var(--linha);
}

.pergunta summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.9rem 0;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.pergunta summary::-webkit-details-marker {
  display: none;
}

/* sinal de mais que vira menos quando a pergunta abre */
.pergunta summary::after {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--ouro);
  border-radius: 50%;
  background:
    linear-gradient(var(--ouro-claro), var(--ouro-claro)) center / 0.75rem 2px no-repeat,
    linear-gradient(var(--ouro-claro), var(--ouro-claro)) center / 2px 0.75rem no-repeat;
  transition:
    transform 0.25s ease,
    background-size 0.25s ease;
}

.pergunta[open] summary::after {
  background-size:
    0.75rem 2px,
    2px 0;
  transform: rotate(180deg);
}

.pergunta[open] summary {
  color: var(--ouro-claro);
}

.pergunta summary:hover {
  color: var(--ouro-claro);
}

.pergunta p {
  padding: 0 2.75rem 1.2rem 0;
}

/* Local */
.local {
  padding: clamp(1.6rem, 5vw, 2.75rem) clamp(1.1rem, 4vw, 2.5rem);
  text-align: center;
  /* um refletor sobre o nome da Passarela */
  background:
    var(--brilho-centro) padding-box,
    linear-gradient(180deg, var(--painel-2), var(--painel)) padding-box,
    var(--moldura) border-box;
}

.local-nome {
  font-size: clamp(1.55rem, 1.25rem + 1.6vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

.local-endereco {
  margin-top: 0.6rem;
  line-height: 1.5;
  text-wrap: balance;
}

.botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.botoes .botao {
  flex: 1 1 13rem;
  max-width: 19rem;
}

.local-aviso {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--linha);
  font-size: var(--texto-pequeno);
  color: var(--suave);
}

/* Realização: marcas separadas por fios dourados, como na frente do abadá */
.realizadoras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  row-gap: 2rem;
  max-width: 62rem;
  margin: 0 auto;
}

.realizadoras li {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0.25rem clamp(0.75rem, 3vw, 2rem);
}

.realizadoras li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ouro) 25%, var(--ouro) 75%, transparent);
}

.realizadoras li:nth-child(odd)::before {
  display: none;
}

/* cada marca com a sua altura, para que todas pesem igual (área parecida, não a mesma altura) */
.realizadoras {
  --h: clamp(3.5rem, 2.4rem + 5vw, 5.5rem);
}

.realizadoras img {
  width: auto;
  max-width: 100%;
  height: var(--h);
  object-fit: contain;
}

.realizadoras li:nth-child(1) img {
  height: calc(var(--h) * 0.82);
}

.realizadoras li:nth-child(2) img {
  height: calc(var(--h) * 0.97);
  /* o selo dourado da Orsesp em tom claro, como as outras marcas (até chegar o logo padrão) */
  filter: grayscale(1) brightness(1.6);
}

.realizadoras li:nth-child(3) img {
  height: calc(var(--h) * 0.74);
}

.realizadoras li:nth-child(4) img {
  height: calc(var(--h) * 1.1);
}

@media (min-width: 52rem) {
  .realizadoras {
    grid-template-columns: repeat(4, auto);
    justify-content: center;
  }

  .realizadoras li:nth-child(odd)::before {
    display: block;
  }

  .realizadoras li:first-child::before {
    display: none;
  }
}

.patrocinadores {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.vagas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 36rem;
  margin: 0 auto;
}

.vaga {
  display: grid;
  place-items: center;
  min-height: 5.5rem;
  padding: 0.75rem;
  font-size: var(--texto-pequeno);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.vaga img {
  max-width: 100%;
  max-height: 4rem;
  object-fit: contain;
}

/* ---------------------------------------------------------------- rodapé */
.rodape {
  position: relative;
  padding: clamp(2.5rem, 7vw, 4rem) 1.25rem calc(2.5rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--painel), var(--preto));
  font-size: var(--texto-pequeno);
  text-align: center;
  color: var(--suave);
}

.rodape::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--fio);
}

.rodape p + p {
  margin-top: 0.4rem;
}

.rodape-grade {
  display: grid;
  justify-items: center;
  gap: 1.75rem;
}

.rodape-marca img {
  width: 10rem;
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
}

.rodape-edicao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: var(--texto-minimo);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ouro);
}

.rodape-edicao::before,
.rodape-edicao::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro));
}

.rodape-edicao::after {
  background: linear-gradient(270deg, transparent, var(--ouro));
}

/* fecho: o fio dourado de novo, com confete parado bem fraco */
.rodape::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cg fill='%23ebaf34'%3E%3Crect x='8' y='9' width='5' height='2.5' transform='rotate(25 10 10)'/%3E%3Crect x='47' y='26' width='4' height='2' transform='rotate(-40 49 27)'/%3E%3Crect x='78' y='6' width='5' height='2.5' transform='rotate(70 80 7)'/%3E%3Crect x='101' y='30' width='3' height='2' transform='rotate(10 102 31)'/%3E%3Crect x='30' y='33' width='3' height='1.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 120px 40px repeat-x;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.rodape-lema {
  margin-bottom: 1.1rem;
  font-size: clamp(1.0625rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ouro-claro);
}

.rodape p {
  text-wrap: balance;
}

.rodape a {
  display: inline-flex;
  align-items: center;
  min-height: var(--toque);
  padding: 0 0.25rem;
  font-weight: 600;
}

.rodape-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.75rem;
}

.rodape .discreto {
  font-size: var(--texto-minimo);
  font-weight: 500;
  color: var(--suave);
}

@media (min-width: 60rem) {
  .rodape-grade {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
  }

  .rodape-links {
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ---------------------------------------------------------------- página de erro (404) */
.erro {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2.5rem 1.25rem 3.5rem;
  text-align: center;
  background: radial-gradient(ellipse 90% 72% at 50% 36%, #21160b 0%, #150f09 50%, var(--preto) 100%);
}

.erro-conteudo {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.erro .marca {
  display: block;
  width: min(64vw, 17rem);
  animation: none;
}

.erro-titulo {
  margin-top: 1.5rem;
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ouro-claro);
  text-wrap: balance;
}

.erro p {
  margin-top: 0.8rem;
}

.erro .botoes {
  margin-top: 1.75rem;
}

/* ---------------------------------------------------------------- movimento */
@keyframes entra-logo {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes sobe {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes abre-placa {
  from {
    opacity: 0;
    transform: scaleX(0.55);
  }
}

@keyframes varre {
  to {
    transform: translateX(340%) skewX(-22deg);
  }
}

@keyframes varre-placa {
  to {
    transform: translateX(420%) skewX(-22deg);
  }
}

@keyframes pulso {
  from {
    opacity: 0.8;
  }
}

@keyframes balanco {
  from {
    transform: translateY(-96.97%) rotate(calc(var(--a) - 1.6deg));
  }

  to {
    transform: translateY(-96.97%) rotate(calc(var(--a) + 1.8deg));
  }
}

/* Revelação ao rolar. Tudo é visível por padrão: só depois que o script liga a classe
   "revela-ativa" (e o navegador confirma que sabe observar a rolagem) é que as peças
   começam escondidas e aparecem ao entrar na tela. */
.revela-ativa .revelar {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--saida-suave),
    transform 0.7s var(--saida-suave);
}

.revela-ativa .revelar.visivel {
  opacity: 1;
  transform: none;
}

/* A ordem de entrada de cada item (--i) vale para o item e para o trecho de fio dele. */
.em-fila > :nth-child(2),
.linha-do-tempo > :nth-child(2) {
  --i: 1;
}

.em-fila > :nth-child(3),
.linha-do-tempo > :nth-child(3) {
  --i: 2;
}

.em-fila > :nth-child(4),
.linha-do-tempo > :nth-child(4) {
  --i: 3;
}

.linha-do-tempo > :nth-child(5) {
  --i: 4;
}

.linha-do-tempo > :nth-child(6) {
  --i: 5;
}

.linha-do-tempo > :nth-child(7) {
  --i: 6;
}

/* grupos que entram um item de cada vez (fatos, passos e as marcas da realização, como no telão) */
.revela-ativa .em-fila {
  opacity: 1;
  transform: none;
}

.revela-ativa .em-fila > * {
  opacity: 0;
  transform: translateY(26px) scale(0.92);
  transition:
    opacity 0.7s var(--saida-suave),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.2);
  transition-delay: calc(var(--i, 0) * 0.18s);
}

.revela-ativa .em-fila.visivel > * {
  opacity: 1;
  transform: none;
}

/* os fios entre as marcas crescem depois que elas entram */
.revela-ativa .realizadoras li::before {
  transform: scaleY(0);
  transition: transform 0.6s 0.75s var(--saida-suave);
}

.revela-ativa .realizadoras.visivel li::before {
  transform: none;
}

/* a linha do tempo se desenha: cada horário aparece e o fio desce até o seguinte */
.revela-ativa .linha-do-tempo > li {
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.45s var(--saida-suave),
    transform 0.45s var(--saida-suave);
  transition-delay: calc(0.25s + var(--i, 0) * 0.2s);
}

.revela-ativa .noite.visivel .linha-do-tempo > li {
  opacity: 1;
  transform: none;
}

.revela-ativa .linha-do-tempo > li::after {
  transform: scaleY(0);
  transition: transform 0.2s linear;
  transition-delay: calc(0.45s + var(--i, 0) * 0.2s);
}

.revela-ativa .noite.visivel .linha-do-tempo > li::after {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .marca-reflexo {
    display: none;
  }
}

/* ---------------------------------------------------------------- impressão */
@media print {
  .fundo-vivo,
  .penas,
  .fita,
  .divisor,
  .enfeite,
  .pausar,
  .abertura-brilho,
  .marca-reflexo {
    display: none !important;
  }

  .revelar,
  .em-fila > *,
  .linha-do-tempo > li {
    opacity: 1 !important;
    transform: none !important;
  }

  .pergunta p {
    display: block;
  }
}
