/* Nexum - Common Chrome (header & footer) */
/* Paleta: Roxo #8A2BE2 (primária), Dourado #FFD700 (destaque), Branco #FFFFFF */
:root {
  --nx-purple: #4A148C;
  --nx-gold: #FFD700;
  --nx-white: #FFFFFF;
  --nx-text: #1F1F1F;
  --nx-muted: #6B7280;
  --nx-shadow: 0 6px 16px rgba(0,0,0,.08);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;
  color: var(--nx-text);
  background: #FAFAFF;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

/* ===== NAVBAR ===== */
.navbar-nexum {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--nx-white);
  box-shadow: var(--nx-shadow);
  border-bottom: 1px solid rgba(0,0,0,.04);
}

.navbar-nexum .brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--nx-purple);
  text-decoration: none;
}

.navbar-nexum .brand img {
  height: 60px;
  width: auto;
}

.navbar-nexum .nav-link {
  color: #4B4B4B;
}

.navbar-nexum .nav-link.active,
.navbar-nexum .nav-link:hover {
  color: var(--nx-purple);
}

/* Dropdown moderno */
.navbar-nexum .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 200px;
}

.navbar-nexum .dropdown-item {
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #4B4B4B;
  transition: all 0.2s ease;
}

.navbar-nexum .dropdown-item:hover {
  background: var(--nx-purple);
  color: white;
}

.navbar-nexum .dropdown-divider {
  margin: 0.5rem 1rem;
  border-color: #e9ecef;
}

.navbar-nexum .dropdown-menu form {
  padding: 0.5rem 1.25rem;
}

.navbar-nexum .dropdown-menu .btn {
  border-radius: 8px;
  font-weight: 600;
}

.navbar-nexum .navbar-toggler {
  border: none;
  box-shadow: none;
}

.navbar-nexum .navbar-toggler:focus {
  box-shadow: none;
}

.navbar-nexum .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234A148C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-nexum .navbar-collapse {
    margin-top: 1rem;
    margin-left: 20px;
  }
  
  .navbar-nexum .nav-link:hover {
    background-color: var(--nx-gold);
    color: var(--nx-purple);
    border-radius: 8px;
    padding: 0.5rem 1rem;
  }
}

/* ===== FOOTER ANTIGO (removido) ===== */

/* ===== BOTÕES ===== */
.btn-gold {
  background: var(--nx-gold);
  border: none;
  font-weight: 600;
}

.btn-gold:hover {
  filter: brightness(.95);
}

/* ===== FOOTER MODERNO ===== */
.footer-modern {
  margin-top: auto;
  background: var(--nx-purple);
  color: white;
  padding: 3rem 0 1rem;
  flex-shrink: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section .footer-logo img {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--nx-gold);
  color: var(--nx-purple);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--nx-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--nx-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact {
  display: flex;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== BADGES & UTILS ===== */
.badge-free {
  background: #16a34a;
}

.badge-paid {
  background: #8A2BE2;
}

.price {
  color: var(--nx-purple);
  font-weight: 700;
}