ul {
  margin: 0px;
  padding: 0px;
}

a {
  color: black;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  text-shadow: 0px 0px 10px #FFFFFF;
}

a:hover {
  color: #ff7600;
  text-shadow: #FF7600 2px -10px 20px;
  transition: 0.3s;
  border-bottom: 4px solid #FF7600;
  border-top: 4px solid #FF7600;
  
  
}



#header {
  box-sizing: border-box;
  height: 30px;
  padding-top: 0px;
  display: flex;
  float: right;
  position: fixed;     /* 🔹 Fixa o menu no topo */
  top: -5px;              /* 🔹 Cola no topo da tela */
  right: 15px;            /* 🔹 Mantém alinhado à direita */
  z-index: 1000;       /* 🔹 Mantém o menu acima do conteúdo */
  margin-right: 0 !important;
  
}

/* ===== AJUSTE DO MENU NO DESKTOP ===== */
#nav {

}

.nav:after {
  align-content: right;
  text-align: right;
  content: "";
  display: table;
  clear: both;
}

#menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin-top: -30px !important;   /* 🔺 sobe o menu */
  margin-right: 45px !important;  /* 🔺 puxa um pouco pra esquerda */
}

#menu a {
  display: block;
  padding: 0.5rem;
  text-align: center;
}

#btn-mobile {
  display: none;
}

@media (max-width: 768px) {

  /* HEADER */
  #header {
    width: 100%;
    margin: 0;
    padding: 0;
    right: 0;
    float: none;
    position: fixed;
    z-index: 3000;
    background: transparent;
    
  }

  #texto-menu {
    font-weight: 650 !important;
    color: #000000;
    text-shadow: 0 0 8px #ff7600, 0 0 18px #ffae42;
}


  /* MENU INATIVO */
  #menu {
    display: block !important;
    display: none !important;
    position: fixed;
    width: 100vw;
    max-width: 100vw !important;
    height: 0;
    right: 0;
    top: 120px !important; /* empurra o menu para baixo do rádio */
    visibility: hidden;
    overflow-x: hidden !important;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    z-index: 2000;
    
  }

  /* MENU ATIVO */
  #nav.active #menu {
    display: block !important;
    height: calc(100vh - 70px);
    visibility: visible;
    opacity: 1;
    overflow-y: auto;
    top: 120px !important; /* mesma posição quando expandido */
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 2500;
    width: 100vw;
    max-width: 100vw !important;

    /* 🧊 Vidro fosco com fallback */
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.05)
    );

    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
  }

  /* ITENS DO MENU */
#nav.active #menu a {
  display: block;
  color: #000;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  
  width: calc(100% - 30px);  /* 🔹 garante que nunca ultrapasse a tela */
  margin: 3px auto;          
  padding: 12px 0;

  border: 2px solid #ff7600;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  box-sizing: border-box;

  transition: all 0.3s ease-in-out;
}


  #nav.active #menu a:hover {
    color: #ff7600;
    background: rgba(255, 118, 0, 0.1);
    transform: scale(1.05);
  }

  /* BOTÃO HAMBÚRGUER */

  #nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    position: relative;
    top: 2px;  /* ajuste fino */
  }

  #btn-mobile {
    display: flex;

    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    gap: 0.5rem;
    z-index: 4000;
    position: relative;
    margin-left: auto;
    margin-right: 4px !important;
    background: rgba(255, 255, 255, 0.15);      /* vidro */
    backdrop-filter: blur(8px);                 /* fosco */
    -webkit-backdrop-filter: blur(8px);

    border: 2px solid rgba(255, 140, 0, 0.5);   /* borda neon */
    border-radius: 10px;

    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 8px;

    width: auto;
    max-width: 130px;  /* 🔹 tamanho do retângulo */

    height: 84px;   /* 🔹 altura exata do retângulo */
    line-height: 48px;  /* 🔹 alinha o texto verticalmente */
  }

  #hamburger {
    border-top: 2px solid;
    width: 20px;
  }

  #hamburger::after,
  #hamburger::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }

  #nav.active #hamburger {
    border-top-color: transparent;
  }

  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }

  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }
}


html, body {
  max-width: 100%;
  overflow-x: hidden;
}

