* { font-family: 'Montserrat', sans-serif; }
        html { scroll-behavior: smooth; }
        
        .gradient-text {
            background: linear-gradient(135deg, #0099cc 0%, #00bfff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .nav-blur {
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }
        
        /* Form animations */
        .form-input {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .form-input:focus {
            transform: translateY(-2px);
            box-shadow: 0 10px 40px -10px rgba(0, 153, 204, 0.3);
        }
        
        /* Button animation */
        .btn-animated {
            position: relative;
            overflow: hidden;
            transition: all 0.4s ease;
        }
        
        .btn-animated::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s ease;
        }
        
        .btn-animated:hover::before {
            left: 100%;
        }
        
        .btn-animated:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px -10px rgba(0, 153, 204, 0.5);
        }
        
        /* Card hover */
        .card-lift {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .card-lift:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        }
        
        /* Timeline animations */
        .timeline-item {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s ease;
        }
        
        .timeline-item.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .timeline-dot {
            transform: scale(0);
            transition: transform 0.4s ease;
            position: absolute;
        }
        
        .timeline-dot.visible {
            transform: scale(1);
        }
        
        @keyframes pulse-ring {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.5); opacity: 0; }
        }
        
        .timeline-dot::before {
            content: '';
            position: absolute;
            inset: -4px;
            border: 2px solid #0099cc;
            border-radius: 50%;
            animation: pulse-ring 2s infinite;
        }
        
        /* Fade in animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .animate-fade-in {
            animation: fadeInUp 0.6s ease forwards;
        }
        
        .delay-100 { animation-delay: 0.1s; opacity: 0; }
        .delay-200 { animation-delay: 0.2s; opacity: 0; }
        .delay-300 { animation-delay: 0.3s; opacity: 0; }
        .delay-400 { animation-delay: 0.4s; opacity: 0; }
        
        /* Programme card hover */
        .programme-card {
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
        }
        
        .programme-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 0;
            background: linear-gradient(180deg, #0099cc, #00bfff);
            transition: height 0.4s ease;
        }
        
        .programme-card:hover::before {
            height: 100%;
        }
        
        .programme-card:hover {
            transform: translateX(10px);
            background: rgba(0, 153, 204, 0.1);
        }

/* =========================================
   ========================================= */

/* ===== FOOTER ===== */
.footer {
    background: #020617;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    color: var(--white);
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
    color: var(--white);
}

.footer-brand p {
    color: var(--white);
    font-size: 14px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-links ul li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .objectives-grid,
    .benefits-grid,
    .participation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sponsors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .sponsor-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        gap: 15px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 15px;
        min-width: 65px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .objectives-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .participation-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .registration-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .organizers-grid {
        gap: 25px;
    }
    
    .countdown-item {
        padding: 12px;
        min-width: 55px;
    }
    
    .countdown-number {
        font-size: 20px;
    }
}


/* //// RESOLUTION PHONE  */

@media (max-width: 400px) {
    /* Hero (section #accueil) plus compact et sans gros cercle qui déborde */
    #accueil {
        padding-top: 120px;
        padding-bottom: 56px;
    }

    #hero-ring {
        display: none;
    }

    #accueil h1 {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    #accueil p {
        font-size: 0.95rem;
    }

    /* Bouton / CTA */
    #accueil .btn-animated {
        width: 100%;
        justify-content: center;
    }

    /* Bloc stats (10K+, 30+, 2 jours) */
    #accueil .grid {
        gap: 1.5rem;
    }

    /* Countdown (Jours / Heures / Min / Sec) bien centré et sans décalage */
    #accueil .inline-flex {
        flex-wrap: wrap;
        justify-content: center;
    }
#accueil

    #accueil .inline-flex > div {
        min-width: 64px;
    }

    #accueil .inline-flex .text-2xl,
    #accueil .inline-flex .text-4xl {
        font-size: 1.5rem;
    }
}

