/* ===== SPLASH SCREEN (vídeo de abertura) ===== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* Segurança: se o splash.js não rodar (erro, bloqueio, robô de busca), a abertura some sozinha */
  animation: splash-failsafe 0.6s ease 4.5s forwards;
}

@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.splash-screen video {
  width: min(560px, 82vw);
  height: auto;
  aspect-ratio: 1200 / 450;
}

.splash-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

body.splash-active {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .splash-screen {
    display: none;
  }
}

.splash-screen { cursor: pointer; }

.splash-skip {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}


/* Widget de suporte fica acima de tudo; some enquanto o splash está na tela */
body.splash-active button[aria-label="Chat de suporte"] { display: none !important; }
