/* =====================================================
   NEXUM — Site institucional
   Premium Dark & Gold Theme (mesma identidade do NEXUM BI)
   ===================================================== */

:root {
  --nexum-dark: #0f172a;
  --nexum-gold: #fbbf24;
  --nexum-cyan: #22d3ee;
  --nexum-purple: #a855f7;

  --nexum-bg-primary: #0f172a;
  --nexum-bg-secondary: #1e293b;
  --nexum-bg-tertiary: #334155;
  --nexum-border: #475569;
  --nexum-text-primary: #f1f5f9;
  --nexum-text-secondary: #cbd5e1;

  --nexum-success: #10b981;
  --nexum-warning: #f59e0b;
  --nexum-danger: #ef4444;

  --font-family: 'Inter', 'Segoe UI', sans-serif;

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(251, 191, 36, 0.25);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: linear-gradient(160deg, var(--nexum-dark) 0%, #141a35 45%, #0f172a 100%);
  color: var(--nexum-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }

p { color: var(--nexum-text-secondary); }

a { color: var(--nexum-cyan); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--nexum-gold); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: all var(--transition-base);
  background: transparent;
}
.nav.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(71, 85, 105, 0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--nexum-gold), var(--nexum-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo.small { font-size: 1.2rem; }
.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.nav-links a {
  color: var(--nexum-text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--nexum-gold); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--nexum-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.75rem 1.6rem;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--nexum-gold), var(--nexum-cyan));
  color: var(--nexum-dark);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: var(--nexum-dark); }
.btn-secondary {
  background: rgba(30, 41, 59, 0.7);
  color: var(--nexum-text-primary);
  border: 1px solid var(--nexum-border);
}
.btn-secondary:hover { border-color: var(--nexum-gold); color: var(--nexum-gold); }

/* ===== BADGES ===== */
.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge.gold { background: rgba(251, 191, 36, 0.15); color: var(--nexum-gold); border: 1px solid var(--nexum-gold); }
.badge.cyan { background: rgba(34, 211, 238, 0.15); color: var(--nexum-cyan); border: 1px solid var(--nexum-cyan); }
.badge.green { background: rgba(16, 185, 129, 0.15); color: var(--nexum-success); border: 1px solid var(--nexum-success); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 11rem 0 7rem;
  text-align: center;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
.hero .badge { margin-bottom: 1.5rem; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  background: linear-gradient(135deg, var(--nexum-gold), var(--nexum-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}
.hero-sub {
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, rgba(34, 211, 238, 0.08) 40%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }
.eyebrow {
  display: block;
  color: var(--nexum-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.produtos h2, .diferenciais h2, .sobre h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.section-sub { max-width: 560px; margin-bottom: 3rem; font-size: 1.05rem; }

/* ===== PRODUCT CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--nexum-border);
  border-radius: 14px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--nexum-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.product-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.product-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nexum-cyan);
}
.product-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; color: var(--nexum-text-primary); }
.product-card > p { margin-bottom: 1.25rem; }
.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.feature-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--nexum-text-secondary);
}
.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--nexum-gold);
  font-weight: 700;
}
.product-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--nexum-border);
}
.product-stack span {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.1);
  color: var(--nexum-text-secondary);
}

/* ===== DIFERENCIAIS ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.diff-item h3 { font-size: 1.1rem; margin: 0.75rem 0 0.5rem; color: var(--nexum-text-primary); }
.diff-item p { font-size: 0.92rem; }
.diff-icon { font-size: 1.8rem; }

/* ===== SOBRE ===== */
.sobre { background: rgba(30, 41, 59, 0.35); border-top: 1px solid var(--nexum-border); border-bottom: 1px solid var(--nexum-border); }
.sobre-inner { max-width: 780px; }
.sobre-inner p { font-size: 1.05rem; }

/* ===== CTA FINAL ===== */
.cta-final { text-align: center; }
.cta-inner h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.cta-inner p { margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== FOOTER ===== */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--nexum-border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner p { font-size: 0.85rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.97);
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-150%);
    transition: transform var(--transition-base);
    border-bottom: 1px solid var(--nexum-border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

@media (max-width: 560px) {
  .hero { padding: 8rem 0 4rem; }
  section { padding: 4rem 0; }
}
