/* ============================================
   CABEÇALHO FIXO (versão mobile / base)
============================================ */
.cabecalho {
  position: fixed;                    
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 1); 
  z-index: 2;                         
  padding: 0.76em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------
   LOGO CENTRALIZADA NO MOBILE
-------------------------------------------- */
.div-logo-jet {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-jet {
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  font-weight: bold;
  font-size: var(--fs-grande);
  text-decoration: none;
  font-family: var(--fonte-logo);
}

.logo-jet img {
  width: clamp(40px, 8vw, 60px); /* Responsivo */
  height: auto;
}

/* --------------------------------------------
   ÍCONE HAMBÚRGUER (menu mobile)
-------------------------------------------- */
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  color: white;
}

.menu-icon .bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.4s ease-in-out;
  transform-origin: center; /* Suaviza rotação */
}

/* Animação do ícone para "X" */
.menu-icon.ativo .bar:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}
.menu-icon.ativo .bar:nth-child(2) {
  opacity: 0;
}
.menu-icon.ativo .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* --------------------------------------------
   MENU MOBILE (deslizante)
-------------------------------------------- */
.menu {
  display: none;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.9);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.menu.ativo {
  display: flex;
}

.menu a {
  display: block;
  padding: 0.75em;
  color: white;
  text-decoration: none;
  font-size: var(--fs-grande);
  transition: background-color 0.3s ease;
}

.menu a:hover {
  background-color: #333;
  border-radius: 20px;
  color: var(--amarelo-ouro);
}

/* === BOTÃO LIGAR (NO HEADER) === */
.menu-direita a {
  display: flex;
  align-items: center;
  padding: 0.75em;
  color: white;
  text-decoration: none;
  font-size: var(--fs-grande);
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  gap: 0.5em; /* Espaço entre ícone e texto */

}

/* Ícone dentro do botão */
.menu-direita a img {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

/* Texto (Ligar) */
.menu-direita label {
  font-size: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

/* Efeito ao passar o mouse (mesmo que os outros) */
.menu-direita a:hover {
  font-weight: bold;
  background-color: #333;
  color: var(--amarelo-ouro);
}

/* Texto 'Ligar' oculto visualmente, mas acessível para leitores de tela */
.menu-direita span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =================================================================
   RESPONSIVO: TABLET (a partir de 712px)
================================================================= */
@media (min-width: 712px) {
  .cabecalho {
    padding: 0;
    flex-direction: row-reverse;
    align-items: center;
  }

  .div-logo-jet {
    position: static;
    transform: none;
    order: 1;
    margin-right: auto;
    animation: logo-esquerda 0.6s ease forwards;
  }

  .menu {
    display: flex;
    flex-direction: row;
    background-color: transparent;
    align-items: center;
    position: static;
    top: auto;
    left: auto;
    width: auto;
    flex: 1;
  }

  .menu-centro,
  .menu-direita {
    display: flex;
    padding: 0;
    margin: 0;
    gap: 0.5em; /* Espaçamento entre links */
  }

  .menu-centro {
    margin: 0 auto;
    animation: slide-links-centro 0.6s ease forwards;
  }

  .menu-direita {
    margin-right: 1em;
    animation: slide-links-direita 0.6s ease forwards;
  }

  .menu a {
    padding: 0.5em 1em;
  }

  .menu a:hover {
    background-color: #222;
  }

  .menu-icon {
    display: none;
  }
}
