:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --dark: #0f172a;
    --dark-card: rgba(30, 41, 59, 0.5);
    --text: #334155;
    --light-grey: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.5; /* Légèrement augmenté pour la lisibilité */
    color: var(--text);
    scroll-behavior: smooth;
    text-align: center; 
}

.container { width: 95%; max-width: 1100px; margin: 0 auto; }

/* --- HERO SECTION --- */
.hero {
    padding: 40px 0; /* Réduit pour gagner de la place */
    background: radial-gradient(circle at top, #1e293b 0%, #0b1120 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    max-width: 900px;
    padding: 35px 50px;
    background: var(--dark-card);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Effet premium */
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.hero-content {
    text-align: center;
}

.hero h1 {
    font-size: 2.3rem; /* Taille plus équilibrée */
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-subtitle-highlight {
    font-size: 1.5rem;
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1; /* Gris plus doux pour le texte secondaire */
    max-width: 750px;
    margin: 0 auto 25px;
}

/* BADGES */
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 6px;
}

.badge i {
    color: var(--primary-light);
    width: 16px;
    height: 16px;
    stroke-width: 2.5px;
}

/* BOUTONS */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 180px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary { 
    background: var(--primary); 
    color: white; 
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-outline { 
    border: 1px solid rgba(255,255,255,0.3); 
    color: white; 
    background: transparent; 
}

.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* --- SECTIONS --- */
.section { padding: 40px 0; }
.section-title { font-size: 1.7rem; margin-bottom: 25px; color: var(--dark); font-weight: 800; }
.light-bg { background: var(--light-grey); border-radius: 12px; padding: 40px; }

/* GRILLES */
.grid-problems { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px; 
    margin-bottom: 20px; 
}
.item-prob {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.item-prob i { color: var(--primary); width: 20px; }

.grid-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
.card { background: white; padding: 20px; border-radius: 8px; border: 1px solid var(--border); font-size: 0.95rem; font-weight: 500; }

.steps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.step { background: #eff6ff; padding: 8px 20px; border-radius: 50px; border: 1px solid #dbeafe; font-weight: 600; font-size: 0.85rem; color: var(--primary); }

/* PROGRAMME */
.program-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; 
    text-align: left; 
    margin: 0 auto;
}
.module-box { background: white; padding: 20px; border-radius: 10px; border: 1px solid var(--border); transition: 0.2s; }
.module-box:hover { border-color: var(--primary-light); }
.module-box h4 span { color: var(--primary); font-weight: 800; margin-right: 8px; font-size: 0.85rem; }
.module-box p { font-size: 0.9rem; margin-top: 8px; color: var(--text); opacity: 0.9; }

/* RÉSULTATS */
.program-results { margin-top: 30px; }
.results-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--primary); margin-bottom: 15px; letter-spacing: 0.1em; }
.results-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    padding: 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    gap: 15px;
}
.res-item { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.85rem; color: var(--dark); }
.res-item i { color: var(--success); width: 18px; }

/* CTA FIN */
.cta-mini { text-align: center; padding: 50px 30px; background: var(--dark); color: white; border-radius: 16px; margin-top: 40px; border: 1px solid rgba(255,255,255,0.1); }
.cta-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 25px; }
.section-text { text-align: center; max-width: 700px; margin: 0 auto; font-size: 1rem; line-height: 1.6; color: #475569; }

footer { text-align: center; padding: 40px; color: #94a3b8; font-size: 0.85rem; border-top: 1px solid var(--border); }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero { padding: 30px 0; }
    .hero-card { padding: 30px 20px; border-radius: 0; }
    .hero h1 { font-size: 1.8rem; }
    .hero-subtitle-highlight { font-size: 1.2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline { width: 100%; max-width: 300px; }
    .results-bar { grid-template-columns: 1fr; border-radius: 12px; }
    .hero-badges { flex-wrap: wrap; gap: 10px; }
}