.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar__logo img {
  height: 42px;
}

/* Menu */
.navbar__menu {
  display: flex;
  gap: 2.5rem;
}

.navbar__menu a {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}

/* Linha dourada no hover */
.navbar__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height:
  2px;
  background-color: var(--color-gold);
}



/* ===============================
   NAVBAR - RESPONSIVO (HAMBÚRGUER)
================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

/* MENU DESKTOP */
.navbar__menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.navbar__menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* BOTÃO HAMBÚRGUER (DESKTOP ESCONDIDO) */
.navbar__toggle {
  display: none;
  width: 42px;
  height: 42px;
  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-gold);
  transition: transform .25s ease, opacity .25s ease;
}

/* ============ MOBILE ============ */
@media (max-width: 768px) {

  /* mostra o hambúrguer */
  .navbar__toggle {
    display: flex;
  }

  /* menu vira painel (fechado por padrão) */
  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    display: none;              /* fechado */
    flex-direction: column;
    gap: 14px;

    padding: 18px 20px;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  /* quando clicar no toggle, o JS adiciona .active */
  .navbar__menu.active {
    display: flex;
  }

  .navbar__menu a {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid rgba(202,167,44,0.25);
    border-radius: 8px;
  }
}

/* animação do ícone virar "X" */
.navbar__toggle.active span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}
.navbar__toggle.active span:nth-child(2){
  opacity: 0;
}
.navbar__toggle.active span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}
