/* ============ HEADER DESKTOP (FUNDO BRANCO E TEXTO ESCURO) ============ */
#header {
  background-color: #ffffff; /* Fundo branco limpo */
  border-bottom: 1px solid #e2e8f0; /* Borda cinza suave */
  width: 100%;
  position: relative;
  z-index: 50;
}

#header .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px; /* Mais justo/compacto */
  padding: 10px 0; /* Mais compacto na vertical */
}

#header .content .image a {
  display: flex;
  align-items: center;
}

#header .content .image img {
  width: 130px; /* Logo menor e mais integrada */
  height: auto;
}

#header .content .image .site-title {
  color: #0d2342; /* Texto escuro (Azul Marinho) */
  font-size: 20px;
  font-weight: 700;
}

#header .content .menu {
  display: flex;
  gap: 28px; /* Espaçamento ajustado */
  list-style: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

#header .content .menu .link {
  position: relative;
}

#header .content .menu .link a.anchor {
  color: #1e293b; /* Texto escuro para os links do menu */
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#header .content .menu .link:hover a.anchor {
  color: #d9383a; /* Vermelho DIVISUL no hover */
}

/* Submenu Dropdown (Fundo escuro elegante para contraste ao abrir) */
#header .content .menu .link .subMenu {
  visibility: hidden;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0d2342; /* Mantém o fundo azul marinho no dropdown para contraste */
  padding: 16px;
  border-radius: 6px;
  transition: all 0.2s;
  z-index: 60;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 190px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#header .content .menu .link:hover .subMenu {
  opacity: 1;
  visibility: visible;
}

#header .content .menu .link .subMenu .subLink a {
  color: #e2e8f0; /* Texto claro dentro do dropdown escuro */
  font-size: 13px;
  text-transform: none;
}

#header .content .menu .link .subMenu .subLink a:hover {
  color: #d9383a;
}

/* ============ HEADER RESPONSIVO (MOBILE - FUNDO BRANCO) ============ */
#responsive {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  background: #ffffff; /* Fundo branco no mobile */
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 50;
}

#responsive .image img {
  width: 140px; /* Logo mobile menor e mais justa */
}

#responsive .image span {
  color: #0d2342;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 768px) {
  #header {
    display: none;
  }

  #responsive {
    display: flex;
  }

  #responsive .menu #button {
    display: none;
  }

  #responsive .menu label[for='button'] {
    font-size: 30px;
    color: #0d2342; /* Ícone do menu hambúrguer escuro */
    cursor: pointer;
  }

  #responsive .menu .responsiveMenu {
    display: flex;
    align-items: flex-start;
    width: 100%;
    position: fixed;
    top: 0;
    bottom: 0;
    visibility: hidden;
    z-index: 130;
    opacity: 0;
    left: -200px;
    transition: all 0.3s;
  }

  #responsive .menu #button:checked~.responsiveMenu {
    left: 0;
    opacity: 1;
    visibility: visible;
  }

  #responsive .menu .responsiveMenu .content {
    background: #0d2342; /* Menu lateral abre em azul marinho para destaque */
    padding: 32px 16px;
    width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    overflow: auto;
  }

  #responsive .menu .responsiveMenu .content img {
    width: 140px;
  }

  #responsive .menu .responsiveMenu .content .responsiveLinks {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
  }

  #responsive .menu .responsiveMenu .content .responsiveLinks a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #ffffff;
  }

  #responsive .menu .responsiveMenu .content .socials {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  #responsive .menu .responsiveMenu .content .socials a {
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
  }

  #responsive .menu .responsiveMenu .content .copyright {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #94a3b8;
    font-size: 12px;
  }

  #responsive .menu .overlay {
    position: fixed;
    visibility: hidden;
    background: transparent;
    opacity: 0;
    transition: all 0.5s;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
  }

  #responsive .menu #button:checked~.overlay {
    background: rgba(0, 0, 0, 0.6);
    visibility: visible;
    opacity: 1;
    z-index: 120;
  }

  #responsive .menu .responsiveMenu label {
    position: absolute;
    right: 16px;
    top: 14px;
    color: #ffffff;
    font-size: 38px;
    cursor: pointer;
    z-index: 140;
  }
}