
        /*@font-face {
                    font-family: 'Montserrat Bold';
                    src: url('../fonts/TestSohne-Kraftig.otf') format('opentype');
                    font-weight: normal;
                    font-style: normal;
                }*/



        @font-face {
                    font-family: 'Montserrat Bold';
                    src: url('../fonts/Montserrat/static/Montserrat-Bold.ttf') format('opentype');
                    font-weight: normal;
                    font-style: normal;
                }
        * { margin: 0; padding: 0; box-sizing: border-box; }


        :root {
            --benin-green: #009E60;
            --benin-yellow: #FCD116;
            --benin-red: #E8112D;
            --dark: #1a1a1a;

            --primary-blue: #4a6ba4;
            --primary-yellow: #f4b657;
            --primary-white: #ffffff;
            --dark-bg: #1a2332;
            --text-light: #ffffff;
            --text-dark: #1a1a1a;
        }
        body {
            font-family: 'Montserrat' ;
        }


        /*logo*/
 /* Logo Navigation Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-text img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-text img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-text img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-text img {
        height: 35px;
    }
}

/* Optional: Add these if you want a more polished look */
.logo-container {
    padding: 8px 0;
}

.logo-text {
    cursor: pointer;
}

/* If the logo has transparency and you want a subtle background */
.logo-text img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
        /* Masquer/affichage responsive */
        .mobile-only {
            display: block;
        }

        .desktop-only {
            display: none;
        }

        /* Pour desktop */
        @media (min-width: 768px) {
            .mobile-only {
                display: none;
            }

            .desktop-only {
                display: block;
            }
        }


        .btn-mobile{
            display: none;
        }


        nav {
            max-width: 1400px; margin: 0 auto; padding: 10px 40px;
            display: flex; justify-content: space-between; align-items: center;
        }
        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
            animation: logoFloat 3s ease-in-out infinite;
        }
        @keyframes logoFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }
        .flag-icon {
            width: 50px; height: 35px;
            background: linear-gradient(to right, var(--benin-green) 40%, transparent 40%),
                       linear-gradient(to bottom, var(--benin-yellow) 50%, var(--benin-red) 50%);
            border-radius: 5px;
            position: relative;
            animation: flagWave 2s ease-in-out infinite;
            box-shadow: 0 3px 10px rgba(0,0,0,0.3);
        }
        @keyframes flagWave {
            0%, 100% { transform: perspective(400px) rotateY(0deg); }
            50% { transform: perspective(400px) rotateY(15deg); }
        }
        .flag-icon::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: flagShine 3s infinite;
        }
        @keyframes flagShine {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        .logo-text h1 {
            font-size: 26px;
            font-weight: 900;
        }
        @keyframes textGlow {
            0%, 100% { text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
            50% { text-shadow: 0 0 10px rgba(252, 209, 22, 0.8), 2px 2px 4px rgba(0,0,0,0.5); }
        }
        .logo-text p {
            font-size: 12px;
            color: white;
            animation: fadeInOut 3s ease-in-out infinite;
        }
        @keyframes fadeInOut {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; }
        }
        .nav-links { display: flex; gap: 20px; list-style: none; }
        .nav-links a {
            color: white; text-decoration: none; font-size: 15px;
            padding: 8px 15px; border-radius: 20px; transition: all 0.3s;
        }
        .nav-links a:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }
        .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
        .hamburger span { width: 28px; height: 3px; background: white; border-radius: 2px; transition: 0.3s; }
        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

        /* Hero */
                      .hero {
            min-height: 100vh;
            min-height: 100dvh; /* Utilise la hauteur dynamique du viewport */
            height: auto !important;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 100px 0 60px; /* Assure un padding vertical */
                    background: linear-gradient(
                135deg,
                rgba(255, 255, 255, 1),
                rgba(69, 108, 177, 1)
                );
        }
        .hero::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 2px, transparent 2px),
                radial-gradient(circle at 60% 70%, rgba(255,255,255,0.1) 2px, transparent 2px),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 2px, transparent 2px);
            background-size: 200px 200px;
            animation: particlesFloat 30s linear infinite;
        }
        @keyframes particlesFloat {
            from { background-position: 0 0; }
            to { background-position: 1000px 1000px; }
        }
        .hero-content {
            max-width: 1400px; margin: 0 auto;
            display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
            position: relative; z-index: 10;
        }
        .hero-text h1 {
            font-family: 'Montserrat Bold' ; font-size: 56px; font-weight: 900;
            color: white; margin-bottom: 20px; line-height: 1.1;
        }
        .name-highlight { color: var(--primary-yellow); font-size: 68px; display: block; }
        .tagline {
            font-size: 28px; color: white; font-weight: 700; margin-bottom: 25px;
            border-left: 4px solid var(--benin-yellow); padding-left: 15px;
        }
        .hero-text p {
            font-size: 18px; color: rgba(255,255,255,0.95); line-height: 1.7;
            margin-bottom: 35px; background: rgba(0,0,0,0.2);
            padding: 20px; border-radius: 10px;
            font-family: 'Montserrat Bold' ;
        }
        .cta-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
        .btn {
            padding: 16px 35px; font-size: 16px; font-weight: 700;
            border: none; border-radius: 50px; cursor: pointer;
            text-decoration: none; display: inline-block;
            transition: all 0.3s; position: relative; overflow: hidden;
        }
        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.5s, height 0.5s;
        }
        .btn:hover::before {
            width: 300px;
            height: 300px;
        }
        .btn span {
            position: relative;
            z-index: 1;
        }
        .btn-primary {
            background: white; color: #4a6ba4;
            box-shadow: 0 10px 30px rgba(255,255,255,0.3);
        }
        .btn-primary:hover { transform: translateY(-3px); }
        .btn-secondary {
            background: transparent; color: white;   background: #4a6ba4
        }
        .btn-secondary:hover { background: white; color: #4a6ba4; }

        /* Hero Image - Single with Animation */
         /* Hero Image avec animations */
        .hero-image-container {
            position: relative;
            flex: 0 0 450px;
            animation: fadeInRight 10s ease-out;
            transform: scale(0);
            opacity: 1;
            z-index: 10;
        }



        .candidate-photo {
            width: 100%;
            height: 650px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow:
                0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(244, 182, 87, 0.3);
            border: 4px solid var(--primary-yellow);
            position: relative;
            animation: photoFloat 4s ease-in-out infinite;
        }

        @keyframes photoFloat {
            0%, 100% {
                transform: translateY(0) scale(1);
                box-shadow:
                    0 25px 60px rgba(0, 0, 0, 0.5),
                    0 0 80px rgba(244, 182, 87, 0.3);
            }
            50% {
                transform: translateY(-15px) scale(1.02);
                box-shadow:
                    0 35px 80px rgba(0, 0, 0, 0.6),
                    0 0 100px rgba(244, 182, 87, 0.4);
            }
        }

        .candidate-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .candidate-photo:hover img {
            transform: scale(1.1);
        }

        .candidate-photo::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,
                rgba(69, 108, 177, 0.2),
                rgba(244, 182, 87, 0.2));
            z-index: 1;
            transition: opacity 0.4s;
        }

        .candidate-photo:hover::before {
            opacity: 0;
        }

        .candidate-photo::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg,
                transparent,
                rgba(255, 255, 255, 0.15),
                transparent);
            animation: shinePhoto 4s infinite;
            z-index: 2;
        }

        @keyframes shinePhoto {
            0% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }
            100% {
                transform: translateX(100%) translateY(100%) rotate(45deg);
            }
        }

        .photo-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 3;
            background: var(--primary-yellow);
            color: var(--dark);
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: 900;
            font-size: 1.5rem;
            box-shadow: 0 5px 20px rgba(244, 182, 87, 0.5);
            animation: badgePulse 2s ease-in-out infinite;
        }

        @keyframes badgePulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 5px 20px rgba(244, 182, 87, 0.5);
            }
            50% {
                transform: scale(1.1);
                box-shadow: 0 8px 30px rgba(244, 182, 87, 0.7);
            }
        }

  

        /* Background avec effet de zoom */
        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg,
                rgba(69, 108, 177, 0.4) 0%,
                rgba(26, 35, 50, 0.85) 40%,
                rgba(244, 182, 87, 0.3) 100%
            );
            z-index: 1;
            transform: scale(2.5);
            opacity: 0;
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                repeating-linear-gradient(90deg, rgba(244, 182, 87, 0.05) 0px, transparent 1px, transparent 40px, rgba(244, 182, 87, 0.05) 41px),
                repeating-linear-gradient(0deg, rgba(69, 108, 177, 0.05) 0px, transparent 1px, transparent 40px, rgba(69, 108, 177, 0.05) 41px);
        }

        .hero-bg::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 80%;
            background: radial-gradient(circle, rgba(244, 182, 87, 0.15) 0%, transparent 70%);
            filter: blur(80px);
        }

                /* Image d'arrière-plan (Benin ou candidat) */
            /* .hero-image {
                position: absolute;
                inset: 0;
                width: 100%;
                height: 100%;
                background:
                    linear-gradient(
                        135deg,
                        rgba(69, 108, 177, 0.55) 0%,
                        rgba(26, 35, 50, 0.75) 50%,
                        rgba(244, 182, 87, 0.45) 100%
                    ),
                    url("./row.mp4");
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;

                transform: scale(1.25);
                opacity: 0;

                z-index: 0;
                will-change: transform, opacity;
            } */

        

                .hero-video {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transform: scale(1.25);
                    opacity: 10;
                    z-index: 0;
                    will-change: transform, opacity;
                }

            .hero-overlay {
                    position: absolute;
                    inset: 0;
                    background: linear-gradient(
                        135deg,
                        rgba(69, 108, 177, 0.55) 10%,
                        rgba(26, 35, 50, 0.75) 50%,
                        rgba(244, 182, 87, 0.45) 100%
                    );
                    z-index: 1;

                }




        /* Contenu principal */
                .hero-content {
                    width: 100%;
                    max-width: 1400px;
                    margin: 0 auto;
                    padding: 0 2rem;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 4rem;
                    position: relative;
                    z-index: 2;
                }


                .hero-text {
                    flex: 1;
                    text-align: left;
                    transform: scale(0);
                    opacity: 0;
                }

                .hero-image-container {
                    flex: 0 0 450px;
                    position: relative;
                    transform: scale(0);
                    opacity: 0;
                }


                .hero-badge {
                    display: inline-block;

                /* border: 2px solid var(--primary-yellow);*/
                    padding: 0.8rem 0rem;
                    border-radius: 50px;
                    font-family: 'Montserrat Bold' ;
                    text-align: left;
                    font-size: 3rem;
                    letter-spacing: 4px;
                    margin-bottom: 0.01rem;
                }

                .hero-title {
                    font-family: 'Montserrat' ;
                    font-size: 7rem;
                    font-weight: 900;
                    line-height: 1;
                    margin-bottom: 1rem;
                    text-transform: uppercase;
                    letter-spacing: -3px;
                }

                .hero-title .name {
                    display: block;
                    background: linear-gradient(135deg,
                        var(--primary-blue) 0%,
                        var(--primary-white) 35%,
                        var(--primary-yellow) 70%,
                        var(--primary-white) 100%
                    );
                    -webkit-background-clip: text;
                    -webkit-text-fill-color: transparent;
                    background-clip: text;
                    text-shadow: 0 0 80px rgba(244, 182, 87, 0.3);
                    background-size: 200% 200%;
                    animation: gradientShift 4s ease infinite;
                }

                @keyframes gradientShift {
                    0%, 100% {
                        background-position: 0% 50%;
                    }
                    50% {
                        background-position: 100% 50%;
                    }
                }

                .hero-title .year {
                    display: block;
                    font-size: 6rem;
                    color: var(--primary-yellow);
                    margin-top: 0.2rem;
                }

                .hero-subtitle {
                    font-family: 'Montserrat' ;
                    font-size: 2.2rem;
                    font-weight: 300;
                    margin-bottom: 1.5rem;
                    color: rgba(255, 255, 255, 0.9);
                }

                .hero-tagline {
                    font-size: 1.3rem;
                    font-weight: 600;
                    color: var(--primary-yellow);
                    margin-bottom: 1rem;
                }

                .hero-description {
                    font-size: 1.1rem;
                    line-height: 1.8;
                    max-width: 650px;
                    margin: 0 0 3rem 0;
                    color: rgba(255, 255, 255, 0.8);
                }

                .hero-cta {
                    display: flex;
                    gap: 1.5rem;
                    flex-wrap: wrap;
                }

                /* Décorations animées */
                .hero-decoration {
                    position: absolute;
                    z-index: 5;
                }

                .star {
                    width: 4px;
                    height: 4px;
                    background: var(--primary-yellow);
                    border-radius: 50%;
                    box-shadow: 0 0 10px var(--primary-yellow);
                    opacity: 0;
                }

                .star-1 { top: 15%; left: 10%; }
                .star-2 { top: 25%; right: 15%; }
                .star-3 { top: 70%; left: 20%; }
                .star-4 { bottom: 15%; right: 10%; }
                .star-5 { top: 40%; left: 5%; }
                .star-6 { top: 60%; right: 8%; }

                /* Flag colors accent */
                .flag-accent {
                    position: absolute;
                    z-index: 2;
                    opacity: 0;
                }

                .flag-left {
                    top: 0;
                    left: 0;
                    width: 200px;
                    height: 100%;
                    background: linear-gradient(to right, var(--primary-blue), transparent);
                }

                .flag-right {
                    top: 0;
                    right: 0;
                    width: 200px;
                    height: 100%;
                    background: linear-gradient(to left, var(--primary-yellow), transparent);
                }

                /* Scroll indicator */
                .scroll-indicator {
                    position: absolute;
                    bottom: 2rem;
                    left: 50%;
                    transform: translateX(-50%);
                    z-index: 10;
                    opacity: 0;
                }

                .scroll-text {
                    font-size: 0.9rem;
                    color: rgba(255, 255, 255, 0.6);
                    margin-bottom: 0.5rem;
                    text-transform: uppercase;
                    letter-spacing: 2px;
                }

                .scroll-arrow {
                    width: 30px;
                    height: 50px;
                    border: 2px solid var(--primary-yellow);
                    border-radius: 20px;
                    margin: 0 auto;
                    position: relative;
                }

                .scroll-arrow::before {
                    content: '';
                    position: absolute;
                    top: 8px;
                    left: 50%;
                    transform: translateX(-50%);
                    width: 6px;
                    height: 6px;
                    background: var(--primary-yellow);
                    border-radius: 50%;
                    animation: scroll 2s infinite;
                }

                @keyframes scroll {
                    0%, 100% {
                        top: 8px;
                        opacity: 1;
                    }
                    50% {
                        top: 28px;
                        opacity: 0;
                    }
                }

                /* Responsive */
                @media (max-width: 1024px) {
                    .hero-content {
                        flex-direction: column;
                        text-align: center;
                    }

                    .hero-text {
                        text-align: left;
                    }



                    .hero-description {
                        max-width: 100%;
                        margin: 0 auto 3rem;
                    }

                    .hero-cta {
                        justify-content: center;
                        display: flex;
                    }
                }


                .btn-mobile{
            display:  none
        }

                @media (max-width: 968px) {
                    .hero-title {
                        font-size: 5rem;
                    }

                    .hero-title .year {
                        font-size: 4rem;
                    }

                    .hero-subtitle {
                        font-size: 1.8rem;
                    }

                    .hero-description {
                        font-size: 1rem;
                    }
                }

                 .mobile-only{
                        display: none;
                    }

                @media (max-width: 640px) {

                    .hero-text {

                    text-align: left;

                }

                .hero-video {

                    width: 95%;
                    height: 95%;

                }

                    .hero-cta{
                        display: none;
                    }

                    .mobile-only{
                        display: block;
                    }

                    .desktop-only{
                        display: none;
                    }

                .hero {
                    padding-top: 250px;
                }


                #btnprg {
                    display: none;

                    }

                .scroll-indicator {
                display: none;
                }

                    .hero-content {
                        padding-top: 10em;
                    }
                    .hero-image-container {
                        flex: 0 0 280px;
                    }

                    .btn-mobile{
                        justify-content: center;
            display: block;
             padding: 16px 35px; font-size: 16px; font-weight: 700;
            border: none; border-radius: 50px; cursor: pointer;
            text-decoration: none;
            transition: all 0.3s; position: relative;
        }


                    .hero-title {
                        font-size: 3.5rem;
                    }

                    .hero-title .year {
                        font-size: 2.5rem;
                    }

                    .hero-subtitle {
                        font-size: 1.3rem;
                    }

                    .hero-tagline {
                        font-size: 1.1rem;
                    }

                    .hero-description {
                        font-size: 0.95rem;
                    }



                    .hero-cta .btn {
                        width: 100%;

                    }
                }

 /* ========================================
   SECTION STATS AGRANDIE
   ======================================== */

#stats .live-stats {
    padding: 120px 60px; /* Augmenté de 100px/40px à 120px/60px */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    min-height: 800px; /* Hauteur minimale pour agrandir la section */
    display: flex;
    align-items: center;
}

#stats .stats-container-modern {
    max-width: 1600px; /* Augmenté de 1400px à 1600px */
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 100px; /* Augmenté de 80px à 100px */
    position: relative;
    width: 100%;
}

#stats .stats-left {
    flex: 1;
    padding-right: 60px; /* Augmenté de 40px à 60px */
}

#stats .section-header {
    text-align: left;
    margin-bottom: 70px; /* Augmenté de 50px à 70px */
    padding-right: 60px; /* Augmenté de 40px à 60px */
}

#stats .section-header h2 {
    font-family: 'Montserrat' ;
    font-size: 52px; /* Augmenté de 42px à 52px */
    font-weight: 900;
    color: #4a6ba4;
    margin-bottom: 20px; /* Augmenté de 15px à 20px */
    line-height: 1.2;
}

#stats .section-header p {
    font-size: 25px;  
    color: #666;
    line-height: 1.6;
}

#stats .stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px; /* Augmenté de 30px à 40px */
    position: relative;
}

/* Cartes de statistiques plus grandes */
#stats .stat-card-modern {
    background: #4a6ba4;
    border-radius: 16px; /* Augmenté de 12px à 16px */
    padding: 50px 30px 30px 30px; /* Augmenté le padding */
    box-shadow: 0 8px 25px rgba(13, 79, 92, 0.2); /* Ombre plus prononcée */
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.15); /* Bordure plus épaisse */
    display: flex;
    align-items: flex-start;
    gap: 25px;
    min-height: 180px; /* Augmenté de 140px à 180px */
    position: relative;
    overflow: visible;
}

#stats .stat-card-modern:hover {
    transform: translateY(-8px); /* Effet de hover plus marqué */
    box-shadow: 0 15px 40px rgba(13, 79, 92, 0.3);
}

/* Icônes plus grandes */
#stats .stat-card-modern .stat-icon {
    font-size: 28px; /* Augmenté de 24px à 28px */
    width: 70px; /* Augmenté de 60px à 70px */
    height: 70px; /* Augmenté de 60px à 70px */
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #4a6ba4;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); /* Ombre plus prononcée */
    border: 5px solid white; /* Bordure plus épaisse */
    position: absolute;
    top: -35px; /* Ajusté pour la nouvelle taille */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Texte plus grand */
#stats .stat-card-modern .stat-content {
    padding-top: 15px; /* Augmenté de 10px à 15px */
    width: 100%;
    text-align: center;
}

#stats .stat-card-modern .stat-number {
    font-size: 44px; /* Augmenté de 36px à 44px */
    font-weight: 900;
    color: white;
    margin-bottom: 12px; /* Augmenté de 8px à 12px */
    line-height: 1;
}

#stats .stat-card-modern .stat-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 25px; /* Augmenté de 16px à 20px */
    font-weight: 600;
    margin-bottom: 8px; /* Augmenté de 5px à 8px */
}

#stats .stat-card-modern .stat-sublabel {
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px; /* Augmenté de 14px à 16px */
    font-weight: 500;
}

/* Partie droite avec l'image plus grande */
#stats .stats-right {
    flex: 0 0 600px; /* Augmenté de 500px à 600px */
    position: relative;
    height: 850px; /* Augmenté de 700px à 850px */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Image en forme de D plus grande */
#stats .stats-image-circle {
    width: 600px; /* Augmenté de 500px à 600px */
    height: 850px; /* Augmenté de 700px à 850px */
    overflow: hidden;
    position: absolute;
    right: 0;
    box-shadow: -25px 0 80px rgba(13, 79, 92, 0.2); /* Ombre plus prononcée */
    border: 12px solid white; /* Bordure plus épaisse */
    /* Forme D inversé */
    border-radius: 425px 0 0 425px; /* Ajusté pour la nouvelle taille */
}

/* Dégradé sur le bord droit de l'image - plus large */
#stats .stats-image-circle::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px; /* Augmenté de 100px à 120px */
    height: 100%;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(248, 249, 250, 0.2) 15%,
        rgba(248, 249, 250, 0.5) 40%,
        rgba(248, 249, 250, 0.8) 70%,
        rgba(248, 249, 250, 1) 100%);
    pointer-events: none;
    z-index: 2;
}

#stats .stats-image-circle::before {
    content: '';
    position: absolute;
    inset: -12px; /* Ajusté pour la nouvelle bordure */
    background: linear-gradient(135deg, #4a6ba4, #f4b95e);
    border-radius: 437px 0 0 437px; /* Ajusté pour la nouvelle taille */
    z-index: -1;
}

#stats .stats-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(10%);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

#stats .stats-image-circle:hover img {
    transform: scale(1.08); /* Effet de zoom plus marqué */
    filter: grayscale(0%);
}

/* ========================================
   RESPONSIVE - Ajustements pour les tailles augmentées
   ======================================== */

@media (max-width: 1600px) {
    #stats .stats-container-modern {
        max-width: 1400px;
        gap: 80px;
    }

    #stats .stats-right {
        flex: 0 0 550px;
        height: 750px;
    }

    #stats .stats-image-circle {
        width: 550px;
        height: 750px;
        border-radius: 375px 0 0 375px;
    }

    #stats .stats-image-circle::before {
        border-radius: 387px 0 0 387px;
    }

    #stats .stats-image-circle::after {
        width: 100px;
    }
}

@media (max-width: 1400px) {
    #stats .stats-container-modern {
        max-width: 1200px;
        gap: 70px;
    }

    #stats .stats-right {
        flex: 0 0 500px;
        height: 700px;
    }

    #stats .stats-image-circle {
        width: 500px;
        height: 700px;
        border-radius: 350px 0 0 350px;
    }

    #stats .stats-image-circle::before {
        border-radius: 362px 0 0 362px;
    }

    #stats .stats-image-circle::after {
        width: 90px;
    }
}

@media (max-width: 1200px) {
    #stats .stats-container-modern {
        gap: 60px;
    }

    #stats .stats-right {
        flex: 0 0 450px;
        height: 650px;
    }

    #stats .stats-image-circle {
        width: 450px;
        height: 650px;
        border-radius: 325px 0 0 325px;
    }

    #stats .stats-image-circle::before {
        border-radius: 337px 0 0 337px;
    }

    #stats .stats-image-circle::after {
        width: 80px;
    }
}

@media (max-width: 1024px) {
    #stats .live-stats {
        padding: 100px 40px;
        min-height: auto;
    }

    #stats .stats-container-modern {
        flex-direction: column;
        gap: 70px;  
        flex-direction: column; 
    }

    #stats .stats-left {
        padding-right: 0;
        width: 100%;
        order: 2; 
    }

    #stats .section-header {
        text-align: center;
        padding-right: 0;
        margin-bottom: 60px;
    }

    #stats .section-header h2 {
        font-size: 42px;
    }

    #stats .section-header p {
        font-size: 20px;
    }

    #stats .stats-right {
        width: 100%;
        height: 600px;
        flex: none;
        justify-content: center;
        order: 1; 
    }

    #stats .stats-image-circle {
        width: 400px;
        height: 600px;
        position: relative;
        right: auto;
        border-radius: 300px 0 0 300px;
    }

    #stats .stats-image-circle::before {
        border-radius: 312px 0 0 312px;
    }

    #stats .stats-image-circle::after {
        width: 70px;
    }
}

@media (max-width: 768px) {
    #stats .live-stats {
        padding: 80px 30px;
    }

    #stats .stats-grid-modern {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    #stats .stat-card-modern {
        padding: 55px 25px 25px 25px;
        min-height: 160px;
        border-radius: 14px;
    }

    #stats .stat-card-modern .stat-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        top: -32px;
        border-width: 5px;
    }

    #stats .stat-card-modern .stat-number {
        font-size: 40px;
    }

    #stats .stat-card-modern .stat-label {
        font-size: 18px;
    }

    #stats .stat-card-modern .stat-sublabel {
        font-size: 15px;
    }

    #stats .section-header h2 {
        font-size: 36px;
    }

    #stats .section-header p {
        font-size: 18px;
    }

    /* IMAGE EN CERCLE SUR MOBILE */
    #stats .stats-image-circle {
        width: 350px;
        height: 350px; /* Même hauteur que largeur pour un cercle parfait */
        border-radius: 50% !important; /* Cercle complet */
        border: 10px solid white;
    }

    #stats .stats-image-circle::before {
        border-radius: 50% !important; /* Cercle pour le dégradé aussi */
    }

    #stats .stats-right {
        height: 400px;
    }

    /* Supprimer ou réduire l'effet de dégradé sur le bord */
    #stats .stats-image-circle::after {
        display: none; /* On supprime l'effet de dégradé latéral qui n'a plus de sens */
    }
}

@media (max-width: 640px) {
    #stats .live-stats {
        padding: 70px 20px;
    }

    #stats .stats-right {
        height: 350px;
    }

    /* IMAGE EN CERCLE - VERSION MOBILE RÉDUITE */
    #stats .stats-image-circle {
        width: 300px;
        height: 300px; /* Cercle parfait */
        border-radius: 50% !important;
        border: 8px solid white;
    }

    #stats .stats-image-circle::before {
        border-radius: 50% !important;
        inset: -8px; /* Ajusté pour la bordure plus fine */
    }

    #stats .stats-image-circle::after {
        display: none; /* Pas de dégradé latéral */
    }

    #stats .stat-card-modern {
        padding: 50px 20px 20px 20px;
        min-height: 140px;
        margin-inline: 10%;
    }

    #stats .stat-card-modern .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        top: -27px;
        border-width: 4px;
    }

    #stats .stat-card-modern .stat-number {
        font-size: 36px;
    }

    #stats .stat-card-modern .stat-label {
        font-size: 16px;
    }

    #stats .stat-card-modern .stat-sublabel {
        font-size: 14px;
    }

    #stats .section-header h2 {
        font-size: 32px;
    }

    #stats .section-header p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* IMAGE EN CERCLE - TRÈS PETITS ÉCRANS */
    #stats .stats-image-circle {
        width: 250px;
        height: 250px; /* Cercle encore plus petit */
        border-radius: 50% !important;
        border: 6px solid white;
    }

    #stats .stats-image-circle::before {
        border-radius: 50% !important;
        inset: -6px;
    }

    #stats .stats-right {
        height: 300px;
    }

    #stats .stats-image-circle::after {
        display: none;
    }

    .video-wall h2 {
        font-size: 32px;
    }
}

/* Animation pour l'apparition des cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#stats .stat-card-modern {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

#stats .stat-card-modern:nth-child(1) { animation-delay: 0.1s; }
#stats .stat-card-modern:nth-child(2) { animation-delay: 0.2s; }
#stats .stat-card-modern:nth-child(3) { animation-delay: 0.3s; }
#stats .stat-card-modern:nth-child(4) { animation-delay: 0.4s; }

                .section-header { text-align: center; margin-bottom: 50px; }
                .section-header h2 {
                    font-family: 'Montserrat' ; font-size: 48px;
                    font-weight: 900; color: white; margin-bottom: 10px;
                }
                .section-header p { font-size: 18px; color: rgba(255,255,255,0.8); }
                .stats-dashboard {
                    max-width: 1400px; margin: 0 auto;
                    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 30px;
                }
                .stat-card {
                    text-align: center; padding: 40px;
                    background: rgba(255,255,255,0.05);
                    border-radius: 20px; border: 2px solid rgba(255,255,255,0.1);
                    transition: all 0.3s;
                }
                .stat-card:hover {
                    transform: translateY(-10px);
                    background: rgba(255,255,255,0.1);
                    border-color: var(--benin-yellow);
                }
                .stat-icon { font-size: 50px; margin-bottom: 15px; }
                .stat-number {
                    font-size: 45px; font-weight: 900;

                    background: linear-gradient(135deg,   var(--benin-yellow) );

                    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
                    margin-bottom: 10px;
                }
                .stat-label { color: white; font-size: 18px; font-weight: 600; }
                .stat-sublabel { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 8px; }

                /* Video Wall */
                .video-wall {
                    padding: 80px 10px;
                    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
                }
                .video-wall h2 {
                    font-family: 'Montserrat' ; text-align: center;
                    font-size: 48px; font-weight: 900;
                    /*background:  #4a6ba4;*/
                    background:  #4a6ba4;
                    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
                    margin-bottom: 50px;
                }
                .video-grid {
                    max-width: 1600px; margin: 0 auto;
                    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                    gap: 25px; margin-bottom: 40px;
                }
                .video-card {
                    background: white; border-radius: 15px; overflow: hidden;
                    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
                    transition: all 0.3s; cursor: pointer;
                }
                .video-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
            .video-thumbnail {
                    width: 100%;
                    height: 180px;
                 /*   background-image: url("{{asset('image/hq720.jpg')}}");*/
                    background-size: cover;
                    background-position: center;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 70px;
                    position: relative;
                }
                .play-icon {
                    position: absolute; width: 60px; height: 60px;
                    background: rgba(255,255,255,0.9); border-radius: 50%;
                    display: flex; align-items: center; justify-content: center;
                    font-size: 25px; color: var(--benin-green);
                    transition: all 0.3s;
                }
                .video-card:hover .play-icon {
                    transform: scale(1.2);
                }
                .video-info { padding: 18px; }
                .video-author { font-weight: 700; color: black; margin-bottom: 4px; }
                .video-location { font-size: 13px; color: #999; margin-bottom: 8px; }
                .video-caption { font-size: 14px; color: #666; line-height: 1.5; }

                /* Forum */
                .forum-section {
                    padding: 80px 40px;
                    background: linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
                }
                .foum-section h2 {
                    font-family: 'Montserrat' ; text-align: center;
                    font-size: 48px; font-weight: 900; color: white;
                    margin-bottom: 50px;
                }
                .forum-container { max-width: 1200px; margin: 0 auto; }
                .forum-tabs {
                    display: flex; gap: 12px; margin-bottom: 35px;
                    justify-content: center; flex-wrap: wrap;
                }
                .forum-tab {
                    padding: 12px 28px;
                    background: rgba(255,255,255,0.1);
                    border: 2px solid rgba(255,255,255,0.2);
                    border-radius: 40px; color: white; font-weight: 600;
                    cursor: pointer; transition: all 0.3s;
                }
                .forum-tab:hover, .forum-tab.active {
                    background: var(--benin-yellow); color: var(--dark);
                    border-color: var(--benin-yellow);
                }
                .forum-posts { display: grid; gap: 20px; }
                .forum-post {
                    background: rgba(255,255,255,0.05);
                    border: 1px solid rgba(255,255,255,0.1);
                    border-radius: 12px; padding: 25px;
                    transition: all 0.3s; cursor: pointer;
                }
                .forum-post:hover {
                    background: rgba(255,255,255,0.1);
                    border-color: var(--benin-yellow);
                }
                .post-header {
                    display: flex; justify-content: space-between;
                    align-items: start; margin-bottom: 12px;
                }
                .post-user { display: flex; align-items: center; gap: 12px; }
                .user-avatar {
                    width: 45px; height: 45px;
                    background: linear-gradient(135deg, var(--benin-green), var(--benin-yellow));
                    border-radius: 50%; display: flex;
                    align-items: center; justify-content: center; font-size: 22px;
                }
                .user-info h4 { color: white; font-size: 15px; margin-bottom: 2px; }
                .user-info p { color: rgba(255,255,255,0.6); font-size: 12px; }
                .post-category {
                    background: var(--benin-green); color: white;
                    padding: 4px 14px; border-radius: 15px;
                    font-size: 11px; font-weight: 600;
                }
                .post-title { color: var(--benin-yellow); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
                .post-content { color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 12px; }
                .post-stats {
                    display: flex; gap: 25px;
                    color: rgba(255,255,255,0.6); font-size: 13px;
                }

                /* Challenges */
            /* .challenges-section {
                    padding: 80px 40px;
                    background:  #f5f5f5;
                    position: relative;
                }
                .challenges-section h2 {
                    font-family: 'Montserrat Bold' ;  text-align: center;
                    font-size: 48px; font-weight: 900; color: #4a6ba4 ;
                    margin-bottom: 50px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
                }
                .challenges-grid {
                    max-width: 1400px; margin: 0 auto;
                    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                    gap: 30px;
                }*/
 .hero-description-mobile {
                    font-size: 1.1rem;
                    line-height: 1.8;
                    max-width: 650px;
                    margin: 0 0 3rem 0;
                    color: rgba(255, 255, 255, 0.8);
                    display: none;
                }


                /* Challenges */
        .challenges-section {
            padding: 80px 40px;
            position: relative;

            /* Image de fond fixe */
            background-image: url('../image/rowprof.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed; /* Effet parallaxe */
        }

        /* Overlay pour améliorer la lisibilité */
        .challenges-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(78, 76, 76, 0.863);
            z-index: 0;
            pointer-events: none;
        }

        .challenges-section h2 {
            font-family: 'Montserrat' ;
            text-align: center;
            font-size: 48px;
            font-weight: 900;
            color: #fff;
            margin-bottom: 50px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            position: relative;
            z-index: 1;
        }

        .challenges-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
            position: relative;
            z-index: 1;
        }


                .challenge-card {
                    background: white; border-radius: 20px; padding: 35px;
                    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
                    transition: all 0.3s; position: relative; overflow: hidden;
                }
                .challenge-card::before {
                    content: ''; position: absolute; top: 0; left: 0;
                    width: 100%; height: 5px;
                    background: linear-gradient(90deg, var(--benin-green), var(--benin-yellow), var(--benin-red));
                }
                .challenge-card:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
                }
                .challenge-icon { font-size: 52px; margin-bottom: 18px; }
                .challenge-title {
                    font-size: 24px; font-weight: 700;
                    color: var(--primary-blue); margin-bottom: 12px;
                }
                .challenge-description {
                    color: #666; line-height: 1.6; margin-bottom: 20px;
                }
                .progress-bar-container {
                    width: 100%; height: 10px; background: #e0e0e0;
                    border-radius: 8px; overflow: hidden; margin: 8px 0;
                }
                .progress-bar {
                    height: 100%;
                    background: linear-gradient(90deg, var(--primary-blue), #27899c);
                    border-radius: 8px; transition: width 1s ease;
                }
                .progress-text {
                    display: flex; justify-content: space-between;
                    font-size: 13px; color: #666; margin-top: 6px;
                }
                .challenge-reward {
                    background: rgba(0,158,96,0.1); padding: 12px;
                    border-radius: 8px; border-left: 3px solid var(--benin-green);
                    margin: 18px 0; font-size: 14px;
                }
                .challenge-btn {
                    width: 100%; padding: 14px;
                    background: var(--primary-blue);
                    color: white; border: none; border-radius: 40px;
                    font-weight: 700; font-size: 15px;
                    cursor: pointer; transition: all 0.3s;
                }
                .challenge-btn:hover {
                    transform: translateY(-2px);
                    box-shadow: 0 8px 25px rgba(0,158,96,0.4);
                }

                .join-btn {
                    width: 100%; padding: 10px;
                    background: white;
                    color: #4a6ba4; border: 1.5px solid #4a6ba4; border-radius: 40px;
                    font-weight: 700; font-size: 25px;
                    text-decoration: none; /* <-- empêche le soulignement */
    display: inline-block; /* pratique pour padding et largeur */
    text-align: center; /* centre le texte */
    transition: all 0.2s ease;

                }
                .join-btn:hover {
                    transform: translateY(-2px);
                    background: #4a6ba4;
                    color: white;
                    text-decoration: none;
                }

                /* News Section */
                .news-section {
                    padding: 80px 40px;
                    background: linear-gradient(to bottom, #f8f9fa 0%, white 100%);
                }
                .news-section h2 {
                    font-family: 'Montserrat' ; text-align: center;
                    font-size: 48px; font-weight: 900;
                    background:  #4a6ba4;
                    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
                    margin-bottom: 50px;
                }
                .news-grid {
                    max-width: 1400px; margin: 0 auto;
                    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
                    gap: 30px;
                }
                .news-card {
                    background: white; border-radius: 15px; overflow: hidden;
                    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
                    transition: all 0.3s; cursor: pointer;
                }
                .news-card:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
                }
                .news-image {
                    width: 100%; height: 220px;
                /*  background:  #4a6ba4; */
                background: #4a6ba4;
                    display: flex; align-items: center; justify-content: center;
                    font-size: 80px; position: relative; overflow: hidden;
                }
                .news-image::after {
                    content: '';
                    position: absolute;
                    top: 0;
                    left: -100%;
                    width: 100%;
                    height: 100%;
                    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
                    animation: slideShine 3s infinite;
                }
                @keyframes slideShine {
                    0% { left: -100%; }
                    100% { left: 100%; }
                }
                .news-content { padding: 25px; }
                .news-date {
                    color: #666;
                    font-size: 13px; margin-bottom: 8px;
                }
                .news-title {
                    font-size: 25px; font-weight: 700;
                    color: var(--dark); margin-bottom: 12px;
                    line-height: 1.3;
                }
                .news-excerpt {
                    color: #666; line-height: 1.6; margin-bottom: 15px;
                    font-size: 20px;
                }
                .news-link {
                    color: var(--primary-blue); text-decoration: none;
                    font-weight: 700; display: inline-flex;
                    align-items: center; gap: 8px;
                    transition: all 0.3s;
                }
                .news-link:hover { gap: 15px; }

                /* Program */
                .program {
                    padding: 80px 40px;
                    background:  #4a6ba4;
                }
                .section-title {
                    font-family: 'Montserrat' ; text-align: center;
                    font-size: 48px; font-weight: 900; color: white;
                    margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
                }
                .section-subtitle {
                    text-align: center; font-size: 22px;
                    color: rgba(255,255,255,0.95); margin-bottom: 50px;
                }
                .program-cards {
                    max-width: 1400px; margin: 0 auto;
                    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
                    gap: 28px;
                }
                .program-card {
                    background: white; border-radius: 20px; padding: 38px;
                    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
                    transition: all 0.3s; cursor: pointer;
                }
                .program-card:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
                }
                .card-icon {
                    width: 80px; height: 80px;
                    /*background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));*/
                    background:  var(--primary-yellow);
                    border-radius: 50%; display: flex;
                    align-items: center; justify-content: center;
                    font-size: 42px; margin-bottom: 22px;
                }
                .program-card h3 {
                    font-size: 22px; margin-bottom: 14px;
                    font-weight: bold;
                    color: #000;
                }
                .program-card p {
                    color: #555; line-height: 1.7; font-size: 15px;
                }

                /* Join */
                .join-section {
                    padding: 80px 40px;
                    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
                }
                .join-header { text-align: center; margin-bottom: 60px; }
                .join-header h2 {
                    font-family: 'Montserrat' ; font-size: 48px;
                    font-weight: 900;
                /* background:  #4a6ba4;*/
                    background: #4a6ba4;
                    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
                    margin-bottom: 12px;
                }
                .join-header p { font-size: 20px; color: #666; }
                .join-options {
                    max-width: 1400px; margin: 0 auto;
                    display: grid; grid-template-columns: 1fr 1fr; gap: 35px;
                }
                .join-card {
                    background: white; border-radius: 20px; padding: 42px;
                    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
                    transition: all 0.3s; position: relative; overflow: hidden;
                }
                .join-card::before {
                    content: ''; position: absolute; top: 0; left: 0; right: 0;
                    height: 5px;
                    background: linear-gradient(90deg, var(--benin-green), var(--benin-yellow), var(--benin-red));
                }
                .join-card:hover {
                    transform: translateY(-8px);
                    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
                }
                .join-icon {
                    font-size: 62px;
                    margin-bottom: 22px;
                    animation: iconBounce 3s ease-in-out infinite;
                }
                @keyframes iconBounce {
                    0%, 100% { transform: scale(1) rotate(0deg); }
                    25% { transform: scale(1.1) rotate(-5deg); }
                    75% { transform: scale(1.1) rotate(5deg); }
                }
                .join-card h3 {
                    font-size: 35px; margin-bottom: 16px;
                    color: #000;
                }
                .join-card p {
                    color: #555; line-height: 1.7; font-size: 16px;
                    margin-bottom: 26px;
                }
                .join-card ul { list-style: none; margin-bottom: 26px; }
                .join-card ul li {
                    padding: 9px 0; color: #444; font-size: 20px;
                    display: flex; align-items: center; gap: 10px;
                }
                .join-card ul li::before {
                    content: '✓'; color: var(--benin-green);
                    font-weight: 900; font-size: 18px;
                }
                .join-card .btn { width: 100%; }

                /* Footer */
                footer {
                    background: linear-gradient(135deg, var(--dark) 0%, #1a252f 100%);
                    color: white; padding: 60px 40px 25px;
                }
                .footer-content {
                    max-width: 1400px; margin: 0 auto;
                    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
                    gap: 38px; margin-bottom: 38px;
                }
                .footer-section h4 {
                    font-size: 20px; margin-bottom: 18px;
                    color: var(--benin-yellow);
                }
                .footer-section ul { list-style: none; }
                .footer-section ul li { margin-bottom: 10px; }
                .footer-section a {
                    color: rgba(255,255,255,0.8); text-decoration: none;
                    transition: all 0.3s; font-size: 15px;
                }
                .footer-section a:hover {
                    color: var(--benin-yellow); padding-left: 8px;
                }
                .social-links { display: flex; gap: 16px; margin-top: 18px; }
                .social-links a {
                    width: 50px; height: 50px;
                    background: var(--benin-yellow);
                    border-radius: 50%; display: flex;
                    align-items: center; justify-content: center;
                    font-size: 24px; transition: all 0.3s;
                }
                .social-links a:hover {
                    transform: scale(1.15) rotate(360deg);
                }
                .footer-bottom {
                    text-align: center; padding-top: 30px;
                    border-top: 2px solid rgba(255,255,255,0.1);
                    color: rgba(255,255,255,0.6); font-size: 14px;
                }

                /* Scroll Top */
                .scroll-top {
                    position: fixed; bottom: 35px; right: 35px;
                    width: 55px; height: 55px;
                    background: linear-gradient(135deg, var(--benin-green), var(--benin-yellow));
                    border-radius: 50%; display: flex;
                    align-items: center; justify-content: center;
                    font-size: 26px; color: white;
                    cursor: pointer; opacity: 0; visibility: hidden;
                    transition: all 0.3s; z-index: 999;
                    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
                }
                .scroll-top.visible { opacity: 1; visibility: visible; }
                .scroll-top:hover { transform: translateY(-8px) scale(1.1); }

                /* Responsive */
                @media (max-width: 968px) {
                    .hamburger { display: flex; }
                    .nav-links {
                        position: fixed; top: 75px; left: -100%;
                        width: 280px; height: calc(100vh - 75px);
                    /* background: linear-gradient(180deg, var(--benin-green) 0%, var(--benin-yellow) 50%, var(--benin-red) 100%);*/
                        background:#4a6ba4  ;
                        flex-direction: column; padding: 35px 25px;
                        gap: 18px; box-shadow: 5px 0 20px rgba(0,0,0,0.3);
                        transition: left 0.4s; z-index: 999;
                    }
                    .nav-links.active { left: 0; }
                    .hero-content { grid-template-columns: 1fr; gap: 40px; }
                    .hero-text h1 { font-size: 38px; }
                    .name-highlight { font-size: 48px; }
                    .tagline { font-size: 22px; }
                    .candidate-photo { max-width: 100%; height: 500px; }
                    .section-header h2, .section-title { font-size: 36px; }
                    .join-options { grid-template-columns: 1fr; }
                    .program-cards, .challenges-grid, .news-grid { grid-template-columns: 1fr; }
                }

                @media (max-width: 640px) {
                    .logo-text h1 { font-size: 20px; }
                    .logo-text p { font-size: 10px; }
                    .hero-text h1 { font-size: 30px; }
                    .name-highlight { font-size: 38px; }
                    .tagline { font-size: 18px; }
                    .hero-text p { font-size: 15px; }
                    .cta-buttons { flex-direction: column; }
                    .btn { width: 100%; padding: 14px 26px; font-size: 14px; }
                    .candidate-photo { height: 400px; }
                    .section-header h2, .section-title { font-size: 30px; }
                    .section-header p, .section-subtitle { font-size: 15px; }
                    .video-grid, .news-grid { grid-template-columns: 1fr; }
                    .forum-tabs { flex-direction: column; }
                 .join-header h2 {
                     font-size: 30px;
                   
                 
                }

                   .video-wall h2 {
        font-size: 32px;
    }
                }


        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            overflow-y: auto;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            max-width: 700px;
            margin: 50px auto;
            background: white;
            border-radius: 20px;
            padding: 50px;
            position: relative;
            animation: slideUp 0.4s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 35px;
            cursor: pointer;
            color: #999;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: #f0f0f0;
            color: var(--benin-red);
            transform: rotate(90deg);
        }

        .modal h2 {
            color: #4a6ba4;
            margin-bottom: 30px;
            font-size: 36px;
            font-family: 'Montserrat Bold', serif;
        }

        .form-group {
            margin-bottom: 18px;
        }



        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            font-family: 'Montserrat' ;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--benin-green);
            box-shadow: 0 0 0 3px rgba(0, 158, 96, 0.1);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 100px;
        }

        .checkbox-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .checkbox-group label {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 400;
        }

        .checkbox-group input[type="checkbox"] {
            width: auto;
        }
        .form-row {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }

        .form-row .form-group {
            flex: 1;
            margin-bottom: 0;
        }

        /* Pour le responsive sur mobile */
        @media (max-width: 768px) {
            .form-row {
                flex-direction: column;
                gap: 0;
            }

            .form-row .form-group {
                margin-bottom: 15px;
            }
        }






header.scrolled {
    background: rgba(69, 108, 177, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    padding: 5px 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f4b657, #ffffff);
    transition: width 0.6s ease;
}

.logo-container:hover::after {
    width: 100%;
}



/* Navigation Links - Nouveau style */
.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
   /* font-weight: 600;*/
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #f4b657;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Hover effect avec icônes */
.nav-links li:nth-child(1) a::before { content: '🏠'; }
.nav-links li:nth-child(2) a::before { content: '📊'; }
.nav-links li:nth-child(3) a::before { content: '🎬'; }
.nav-links li:nth-child(4) a::before { content: '📰'; }
.nav-links li:nth-child(5) a::before { content: '💬'; }
.nav-links li:nth-child(6) a::before { content: '🏆'; }
.nav-links li:nth-child(7) a::before { content: '📋'; }
.nav-links li:nth-child(8) a::before { content: '🤝'; }

.nav-links a span {
    opacity: 0.9;
}

.nav-links a:hover span {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hamburger Menu amélioré */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #f4b657;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: #f4b657;
}

/* Menu mobile amélioré */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: rgba(69, 108, 177, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        gap: 15px;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
        transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 0 20px 20px 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        animation: fadeInRight 0.5s forwards;
    }

    @keyframes fadeInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-links a {
        padding: 15px 25px;
        font-size: 16px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(10px);
    }

    /* Délai pour l'animation des items */
    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links li:nth-child(5) { animation-delay: 0.5s; }
    .nav-links li:nth-child(6) { animation-delay: 0.6s; }
    .nav-links li:nth-child(7) { animation-delay: 0.7s; }
    .nav-links li:nth-child(8) { animation-delay: 0.8s; }
}

@media (max-width: 640px) {
    nav {
        padding: 12px 20px;
    }



    .nav-links {
        width: 250px;
    }
}



/* Animation d'entrée pour la nav */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Effet d'onde au clic */
.nav-links a:active {
    transform: scale(0.95);
}


        /* ========================================
   EFFETS DE TEXTE HERO PERSONNALISÉS
   ======================================== */



/* 2. Text Reveal (Suspense) sur "WADAGNI 2026" */
.hero-title-liquid {
    background: linear-gradient(45deg, #4a6ba4, #f4b657, #ffffff, #4a6ba4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: liquidFlow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(244, 182, 87, 0.5));
    display: inline-block;
}

@keyframes liquidFlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 30px rgba(244, 182, 87, 0.5)) hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 40px rgba(69, 108, 177, 0.6)) hue-rotate(20deg);
    }
}

/* 3. Pulse Scale sur la description */
.hero-description-pulse {
    animation: pulseScaleDescription 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulseScaleDescription {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.95;
    }
}

.mobile-hero-title{
display: none;
}

/* Ajustements responsive pour les effets */
@media (max-width: 640px) {

    .mobile-hero-title{
display: block;
}

.desktop-hero-title{
display: none;
}
    .hero-badge-animated {
        -webkit-text-stroke: 1.5px white;
        text-stroke: 1.5px white;
    }

    .hero-description-pulse {
        animation: pulseScaleDescription 2.5s ease-in-out infinite;
    }

    @keyframes pulseScaleDescription {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.02);
            opacity: 0.97;
        }
    }
}




/* 1. SECTION HERO - Corrections principales */
@media (max-width: 640px) {
    .hero {
        min-height: auto !important;  /* Laisse le contenu définir la hauteur */
        height: auto !important;       /* Pas de hauteur fixe */
        max-height: none !important;   /* Pas de limite */
        padding-top: 80px !important;  /* Espace pour le header */
        padding-bottom: 40px !important;
        overflow: visible !important;  /* Permet le scroll */
    }

    .hero-content {
        padding-top: 20px !important;  /* Réduit drastiquement */
        padding-bottom: 40px;
        gap: 2rem;
        flex-direction: column;
    }

    /* 2. L'IMAGE DU CANDIDAT - Taille réduite */
    .hero-image-container {
        flex: 0 0 auto !important;     /* Pas de taille fixe */
        width: 100% !important;
        max-width: 320px !important;   /* Limite la largeur */
        margin: 0 auto;
    }

    .candidate-photo {
        height: 400px !important;      /* Réduit de 650px à 400px */
        max-height: 50vh !important;   /* Maximum 50% de l'écran */
        width: 100%;
    }

    .candidate-photo img {
        object-fit: cover;
        object-position: top center;   /* Garde le visage visible */
    }

    /* 3. LE TEXTE HERO - Plus compact */
    .hero-text {
        order: -1;  /* Met le texte AVANT l'image */
        padding: 0 1rem;
    }

    .hero-badge {
        display: none !important;
    }

    .hero-title {
        font-size: 2.8rem !important;  /* Réduit encore plus */
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-title .year {
        font-size: 2.2rem !important;
    }

    /* 4. DESCRIPTION - Cache la longue, montre la courte */
    .hero-description {
        display: none !important;
    }

    .hero-description-mobile {
        display: block !important;
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }




    /* 6. SUPPRIME le scroll indicator sur mobile */
    .scroll-indicator {
        display: none !important;
    }

    /* 7. SUPPRIME les éléments décoratifs sur mobile */
    .star,
    .flag-accent {
        display: none !important;
    }

    /* 8. VIDEO de fond - Ajustements */
    .hero-video {
        transform: scale(1.1) !important;
        opacity: 0.3 !important;
    }

    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(69, 108, 177, 0.75) 10%,
            rgba(26, 35, 50, 0.85) 50%,
            rgba(244, 182, 87, 0.65) 100%
        ) !important;  /* Overlay plus opaque pour la lisibilité */
    }
}

/* 9. POUR LES TRÈS PETITS ÉCRANS (< 400px) */
@media (max-width: 400px) {
    .hero {
        padding-top: 70px !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-title .year {
        font-size: 1.8rem !important;
    }

    .candidate-photo {
        height: 350px !important;
    }

    .hero-image-container {
        max-width: 280px !important;
    }
}



body {
    padding-top: 0 !important;  /* Supprime tout padding global */
}

/* ========================================
   ORDRE D'AFFICHAGE OPTIMAL SUR MOBILE
   ======================================== */
@media (max-width: 640px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Ordre :
       1. Texte (hero-text)
       2. Image (hero-image-container)
    */
    .hero-text {
        order: 1;
        width: 100%;
        text-align: left;
    }

    .hero-image-container {
        order: 2;
        margin-top: 2rem;
    }
}




        /* Countdown Section   */
.countdown-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    position: relative;
    overflow: hidden;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:  linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
    animation: pulseBackground 8s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.countdown-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.countdown-header {
    margin-bottom: 60px;
}

.countdown-container h2 {
    font-family: 'Montserrat' ;
    font-size: 3.5rem;
    font-weight: 900;
    color: #f4b657 !important;
    margin-bottom: 15px;
    background:  #f4b657;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    perspective: 1000px;
}

.countdown-item {
    position: relative;
    width: 180px;
    height: 200px;
     background: #f4b657;  
    border: 1px solid rgba(13, 79, 92, 0.1);  

  
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
   /* transition: all 0.3s ease;
    transform-style: preserve-3d;*/
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: white;
    opacity: 0;
    transition: opacity 0.3s;
}

.countdown-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(244, 182, 87, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 60px rgba(244, 182, 87, 0.1);
}

.countdown-item:hover::before {
    opacity: 1;
}

.countdown-number {
    font-family: 'Montserrat Bold' ;
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-yellow);
    text-shadow: 0 0 30px rgba(244, 182, 87, 0.5);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.countdown-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.countdown-separator {
    color: var(--primary-yellow);
    font-size: 3rem;
    font-weight: 100;
    opacity: 0.5;
    transform: translateY(-20px);
}

.countdown-message {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
}

/* Progress Container */
.progress-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-label {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.progress-bar-total {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
        var(--primary-blue) 0%,
        var(--primary-yellow) 100%);
    border-radius: 4px;
    width: 0%;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive */
@media (max-width: 1024px) {
    .countdown-item {
        width: 150px;
        height: 170px;
    }

    .countdown-number {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .countdown-timer {
        flex-wrap: wrap;
        gap: 15px;
    }

    .countdown-item {
        width: calc(50% - 15px);
        height: 150px;
    }

    .countdown-number {
        font-size: 3.5rem;
    }

    .countdown-separator {
        display: none;
    }

    .countdown-container h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        width: calc(50% - 10px);
        height: 130px;
    }

    .countdown-number {
        font-size: 2.8rem;
    }

    .countdown-label {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .countdown-container h2 {
        font-size: 1.7rem;
    }
    .countdown-subtitle {
    
        font-size: 0.9rem;
    }
}


/* ========================================
   BOUTONS HERO - CÔTE À CÔTE SUR MOBILE
   ======================================== */

@media (max-width: 640px) {
    /* Conteneur des boutons */
    .hero-cta {
        flex-direction: row !important;          /* Boutons en ligne */
        flex-wrap: wrap;                         /* Permet le retour à la ligne si nécessaire */
        justify-content: center;                 /* Centre les boutons */
        align-items: center;
        gap: 12px;                               /* Espacement réduit entre les boutons */
        padding: 0 5px;                          /* Réduit les marges latérales */
    }

    /* Boutons individuels */
    .hero-cta .btn {
        width: auto !important;                  /* Largeur automatique (ne prend pas 100%) */
        flex: 1;                                 /* Les boutons prennent un espace égal */
        min-width: 140px;                        /* Largeur minimale */
        max-width: 160px;                        /* Largeur maximale */
        padding: 12px 20px !important;           /* Padding réduit */
        font-size: 14px !important;              /* Texte plus petit */
        margin: 0 !important;                    /* Supprime les marges */
    }

    /* Texte à l'intérieur des boutons */
    .hero-cta .btn span {
        font-size: 13px;                         /* Texte encore plus petit */
        white-space: nowrap;                     /* Empêche le texte de passer à la ligne */
    }

    /* Premier bouton (Notre Programme) */
    .hero-cta .btn-primary {
        background: white;
        color: #4a6ba4;
    }

    /* Deuxième bouton (Rejoindre) */
    .hero-cta .btn-secondary {
        background: #4a6ba4;
        color: white;
    }

    /* Ajustement pour les très petits écrans */
    @media (max-width: 380px) {
        .hero-cta {
            gap: 8px;                            /* Espacement encore plus réduit */
        }

        .hero-cta .btn {
            min-width: 130px;                    /* Largeur encore plus petite */
            max-width: 150px;
            padding: 10px 16px !important;       /* Padding encore plus réduit */
            font-size: 13px !important;
        }

        .hero-cta .btn span {
            font-size: 12px;
        }
    }
}

/* ========================================
   AMÉLIORATIONS RESPONSIVES SUPPLEMENTAIRES
   ======================================== */

@media (max-width: 640px) {
    /* Ajustement de l'image du candidat pour faire plus de place */
    .candidate-photo {
        height: 350px !important;               /* Réduit encore l'image */
        margin-bottom: 20px;
    }

    /* Réduit le texte au-dessus des boutons */
    .hero-description-mobile {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0;
    }

    /* Ajuste le titre principal */
    .hero-title {
        font-size: 2.4rem !important;
        margin-bottom: 0.8rem;
    }

    .hero-title .year {
        font-size: 2rem !important;
    }
}

/* ========================================
   ÉTATS DE SURVOL SUR MOBILE
   ======================================== */

@media (max-width: 640px) {
    .hero-cta .btn:active {
        transform: scale(0.98);                 /* Effet de pression au toucher */
        opacity: 0.9;
    }

    .hero-cta .btn-primary:active {
        background: #f0f0f0;
    }

    .hero-cta .btn-secondary:active {
        background: #3a5a9a;
    }
}



/*modal bienvenu*/


/* Modal de bienvenue */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    animation: fadeIn 0.5s ease;
    overflow-y: auto;
}

.welcome-modal-content {
    position: relative;
    max-width: 500px;
    margin: 5% auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

.welcome-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #4a6ba4;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.welcome-modal-close:hover {
    background: #f0f0f0;
    transform: rotate(90deg);
}

.welcome-modal-header h2 {
    color: #4a6ba4;
    font-family: 'Montserrat Bold' ;
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f4b657;
}

.welcome-modal-image {
    width: 200px;
    height: max-content;
    margin: 0 auto 25px;
    border: 5px solid #f4b657;
    box-shadow: 0 10px 30px rgba(244, 182, 87, 0.3);
}

.welcome-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.welcome-modal-image:hover img {
    transform: scale(1.05);
}

.welcome-modal-body {
    margin: 25px 0 30px;
}

.welcome-modal-body p {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Montserrat Bold' ;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-modal-content {
        max-width: 90%;
        margin: 10% auto;
        padding: 30px 20px;
    }

    .welcome-modal-header h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .welcome-modal-image {
        width: 150px;
        height: 200px;
    }

    .welcome-modal-body p {
        font-size: 16px;
    }

    .welcome-modal-footer .btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .welcome-modal-content {
        margin: 15% auto;
        padding: 25px 15px;
    }

    .welcome-modal-header h2 {
        font-size: 20px;
    }

    .welcome-modal-image {
        width: 120px;
        height: 160px;
    }

    .welcome-modal-body p {
        font-size: 14px;
    }
}



/*statistique hero */

/* Container compact pour les stats hero */
.hero-stats-compact {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
    max-width: 600px;

}

.hero-stat-mini {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease 1s both;
}

.hero-stat-mini:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(244, 182, 87, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-mini-icon {
    font-size: 32px;
    flex-shrink: 0;
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-mini-content {
    flex: 1;
    min-width: 0; /* Pour éviter le débordement */
}

.stat-mini-number {
    font-family: 'Montserrat Bold' ;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-yellow);
    text-shadow: 0 0 15px rgba(244, 182, 87, 0.4);
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-mini-label {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    opacity: 0.95;
    white-space: nowrap;
}

.stat-mini-sublabel {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

/* Animations */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Desktop (plus compact) */
@media (min-width: 1025px) {
    .hero-stats-compact {
        max-width: 500px;
        gap: 12px;
         justify-content: left;
    }

    .hero-stat-mini {
        min-width: 180px;
        max-width: 220px;
        padding: 16px 14px;
        gap: 12px;
    }

    .stat-mini-icon {
        font-size: 30px;
    }

    .stat-mini-number {
        font-size: 26px;
    }

    .stat-mini-label {
        font-size: 13px;
    }
}

/* Mobile et tablette */
@media (max-width: 1024px) {
    .hero-stats-compact {
        max-width: 450px;
        gap: 10px;
    }

    .hero-stat-mini {
        min-width: 160px;
        max-width: 200px;
        padding: 15px 12px;
        gap: 10px;
    }

    .stat-mini-icon {
        font-size: 28px;
    }

    .stat-mini-number {
        font-size: 24px;
    }

    .stat-mini-label {
        font-size: 12px;
    }

    .stat-mini-sublabel {
        font-size: 10px;
    }
}

/* Mobile - côte à côte */
@media (max-width: 640px) {
    .hero-stats-compact {
        display: flex;
        flex-direction: row; /* Important: côte à côte */
        justify-content: center;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 400px;
        margin-top: 20px;
    }

    .join-card h3 {
        font-size: 25px;
    }

    .join-btn {
        font-size: 9px;
    }
    .hero-stat-mini {
        flex: 1;
        min-width: auto; /* Pas de min-width fixe */
        max-width: calc(50% - 5px); /* Prend 50% moins l'espacement */
        padding: 12px 10px;
        gap: 8px;
        border-radius: 10px;
    }

    .stat-mini-icon {
        font-size: 26px;
    }

    .stat-mini-number {
        font-size: 20px;
        margin-bottom: 3px;
    }

    .stat-mini-label {
        font-size: 11px;
        margin-bottom: 1px;
    }

    .stat-mini-sublabel {
        font-size: 9px;
        white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    }

    .countdown-message {
    font-size: 1rem;    
}

.news-section h2 {
    font-size: 32px;
}


.challenges-section h2 
{
    font-size: 32px;

}
}
/* Très petits mobiles */
@media (max-width: 380px) {
    .hero-stats-compact {
        gap: 8px;
        max-width: 350px;
    }

    .hero-stat-mini {
        padding: 10px 8px;
        gap: 6px;
    }

    .stat-mini-icon {
        font-size: 24px;
    }

    .stat-mini-number {
        font-size: 18px;
    }

    .stat-mini-label {
        font-size: 10px;
    }

    .stat-mini-sublabel {
        font-size: 6px;
    }
}



/* Modal de bienvenue */
.welcome-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    animation: fadeIn 0.5s ease;
    overflow-y: auto;
}

.welcome-modal-content {
    position: relative;
    max-width: 450px;
    margin: 5% auto;
    background: white;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
    overflow: hidden;
}

.welcome-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    font-size: 32px;
    color: #f4b657;
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    line-height: 1;
    font-weight: 300;
    padding: 0;
}

.welcome-modal-close:hover {

    transform: scale(1.1);
}

.welcome-modal-image {
    width: 100%;
    height: 440px;
    margin-top: 30px;
   /* overflow: hidden;*/
    border: none;
    box-shadow: none;
}

.welcome-modal-image img {
    width: 100%;
    height: 100%;
    object-fit:contain ;
    object-position: center;
}

.welcome-modal-body {
    padding: 30px 40px 20px;
}

.welcome-modal-body h2 {
    color: #1a1a1a;
    font-family: 'Montserrat Bold', Arial ;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-modal-body p {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    font-family: 'Montserrat Bold', Arial ;
    margin: 0;
    font-weight: 400;
}

.welcome-modal-footer {
    padding: 20px 40px 35px;
}

.welcome-modal-footer .btn {
    padding: 14px 50px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    background: #f4b657;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.welcome-modal-footer .btn:hover {

    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 47, 62, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .welcome-modal-content {
        max-width: 90%;
        margin: 10% auto;
    }

    .welcome-modal-image {
        height: 280px;
    }

    .welcome-modal-body {
        padding: 25px 30px 15px;
    }

    .welcome-modal-body h2 {
        font-size: 20px;
    }

    .welcome-modal-body p {
        font-size: 14px;
    }

    .welcome-modal-footer {
        padding: 15px 30px 30px;
    }

    .welcome-modal-footer .btn {
        padding: 12px 40px;
        font-size: 14px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .welcome-modal-content {
        margin: 15% auto;
    }

    .welcome-modal-image {
        height: 240px;
    }

    .welcome-modal-body {
        padding: 20px 20px 10px;
    }

    .welcome-modal-body h2 {
        font-size: 18px;
    }

    .welcome-modal-body p {
        font-size: 13px;
    }

    .welcome-modal-footer {
        padding: 15px 20px 25px;
    }
}


/*Hero*/


    .hero-left::after {
      content: "";
      position: absolute;
      top: 0;
      right: -120px;
      width: 240px;
      height: 100%;
      background: white;
      transform: skewX(12deg);
      z-index: 5;
    }

    /* Cacher l'effet skew sur mobile */
    @media (max-width: 1023px) {
      .hero-left::after {
        display: none;
      }
    }

    /* Animation pour le menu mobile */
    .mobile-menu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }

    .mobile-menu.open {
      max-height: 400px;
    }

    /* ANIMATION POUR LA PHOTO - CORRIGÉ */
    .photo-container {
      position: relative;
      overflow: hidden;
      display: inline-block;
      border: none !important;
      outline: none !important;
    }

    .candidate-photo {
      transition: transform 0.6s ease;
      display: block;
      border: none !important;
      outline: none !important;
    }

    .photo-container:hover .candidate-photo {
      transform: scale(1.05);
    }

    /* Effet de lumière diagonal - CORRIGÉ */
    .photo-container::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        to bottom right,
        transparent 45%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 55%
      );
      transform: translateX(-100%) translateY(-100%) rotate(45deg);
      transition: transform 0.8s ease;
      pointer-events: none;
      z-index: 1;
    }

    .photo-container:hover::after {
      transform: translateX(100%) translateY(100%) rotate(45deg);
    }

    /* Version mobile - ajustement pour le conteneur */
    @media (max-width: 1023px) {
      .mobile-photo-container {
        position: relative;
        overflow: hidden;
        display: inline-block;
        border: none !important;
        outline: none !important;
      }

      .mobile-photo-container::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
          to bottom right,
          transparent 45%,
          rgba(255, 255, 255, 0.15) 50%,
          transparent 55%
        );
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        transition: transform 0.8s ease;
        pointer-events: none;
        z-index: 1;
      }

      .mobile-photo-container:hover::after {
        transform: translateX(100%) translateY(100%) rotate(45deg);
      }

      .mobile-photo {
        transition: transform 0.6s ease;
        border: none !important;
        outline: none !important;
      }

      .mobile-photo-container:hover .mobile-photo {
        transform: scale(1.05);
      }

      /* Ajustement pour que le drapeau ne crée pas de bord */
      .mobile-photo-container img[alt="Drapeau"] {
        border: none !important;
        outline: none !important;
      }
    }

    /* Supprime tous les bordures potentielles sur les images */
    img {
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
    }


    /* ==================== INTRO ANIMATION STYLES ==================== */
.intro-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0a1f2a 0%, #4a6ba4 50%, #0a2a33 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.intro-logo-container {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.intro-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #f4b95e 0%, #4a6ba4 50%, #f4b95e 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: scale(0.5) rotateX(-90deg);
    text-transform: uppercase;
}

.intro-year {
    position: absolute;
    font-size: clamp(15rem, 30vw, 25rem);
    font-weight: 800;
    color: rgba(244, 185, 94, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
}

.intro-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.intro-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #f4b95e;
    border-radius: 50%;
    opacity: 0;
}

.intro-circle {
    position: absolute;
    border: 2px solid #f4b95e;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.intro-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f4b95e, transparent);
    top: 50%;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scaleX(0);
}

.intro-benin-flag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 133px;
    opacity: 0;
    filter: blur(10px);
}

/* Intro Subtitle Animation */
.intro-subtitle-wrapper {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #f4b95e;
    font-weight: 600;
    margin-top: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.intro-static-word {
    opacity: 1;
    animation: static-word-glow 2s ease-in-out infinite;
}

@keyframes static-word-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(244, 185, 94, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(244, 185, 94, 0.8);
    }
}

.intro-animated-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Hide hero content initially */
.hero-content-wrapper {
    opacity: 0;
}
/* Ajustement du header */
header .max-w-7xl {
  position: relative;
}

/* Pour décaler encore plus la navigation si besoin */
nav.bg-gray-100 {
  margin-left: auto;
  margin-right: 2rem; /* Ajustez cette valeur pour plus/moins de décalage */
}

/* Optionnel: Pour espacer davantage les éléments de navigation */
nav ul {
  gap: 1.5rem !important; /* Augmente l'espacement entre les liens */
}

/* Pour mobile, ajustez aussi si nécessaire */
#mobile-menu {
  margin-left: auto;
  margin-right: 1rem;
}


/* Section Badges - 4 cartes par ligne */
#badges .video-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#badges .video-card {
    height: 380px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

#badges .video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

#badges .video-thumbnail {
    height: 220px;
    flex-shrink: 0;
    border-radius: 12px 12px 0 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
}

#badges .video-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

#badges .video-author {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4a6ba4;
    margin-bottom: 8px;
    text-align: center;
}

#badges .challenge-btn {
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 1rem;
    background: #4a6ba4;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

#badges .challenge-btn:hover {
    background: #f4b95e;
    color: #4a6ba4;
    transform: translateY(-2px);
}

/* Responsive pour garder 4 cartes par ligne jusqu'à une certaine largeur */
@media (max-width: 1200px) {
    #badges .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    #badges .video-card {
        height: 360px;
    }

    #badges .video-thumbnail {
        height: 200px;
    }
}

@media (max-width: 768px) {
    #badges .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 350px;
        margin: 0 auto;
    }

    #badges .video-card {
        height: 320px;
    }

    #badges .video-thumbnail {
        height: 180px;
    }
}


/* ========================================
   ICÔNES DE RÉSEAUX SOCIAUX FIXES
   ======================================== */

.fixed-social-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9998;
    background: rgba(13, 79, 92, 0.9);
    padding: 15px 10px;
    border-radius: 25px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(244, 185, 94, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Couleurs spécifiques pour chaque réseau */
.social-icon.facebook {
    background: #1877F2;
}

.social-icon.tiktok {
    background: #000000;
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.pdf {
    background: #f4b95e;
}
.social-icon.chat {
    background: #edf0f1;
}

/* Ajoutez cette règle à votre section .social-icon */
.social-icon.chat {
    background: #25D366;

}

/* Effet de survol */
.social-icon:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Tooltip */
.social-icon::after {
    content: attr(title);
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1024px) {
    .fixed-social-icons {
        right: 15px;
        padding: 12px 8px;
        gap: 12px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .fixed-social-icons {
        right: 10px;
        padding: 10px 6px;
        gap: 10px;
        border-radius: 20px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .social-icon::after {
        display: none; /* Cache les tooltips sur mobile */
    }
}

@media (max-width: 480px) {
    .fixed-social-icons {
        right: 8px;
        padding: 8px 5px;
        gap: 8px;
        border-radius: 15px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

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




/* ========================================
   MODIFICATIONS POUR LE COUNTDOWN
   ======================================== */

/* Rendre les cartes (countdown-item) blanches */
.countdown-item-white {
    background: #f4b657 !important; /* Fond blanc */
    border: 1px solid rgba(13, 79, 92, 0.1) !important; /* Bordure légère */
    box-shadow: 0 5px 15px rgba(13, 79, 92, 0.1) !important; /* Ombre légère */
}

/* Effet de survol pour les cartes blanches */
.countdown-item-white:hover {
    background: white !important;
    border-color: rgba(13, 79, 92, 0.2) !important;
    box-shadow: 0 10px 25px rgba(13, 79, 92, 0.15) !important;
    transform: translateY(-5px) !important;
}

/* Changer la couleur des chiffres en vert (#0D4F5C) */
.countdown-number-green {
    color: #0D4F5C !important; /* Couleur verte demandée */
    text-shadow: 0 0 10px rgba(13, 79, 92, 0.2) !important; /* Ombre verte */
}

/* Garder les labels en couleur originale */
.countdown-item-white .countdown-label {
    color: #666 !important; /* Gris foncé pour les labels */
    font-weight: 600 !important;
}

/* Ajuster les séparateurs pour qu'ils restent visibles */
.countdown-separator {
    color: white !important; /* Séparateurs en vert */
    font-weight: 700 !important;
    opacity: 0.7 !important;
}

/* Pour le texte au-dessus du countdown */
.countdown-container h2 {
    background:  white;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Ajustements pour les versions responsive */
@media (max-width: 768px) {
    .countdown-item-white {
        background: #f4b657 !important;
    }

    .countdown-number-green {
        color: #0D4F5C !important;
    }
}

@media (max-width: 480px) {
    .countdown-item-white {
        width: calc(50% - 10px) !important;
        background: #f4b657 !important;
        border: 1px solid rgba(13, 79, 92, 0.1) !important;
    }
}



/* Countdown Section avec vidéo background fixe */
.countdown-section {
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    /* Supprimer l'ancien background gradient */
}

/* Conteneur vidéo background */
.countdown-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.countdown-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

 
/* Overlay pour améliorer la lisibilité du texte */
.countdown-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.85); /* Augmenté de 0.75 à 0.85 */
    z-index: 1;
}

/* Assurer que le contenu est au-dessus de la vidéo */
.countdown-container {
    position: relative;
    z-index: 2;
}

/* Supprimer l'ancien ::before */
.countdown-section::before {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .countdown-video-bg video {
        object-fit: cover;
    }
}

/* ========================================
   EFFET DE ZOOM SUR TOUS LES H2
   ======================================== */

/* Animation de zoom au scroll */
h2{
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

    h2.visible{
    opacity: 1;
    transform: scale(1);
}

/* Animation alternative avec effet de rebond */
@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

h2.animate-zoom , h3.animate-zoom {
    animation: zoomIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Effet de hover sur les h2 */
h2:hover ,  h3:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* ========================================
   SECTION ACTUALITÉS AVEC FILTRES
   ======================================== */

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-header h2 {
    font-family: 'Montserrat' ;
    font-size: 48px;
    font-weight: 900;
    background: #4a6ba4;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.news-header p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Filtres */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    /*flex-wrap: wrap;*/
}

.filter-btn {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: #4a6ba4;
    color: #4a6ba4;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #4a6ba4;
    border-color: #4a6ba4;
    color: white;
}

/* Catégorie sur les cartes */
.news-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: #4a6ba4;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

/* Images dans les cartes */
.news-card .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card .news-image.video {
    background: linear-gradient(135deg, #4a6ba4, #1a6b7a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px;
}

.video-play {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6ba4;
    font-size: 24px;
    transition: all 0.3s ease;
}

.news-card:hover .video-play {
    transform: scale(1.2);
    background: white;
}

.news-card .news-image.article {
    background: linear-gradient(135deg, #f4b95e, #f8d488);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a6ba4;
    font-size: 70px;
}

/* Bouton Voir Plus */
.news-more {
    text-align: center;
    margin-top: 50px;
}

.btn-more {
    display: inline-block;
    padding: 15px 40px;
    background: #4a6ba4;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #4a6ba4;
}

.btn-more:hover {
    background: white;
    color: #4a6ba4;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 79, 92, 0.2);
}

/* Animation pour le filtrage */
.news-card {
    transition: all 0.4s ease;
}

.news-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .news-header h2 {
        font-size: 32px;
    }
    
    .news-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-filters {
        flex-direction: row;
        align-items: center;
    }
    
    .filter-btn {
        width: 90px;
        justify-content: center;
    }
}

/* ========================================
   STYLES POUR LES ICÔNES SVG DU PROGRAMME
   ======================================== */

.program-card .card-icon svg {
    width: 50px;
    height: 50px;
    color: #4a6ba4; /* Couleur principale */
    transition: all 0.3s ease;
}

.program-card:hover .card-icon svg {
     
    transform: scale(1.1);
}

/* Animation pour les icônes */
.program-card .card-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .program-card .card-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* ========================================
   ICÔNES CHALLENGES AVEC BACKGROUND ARRONDI
   ======================================== */

.challenge-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.challenge-icon-bg {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a6ba4, #1a6b7a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(13, 79, 92, 0.2);
}

.challenge-card:hover .challenge-icon-bg {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, #f4b95e, #f8d488);
    box-shadow: 0 12px 25px rgba(244, 185, 94, 0.3);
}

.challenge-icon-bg svg {
    width: 40px;
    height: 40px;
    color: white;
    transition: all 0.3s ease;
}

.challenge-card:hover .challenge-icon-bg svg {
    color: #4a6ba4;
    transform: scale(1.1);
}

/* Animations spécifiques pour chaque icône */
.challenge-card:nth-child(1) .challenge-icon-bg {
    animation: float-video 3s ease-in-out infinite;
}

.challenge-card:nth-child(2) .challenge-icon-bg {
    animation: float-share 3s ease-in-out infinite 0.2s;
}

.challenge-card:nth-child(3) .challenge-icon-bg {
    animation: float-door 3s ease-in-out infinite 0.4s;
}

@keyframes float-video {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float-share {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes float-door {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Version alternative avec dégradé de couleurs */
.challenge-card:nth-child(1) .challenge-icon-bg {
    background: linear-gradient(135deg, #4a6ba4, #1a8b9c);
}

.challenge-card:nth-child(2) .challenge-icon-bg {
    background: linear-gradient(135deg, #4a6ba4, #2a9bbf);
}

.challenge-card:nth-child(3) .challenge-icon-bg {
    background: linear-gradient(135deg, #4a6ba4, #3aabdf);
}

/* Version avec bordure */
.challenge-icon-bg {
    position: relative;
    border: 3px solid white;
    box-shadow: 
        0 8px 20px rgba(13, 79, 92, 0.2),
        0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Effet de halo au survol */
.challenge-card:hover .challenge-icon-bg::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(244, 185, 94, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-halo 1s ease-in-out infinite;
}

@keyframes pulse-halo {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .challenge-icon-bg {
        width: 70px;
        height: 70px;
    }
    
    .challenge-icon-bg svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .challenge-icon-bg {
        width: 60px;
        height: 60px;
    }
    
    .challenge-icon-bg svg {
        width: 30px;
        height: 30px;
    }
}


/* ========================================
   FORUM SECTION - DESIGN SIMPLIFIÉ
   ======================================== */

.forum-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.forum-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(244, 185, 94, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 79, 92, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.forum-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Grid principal */
.forum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Colonne gauche */
.forum-left {
    padding-right: 40px;
}

.forum-title {
    font-family: 'Montserrat' ;
    font-size: 48px;
    font-weight: 900;
    color: #4a6ba4;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.forum-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a6ba4, #f4b95e);
    border-radius: 2px;
}

.forum-description {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    padding-right: 20px;
}

/* Features */
.forum-features {
    margin-bottom: 40px;
}

.forum-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 1px solid #f4b95e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.forum-feature:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(13, 79, 92, 0.1);
}

.feature-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(244, 185, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #4a6ba4;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* CTA */
.forum-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-forum-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    background: linear-gradient(135deg, #4a6ba4, #1a6b7a);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 300px;
    box-shadow: 0 8px 25px rgba(13, 79, 92, 0.3);
}

.btn-forum-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 79, 92, 0.4);
    background: linear-gradient(135deg, #1a6b7a, #4a6ba4);
}

.btn-forum-primary:active {
    transform: translateY(-1px);
}

.btn-forum-primary svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-forum-primary:hover svg {
    transform: translateX(5px);
}

.forum-cta-note {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin: 0;
    padding-left: 10px;
}

/* Colonne droite - Image portrait */
.forum-right {
    position: relative;
}

.forum-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.forum-portrait {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 
        0 25px 50px rgba(13, 79, 92, 0.2),
        0 0 100px rgba(244, 185, 94, 0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.forum-image-wrapper:hover .forum-portrait {
    transform: scale(1.02);
}

/* Décoration */
.forum-decoration {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    z-index: 1;
    pointer-events: none;
}

.decoration-floral {
    width: 100%;
    height: 100%;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Badge */
.forum-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
    border: 2px solid #f4b95e;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

.badge-number {
    font-size: 28px;
    font-weight: 900;
    color: #4a6ba4;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablette */
@media (max-width: 1024px) {
    .forum-section {
        padding: 80px 30px;
    }
    
    .forum-grid {
        gap: 60px;
        flex-direction: column-reverse;
    }
    
    .forum-title {
        font-size: 42px;
    }
    
    .forum-description {
        font-size: 17px;
    }
    
    .forum-image-wrapper {
        max-width: 400px;
    }
}

/* Mobile - Tablette en mode portrait */
@media (max-width: 768px) {
    .forum-grid {
        grid-template-columns: 1fr;
        gap: 60px;
         flex-direction: column;
    }
    
    .forum-left {
        padding-right: 0;
        text-align: center;
         order: 2;
    }


    .forum-right {
        order: 1;   
    }
    
    
    .forum-title {
        font-size: 36px;
        text-align: center;
        padding-bottom: 15px;
    }
    
    .forum-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .forum-description {
        text-align: center;
        padding-right: 0;
        font-size: 16px;
    }
    
    .forum-feature {
        text-align: left;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-forum-primary {
        margin: 0 auto;
    }
    
    .forum-cta-note {
        text-align: center;
        padding-left: 0;
    }
    
    .forum-image-wrapper {
        max-width: 350px;
    }
    
    .forum-portrait {
        aspect-ratio: 3/4;
        max-height: 500px;
    }
    
    .forum-badge {
        right: 10px;
        bottom: 20px;
    }
}

/* Mobile - Petit */
@media (max-width: 480px) {
    .forum-section {
        padding: 60px 20px;
    }
    
    .forum-grid {
        gap: 40px;
        flex-direction: column-reverse;
    }
    
    .forum-title {
        font-size: 28px;
    }
    
    .forum-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .forum-feature {
        padding: 15px;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-content h4 {
        font-size: 16px;
    }
    
    .feature-content p {
        font-size: 13px;
    }
    
    .btn-forum-primary {
        padding: 15px 30px;
        font-size: 16px;
        max-width: 100%;
    }
    
    .forum-image-wrapper {
        max-width: 280px;
    }
    
    .forum-portrait {
        border-radius: 20px;
    }
    
    .forum-badge {
        padding: 12px 20px;
        right: 5px;
        bottom: 15px;
    }
    
    .badge-number {
        font-size: 24px;
    }
    
    .badge-text {
        font-size: 11px;
    }
}

/* Très petits mobiles */
@media (max-width: 360px) {
    .forum-title {
        font-size: 24px;
    }
    
    .forum-description {
        font-size: 14px;
    }
    
    .forum-image-wrapper {
        max-width: 250px;
    }
    
    .forum-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-content {
        text-align: center;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

.forum-title, .forum-description {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease forwards;
}

.forum-title {
    animation-delay: 0.1s;
}

.forum-description {
    animation-delay: 0.3s;
}

.forum-feature {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
}

.forum-feature:nth-child(1) { animation-delay: 0.4s; }
.forum-feature:nth-child(2) { animation-delay: 0.5s; }
.forum-feature:nth-child(3) { animation-delay: 0.6s; }

.forum-cta {
    opacity: 0;
    animation: fadeIn 0.6s ease 0.7s forwards;
}

.forum-portrait {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    animation: slideInRight 0.8s ease 0.3s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* ========================================
   STYLES POUR LES ICÔNES SVG DU FOOTER
   ======================================== */

/* Social links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links .social-icon:hover {
    background: rgba(244, 185, 94, 0.2);
    transform: translateY(-3px);
}

.social-links .social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: fill 0.3s ease;
}

.social-links .social-icon:hover svg {
    fill: #f4b95e;
}

/* Navigation links avec icônes */
.footer-section ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-section ul li a svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-section ul li a:hover svg {
    fill: #f4b95e;
    transform: translateX(3px);
}

/* Responsive pour les icônes */
@media (max-width: 768px) {
    .social-links .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-links .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-section ul li a svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .social-links {
        gap: 10px;
        justify-content: center;
    }
    
    .social-links .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .social-links .social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-section ul li a svg {
        width: 14px;
        height: 14px;
    }
}


/* Styles pour les actualités */
.news-meta {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.news-movement {
    background: #f4b95e;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.8rem;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.news-image.video {
    position: relative;
}

.news-image.video .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.filter-btn.active {
    background-color: #4a6ba4;
    color: white;
}

/* Animation pour le filtre */
.news-card {
    transition: all 0.3s ease;
}

.news-card.hidden {
    display: none;
}

/* Placeholder pour les images */
.news-image .video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
}

.news-image .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   GALERIES MÉDIAS - Simple & Élégant
======================================== */

.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .media-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .media-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Item de galerie */
.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 79, 92, 0.15);
}

/* Média (image ou vidéo) */
.gallery-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f3f4f6;
}

.gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-media img {
    transform: scale(1.05);
}

/* Overlay play pour vidéos */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.video-item:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.play-icon {
    width: 70px;
    height: 70px;
    background: rgba(13, 79, 92, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    padding-left: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-item:hover .play-icon {
    background: #f4b95e;
    transform: scale(1.1);
}

/* Légende sous la galerie */
.gallery-caption {
    padding: 16px;
}

.gallery-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 6px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gallery-author {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    font-style: italic;
}

/* Placeholders pour médias manquants */
.no-media {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    font-size: 4rem;
    color: #9ca3af;
}

/* Animation d'apparition en cascade */
.gallery-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }
.gallery-item:nth-child(8) { animation-delay: 0.4s; }
.gallery-item:nth-child(9) { animation-delay: 0.45s; }
.gallery-item:nth-child(10) { animation-delay: 0.5s; }
.gallery-item:nth-child(11) { animation-delay: 0.55s; }
.gallery-item:nth-child(12) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Réinitialiser l'animation lors du changement de filtre */
.filter-section[style*="display: none"] .gallery-item {
    opacity: 0;
    animation: none;
}

/* ========================================
   MODAL POUR MÉDIAS (Images & Vidéos)
======================================== */

.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.media-modal.active {
    opacity: 1;
}

.media-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.media-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.media-modal.active .media-modal-content {
    transform: scale(1);
}

/* Images dans le modal */
.media-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Vidéos dans le modal */
.media-modal-content.video-content {
    max-width: 1200px;
    width: 90vw;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Bouton de fermeture */
.media-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
}

.media-modal-close:hover {
    background: white;
    color: #4a6ba4;
    transform: rotate(90deg);
}

/* Légende du modal */
.media-modal-caption {
    text-align: center;
    padding: 20px;
    color: white;
}

.media-modal-caption h3 {
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    color: white;
    font-weight: 600;
}

.media-modal-caption p {
    font-size: 1rem;
    margin: 0;
    color: #f4b95e;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .media-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .media-modal-content img {
        max-height: 70vh;
    }
    
    .media-modal-content.video-content {
        width: 95vw;
    }
    
    .media-modal-caption h3 {
        font-size: 1.1rem;
    }
    
    .media-modal-caption p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .media-modal {
        padding: 10px;
    }
    
    .video-wrapper {
        padding-bottom: 75%; /* Ratio plus carré sur mobile */
    }
}


 

.video-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 pour vidéos paysage */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: #000;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Ajustement pour la galerie */
.media-gallery .gallery-item.video-item {
    cursor: default; /* Pas de curseur pointer puisque la vidéo est directement lisible */
}

/* Optionnel : hover effect sur le conteneur vidéo */
.video-iframe-container:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}



/*Style slide*/

/* ========================================
   SECTION PROGRAMME - SLIDER 16 PILIERS
   ======================================== */

.program {
    padding: 80px 40px;
    background: #4a6ba4;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-family: 'Montserrat' ;
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.section-subtitle {
    text-align: center;
    font-size: 22px;
    color: rgba(255,255,255,0.95);
    margin-bottom: 50px;
}

/* Conteneur du slider */
.program-slider {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 80px; /* Espace pour les boutons */
}

/* Navigation (boutons flèches) */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    pointer-events: all;
    background: linear-gradient(135deg, #f4b95e, #f8d488);
    color: #4a6ba4;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(244, 185, 94, 0.4);
    position: relative;
}

.slider-btn:hover {
    background: linear-gradient(135deg, #f8d488, #f4b95e);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(244, 185, 94, 0.6);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Indicateurs de slide */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background: #f4b95e;
    width: 40px;
    border-radius: 8px;
    border-color: white;
    box-shadow: 0 0 15px rgba(244, 185, 94, 0.6);
}

/* Effet de pulsation sur l'indicateur actif */
.indicator.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #f4b95e;
    animation: pulse-indicator 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-indicator {
    0%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

/* Slides - Grid de cards */
.program-cards.slide {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    opacity: 0;
    transform: translateY(20px);
}

.program-cards.slide.active {
    display: grid;
    animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards individuelles */
.program-card {
    background: white;
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Effet de brillance au hover */
.program-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        transparent 40%,
        rgba(244, 185, 94, 0.1) 50%,
        transparent 60%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s ease;
}

.program-card:hover::before {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.program-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(244, 185, 94, 0.3);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.program-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(244, 185, 94, 0.4);
}

.card-icon svg {
    width: 50px;
    height: 50px;
    color: #4a6ba4;
}

.program-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: bold;
    color: #4a6ba4;
    transition: color 0.3s ease;
}

.program-card:hover h3 {
    color: #f4b95e;
}

.program-card p {
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

/* Animation en cascade pour les cards */
.program-cards.slide.active .program-card {
    opacity: 0;
    animation: fadeInCard 0.5s ease forwards;
}

.program-cards.slide.active .program-card:nth-child(1) { animation-delay: 0.1s; }
.program-cards.slide.active .program-card:nth-child(2) { animation-delay: 0.15s; }
.program-cards.slide.active .program-card:nth-child(3) { animation-delay: 0.2s; }
.program-cards.slide.active .program-card:nth-child(4) { animation-delay: 0.25s; }
.program-cards.slide.active .program-card:nth-child(5) { animation-delay: 0.3s; }
.program-cards.slide.active .program-card:nth-child(6) { animation-delay: 0.35s; }
.program-cards.slide.active .program-card:nth-child(7) { animation-delay: 0.4s; }
.program-cards.slide.active .program-card:nth-child(8) { animation-delay: 0.45s; }

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablette */
@media (max-width: 1024px) {
    .program-slider {
        padding: 0 70px;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
    }

    .slider-btn svg {
        width: 25px;
        height: 25px;
    }

    .program-cards.slide {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .program {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }

    .program-slider {
        padding: 0 60px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
    }

    .slider-btn svg {
        width: 22px;
        height: 22px;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .slide-indicators {
        gap: 12px;
        margin-bottom: 35px;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }

    .indicator.active {
        width: 35px;
    }

    .program-cards.slide {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .program-card {
        padding: 30px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .card-icon svg {
        width: 40px;
        height: 40px;
    }

    .program-card h3 {
        font-size: 20px;
    }

    .program-card p {
        font-size: 14px;
    }
}

/* Très petit mobile */
@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .program-slider {
        padding: 0 50px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

    .slide-indicators {
        gap: 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 30px;
    }

    .program-card {
        padding: 25px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .card-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Très très petit mobile */
@media (max-width: 360px) {
    .program-slider {
        padding: 0 45px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }
}



/* ============================================
   MASQUAGE RESPONSIVE
============================================ */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* ============================================
   SLIDER MOBILE
============================================ */
.program-slider-mobile {
    position: relative;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.program-cards-mobile-container {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.program-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.program-cards-mobile.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   CARTES MOBILE
============================================ */
.program-card-mobile {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(13, 79, 92, 0.1);
    border: 1px solid rgba(13, 79, 92, 0.08);
    transition: all 0.3s ease;
}

.program-card-mobile:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(13, 79, 92, 0.15);
}

.program-card-mobile .card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0d4f5c 0%, #0f6b78 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.program-card-mobile .card-icon svg {
    width: 28px;
    height: 28px;
    color: #f4b95e;
}

.program-card-mobile h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0d4f5c;
    margin-bottom: 10px;
    line-height: 1.3;
}

.program-card-mobile p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ============================================
   NAVIGATION MOBILE
============================================ */
.slider-navigation-mobile {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.slider-btn-mobile {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0d4f5c;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(13, 79, 92, 0.2);
}

.slider-btn-mobile:active {
    transform: scale(0.9);
    background: #0a3f49;
}

.slider-btn-mobile svg {
    width: 20px;
    height: 20px;
    color: #f4b95e;
}

 
.slide-indicators-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.indicator-mobile {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f4b95e;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-mobile.active {
    background: #0d4f5c;
    width: 24px;
    border-radius: 4px;
}

.indicator-mobile:active {
    transform: scale(1.1);
}

/* Écrans de bureau moins hauts */
@media screen and (max-height: 800px) and (min-width: 1024px) {
  /* Colonne gauche - réductions progressives */
  .hero-left {
    padding-top: 2rem !important;    /* 32px au lieu de 4rem (64px) */
    padding-bottom: 2rem !important;
    padding-left: 3rem !important;   /* 48px au lieu de 80px */
    padding-right: 2rem !important;  /* 32px au lieu de 40px */
  }

  /* Titres plus petits */
  .hero-left h1 {
    font-size: 4rem !important;      /* 64px au lieu de 6rem (96px) */
    margin-bottom: 0.5rem !important;
  }

  .hero-left h2 {
    font-size: 2rem !important;      /* 32px au lieu de 2.5rem (40px) */
    margin-bottom: 0.75rem !important;
  }

  /* Description */
  .hero-left p.max-w-xl {
    font-size: 1.1rem !important;    /* 17.6px au lieu de 22px */
    margin-bottom: 1rem !important;
    line-height: 1.5 !important;
  }

  /* Boutons */
  .hero-left .flex.items-center.gap-4 {
    margin-bottom: 1rem !important;
  }

  .hero-left .bg-\[--primary-yellow\] {
    font-size: 1rem !important;
    padding: 0.5rem 1.5rem !important;
  }

  /* Statistiques – 3 blocs */
  .hero-left .flex.gap-6 {
    gap: 0.75rem !important;
  }

  .hero-left .bg-white.rounded-lg {
    padding: 0.75rem 1rem !important; /* réduit */
  }

  .hero-left .text-3xl {
    font-size: 1.5rem !important;    /* 24px au lieu de 30px */
  }

  .hero-left .text-sm {
    font-size: 0.7rem !important;
  }

  /* Colonne droite – ajuster l’image et le drapeau */
  .photo-container {
    margin-top: 2rem !important;
    height: 90% !important;
  }

  .photo-container img {
    max-height: 550px !important;
  }

  img[alt="Drapeau"] {
    height: 12rem !important;        /* 192px au lieu de 20rem (320px) */
    right: -80px !important;
  }
}

/* Pour les écrans très bas (≤ 650px) */
@media screen and (max-height: 650px) and (min-width: 1024px) {
  .hero-left {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .hero-left h1 {
    font-size: 3.2rem !important;
  }

  .hero-left h2 {
    font-size: 1.6rem !important;
  }

  .hero-left .bg-white.rounded-lg {
    padding: 0.5rem 0.75rem !important;
  }

  .hero-left .text-3xl {
    font-size: 1.3rem !important;
  }

  /* Cacher un élément superflu si besoin */
  .hero-left .mb-6 .border-2 {
    display: none;
  }

  .photo-container {
    margin-top: 1rem !important;
  }

  img[alt="Drapeau"] {
    display: none; /* drapeau facultatif */
  }
}




.cta-login-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #4a6ba456, #2e4a8c);
    color: white;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cta-login-bar.hidden {
    transform: translateY(100%);
}

.cta-login-bar__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.cta-login-bar__text {
    display: flex;
    align-items: center;
    gap: 12px;
     
}

.cta-login-bar__emoji {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cta-login-bar__text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.cta-login-bar__text span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.cta-login-bar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cta-login-bar__btn--primary {
    background: #f4b95e;
    color: #2e4a8c;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.05rem;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.cta-login-bar__btn--primary:hover {
    background: #e6a840;
    transform: translateY(-1px);
}

.cta-login-bar__close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cta-login-bar__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

 

/* Responsive mobile */
@media (max-width: 640px) {
    .cta-login-bar__text {
        display: none;
    }

    .cta-login-bar__text strong {
        font-size: 0.9rem;
    }
}

nav ul li a {
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 0.15rem 0.5rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #f4b95e;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

nav ul li a:hover::after {
    width: 80%;
}

nav ul li a:hover {
    transform: none;
    color: #f4b95e;
}