/* ═══════════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════════ */

/* ══ Line Color Oficial (SEMPRE NO TOPO) ══ */
.line-color-gold {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
      #9E7610, #ffb300, #ffeb99, #cfa830, 
      #9E7610, #ffb300, #ffeb99, #cfa830,
      #9E7610, #ffb300);
  background-size: 200% 100%;
  animation: lineColorSlide 12s linear infinite;
  z-index: 2147483647; /* Z-Index máximo absoluto possível */
  pointer-events: none;
}
@keyframes lineColorSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--duration-normal) var(--ease-luxury);
}

.site-header.scrolled {
  background: rgba(6, 26, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform var(--duration-normal) var(--ease-luxury);
}

.site-logo:hover img {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 400;
}

/* Desktop Nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--duration-fast) var(--ease-luxury);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transition: width var(--duration-normal) var(--ease-luxury);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-400);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-cta .btn-gold {
  padding: 10px 28px;
  font-size: 0.6rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold-400);
  transition: all var(--duration-normal) var(--ease-luxury);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(6, 26, 14, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: right var(--duration-slow) var(--ease-luxury);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  transition: color var(--duration-fast);
}

.mobile-nav a:hover {
  color: var(--gold-400);
}

.mobile-nav .btn-gold {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .header-cta .btn-gold {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 1.25rem;
  }

  .site-logo img {
    height: 46px;
  }
}
