﻿:root {
        --primary: #4F46E5;
        --primary-dark: #3730A3;
        --primary-light: #EEF2FF;
        --accent: #10B981;
        --accent-light: #D1FAE5;
        --orange: #F59E0B;
        --orange-light: #FEF3C7;
        --pink: #EC4899;
        --pink-light: #FCE7F3;
        --dark: #0F172A;
        --dark2: #1E293B;
        --gray: #64748B;
        --gray-light: #F1F5F9;
        --border: #E2E8F0;
        --white: #FFFFFF;
        --radius: 14px;
        --radius-sm: 8px;
        --shadow: 0 4px 24px rgba(79, 70, 229, 0.08);
        --shadow-lg: 0 12px 48px rgba(79, 70, 229, 0.14);
    }

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

    html,
    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
    }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        color: var(--dark);
        background: var(--white);
        overflow-x: hidden;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVBAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    nav {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 0 5%;
        overflow: hidden;
        /* â† ajoute Ã§a */
        height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .nav-logo {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        flex-shrink: 0;
        margin: 0;
        padding: 0;
        line-height: 0;
        /* â† supprime l'espace inline */
    }

    .nav-logo-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
    }

    .nav-logo-text {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-weight: 800;
        font-size: 20px;
        color: var(--dark);
    }

    .nav-logo-text span {
        color: var(--primary);
    }

    .nav-badge {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--gray);
        padding: 4px 12px;
        background: var(--gray-light);
        border-radius: 20px;
        flex-shrink: 0;
    }

    .nav-badge img {
        width: 18px;
    }

    .nav-center {
        display: flex;
        align-items: center;
        gap: 4px;
        flex: 1;
        justify-content: center;
    }

    .nav-link {
        padding: 7px 14px;
        border-radius: var(--radius-sm);
        font-size: 14px;
        font-weight: 500;
        color: var(--gray);
        text-decoration: none;
        transition: all 0.2s;
        cursor: pointer;
    }

    .nav-link:hover {
        background: var(--gray-light);
        color: var(--dark);
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .nav-wa {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: var(--accent);
        font-weight: 600;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 20px;
        background: var(--accent-light);
        transition: all 0.2s;
    }

    .nav-wa:hover {
        background: #A7F3D0;
    }

    .nav-wa svg {
        width: 16px;
        height: 16px;
    }

    .btn-outline {
        padding: 8px 18px;
        border-radius: var(--radius-sm);
        border: 1.5px solid var(--border);
        background: white;
        color: var(--dark);
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .btn-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .btn-primary {
        padding: 9px 20px;
        border-radius: var(--radius-sm);
        border: none;
        background: var(--primary);
        color: white;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .hero {
        padding: 60px 5% 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        min-height: calc(100vh - 68px);
        background: linear-gradient(135deg, #FAFAFF 0%, #F0F4FF 50%, #FAFAFF 100%);
        position: relative;
        overflow: hidden;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero-left {
        position: relative;
        z-index: 2;
    }

    .hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 14px;
        background: var(--primary-light);
        color: var(--primary);
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 24px;
        border: 1px solid rgba(79, 70, 229, 0.15);
    }

    .hero-tag::before {
        content: '';
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--primary);
        animation: pulse 2s infinite;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
            transform: scale(1);
        }

        50% {
            opacity: 0.5;
            transform: scale(1.3);
        }
    }

    .hero h1 {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: clamp(34px, 4vw, 52px);
        font-weight: 800;
        line-height: 1.15;
        margin-bottom: 20px;
        color: var(--dark);
    }

    .hero h1 .highlight {
        color: var(--primary);
        position: relative;
    }

    .hero h1 .highlight::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--primary);
        border-radius: 2px;
        opacity: 0.3;
    }

    .hero-desc {
        font-size: 17px;
        color: var(--gray);
        line-height: 1.7;
        margin-bottom: 32px;
        max-width: 500px;
    }

    .hero-btns {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-bottom: 48px;
        flex-wrap: wrap;
    }

    .btn-hero-primary {
        padding: 14px 28px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: var(--radius-sm);
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-hero-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    }

    .btn-hero-outline {
        padding: 14px 28px;
        background: white;
        color: var(--dark);
        border: 2px solid var(--border);
        border-radius: var(--radius-sm);
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .btn-hero-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    /* Stats */
    .stats-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .stat-card {
        background: white;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        text-align: center;
        box-shadow: var(--shadow);
        transition: transform 0.2s;
    }

    .stat-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-lg);
    }

    .stat-icon {
        font-size: 22px;
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stat-icon svg {
        width: 22px;
        height: 22px;
    }

    .stat-num {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 24px;
        font-weight: 800;
        color: var(--primary);
    }

    .stat-label {
        font-size: 12px;
        color: var(--gray);
        margin-top: 2px;
    }

    /* Hero right */
    .hero-right {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 40px;
    }

    .hero-img-wrap {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        background: linear-gradient(135deg, #667eea22, #764ba222);
        height: 340px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-img-placeholder {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .hero-img-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), transparent);
        border-radius: 20px;
    }

    /* Floating cards */
    .float-card {
        position: absolute;
        background: white;
        border-radius: var(--radius);
        padding: 10px 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 600;
        animation: float 3s ease-in-out infinite;
        z-index: 5;
    }

    .float-card.top-left {
        top: 20px;
        left: -20px;
        animation-delay: 0s;
    }

    .float-card.bottom-right {
        bottom: 60px;
        right: -20px;
        animation-delay: 1.5s;
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-8px);
        }
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION : OUTIL GÃ‰OGÃ‰BRA
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .geogebra-section {
        padding: 60px 5%;
        background: var(--dark);
        position: relative;
        overflow: hidden;
    }

    .geogebra-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, transparent 60%);
        pointer-events: none;
    }

    .geo-header {
        text-align: center;
        margin-bottom: 36px;
        position: relative;
        z-index: 2;
    }

    .geo-header .section-tag {
        background: rgba(79, 70, 229, 0.2);
        color: #A5B4FC;
        border: 1px solid rgba(99, 102, 241, 0.3);
    }

    .geo-header h2 {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: white;
        margin: 12px 0 8px;
    }

    .geo-header p {
        color: #94A3B8;
        font-size: 16px;
        max-width: 500px;
        margin: 0 auto;
    }

    .geo-wrapper {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
        height: 500px;
        z-index: 2;
    }

    .geo-wrapper iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
    }

    .geo-tip {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(79, 70, 229, 0.9);
        color: white;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        z-index: 10;
        backdrop-filter: blur(8px);
        pointer-events: none;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTIONS COMMUNES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .section-tag {
        display: inline-block;
        padding: 4px 14px;
        background: var(--primary-light);
        color: var(--primary);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .section-title {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .section-sub {
        font-size: 16px;
        color: var(--gray);
        line-height: 1.6;
        max-width: 560px;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   COURS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .courses-section {
        padding: 72px 5%;
        background: var(--white);
        overflow: hidden;
    }

    .courses-header {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-bottom: 36px;
        gap: 16px;
        flex-wrap: wrap;
    }

    .courses-slider-wrap {
        position: relative;
        overflow: hidden;
    }

    .courses-track {
        display: flex;
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 12px;
        padding-left: 2px;
        padding-right: 2px;
        scrollbar-width: none;
    }

    .courses-track::-webkit-scrollbar {
        display: none;
    }

    .course-card {
        min-width: 220px;
        max-width: 220px;
        border-radius: var(--radius);
        overflow: hidden;
        border: 1px solid var(--border);
        background: white;
        cursor: pointer;
        transition: all 0.2s;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
    }

    .course-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: transparent;
    }

    .course-card:hover .course-title {
        -webkit-line-clamp: unset;
        display: block;
    }

    .course-thumb {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        position: relative;
    }

    .course-level {
        position: absolute;
        top: 8px;
        left: 8px;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        font-size: 11px;
        font-weight: 600;
        padding: 2px 8px;
        border-radius: 10px;
    }

    .course-body {
        padding: 14px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .course-cat {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--primary);
        margin-bottom: 4px;
    }

    .course-title {
        font-size: 14px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 8px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .course-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px;
        color: var(--gray);
        margin-top: auto;
        padding-top: 8px;
    }

    .course-badge-free {
        font-size: 11px;
        padding: 2px 8px;
        background: var(--accent-light);
        color: var(--accent);
        border-radius: 10px;
        font-weight: 600;
    }

    .course-badge-premium {
        font-size: 11px;
        padding: 2px 8px;
        background: var(--primary-light);
        color: var(--primary);
        border-radius: 10px;
        font-weight: 600;
    }

    .courses-nav {
        display: flex;
        gap: 8px;
        margin-top: 20px;
        justify-content: center;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1.5px solid var(--border);
        background: white;
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        color: var(--dark);
    }

    .nav-btn:hover {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   POURQUOI SCIENTIFIX
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .features-section {
        padding: 72px 5%;
        background: var(--gray-light);
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
        margin-top: 36px;
    }

    .feature-card {
        background: white;
        border-radius: var(--radius);
        padding: 24px;
        border: 1px solid var(--border);
        transition: all 0.2s;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .feature-icon-wrap {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        margin-bottom: 14px;
    }

    .feature-icon-wrap svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 16px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 6px;
    }

    .feature-desc {
        font-size: 14px;
        color: var(--gray);
        line-height: 1.6;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TÃ‰MOIGNAGES SLIDER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .testimonials-section {
        padding: 72px 5%;
        background: var(--white);
        overflow: hidden;
    }

    .testi-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .testi-header .section-sub {
        margin: 0 auto;
    }

    .testi-slider {
        position: relative;
    }

    .testi-track {
        display: flex;
        transition: transform 0.4s ease;
    }

    .testi-slide {
        min-width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .testi-card {
        background: white;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 24px;
        transition: box-shadow 0.2s;
    }

    .testi-card:hover {
        box-shadow: var(--shadow-lg);
    }

    .testi-stars {
        color: var(--orange);
        font-size: 14px;
        margin-bottom: 12px;
    }

    .testi-quote {
        font-size: 14px;
        color: var(--dark2);
        line-height: 1.7;
        margin-bottom: 16px;
        font-style: italic;
    }

    .testi-quote::before {
        content: '"';
        color: var(--primary);
        font-size: 20px;
        font-style: normal;
    }

    .testi-quote::after {
        content: '"';
        color: var(--primary);
        font-size: 20px;
        font-style: normal;
    }

    .testi-author {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .testi-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 14px;
        flex-shrink: 0;
    }

    .testi-name {
        font-size: 14px;
        font-weight: 700;
        color: var(--dark);
    }

    .testi-role {
        font-size: 12px;
        color: var(--gray);
    }

    .testi-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 28px;
    }

    .testi-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border);
        cursor: pointer;
        transition: all 0.2s;
    }

    .testi-dot.active {
        background: var(--primary);
        width: 24px;
        border-radius: 4px;
    }

    .testi-arrows {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 16px;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CTA SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .cta-section {
        padding: 72px 5%;
        background: var(--primary);
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: -80px;
        left: -80px;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .cta-section::after {
        content: '';
        position: absolute;
        bottom: -60px;
        right: -60px;
        width: 200px;
        height: 200px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
    }

    .cta-section h2 {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 36px;
        font-weight: 800;
        color: white;
        margin-bottom: 12px;
        position: relative;
        z-index: 2;
    }

    .cta-section p {
        font-size: 17px;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 32px;
        position: relative;
        z-index: 2;
    }

    .btn-cta {
        padding: 15px 36px;
        background: white;
        color: var(--primary);
        border: none;
        border-radius: var(--radius-sm);
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .btn-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    footer {
        background: var(--dark);
        padding: 48px 5% 24px;
        color: #94A3B8;
    }

    .footer-top {
        display: grid;
        grid-template-columns: 2fr repeat(4, 1fr);
        gap: 40px;
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .footer-brand .nav-logo-text {
        color: white;
        font-size: 22px;
    }

    .footer-desc {
        font-size: 14px;
        line-height: 1.7;
        margin: 12px 0 16px;
        max-width: 240px;
    }

    .footer-social {
        display: flex;
        gap: 8px;
    }

    .social-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94A3B8;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    .social-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .footer-col h4 {
        color: white;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 14px;
    }

    .footer-col a {
        display: block;
        font-size: 13px;
        color: #64748B;
        text-decoration: none;
        margin-bottom: 8px;
        transition: color 0.2s;
    }

    .footer-col a:hover {
        color: white;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    @media (max-width: 900px) {
        .hero {
            grid-template-columns: 1fr;
            padding-top: 40px;
        }

        .hero-right {
            display: none;
        }

        .stats-row {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-top {
            grid-template-columns: 1fr 1fr;
        }

        .testi-slide {
            grid-template-columns: 1fr;
        }

        .nav-center {
            display: none;
        }
    }

    @media (max-width: 600px) {
        .nav-badge {
            display: none;
        }

        .hero h1 {
            font-size: 28px;
        }

        .stats-row {
            grid-template-columns: repeat(2, 1fr);
        }

        .footer-top {
            grid-template-columns: 1fr;
        }
    }


    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SECTION COURS DISPONIBLES
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    .courses-section {
        padding: 60px 5%;
        background: var(--white);
        overflow: hidden;
    }

    .courses-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 40px;
    }

    .courses-title-area .tag {
        color: var(--primary);
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        display: block;
    }

    .courses-title-area h2 {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 32px;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 8px;
    }

    .courses-subtitle {
        color: var(--gray);
        font-size: 15px;
    }

    /* Grille et Cartes de Cours */
    .courses-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        margin-bottom: 32px;
    }

    .course-card {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        height: 100%;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.02);
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .course-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow);
    }

    /* Haut de la carte (Zone de l'illustration) */
    .course-card-banner {
        height: 130px;
        padding: 16px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .course-card-level {
        position: absolute;
        top: 12px;
        left: 12px;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(4px);
        color: var(--dark);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .course-card-banner img,
    .course-card-banner svg {
        max-height: 70px;
        object-fit: contain;
    }

    /* Corps de la carte */
    .course-card-body {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .course-card-subject {
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

    .course-card-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--dark);
        line-height: 1.4;
        margin-bottom: 16px;
        flex-grow: 1;
    }

    /* Pied de la carte */
    .course-card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 14px;
        border-top: 1px solid var(--gray-light);
        font-size: 12px;
        color: var(--gray);
    }

    .course-badge-status {
        font-size: 11px;
        font-weight: 700;
        padding: 3px 10px;
        border-radius: 6px;
    }

    /* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   VARIATIONS DE COULEURS (ThÃ¨mes des cartes)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
    /* Bleu (Ex: Configuration de l'espace) */
    .theme-blue .course-card-banner {
        background-color: #EEF2FF;
    }

    .theme-blue .course-card-subject {
        color: #4F46E5;
    }

    /* Rouge (Ex: RÃ©ussite scolaire) */
    .theme-red .course-card-banner {
        background-color: #FEE2E2;
    }

    .theme-red .course-card-subject {
        color: #EF4444;
    }

    /* Vert (Ex: Nombres Complexes / Statistiques) */
    .theme-green .course-card-banner {
        background-color: #D1FAE5;
    }

    .theme-green .course-card-subject {
        color: #10B981;
    }

    /* Rose (Ex: Vecteurs) */
    .theme-pink .course-card-banner {
        background-color: #FCE7F3;
    }

    .theme-pink .course-card-subject {
        color: #EC4899;
    }

    /* Statuts (Gratuit vs Premium) */
    .status-free {
        background: #E6F4EA;
        color: #137333;
    }

    .status-premium {
        background: #FDF4E5;
        color: #B06000;
        border: 1px solid #FAD2CF;
    }

    /* Pagination / FlÃ¨ches du bas */
    .courses-navigation {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 24px;
    }

    .nav-arrow-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid var(--border);
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s;
    }

    .nav-arrow-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
        background: var(--primary-light);
    }

    /* ══════════════════════════════════
   COURS TABS
══════════════════════════════════ */
    .courses-tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 28px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .courses-tabs::-webkit-scrollbar {
        display: none;
    }

    .course-tab {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 18px;
        border-radius: 20px;
        border: 1.5px solid var(--border);
        background: white;
        color: var(--gray);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .course-tab:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .course-tab.active {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .tab-count {
        font-size: 11px;
        padding: 1px 7px;
        border-radius: 10px;
        background: rgba(255,255,255,0.2);
        font-weight: 700;
    }

    .course-tab:not(.active) .tab-count {
        background: var(--gray-light);
        color: var(--gray);
    }

    /* ═══ FLASH INFO MARQUEE ═══ */
    .flash-marquee {
        width: 100%;
        background: #d4d4f5;
        color: #000000;
        display: flex;
        align-items: center;
        font-size: 12.5px;
        overflow: hidden;
        position: relative;
    }

    .flash-marquee-icon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        padding: 0 10px 0 14px;
        color: #D97706;
    }

    .flash-marquee-track {
        flex: 1;
        overflow: hidden;
        position: relative;
        mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    }

    .flash-marquee-content {
        display: flex;
        gap: 40px;
        white-space: nowrap;
        animation: flashScroll 60s linear infinite;
        width: max-content;
    }

    .flash-marquee-item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .flash-marquee-badge {
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex-shrink: 0;
    }

    .flash-badge-urgent {
        background: #DC2626;
        color: white;
    }
    .flash-badge-warning {
        background: #D97706;
        color: white;
    }
    .flash-badge-info {
        background: #2563EB;
        color: white;
    }
    .flash-badge-success {
        background: #059669;
        color: white;
    }

    .flash-marquee-text {
        color: #1a1a1a;
    }

    .flash-marquee-link {
        color: #4F46E5;
        text-decoration: underline;
        text-underline-offset: 2px;
        flex-shrink: 0;
    }

    .flash-marquee-link:hover {
        color: #3730A3;
    }

    .flash-marquee-close {
        flex-shrink: 0;
        background: none;
        border: none;
        color: #6B7280;
        cursor: pointer;
        padding: 8px 14px 8px 10px;
        display: flex;
        align-items: center;
        transition: color 0.2s;
    }

    .flash-marquee-close:hover {
        color: #DC2626;
    }

    @keyframes flashScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    @media (max-width: 768px) {
        .flash-marquee {
            font-size: 11.5px;
        }
        .flash-marquee-badge {
            font-size: 9px;
            padding: 2px 6px;
        }
    }