@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(90deg, #1E3A8A 0%, #3B82F6 50%, #FFDE21 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: #142850;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  color: #fff;
  z-index: 1000;
}


      header h1 {
      font-weight: 700;
      font-size: 1.8rem;
      letter-spacing: 2px;
    }
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #FFDE21;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

h1 a {
    color: #fff;
    text-decoration: none;
}

h1 a:hover {
    color: #FFDE21;
    transition: 0.3s;
}

/* Seções centralizadas */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.sections-container {
  display: flex;
  justify-content: center; /* centraliza horizontalmente todas as seções */
  align-items: flex-start; /* alinha todos os h2 no topo */
  gap: 50px; /* espaço entre as colunas */
}

.section img {
  max-width: 200px; /* limita o tamanho da imagem */
  width: 100%;
  height: auto;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-top: 10px;
}

.section p {
  font-size: 1.2rem;
  max-width: 700px;
  opacity: 0.9;
}

.content {
  text-align: center;
  animation: fadeInUp 1.5s ease-in-out;
  z-index: 10;
}

.content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #fff;
  color: #4e4376;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-bubbles {
  position: fixed; /* era absolute */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none; /* impede que cliques parem nelas */
}


.bg-bubbles li {
  position: absolute;
  list-style: none;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.5);;
  bottom: -150px;
  border-radius: 50%;
  animation: bubble 25s infinite;
}

.bg-bubbles li:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-delay: 0s; }
.bg-bubbles li:nth-child(2) { left: 20%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 17s; }
.bg-bubbles li:nth-child(3) { left: 25%; width: 10px; height: 10px; animation-delay: 4s; }
.bg-bubbles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-duration: 22s; }
.bg-bubbles li:nth-child(5) { left: 70%; width: 20px; height: 20px; animation-delay: 3s; }
.bg-bubbles li:nth-child(6) { left: 80%; width: 30px; height: 30px; animation-delay: 7s; }
.bg-bubbles li:nth-child(7) { left: 32%; width: 50px; height: 50px; animation-delay: 15s; animation-duration: 45s; }
.bg-bubbles li:nth-child(8) { left: 55%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.bg-bubbles li:nth-child(9) { left: 25%; width: 25px; height: 25px; animation-delay: 0s; animation-duration: 40s; }
.bg-bubbles li:nth-child(10) { left: 90%; width: 150px; height: 150px; animation-delay: 11s; }

@keyframes bubble {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) scale(1.5);
    opacity: 0;
  }
}

/* ------------------ ESTILOS GERAIS DE DROPDOWN ------------------ */

/* ------------------ ESTILOS GERAIS DE DROPDOWN ------------------ */

.dropdown-css {
    position: relative;
}

/* Deixa o link principal (o novo .dropdown-label) igual aos outros links */
.dropdown-label {
    color: #fff; 
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
    cursor: pointer;
    display: inline-block; /* Essencial para que o sublinhado ::after cubra a área corretamente */
    padding: 0;
}

/* Define o sublinhado amarelo (invisível inicialmente) */
.dropdown-label::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #FFDE21; /* Corrigido para a cor amarela */
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

/* Faz o sublinhado aparecer no hover */
.dropdown-label:hover::after {
    width: 100%;
}

/* ------------------ Configuração e Lógica do Submenu (HOVER) ------------------ */

.dropdown-content-css {
    background: #142850; /* Seu azul profundo */
    
    /* ESCONDE o submenu por padrão */
    display: none; 
    
    position: absolute;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5); /* Sombra um pouco mais forte */
    z-index: 10; /* Garante que fique acima de outros elementos */
    left: 0; 
    top: 100%; /* Posiciona logo abaixo do link */
}

/* MÁGICA DO HOVER: Mostra o submenu quando o mouse está sobre o item da lista (<li>) */
.dropdown-css:hover .dropdown-content-css {
    display: block;
}


.dropdown-content-css a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content-css a:hover {
    /* Adiciona um hover de fundo claro para saber onde o mouse está */
    background-color: rgba(255, 255, 255, 0.1); 
}

/* Estilo do link como um botão amarelo (Destaque) */
.nav-highlight-btn {
    /* Cores e Fundo */
    background-color: #FFDE21; /* Nosso tom Ouro */
    color: black !important; /* Texto sempre preto para alto contraste no ouro */
    
    /* Forma e Espaçamento */
    padding: 8px 15px; /* Adiciona padding para parecer um botão */
    border-radius: 20px; /* Cantos arredondados */
    text-decoration: none;
    font-weight: bold; /* Opcional: Deixa o texto mais forte */
    font-size: 0.95em;
    
    /* Transição e Sombra para Efeito 3D sutil */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Efeito ao passar o mouse */
.nav-highlight-btn:hover {
    background-color: #FFDE21; /* Amarelo mais claro/brilhante no hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Sombra mais intensa */
    transform: translateY(-1px); /* Pequeno efeito de "levantar" */
}

/* Garante que o item da lista não tenha o estilo padrão de link */
.highlight-item a {
    /* Sobrescreve quaisquer estilos de link genéricos que possam interferir */
    color: black;
}