/* Abertura: faixas vermelhas, emblema desenhado, cortina branca (total ~2,7s) */
.intro { display: none; }
html.com-intro .intro { display: block; position: fixed; inset: 0; z-index: 100; overflow: hidden; }
html.com-intro { overflow: hidden; }
.intro.pulando { opacity: 0; transition: opacity .3s; pointer-events: none; }

.cortina { position: absolute; left: 0; right: 0; height: 50%; background: #fff; }
.cortina::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px; opacity: 0;
  background: linear-gradient(90deg, #c8102e, #e8344f, #c8102e);
  animation: borda-vermelha .1s 2s forwards;
}
.cortina-cima { top: 0; animation: abre-cima .65s cubic-bezier(.7, 0, .3, 1) 2s forwards; }
.cortina-cima::after { bottom: 0; }
.cortina-baixo { bottom: 0; animation: abre-baixo .65s cubic-bezier(.7, 0, .3, 1) 2s forwards; }
.cortina-baixo::after { top: 0; }

.faixa {
  position: absolute; left: 0; right: 0; top: 50%; height: 7px;
  background: linear-gradient(90deg, #c8102e, #e8344f, #c8102e);
}
.faixa-cima { margin-top: -7px; animation: entra-cima .7s cubic-bezier(.6, 0, .2, 1) both, some-faixa .35s .8s forwards; }
.faixa-baixo { animation: entra-baixo .7s cubic-bezier(.6, 0, .2, 1) both, some-faixa .35s .8s forwards; }

.intro-logo {
  position: absolute; left: 50%; top: 50%;
  width: min(86vw, 560px); transform: translate(-50%, -50%);
  overflow: visible; animation: some-logo .3s 2s forwards;
}
.parada-vermelho { stop-color: #c8102e; }
.parada-claro { stop-color: #e8344f; }
.traco { stroke-dasharray: 1; stroke-dashoffset: 1; animation: desenha 1s ease-in-out forwards; }
.miolo-circulo { fill-opacity: 0; animation: desenha .9s ease-in-out .75s forwards, enche .3s ease-out 1.2s forwards; }
.t1 { animation-delay: .75s; }
.miolo-letra { fill-opacity: 0; animation: desenha .6s ease-in-out 1.3s forwards, enche .3s ease-out 1.75s forwards; }
.intro-nome { opacity: 0; animation: sobe-nome .5s ease-out 1.5s forwards; }
.intro-sub { animation-delay: 1.65s; }

.intro-pular { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; background: none; border: 0; }

@keyframes entra-cima { from { transform: translateY(-50vh); } to { transform: translateY(0); } }
@keyframes entra-baixo { from { transform: translateY(50vh); } to { transform: translateY(0); } }
@keyframes some-faixa { to { opacity: 0; transform: scaleX(.2); } }
@keyframes desenha { to { stroke-dashoffset: 0; } }
@keyframes enche { to { fill-opacity: 1; } }
@keyframes sobe-nome { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes some-logo { to { opacity: 0; } }
@keyframes borda-vermelha { to { opacity: 1; } }
@keyframes abre-cima { to { transform: translateY(-101%); } }
@keyframes abre-baixo { to { transform: translateY(101%); } }

@media (prefers-reduced-motion: reduce) {
  html.com-intro .intro { display: none; }
}
