/* === HEADER FIXO COM TRAVESSEIRO E MENU === */
.topo-cabecalho {
  width: 100%;
  height: auto;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 20px;
  z-index: 3000;
}


/* === TRAVESSEIRO === */
.pillow {
  width: 100px;
  height: auto;
  cursor: pointer;
  transition: transform 0.05s ease;
}

.pillow:active {
  transform: scale(0.80) rotate(15deg);
}

/* === MENU DESKTOP === */
.menu {
  margin-top: 28px; 
  right: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  z-index: 1500;
  gap: 20px;
  background-color: transparent;
}

/* idioma */
.icone-menu {
  display: flex;
  align-items: center;
  gap: 0px;
  color: white;
  text-decoration: none;
  padding: 2px;
  font-size: 4px;
}

.icone-bandeira {
  width: 30px;
  height: 22px;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}


.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.menu li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 70px;
}

.menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  text-decoration: none;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 1.2;
  gap: 2px;
}

.menu a i {
  font-size: 24px;
  display: block;
}

.menu a:hover {
  color: white;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff;
}

.menu a:hover i {
  color: #ff8000;
  text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff;
}

/* === BOTÃO SAIR === */
.menu-logout-button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 70px;
  gap: 2px;
  line-height: 1.2;
}

.menu-logout-button i {
  font-size: 24px;
  display: block;
}

.menu-logout-button:hover {
  color: #ff8000;
}

/* === MENU MOBILE: HAMBURGER === */
.hamburger {
  display: none;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: #ff8000;
  border-radius: 2px;
  margin: 4px 0;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
.pillow {
  position: fixed;
  width: 60px;
  top: 10px; /* ajuste conforme necessário */
  left: 10px;
  z-index: 2000;
}


  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 27px;
    right: 15px;
    z-index: 1500;
    cursor: pointer;
  }

.hamburger span {
  width: 30px;
  height: 4px;
  background-color: #ff8000;
  border-radius: 2px;
  margin: 2px 0; /* antes era 4px */
}

  .menu {
    display: none;
	margin-top: 0; /* para o menu mobile ocupar o topo todo */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2a3e4e;
    z-index: 1000;
    padding: 70px 0 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
  }

  .menu.active {
    display: flex !important;
  }

  .menu ul {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
  }

  .menu li {
    width: 80px;
    text-align: center;
    height: auto;
  }

  .menu a {
    font-size: 15px;
    gap: 2px;
  }
}
