/* ===== Estilos para o Cabeçalho ===== */
#cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 1000;
  background-color: #1b1b1b;
}

/* Logo do Cabeçalho */
#cabecalho .logo {
  position: relative;
  transition: 0.3s ease;
}

#cabecalho .logo img {
  position: relative;
  margin-left: 40px;
  height: 45px;
  width: auto;
}

#cabecalho .logo:hover {
  opacity: 60%;
}

/* Botão do Menu Hambúrguer (Mobile) */
#cabecalho .menu-hamburguer {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 21px; /* Altura total considerando 3 linhas */
  position: relative;
}

/* Linhas do hambúrguer - versão corrigida */
#cabecalho .menu-hamburguer::before,
#cabecalho .menu-hamburguer::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fdbd03;
  transition: 0.3s;
}

#cabecalho .menu-hamburguer::before {
  top: 0;
}

#cabecalho .menu-hamburguer::after {
  top: 50%;
  transform: translateY(-50%);
}

/* Linha do meio (elemento principal) */
#cabecalho .menu-hamburguer {
  background: linear-gradient(transparent 0%, transparent 45%, #fdbd03 45%, #fdbd03 55%, transparent 55%);
}

/* Quando ativo - transformar em X */
#cabecalho .menu-hamburguer.active {
  background: transparent;
}

#cabecalho .menu-hamburguer.active::before {
  transform: rotate(45deg) translate(5px, 4px);
}

#cabecalho .menu-hamburguer.active::after {
  transform: rotate(-45deg) translate(5px, -4px);
}

/* Menu de Navegação */
#cabecalho .menu {
  min-height: 100%;
}

#cabecalho .menu .itens {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-weight: 500;
}

#cabecalho .menu .itens .item {
  position: relative;
  color: #fdbd03;
  font-size: 14px;
  text-transform: capitalize;
  padding: 35px;
  text-align: center;
  transform: all 0.3s ease;
}

#cabecalho .menu .itens .item:hover {
  transform: scale(1.1);
}

#cabecalho .menu .itens .item:hover a {
  color: #fdbd03;
}

#cabecalho .menu .itens .item.ativo {
  font-size: 15px;
  font-weight: bold;
  border-bottom: 3px solid #fdbd03;
  margin-bottom: 2px;
}

#cabecalho .menu .itens .item.ativo:hover {
  transform: scale(1);
}

/* Botão Personalizado no Cabeçalho */
#cabecalho .botao {
  display: inline-block;
  min-width: 160px;
  min-height: 60px;
  margin: 5px 40px 5px 0;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background-color: #fdbd03;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease;
}

#cabecalho .botao:hover {
  opacity: 60%;
  transform: scale(1.02);
}

