/* Páginas auxiliares — redirect, roleta WhatsApp (sem navbar/footer) */

.layout-minimal {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  min-height: 100vh;
  background: #041b5d;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

/* Redirect simples (ex.: BPC deficiente → BPC/LOAS) */
.redirect-page-body {
  background: radial-gradient(ellipse at 50% 40%, #1E3A8A 0%, #041b5d 70%);
}

.redirect-card {
  text-align: center;
  max-width: 420px;
  width: 100%;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(4, 27, 93, 0.2);
  color: #041b5d;
}

.redirect-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1.5rem;
}

.redirect-card p {
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.redirect-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: #1E3A8A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.redirect-link-btn:hover {
  background: #162F6E;
  color: #FFFFFF;
}

.redirect-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: #CBA04A;
  border-radius: 50%;
  animation: aux-spin 0.8s linear infinite;
  margin: 0 auto 1.25rem;
}

@keyframes aux-spin {
  to { transform: rotate(360deg); }
}

/* Roleta WhatsApp — /whatsapp/ */
.wa-countdown-page {
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  width: 100%;
  max-width: 520px;
}

.wa-countdown-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.wa-countdown-badge {
  display: inline-block;
  background: #CBA04A;
  color: #041b5d;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.4px;
}

.wa-countdown-number {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.5);
  animation: countdownPop 0.6s ease-in-out forwards;
  text-shadow: 0 0 24px rgba(203, 160, 74, 0.35);
}

.wa-countdown-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.wa-countdown-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.wa-countdown-sub a {
  color: #CBA04A;
  text-decoration: underline;
}

.wa-countdown-sub a:hover {
  color: #FFFFFF;
}

.wa-countdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: #CBA04A;
  color: #041b5d;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.wa-countdown-btn:hover {
  background: #B8903D;
}

.wa-countdown-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wa-countdown-error {
  color: #FCA5A5;
  font-weight: 600;
}

@keyframes countdownPop {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

.layout-minimal.fade-out {
  animation: auxFadeOut 0.3s ease-in forwards;
}

@keyframes auxFadeOut {
  to { opacity: 0; }
}

@media (max-width: 768px) {
  .wa-countdown-number { font-size: 5rem; }
  .wa-countdown-text { font-size: 1.1rem; }
  .redirect-card { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .layout-minimal { padding: 1.25rem 1rem; }
  .wa-countdown-number { font-size: 4rem; }
}
