/* Giro altona — CBPC 2026 | Tela 1 (1920×1080 horizontal) */

:root {
  --ink: #0b4f7c;
  --cta-glow-a: rgba(0, 210, 255, 0.95);
  --cta-glow-b: rgba(0, 160, 255, 0.65);
  --cta-glow-c: rgba(0, 120, 255, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #041428;
  font-family: 'Montserrat', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
  user-select: none;
}

.app {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.screen {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.screen.active {
  display: block;
}

/* Fundo — cobre 100% da viewport */
.viewport-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.viewport-bg-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Conteúdo escalado (1920×1080) */
.stage {
  --scale: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center center;
  pointer-events: none;
}

.stage > * {
  pointer-events: auto;
}

.stage .splash-header,
.stage .splash-footer {
  pointer-events: none;
}

/* ── Header ── */
.splash-header {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.brand-pill {
  position: absolute;
  left: 64px;
  top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.16);
}

.brand-logo {
  display: block;
  width: 272px;
  height: auto;
  object-fit: contain;
}

.splash-seal {
  position: absolute;
  left: 884px;
  top: 28px;
  width: 126px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.32));
}

/* ── Hero esquerda ── */
.splash-hero {
  position: absolute;
  left: 98px;
  top: 286px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 46px;
}

.hero-title-img {
  display: block;
  width: 548px;
  height: auto;
}

/* ── CTA ── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: 502px;
  padding: 16px 54px 16px 18px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 42%, #e6f6ff 100%);
  box-shadow:
    0 0 0 2px rgba(130, 220, 255, 0.65),
    0 0 22px var(--cta-glow-a),
    0 0 48px var(--cta-glow-b),
    0 0 88px var(--cta-glow-c),
    0 12px 32px rgba(0, 0, 0, 0.2);
  animation: ctaGlow 2.4s ease-in-out infinite;
  transition: transform 0.12s ease;
}

.btn-cta:active {
  transform: scale(0.985);
}

.btn-cta-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(180deg, #0c5f92 0%, #073d62 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-cta-icon svg {
  width: 42px;
  height: 42px;
}

.btn-cta-label {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

@keyframes ctaGlow {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(130, 220, 255, 0.55),
      0 0 20px rgba(0, 200, 255, 0.75),
      0 0 44px rgba(0, 155, 255, 0.5),
      0 0 76px rgba(0, 120, 255, 0.28),
      0 12px 32px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(170, 235, 255, 0.85),
      0 0 32px rgba(0, 225, 255, 1),
      0 0 64px rgba(0, 175, 255, 0.72),
      0 0 110px rgba(0, 130, 255, 0.42),
      0 12px 32px rgba(0, 0, 0, 0.2);
  }
}

/* ── Footer ── */
.splash-footer {
  position: absolute;
  right: 58px;
  bottom: 38px;
  z-index: 2;
  pointer-events: none;
}

.splash-powered {
  display: block;
  width: 198px;
  height: auto;
  opacity: 0.96;
}

/* ── Placeholder Tela 2 ── */
.stage--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #041428;
  color: #fff;
  pointer-events: auto;
}

.placeholder-msg {
  font-size: 28px;
  font-weight: 600;
  opacity: 0.7;
}

.btn-ghost {
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
