nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  backdrop-filter: blur(0px);
}

nav.scrolled {
  background: rgba(15, 13, 11, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.9rem 3rem;
  border-bottom: 1px solid var(--border-gold);
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  transition: color 0.25s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid var(--gold-muted);
  color: var(--gold);
  padding: 0.55rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* Hamburguer — escondido no desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: all 0.3s;
  transform-origin: center;
}

/* animação X quando aberto */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Overlay mobile */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 13, 11, 0.98);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-close {
  position: absolute;
  z-index: 1001;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--gold-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.nav-mobile-close:hover { color: var(--gold); }

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-bottom: 3rem;
}

.nav-mobile-links li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-mobile-links li:first-child {
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.nav-mobile-links a {
  display: block;
  padding: 1.2rem 3rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-mobile-links a:hover { color: var(--gold); }

.nav-mobile-cta {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
}

/* Mobile: esconde links e cta, mostra hamburguer */
@media (max-width: 768px) {
  nav { padding: 1.2rem 1.5rem; }
  nav.scrolled { padding: 0.9rem 1.5rem; }

  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}