/* --- VARIABLES --- */
:root {
    --primary: #2563EB; /* Royal Blue */
    --primary-dark: #1D4ED8;
    --secondary: #0F172A; /* Slate 900 (Dark text) */
    --text-body: #334155; /* Slate 700 */
    --bg-light: #F8FAFC; /* Slate 50 */
    --white: #FFFFFF;
    --border: #E2E8F0;
    --gradient: linear-gradient(135deg, #2563EB 0%, #4F46E5 100%);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

/* --- RESET & TYPO --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.small-container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 1rem;
    cursor: pointer; gap: 8px;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4); }

.btn-outline { border: 1px solid var(--border); background: var(--white); color: var(--secondary); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-sm { padding: 8px 16px; font-size: 0.9rem; background: var(--secondary); color: var(--white); }
.btn-block { width: 100%; }

/* --- NAVBAR --- */
.navbar {
    background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000;
    padding: 16px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--secondary); display: flex; align-items: center; gap: 8px; }
.logo i { color: var(--primary); }

/* --- HERO --- */
.hero { position: relative; padding: 120px 0 80px; text-align: center; overflow: hidden; }
.hero-bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 40px 40px; opacity: 0.3; z-index: -1;
}
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #EFF6FF; color: var(--primary); padding: 6px 16px;
    border-radius: 100px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
    border: 1px solid #BFDBFE;
}
.dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

.hero h1 { font-size: 3.5rem; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero .subtitle { font-size: 1.25rem; color: var(--text-body); max-width: 700px; margin: 0 auto 40px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 60px; }

/* TECH STACK */
.tech-stack p { font-size: 0.9rem; color: #64748B; margin-bottom: 16px; font-weight: 500; }
.logos-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; opacity: 0.7; }
.tech-logo { font-weight: 600; color: #475569; display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }

/* --- REALITY CHECK (Grid) --- */
.reality-check { padding: 100px 0; background: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.reality-check h2 { font-size: 2.5rem; margin-bottom: 24px; }
.check-list { margin-top: 30px; }
.check-list li { margin-bottom: 16px; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.check-list i { color: var(--primary); font-size: 1.2rem; }

/* Visual Workflow Card */
.card-glass {
    background: rgba(255,255,255,0.7); border: 1px solid var(--border);
    border-radius: 16px; padding: 40px; box-shadow: var(--shadow);
    text-align: center; position: relative;
}
.workflow-step {
    background: var(--white); padding: 16px; border-radius: 8px; border: 1px solid var(--border);
    font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.workflow-step.active { border-color: var(--primary); color: var(--primary); background: #EFF6FF; }
.arrow-down { margin: 10px 0; color: #94A3B8; font-weight: bold; }

/* --- METHODOLOGY --- */
.methodology { padding: 100px 0; background: #F1F5F9; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 60px; }
.section-desc { text-align: center; max-width: 600px; margin: -40px auto 60px; color: #64748B; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card { background: var(--white); padding: 32px; border-radius: var(--radius); border-bottom: 4px solid var(--primary); }
.step-number { font-size: 3rem; font-weight: 800; color: #E2E8F0; margin-bottom: 10px; line-height: 1; }
.step-card h3 { font-size: 1.5rem; margin-bottom: 12px; }

/* --- CURRICULUM --- */
.curriculum { padding: 100px 0; background: var(--white); }
.modules-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.module-row {
    display: flex; gap: 24px; padding: 24px; border: 1px solid var(--border); border-radius: 12px;
    transition: 0.3s; align-items: flex-start;
}
.module-row:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.05); transform: translateX(5px); }
.module-icon {
    width: 50px; height: 50px; background: #F1F5F9; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0;
}
.module-info h3 { font-size: 1.2rem; margin-bottom: 8px; }
.module-info p { font-size: 0.95rem; color: #64748B; margin: 0; }

/* --- PRICING --- */
.pricing { padding: 100px 0; background: var(--secondary); color: var(--white); }
.pricing-wrapper { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.pricing-left { flex: 1; }
.pricing-left h2 { color: var(--white); font-size: 2.5rem; margin-bottom: 20px; }
.pricing-left p { color: #94A3B8; font-size: 1.1rem; margin-bottom: 30px; }
.testimonial { border-left: 3px solid var(--primary); padding-left: 20px; margin-top: 40px; }
.testimonial p { color: #E2E8F0; font-style: italic; font-size: 1rem; margin-bottom: 10px; }
.author { color: var(--primary); font-weight: 600; }

.pricing-card {
    flex: 0 0 400px; background: var(--white); border-radius: 20px; padding: 40px;
    color: var(--secondary); position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.popular-tag {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #8B5CF6; color: white; padding: 6px 16px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}
.card-header { text-align: center; margin-bottom: 20px; }
.price { font-size: 3.5rem; font-weight: 800; color: var(--secondary); }
.currency { font-size: 1rem; color: #64748B; }
.sub-price { color: #64748B; font-size: 0.9rem; }
hr { border: 0; border-top: 1px solid #F1F5F9; margin: 20px 0; }

.features-list li { margin-bottom: 14px; font-size: 0.95rem; display: flex; gap: 10px; }
.features-list i { color: var(--primary); margin-top: 4px; }
.guarantee { text-align: center; font-size: 0.8rem; color: #64748B; margin-top: 15px; }

/* Anim Pulsation Bouton */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.pulsing { animation: pulse 2s infinite; }

/* --- FAQ --- */
.faq { padding: 100px 0; background: var(--white); }
.faq-item { border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.faq-question {
    width: 100%; background: none; border: none; padding: 20px 0; text-align: left;
    font-size: 1.1rem; font-weight: 600; color: var(--secondary); cursor: pointer;
    display: flex; justify-content: space-between;
}
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease; color: #64748B; }
.faq-answer p { padding-bottom: 20px; }
.faq-question.active .icon { transform: rotate(45deg); }
.icon { font-size: 1.5rem; transition: 0.3s; font-weight: 300; }

/* --- FOOTER --- */
footer { background: #0F172A; color: #94A3B8; padding: 60px 0 20px; border-top: 1px solid #1E293B; }
.footer-container { display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-info h4 { color: var(--white); margin-bottom: 10px; }
.footer-links a { margin-left: 20px; color: #94A3B8; }
.footer-links a:hover { color: var(--white); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .pricing-wrapper { flex-direction: column; }
    .pricing-card { width: 100%; flex: auto; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; }
}