/* Fonte */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
  }

header{
    padding-bottom: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.205);
    background: white; 
    position: relative;
    z-index: 10;}
  
/* Top bar */
.top-bar {
    background-color: #2F40FA;
    height: 40px;
    display: flex;
    align-items: stretch;
    padding: 0 0 0 20px;
  }
  

/* Ícones sociais */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a {
  background-color: #E89C24;
  color: white;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  transition: transform 0.2s;
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.1);
}

/* Botão portal */
.portal-btn {
    background-color: #E89C24;
    color: white;
    height: 100%;                 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;               
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;             
    margin-left: auto;           
  }
  

/* Logo */
.logo-container {
  background-color: white;
  padding: 30px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.logo-img {
  height: 140px;
}

/* Menu principal */
.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 10px 20px;
    background-color: white;
    flex-wrap: wrap;
  }
  
  .nav-bar a {
    display: inline-flex; /* permite usar align center nos dois eixos */
    justify-content: center;
    align-items: center;
    background-color: #2F40FA;
    color: white;
    width: 160px; /* largura fixa para padronizar */
    height: 44px;  /* altura padrão */
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
  }
  
  .nav-bar a:hover {
    background-color: #E89C24;
    color: white;
  }

  #amarelo{
    background-color: #E89C24;
  }

  #amarelo:hover{
    background-color: #2F40FA;
  }


/* Campo de pesquisa */
.search-box {
  position: relative;
}

.search-box input {
  padding: 10px 30px 10px 35px;
  border-radius: 5px;
  background-color: #E89C24;
  border: none;
  color: white;
  font-size: 14px;
  outline: none;
}

.search-box input::placeholder {
  color: white;
}

.search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}


/* Menu Responsivo (Burger Menu) */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 30px;
  height: 30px;
  margin: auto;
}

.burger-line {
  height: 3px;
  width: 100%;
  background-color: #2F40FA;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menu escondido para mobile */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: white;
  padding: 20px;
  position: absolute;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-menu a {
  margin-bottom: 10px;
  text-align: center;
  background-color: #2F40FA;
  color: white;
  padding: 10px;
  border-radius: 999px;
  text-decoration: none;
}

.mobile-menu.active {
  display: none;
}

/* Ajustes responsivos para telas pequenas */
@media (max-width: 768px) {

  header{
    padding-bottom: 50px;
  }

  .nav-bar {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .mobile-menu.active{
    display: flex;
  }

  .logo-container {
    flex-direction: column;
  }

  .logo-img {
    height: 100px;
  }

  .search-box {
    width: 100%;
    margin-top: 10px;
  }

  .top-bar {
    justify-content: space-between;
    padding: 0 10px;
  }

  .portal-btn {
    font-size: 12px;
    padding: 0 12px;
  }
}