/* ============================================================
   HEADER.CSS — Navegação fixa topo
   ============================================================ */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17,16,16,0.85);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(184,150,90,0.1);
  transition: all 0.4s ease;
}
header.scrolled {
  background: rgba(17,16,16,0.97);
  border-bottom-color: rgba(184,150,90,0.18);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1140px;
  margin: 0 auto;
  transition: padding 0.4s;
}
header.scrolled nav { padding: 14px 40px; }

/* Logo */
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 32px; height: 32px;
  border: 1px solid rgba(184,150,90,0.5);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(184,150,90,0.25);
}
.logo-mark svg { width: 14px; height: 14px; fill: var(--gold); }
.logo-text { color: var(--white); }
.logo-text span { color: var(--gold); }

/* Links centrais */
.nav-center {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-center a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-center a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-center a:hover { color: rgba(255,255,255,0.9); }
.nav-center a:hover::after { width: 100%; }

/* CTA direita */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1px solid rgba(184,150,90,0.5);
  border-radius: 4px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
}
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta:hover { color: var(--dark); }
.nav-cta span { position: relative; z-index: 1; }

/* Hambúrguer mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 1px;
  background: var(--white);
  transition: 0.4s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV OVERLAY ===== */
.nav-links-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(17,16,16,0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  z-index: 999;
}
.nav-links-mobile.active { display: flex; }
.nav-links-mobile a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 1.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 2px;
  transition: color 0.3s;
}
.nav-links-mobile a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 960px) {
  nav { padding: 20px 24px; }
  header.scrolled nav { padding: 14px 24px; }
  .nav-center { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}
