/* ==========================================================================
   TEMA PREMIUM & MODERNIZAÇÃO VISUAL — APOSTILA PRF ADMINISTRATIVO
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Tipografia Global e Cores Acentuadas --- */
body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  scroll-behavior: smooth;
  background-color: #060b14 !important;
}

h1, h2, h3, h4, h5, h6,
.font-black, .font-bold {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.02em;
}

/* --- Gradiente Dourado Ouro Nobre --- */
.text-gradient-gold {
  background: linear-gradient(135deg, #FFE066 0%, #F59E0B 45%, #D97706 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.25));
}

/* --- Background Grid Tático Mais Elegante --- */
.bg-grid {
  background-size: 40px 40px !important;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
}

/* --- Topbar de Urgência & Anúncio 2026 --- */
.custom-topbar {
  background: linear-gradient(90deg, #0b1329 0%, #1e3a8a 50%, #0b1329 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  color: #f8fafc;
  padding: 10px 16px;
  font-size: 0.875rem;
  position: relative;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.custom-topbar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.custom-topbar-badge {
  background: #ef4444;
  color: #fff;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  animation: pulseBadge 2s infinite;
}

.custom-topbar-timer {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  padding: 2px 10px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

/* --- Hero Section Refinado --- */
#hero {
  position: relative;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

#hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.28) 0%, rgba(245, 158, 11, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Badge superior do Hero */
#hero span.inline-block.rounded-full.bg-primary {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25) !important;
  backdrop-filter: blur(8px);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 8px 20px !important;
  font-size: 0.9rem !important;
}

/* Animação e acabamento do Mockup 3D */
#hero img.drop-shadow-2xl {
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 50px rgba(37, 99, 235, 0.3)) !important;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.5s ease;
}

#hero img.drop-shadow-2xl:hover {
  transform: scale(1.06) rotate(-1deg);
  filter: drop-shadow(0 35px 50px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 60px rgba(245, 158, 11, 0.4)) !important;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.8deg);
  }
}

/* Botão Principal do Hero (CTA Dourado Tático) */
#hero button.animate-pulse-cta {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #060b14 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.03em;
  padding: 1.1rem 2.5rem !important;
  border-radius: 0.875rem !important;
  border: 1px solid rgba(254, 240, 138, 0.7) !important;
  box-shadow: 0 12px 35px -5px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

#hero button.animate-pulse-cta:hover {
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 18px 45px -5px rgba(245, 158, 11, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  filter: brightness(1.1);
}

/* Efeito Feixe de Luz (Shimmer) no Botão CTA */
#hero button.animate-pulse-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 220%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: rotate(25deg);
  animation: shimmerSweep 3.5s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-150%) rotate(25deg); }
  25%, 100% { transform: translateX(150%) rotate(25deg); }
}

/* --- Barra de Confiança Rápida (Hero Trust Badges) --- */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item span.highlight {
  color: #f8fafc;
  font-weight: 700;
}

.hero-trust-stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

/* --- Cards Estilo Glassmorphism Premium --- */
.glass-card {
  background: rgba(13, 22, 41, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1.25rem !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.12) !important;
  transform: translateY(-4px) !important;
}

/* --- Seção de Preços (Pricing) de Alta Conversão --- */
#pricing {
  position: relative;
  background: radial-gradient(circle at 50% 100%, rgba(30, 58, 138, 0.2) 0%, transparent 60%);
}

/* Estilização especial para o 2º card de preço (Combo Aprovação) */
.combo-featured-card {
  position: relative;
  border: 2px solid #f59e0b !important;
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.3) 0%, rgba(13, 22, 41, 0.95) 100%) !important;
  box-shadow: 0 0 45px rgba(245, 158, 11, 0.25), 0 20px 45px -10px rgba(0, 0, 0, 0.7) !important;
  transform: scale(1.04);
  z-index: 10;
}

@media (max-width: 768px) {
  .combo-featured-card {
    transform: none;
    margin-top: 1.5rem;
  }
}

.combo-ribbon-badge {
  position: absolute !important;
  top: -16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: linear-gradient(90deg, #ea580c 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 6px 20px !important;
  border-radius: 9999px !important;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.5), 0 0 12px rgba(245, 158, 11, 0.35) !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 20 !important;
  border: none !important;
}

/* Evita qualquer badge duplicado no topo do card */
.combo-featured-card > span.absolute:not(.combo-ribbon-badge),
.combo-featured-card > div.combo-ribbon-badge + span.absolute {
  display: none !important;
}

.price-anchor-tag {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* Botão de Compra no Card Combo */
.combo-featured-card a,
.combo-featured-card button {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #060b14 !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5) !important;
  border: 1px solid rgba(254, 240, 138, 0.6) !important;
  transition: all 0.3s ease !important;
}

.combo-featured-card a:hover,
.combo-featured-card button:hover {
  transform: scale(1.03) !important;
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.7) !important;
  filter: brightness(1.1);
}

/* --- Linha Divisora Iluminada --- */
.section-divider {
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.3) 50%, transparent 100%) !important;
  border: none !important;
  margin: 0 !important;
}

/* --- Notificação Flutuante de Compra Recente (Social Proof Toast) --- */
.social-proof-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(12px);
  z-index: 45;
  transform: translateY(120px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  max-width: 340px;
}

.social-proof-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.social-proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fde047;
  font-size: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.social-proof-info {
  font-size: 0.8rem;
  line-height: 1.35;
  color: #cbd5e1;
}

.social-proof-name {
  font-weight: 700;
  color: #f8fafc;
}

.social-proof-product {
  color: #fbbf24;
  font-weight: 600;
}

.social-proof-time {
  font-size: 0.725rem;
  color: #64748b;
  margin-top: 2px;
}

.social-proof-close {
  background: none;
  border: none;
  color: #64748b;
  font-size: 1rem;
  cursor: pointer;
  padding: 2px 6px;
  margin-left: 4px;
}

.social-proof-close:hover {
  color: #f8fafc;
}

/* Ocultar toast em mobile muito estreito para não atrapalhar o CTA sticky */
@media (max-width: 640px) {
  .social-proof-toast {
    bottom: 80px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
  }
}

/* --- Garantia 7 Dias - Medalha de Segurança --- */
#garantia .glass-card {
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, rgba(13, 22, 41, 0.8) 100%) !important;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.15) !important;
}

/* --- Acordeão de Matérias (Edital) --- */
#conteudo .glass-card {
  transition: all 0.3s ease;
}

#conteudo .glass-card:hover {
  border-color: rgba(245, 158, 11, 0.4) !important;
}

/* --- Barra Inferior Mobile Fixa Refinada --- */
.fixed.bottom-0.glass {
  background: rgba(6, 11, 20, 0.92) !important;
  border-top: 1px solid rgba(245, 158, 11, 0.25) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6) !important;
}
