/* ========= VARIÁVEIS CSS - PALETA DE CORES E CONFIGURAÇÕES ========= */
:root{
  /* Cores principais do tema escuro */
  --black: #000000;
  --blue-950: #0a1628;
  --blue-900: #0a2342;
  --blue-800: #0f2f5c;
  --blue-700: #143a77;
  --blue-600: #1e4a8c;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  
  /* Cor de destaque */
  --accent: #00d4ff;
  
  /* Gradientes pré-definidos */
  --gradient-primary: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 50%, var(--blue-600) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--blue-500) 100%);
  
  /* Sombras */
  --shadow-lg: 0 8px 25px rgba(10,35,66,0.25);
  --shadow-xl: 0 12px 40px rgba(10,35,66,0.35);
  
  /* Bordas arredondadas */
  --radius: 16px;
  --radius-lg: 24px;
  
  /* Largura máxima da página */
  --page-max: 1200px;
  
  /* Transição padrão */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cor de fundo do HTML para evitar flash branco */
html {
  background-color: #000;
}

html.light-mode {
  background-color: #fff;
}


/* Importação das fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* ========= RESET CSS E ESTILOS BASE ========= */
*{ 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body{
  margin: 0; 
  padding: 0;
  background: var(--black);
  color: var(--blue-200);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a{ 
  color: var(--blue-300); 
  text-decoration: none; 
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

a:focus-visible, button:focus-visible{ 
  outline: 2px solid var(--accent); 
  outline-offset: 3px; 
  border-radius: 4px;
}

img{ 
  max-width: 100%; 
  display: block; 
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--blue-100);
}

p {
  margin: 0;
  line-height: 1.7;
}

/* ========= LAYOUT PRINCIPAL ========= */
.wrap{ 
  max-width: var(--page-max); 
  margin: 0 auto; 
  padding: 0 24px; 
}

.elevated{ 
  background: linear-gradient(145deg, rgba(10,35,66,0.8) 0%, rgba(0,0,0,0.95) 100%);
  border: 1px solid rgba(20,58,119,0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.elevated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
}

/* ========= CABEÇALHO FIXO ========= */
header{
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20,58,119,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

body{ 
  padding-top: 80px; 
}

.nav{ 
  display: flex; 
  align-items: center; 
  gap: 20px; 
  height: 72px; 
  padding: 0 4px;
}

.brand{ 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--blue-100);
  transition: var(--transition);
}

.brand:hover {
  transform: translateY(-1px);
}

.logo{ 
  width: 42px; 
  height: 42px; 
  border-radius: 12px; 
  background: var(--gradient-primary);
  border: 2px solid rgba(0,212,255,0.3);
  box-shadow: 0 4px 15px rgba(0,212,255,0.2);
  transition: var(--transition);
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0,212,255,0.4);
}

.spacer{ 
  flex: 1; 
}

.menu{ 
  display: flex; 
  gap: 8px; 
}

.menu a{ 
  padding: 10px 16px; 
  border-radius: 12px; 
  border: 1px solid transparent; 
  transition: var(--transition);
  font-weight: 500;
  color: var(--blue-200);
  position: relative;
  overflow: hidden;
}

.menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  transition: var(--transition);
  z-index: -1;
}

.menu a:hover::before {
  left: 0;
}

.menu a:hover{ 
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}

.theme-btn{ 
  background: transparent; 
  border: 2px solid rgba(20,58,119,0.5); 
  color: var(--blue-200); 
  border-radius: 12px; 
  padding: 10px 12px; 
  cursor: pointer; 
  font-size: 18px; 
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-btn:hover{ 
  border-color: var(--accent); 
  background: rgba(0,212,255,0.1);
  transform: scale(1.1) rotate(15deg);
}

.hamb{ 
  display: none; 
  background: transparent; 
  border: 2px solid rgba(20,58,119,0.5); 
  color: var(--blue-200); 
  border-radius: 12px; 
  padding: 10px 12px;
  font-weight: 500;
  transition: var(--transition);
}

.hamb:hover {
  border-color: var(--accent);
  background: rgba(0,212,255,0.1);
}

/* ===== EFEITOS VISUAIS ===== */

/* Efeito de partículas de fundo */
.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.1;
}

/* Highlight no título */
.highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

/* Descrição do hero */
.hero-description {
  font-size: 18px;
  margin: 20px 0 30px;
  line-height: 1.7;
}

/* Estatísticas no hero */
.stats-row {
  display: flex;
  gap: 24px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: rgba(0,212,255,0.1);
  border-radius: 12px;
  border: 1px solid rgba(0,212,255,0.2);
  min-width: 100px;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.4);
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  font-size: 12px;
  color: var(--blue-300);
  text-align: center;
  margin-top: 4px;
  font-weight: 500;
}

body.light-mode .stat-item {
  background: rgba(20,58,119,0.1);
  border-color: rgba(20,58,119,0.2);
}

body.light-mode .stat-item:hover {
  background: rgba(20,58,119,0.15);
  border-color: rgba(20,58,119,0.3);
}

body.light-mode .stat-number {
  color: var(--blue-600);
}

body.light-mode .stat-label {
  color: var(--blue-700);
}

/* Botões aprimorados */
.btn-primary {
  background: var(--gradient-accent);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
}

.btn span {
  margin-right: 8px;
}

/* Container da imagem com efeito */
.image-container {
  position: relative;
  display: inline-block;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0,212,255,0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: glow 4s ease-in-out infinite;
  z-index: -1;
}

@keyframes glow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Cards de benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.benefit-card {
  background: linear-gradient(145deg, rgba(0,212,255,0.05) 0%, rgba(10,35,66,0.3) 100%);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.1), transparent);
  transition: var(--transition);
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0,212,255,0.2);
}

.benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.benefit-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--blue-100);
}

.benefit-card p {
  font-size: 14px;
  color: var(--blue-300);
  line-height: 1.5;
  margin: 0;
}

body.light-mode .benefit-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.8) 0%, rgba(248,250,252,0.6) 100%);
  border-color: rgba(20,58,119,0.2);
}

body.light-mode .benefit-card:hover {
  border-color: var(--blue-600);
  box-shadow: 0 12px 30px rgba(20,58,119,0.15);
}

body.light-mode .benefit-card h3 {
  color: var(--blue-900);
}

body.light-mode .benefit-card p {
  color: var(--blue-700);
}

/* Melhorias no alerta */
.alert-actions {
  margin-top: 24px;
}

.alert-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.tip-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.alert-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ffcc00 0%, #ff9500 100%);
  color: var(--black);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.alert-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,204,0,0.4);
  border-color: rgba(255,255,255,0.3);
  color: var(--black);
}

body.light-mode .alert-tip {
  background: rgba(255,204,0,0.15);
  border-color: rgba(255,204,0,0.4);
}

/* ===== RESPONSIVIDADE APRIMORADA ===== */
@media (max-width: 820px){
  .menu{ 
    display: none; 
    position: absolute; 
    right: 24px; 
    top: 72px; 
    flex-direction: column; 
    background: linear-gradient(145deg, rgba(0,0,0,0.95) 0%, rgba(10,35,66,0.9) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(20,58,119,0.3); 
    border-radius: var(--radius); 
    padding: 16px; 
    width: 240px;
    box-shadow: var(--shadow-xl);
  }
  
  .menu.open{ 
    display: flex; 
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .menu a {
    padding: 12px 16px;
    margin: 4px 0;
    border-radius: 10px;
  }
  
  .theme-btn{ 
    display: inline-flex; 
    margin-right: 12px; 
  }
  
  .hamb{ 
    display: inline-flex; 
  }
  
  body.light-mode .menu {
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  }
}

@media (max-width: 640px) {
  .heroBox {
    padding: 24px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  .stats-row {
    justify-content: center;
    gap: 16px;
  }
  
  .stat-item {
    min-width: 80px;
    padding: 12px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .ctaRow {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .alertaBox {
    padding: 24px;
    text-align: center;
  }
  
  .alert-tip {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .videosGrid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .foot {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* ========= SEÇÃO HERO (APRESENTAÇÃO) ========= */
.hero{ 
  padding: 60px 0 40px; 
}

.heroBox{
  padding: 40px;
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  justify-content: space-between; 
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.heroBox::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.hero h1{ 
  margin: 0; 
  font-size: clamp(32px, 5vw, 48px); 
  color: var(--blue-100);
  letter-spacing: -0.5px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.hero p{ 
  margin: 16px 0 0; 
  color: var(--blue-200); 
  opacity: 0.9; 
  max-width: 65ch;
  font-size: 18px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.ctaRow{ 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.btn{
  padding: 14px 24px; 
  border-radius: 12px; 
  border: 2px solid transparent;
  background: var(--gradient-accent);
  color: white; 
  font-weight: 600; 
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover{ 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 8px 25px rgba(0,212,255,0.4);
  border-color: rgba(255,255,255,0.3);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* ========= CARDS E GRID ========= */
.section{ 
  padding: 60px 0; 
}

.grid{ 
  display: grid; 
  gap: 24px; 
  grid-template-columns: repeat(12, 1fr); 
}

.card{
  grid-column: span 4; 
  padding: 28px; 
  border: 1px solid rgba(20,58,119,0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(10,35,66,0.6) 0%, rgba(0,0,0,0.8) 100%);
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover{ 
  transform: translateY(-8px) scale(1.02); 
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.card h3{ 
  margin: 0 0 12px; 
  letter-spacing: -0.3px;
  font-size: 20px;
  color: var(--blue-100);
}

.card p{ 
  margin: 0; 
  opacity: 0.9;
  color: var(--blue-200);
  line-height: 1.6;
}

@media (max-width: 980px){ 
  .card{ 
    grid-column: span 6; 
  } 
}

@media (max-width: 640px){ 
  .card{ 
    grid-column: span 12; 
  }
  
  .section {
    padding: 40px 0;
  }
  
  .wrap {
    padding: 0 16px;
  }
}

/* ========= RODAPÉ ========= */
footer{ 
  margin-top: 60px; 
  border-top: 1px solid rgba(20,58,119,0.3); 
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--black) 100%);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.foot{ 
  display: flex; 
  flex-wrap: wrap; 
  gap: 16px; 
  justify-content: space-between; 
  align-items: center;
  padding: 24px 0;
}

.foot small {
  color: var(--blue-300);
  font-size: 14px;
}

.foot nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.foot nav a {
  color: var(--blue-300);
  font-size: 14px;
  transition: var(--transition);
}

.foot nav a:hover {
  color: var(--accent);
}

/* ========= PÁGINAS INTERNAS ========= */
.page{ padding:32px 0 8px; }
.page .pageBox{ padding:22px; border:1px solid var(--blue-800); }
.page h2{ margin:0 0 10px; }
.breadcrumb{ display:flex; gap:8px; font-size:14px; opacity:.9; margin-bottom:8px; }

.logo{ width:40px; height:40px; object-fit:contain; } /* mantém proporção da logo */

/* ========= MODO CLARO ========= */
body.light-mode{ 
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); 
  color: var(--blue-900); 
}

body.light-mode a{ 
  color: var(--blue-700); 
}

body.light-mode header{
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(20,58,119,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

body.light-mode .elevated{ 
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
  border: 1px solid rgba(20,58,119,0.15);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

body.light-mode .btn{ 
  background: var(--gradient-primary);
  color: white;
  border: 2px solid transparent;
}

body.light-mode .btn:hover{ 
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(20,58,119,0.3);
}

body.light-mode footer{ 
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-top: 1px solid rgba(20,58,119,0.1);
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
  color: var(--blue-900);
}

body.light-mode .hero h1 {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero p,
body.light-mode .card p {
  color: var(--blue-800);
}

body.light-mode .menu a {
  color: var(--blue-700);
}

body.light-mode .menu a:hover {
  color: white;
}

body.light-mode .theme-btn,
body.light-mode .hamb {
  color: var(--blue-700);
  border-color: rgba(20,58,119,0.3);
}

body.light-mode .brand {
  color: var(--blue-900);
}

/* ========= SEÇÕES ESPECÍFICAS ========= */
#resumo .pageBox{ 
  padding: 32px; 
}

.pageBox {
  padding: 32px;
  margin: 24px 0;
}

.pageBox h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--blue-100);
}

body.light-mode .pageBox h2 {
  color: var(--blue-900);
}

/* ========= SEÇÃO DE ALERTA ========= */
.alertaBox{
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-wrap: wrap;
  gap: 32px; 
  border: 2px solid rgba(255,204,0,0.3);
  border-radius: var(--radius-lg); 
  padding: 40px;
  background: linear-gradient(145deg, rgba(255,204,0,0.05) 0%, rgba(0,0,0,0.8) 100%);
  position: relative;
  overflow: hidden;
}

.alertaBox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffcc00, #ff9500, #ffcc00);
  animation: alertGlow 3s ease-in-out infinite;
}

@keyframes alertGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

body.light-mode .alertaBox{ 
  background: linear-gradient(145deg, rgba(255,204,0,0.1) 0%, rgba(255,255,255,0.9) 100%);
  border-color: rgba(255,204,0,0.4);
}

.alertaImagem img{ 
  width: 240px; 
  height: auto; 
  border: none; 
  border-radius: var(--radius);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

/* Animação aprimorada da caveira */
@keyframes caveiraBrilhaBalança{
  0%{ transform: rotate(0) translateY(0) scale(1); filter: brightness(1) hue-rotate(0deg); }
  25%{ transform: rotate(3deg) translateY(-4px) scale(1.02); filter: brightness(1.2) hue-rotate(10deg); }
  50%{ transform: rotate(0) translateY(0) scale(1); filter: brightness(1) hue-rotate(0deg); }
  75%{ transform: rotate(-3deg) translateY(-4px) scale(1.02); filter: brightness(1.2) hue-rotate(-10deg); }
  100%{ transform: rotate(0) translateY(0) scale(1); filter: brightness(1) hue-rotate(0deg); }
}

.caveiraAnimada{ 
  animation: caveiraBrilhaBalança 5s ease-in-out infinite; 
  transform-origin: center;
  transition: var(--transition);
}

.caveiraAnimada:hover {
  animation-duration: 2s;
}

@media (max-width:768px){ 
  .caveiraAnimada{ 
    animation: caveiraBrilhaBalança 6s ease-in-out infinite;
  } 
}

.alertaTexto{ 
  flex: 1; 
  text-align: justify; 
  color: var(--blue-200);
  line-height: 1.7;
}

body.light-mode .alertaTexto{ 
  color: var(--blue-800); 
}

.alertaTexto h2{ 
  margin: 0 0 16px; 
  color: #ffcc00;
  font-size: 24px;
  text-shadow: 0 2px 4px rgba(255,204,0,0.3);
}

/* ========= HERO COM IMAGEM ========= */
.heroTexto{ 
  flex: 1 1 450px;
  z-index: 2;
  position: relative;
  min-width: 0;
}

.heroImagem{ 
  flex: 0 0 300px; 
  display: flex; 
  justify-content: center;
  align-items: center;
  position: relative;
}

.heroImagem img{ 
  max-width: 280px; 
  height: auto; 
  border: none !important; 
  outline: none !important; 
  box-shadow: none !important;
  filter: drop-shadow(0 10px 20px rgba(0,212,255,0.2));
  transition: var(--transition);
}

.heroImagem:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 15px 30px rgba(0,212,255,0.4));
}

@media (max-width: 768px) {
  .heroBox {
    flex-direction: column;
    text-align: center;
  }
  
  .heroImagem {
    flex: none;
    margin-top: 20px;
  }
  
  .heroImagem img {
    max-width: 200px;
  }
}

/* ========= ANIMAÇÃO DA LOGO ========= */
@keyframes pulsarLuz{
  0%{ 
    filter: drop-shadow(0 0 0 rgba(0,212,255,0)) brightness(1); 
    transform: scale(1) rotate(0deg); 
  }
  25%{ 
    filter: drop-shadow(0 0 15px rgba(0,212,255,0.4)) brightness(1.1); 
    transform: scale(1.02) rotate(1deg); 
  }
  50%{ 
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.6)) brightness(1.15); 
    transform: scale(1.03) rotate(0deg); 
  }
  75%{ 
    filter: drop-shadow(0 0 15px rgba(0,212,255,0.4)) brightness(1.1); 
    transform: scale(1.02) rotate(-1deg); 
  }
  100%{ 
    filter: drop-shadow(0 0 0 rgba(0,212,255,0)) brightness(1); 
    transform: scale(1) rotate(0deg); 
  }
}

.logoPulsante{ 
  animation: pulsarLuz 4s ease-in-out infinite; 
  transition: var(--transition);
}

.logoPulsante:hover {
  animation-duration: 1.5s;
}

/* ========= ÍCONES DOS ANTIVÍRUS ========= */
.antivirus-header{ 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  margin-bottom: 16px;
}

.antivirus-logo{ 
  width: 42px; 
  height: 42px; 
  object-fit: contain; 
  border-radius: 10px;
  border: 2px solid rgba(0,212,255,0.2);
  padding: 4px;
  background: rgba(255,255,255,0.05);
  transition: var(--transition);
}

.antivirus-logo:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}

.card h3{ 
  margin: 0; 
  font-size: 1.3em;
  font-weight: 600;
}


/* ===== BOTÃO "VOLTAR AO TOPO" ===== */
#btnTopo {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: var(--gradient-accent);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0,212,255,0.3);
}

#btnTopo.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#btnTopo:hover {
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 12px 35px rgba(0,212,255,0.5);
  border-color: rgba(255,255,255,0.4);
}

.setaTopo {
  color: white;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  transition: var(--transition);
}

#btnTopo:hover .setaTopo {
  transform: translateY(-2px);
}

body.light-mode #btnTopo {
  background: var(--gradient-primary);
  box-shadow: 0 8px 25px rgba(20,58,119,0.3);
}

body.light-mode #btnTopo:hover {
  box-shadow: 0 12px 35px rgba(20,58,119,0.4);
}

/* ===== CORREÇÕES MODO CLARO ===== */

/* Header e marca */
body.light-mode header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blue-700);
}
body.light-mode .brand span { color: var(--blue-900); }

/* Links do menu (desktop) */
body.light-mode .menu a {
  color: var(--blue-900);
  border-color: transparent;
}
body.light-mode .menu a:hover {
  background: #eef3ff;            /* leve azul bem claro */
  border-color: var(--blue-700);
}

/* Menu “hambúrguer” (botão) */
/* Botão de tema */
body.light-mode .theme-btn {
  color: var(--blue-900);
  border-color: var(--blue-700);
}
body.light-mode .theme-btn:hover {
  background: #eef3ff;
  border-color: var(--blue-700);
}

body.light-mode .hamb {
  color: var(--blue-900);
  border-color: var(--blue-700);
}

/* Menu aberto no mobile */
@media (max-width: 820px){
  body.light-mode .menu {
    background: #fff;               /* estava #000: agora claro */
    border: 1px solid var(--blue-700);
  }
  body.light-mode .menu a {
    color: var(--blue-900);
  }
  body.light-mode .menu a:hover {
    background: #eef3ff;
    border-color: var(--blue-700);
  }
}

/* Botões: mais contraste no modo claro */
body.light-mode .btn {
  background: var(--blue-700);      /* preenchido azul escuro p/ contraste */
  color: #fff;
  border-color: var(--blue-700);
}
body.light-mode .btn:hover {
  filter: brightness(1.06);
}

/* Estados de foco mais visíveis */
.btn:focus-visible,
.menu a:focus-visible,
.hamb:focus-visible {
  outline: 3px solid #3b7cff;       /* azul mais vivo p/ acessibilidade */
  outline-offset: 3px;
}

/* Cartões e caixas em geral (já claros, só reforço de textos) */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
  color: var(--blue-900);
}
body.light-mode .hero p,
body.light-mode .card p,
body.light-mode .page p {
  color: var(--blue-900);
  opacity: .95;
}

/* ===== SEÇÃO DE VÍDEOS ===== */
#videos {
  padding: 40px 0;
}

.tituloVideos {
  text-align: center;
  color: #ffcc00;
  margin: 0 0 16px 0;
  letter-spacing: 0.6px;
  line-height: 1.4em;
  font-size: clamp(22px, 3vw, 30px);
}

.textoIntro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 28px;
  font-size: 1.05em;
  color: var(--blue-700);
}

body.light-mode .textoIntro {
  color: var(--blue-900);
}

.video-card iframe {
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.3);
  border: 1px solid var(--blue-800);
}

.video-card p {
  margin-top: 10px;
  text-align: justify;
  color: var(--blue-700);
  font-size: 0.96em;
  line-height: 1.6em;
}

body.light-mode .video-card p {
  color: var(--blue-900);
}

.pageBox.elevated {
  padding: 36px 28px; /* mais espaçamento interno */
}


/* ===== SEÇÃO DE VÍDEOS OTIMIZADA ===== */
#videos {
  padding: 60px 0;
}

.tituloVideos {
  text-align: center;
  color: var(--blue-100);
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
  line-height: 1.3;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-100) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .tituloVideos {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.textoIntro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--blue-200);
  line-height: 1.6;
}

body.light-mode .textoIntro {
  color: var(--blue-800);
}

.videosGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.video-card {
  background: linear-gradient(145deg, rgba(10,35,66,0.4) 0%, rgba(0,0,0,0.6) 100%);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(20,58,119,0.3);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.video-card:hover::before {
  transform: scaleX(1);
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

body.light-mode .video-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.8) 100%);
}

.video-card iframe {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,212,255,0.2);
  border: 2px solid rgba(0,212,255,0.1);
  transition: var(--transition);
  width: 100%;
}

.video-card:hover iframe {
  box-shadow: 0 12px 35px rgba(0,212,255,0.4);
  border-color: rgba(0,212,255,0.3);
}

.video-card p {
  margin-top: 16px;
  text-align: justify;
  color: var(--blue-200);
  font-size: 15px;
  line-height: 1.6;
}

body.light-mode .video-card p {
  color: var(--blue-800);
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.pageBox.elevated {
  padding: 40px 32px;
}

/* --- Evita sobreposição da imagem no hero --- */
.heroBox{
  /* reserva espaço pro mascote no desktop */
  padding-right: clamp(180px, 25vw, 360px);
}

/* texto sempre acima da imagem */
.heroBox > h1,
.heroBox > p,
.heroBox .ctaRow{
  position: relative;
  z-index: 1;
}

/* imagem abaixo do texto (mas ainda visível) */
.heroImagemAtirando{
  z-index: 0;  /* se quiser ainda mais “atrás”, pode usar -1 */
}

/* Em telas menores, voltamos ao layout empilhado */
@media (max-width: 900px){
  .heroBox{ padding-right: 0; }
  .heroImagemAtirando{
    position: static;
    margin: 16px auto 0;
    animation: none; /* opcional */
  }

  /* ===== Ajuste de centralização na seção de antivírus ===== */
.antivirus-hero {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza verticalmente */
  align-items: center;     /* Centraliza horizontalmente */
  text-align: center;
  padding: 2rem 1rem;
}

/* Garante que a imagem e o texto não escapem da tela */
.antivirus-hero img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Corrige para telas menores */
@media (max-width: 768px) {
  .antivirus-hero {
    padding: 1.5rem 0.5rem;
  }

  .antivirus-hero h1,
  .antivirus-hero p {
    text-align: center;
  }
}

body {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: "Poppins", "Roboto", sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 2rem;     /* bem destacado */
}

h2 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 0.8rem;
}





  
}



