/* === SHAPER HEADER SYSTEM (LIGHT & DARK) === */

/* Base e Estrutura do Header */
html body .nav-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  padding: 14px 0 !important;
  display: flex !important;
  align-items: center !important;
  transition: background 0.25s ease, border-color 0.25s ease !important;
}

html body .nav-header .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  max-width: var(--container-max, 1280px) !important;
  margin: 0 auto !important;
  padding: 0 var(--space-gutter, 24px) !important;
}

html body .logo-shaper img {
  height: 32px !important;
  width: auto !important;
  display: block !important;
}

html body .nav-links {
  display: flex !important;
  gap: var(--space-xl, 40px) !important;
  align-items: center !important;
}

html body .nav-link {
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: var(--text-label-md, 14px) !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
  position: relative !important;
  text-decoration: none !important;
  letter-spacing: 0.01em !important;
}

html body .nav-link::after {
  content: '' !important;
  position: absolute !important;
  bottom: -4px !important;
  left: 0 !important;
  width: 0 !important;
  height: 2px !important;
  background: var(--accent-gold, #c5a880) !important;
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

html body .nav-link:hover::after,
html body .nav-link.active::after {
  width: 100% !important;
}

/* === TEMA CLARO (LIGHT HEADER) === */
html body .nav-header,
html body .nav-header.nav-header-light {
  background: rgba(245, 244, 241, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08) !important;
}

html body .nav-header.nav-header-light .nav-link {
  color: rgba(10, 10, 10, 0.6) !important;
}

html body .nav-header.nav-header-light .nav-link:hover {
  color: #0A0A0A !important;
}

html body .nav-header.nav-header-light .nav-link.active {
  color: #0A0A0A !important;
  font-weight: 600 !important;
}

/* === TEMA ESCURO (DARK HEADER) === */
html body .nav-header.nav-header-dark {
  background: rgba(10, 10, 10, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html body .nav-header.nav-header-dark .nav-link {
  color: rgba(255, 255, 255, 0.6) !important;
}

html body .nav-header.nav-header-dark .nav-link:hover {
  color: #FFFFFF !important;
}

html body .nav-header.nav-header-dark .nav-link.active {
  color: #FFFFFF !important;
  font-weight: 600 !important;
}


/* === BOTÕES DO HEADER === */

/* Botão Primário (Agendar Conversa) */
html body .nav-header .btn-primary-header {
  padding: 0 24px !important;
  height: 44px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Primário no Claro: Fundo escuro, texto branco */
html body .nav-header.nav-header-light .btn-primary-header,
html body .nav-header:not(.nav-header-dark) .btn-primary-header {
  background: #111111 !important;
  color: #FFFFFF !important;
  border: 1px solid #111111 !important;
}

html body .nav-header.nav-header-light .btn-primary-header:hover,
html body .nav-header:not(.nav-header-dark) .btn-primary-header:hover {
  background: #2E1F8C !important; /* Shaper Indigo Glow no hover */
  border-color: #2E1F8C !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* Primário no Escuro: Fundo branco, texto preto */
html body .nav-header.nav-header-dark .btn-primary-header {
  background: #FFFFFF !important;
  color: #111111 !important;
  border: 1px solid #FFFFFF !important;
}

html body .nav-header.nav-header-dark .btn-primary-header:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  color: #111111 !important;
  transform: translateY(-1px) !important;
}


/* Botão Ghost (Dashboard) */
html body .nav-header .btn-header-ghost {
  height: 44px !important;
  padding: 0 20px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  gap: 8px !important;
}

html body .nav-header .btn-header-ghost .icon-circle {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

html body .nav-header .btn-header-ghost .icon-circle svg {
  width: 9px !important;
  height: 9px !important;
}

/* Ghost no Claro: Borda e texto escuro */
html body .nav-header.nav-header-light .btn-header-ghost,
html body .nav-header:not(.nav-header-dark) .btn-header-ghost {
  color: rgba(10, 10, 10, 0.7) !important;
  border: 1px solid rgba(10, 10, 10, 0.15) !important;
  background: transparent !important;
}

html body .nav-header.nav-header-light .btn-header-ghost:hover,
html body .nav-header:not(.nav-header-dark) .btn-header-ghost:hover {
  color: #111111 !important;
  border-color: rgba(10, 10, 10, 0.3) !important;
  background: rgba(10, 10, 10, 0.04) !important;
}

html body .nav-header.nav-header-light .btn-header-ghost .icon-circle,
html body .nav-header:not(.nav-header-dark) .btn-header-ghost .icon-circle {
  background: rgba(10, 10, 10, 0.06) !important;
  color: rgba(10, 10, 10, 0.7) !important;
}

html body .nav-header.nav-header-light .btn-header-ghost:hover .icon-circle,
html body .nav-header:not(.nav-header-dark) .btn-header-ghost:hover .icon-circle {
  background: #111111 !important;
  color: #FFFFFF !important;
}

/* Ghost no Escuro: Borda e texto branco */
html body .nav-header.nav-header-dark .btn-header-ghost {
  color: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: transparent !important;
}

html body .nav-header.nav-header-dark .btn-header-ghost:hover {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

html body .nav-header.nav-header-dark .btn-header-ghost .icon-circle {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

html body .nav-header.nav-header-dark .btn-header-ghost:hover .icon-circle {
  background: #FFFFFF !important;
  color: #000000 !important;
}


/* === MENU MOBILE E BOTÃO DE HAMBÚRGUER === */

html body .mobile-toggle {
  display: none !important;
  flex-direction: column !important;
  gap: 6px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 10px !important;
  z-index: 10001 !important;
}

html body .mobile-toggle span {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

html body .nav-header.nav-header-light .mobile-toggle span,
html body .nav-header:not(.nav-header-dark) .mobile-toggle span {
  background: #111111 !important;
}

html body .nav-header.nav-header-dark .mobile-toggle span {
  background: #FFFFFF !important;
}

@media (max-width: 992px) {
  html body .mobile-toggle {
    display: flex !important;
  }

  html body .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 280px !important;
    height: 100vh !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: var(--space-xxxl, 96px) var(--space-xl, 40px) !important;
    transition: right 0.35s cubic-bezier(0.2, 0, 0, 1) !important;
    z-index: 9999 !important;
    gap: var(--space-lg, 24px) !important;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15) !important;
  }

  html body .nav-links.active {
    right: 0 !important;
  }

  /* Fundo do mobile menu */
  html body .nav-header.nav-header-light .nav-links,
  html body .nav-header:not(.nav-header-dark) .nav-links {
    background: #F5F4F1 !important;
  }

  html body .nav-header.nav-header-dark .nav-links {
    background: #141414 !important;
  }
}
