/* 🔒 [NE PAS MODIFIER] - CORE DESIGN SYSTEM - GEAR ACCELERATOR */

/* 1. DÉCLARATION DES VARIABLES GLOBALES */
:root {
  --blue: #2563eb;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --orange: #f97316;
  --green: #10b981;
  
  --bg-main: #0a0f1d;          /* Fond bleu nuit très sombre */
  --bg-card: #111827;          /* Fond des cartes */
  --border-color: #1f2937;     /* Couleur des bordures */
  
  --text-100: #ffffff;         /* Blanc pur */
  --text-main: #f3f4f6;        /* Blanc cassé pour le texte principal */
  --text-muted: #9ca3af;       /* Gris pour le texte secondaire */
  
  --font-head: system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
}

/* 2. STYLES GLOBAUX & RESET */
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-head);
  margin: 0;
  padding: 0;
}

/* 3. STRUCTURE DE LA NAVBAR */
#main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background: rgba(10, 15, 29, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

#main-nav .logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-100);
  text-decoration: none;
}

#main-nav .logo span {
  color: var(--orange);
}

#main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
}

#main-nav ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

#main-nav ul li a:hover {
  color: var(--text-100);
}

.nav-portal-btn {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: var(--text-100) !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--blue-glow);
  transition: opacity 0.2s;
}

.nav-portal-btn:hover {
  opacity: 0.9;
}

/* 4. HERO SECTION */
.hero {
  padding: 100px 5%;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  color: var(--text-100);
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.2;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* BOUTONS GENERIQUES */
.btn-primary {
  background: var(--blue);
  color: var(--text-100);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-ghost {
  background: transparent;
  color: var(--text-100);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  box-sizing: border-box;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* 5. SECTION AUDIENCES & CARTES */
#audiences {
  padding: 80px 5%;
}

.section-label {
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2rem;
  color: var(--text-100);
  margin-top: 8px;
  margin-bottom: 30px;
}

.section-title span {
  color: var(--blue);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audience-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-icon-wrap {
  font-size: 1.5rem;
}

.card-badge {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.audience-card.blue .card-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
}

.audience-card h3 {
  color: var(--text-100);
  font-size: 1.4rem;
  margin: 10px 0;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  color: var(--text-main);
}

.card-list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
}

.card-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* 6. STYLES DU FOOTER (BAS DE PAGE) */
footer {
  background-color: #060a13;
  border-top: 1px solid var(--border-color);
  padding: 60px 5% 40px 5%;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 40px;
}

.footer-col h4 {
  color: var(--text-100);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--text-100);
}

.brand-col .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-100);
  margin-bottom: 16px;
}

.brand-col .footer-logo span {
  color: var(--orange);
}

.brand-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}