
/* ===================== */
/* Paleta base personalizada (branco, cinza, preto, vermelho, azul, amarelo) */
/* ===================== */
:root {
  --c-white: #ffffff;
  --c-white2: #cfcfcf;
  --c-black: #000000;
  --c-gray: #2b2f36;
  --c-gray-2: #3a3f46;
  --c-red: #ff3b3b;
  --c-blue: #1a73ff;
  --c-yellow: #ffd43b;
}

/* ===================== */
/* Estilos Globais */
/* ===================== */
body {
  text-align: center;
  color: var(--c-white);
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

/* ===================== */
/* Background Animado do Site */
/* ===================== */
body {
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.534), transparent 50%),
    radial-gradient(circle at 85% 80%,  #f7f7f7a9, transparent 50%),
    linear-gradient(180deg, #464749 0%, #141b2a 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  color: var(--c-white);
  min-height: 100vh;
  animation: moveBackground 30s ease infinite;
}

/* Animação suave do background */
@keyframes moveBackground {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* ===================== */
/* Header e Menus */
/* ===================== */
header {
  background-color: rgba(15, 22, 32, 0.356) !important; /* leve transparência */
  backdrop-filter: blur(10px) !important;
  color: var(--c-white);
}

/* Remove background apenas do link do logo */
header > a:first-child {
  background: transparent;
}


header a {
  background: var(--c-gray-2);
  color: var(--c-white);
}

header a:hover {
  color: var(--c-white);
}

#mobile-menu {
  background: var(--c-gray-2);
  color: var(--c-white);
}

#mobile-menu a {
  color: var(--c-white);
}

/* Dropdown Desktop */
.dropdown {
  position: relative;
  display: flex;       /* alinhar com os outros links */
  align-items: center; /* centraliza verticalmente */
}


.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--c-gray-2);
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.dropdown-content a {
  color: var(--c-white);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--c-gray);
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* =====================
   Menu Mobile Fullscreen
   ===================== */
#mobile-menu {
  background-color: rgba(15, 22, 32, 0.349); /* mesmo fundo */
  backdrop-filter: blur(10px);              /* mesmo blur */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 40;
}

/* Menu ativo */
#mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

/* =====================
   Todos os links Mobile e títulos dropdown
   ===================== */
#mobile-menu a,
.mobile-dropdown-btn {
  background-color: rgba(15, 22, 32, 0.349);
  backdrop-filter: blur(10px);
  color: var(--c-white);
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  display: block; /* garante que ocupam toda a largura */
  text-decoration: none;
}

/* Hover */
#mobile-menu a:hover,
.mobile-dropdown-btn:hover {
  text-decoration: underline;
  background-color: rgba(15, 22, 32, 0.45);
}

/* =====================
   Dropdown Mobile
   ===================== */
.mobile-dropdown-content {
  display: none; /* inicia fechado */
  flex-direction: column;
  margin-left: 0.5rem; /* indentação dos sublinks */
}

/* Links dentro do dropdown: mesmo estilo dos outros */
.mobile-dropdown-content a {
  background-color: rgba(15, 22, 32, 0.349); /* mesmo fundo */
  backdrop-filter: blur(10px);              /* mesmo blur */
  color: var(--c-white);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
  transition: background 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

/* Hover dos links do dropdown */
.mobile-dropdown-content a:hover {
  text-decoration: underline;
  background-color: rgba(15, 22, 32, 0);
}

/* =====================
   Mostrar dropdown quando ativo
   ===================== */
.mobile-dropdown-btn.active + .mobile-dropdown-content {
  display: flex;
}



/* Sombra suave e borda arredondada padrão */
.card {
border-radius: 1rem;
box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
  background-color: rgba(15, 22, 32, 0.356) !important; /* leve transparência */
  backdrop-filter: blur(10px) !important;
color: var(--c-white);
}



/* Footer ajustado para o tema escuro */
footer {
  color: var(--c-white);
  background-color: rgba(15, 22, 32, 0.349); /* mesmo fundo */
  backdrop-filter: blur(5px);              /* mesmo blur */
}