    /* Particules d'arrière-plan */
    #particles-js {
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        opacity: 0.1;
    }
    
    /* Section héro */
    .hero-section {
        text-align: center;
        padding: 40px 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        border-radius: 20px;
        margin-bottom: 40px;
        position: relative;
        overflow: hidden;
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 20s linear infinite;
    }
    
    @keyframes rotate {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Titre animé */
    .formation-title {
        color: #2c3e50;
        font-weight: 700;
        font-size: 3rem;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
        background: linear-gradient(45deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .animate-title {
        animation: titleGlow 3s ease-in-out infinite alternate;
    }
    
    @keyframes titleGlow {
        0% { text-shadow: 0 0 20px rgba(102, 126, 234, 0.5); }
        100% { text-shadow: 0 0 30px rgba(118, 75, 162, 0.8); }
    }
    
    .subtitle {
        color: #6c757d;
        font-size: 1.2rem;
        position: relative;
        z-index: 1;
    }
    
    /* Section statistiques */
    .stats-section {
        margin: 40px 0;
    }
    
    .stat-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 30px 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .stat-card::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.5s;
    }
    
    .stat-card:hover::before {
        left: 100%;
    }
    
    .stat-card:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }
    
    .stat-number {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .stat-label {
        font-size: 1rem;
        opacity: 0.9;
    }
    
    /* Cartes de formation améliorées */
    .formation-card {
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border: none;
        border-radius: 15px;
        overflow: hidden;
        position: relative;
        background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    }
    
    .formation-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }
    
    .formation-card:hover::before {
        transform: scaleX(1);
    }
    
    .formation-card:hover {
        transform: translateY(-15px) rotateX(5deg);
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    }
    
    .card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .formation-card:hover .card-overlay {
        opacity: 1;
    }
    
    .formation-card .card-header {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 20px;
    }
    
    .formation-card .card-body {
        padding: 25px;
        position: relative;
        z-index: 2;
    }
    
    .formation-card .card-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 15px;
        transition: color 0.3s ease;
    }
    
    .formation-card:hover .card-title {
        color: #667eea;
    }
    
    /* Badges animés */
    .badge {
        font-size: 0.8rem;
        padding: 8px 12px;
        font-weight: 500;
        border-radius: 20px;
        position: relative;
        overflow: hidden;
    }
    
    .bg-gradient-primary {
        background: linear-gradient(45deg, #667eea, #764ba2) !important;
    }
    
    .bg-gradient-secondary {
        background: linear-gradient(45deg, #6c757d, #495057) !important;
    }
    
    .pulse-badge {
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
        100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
    }
    
    /* Boutons améliorés */
    .glow-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .glow-btn::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;
    }
    
    .glow-btn:hover::before {
        left: 100%;
    }
    
    .glow-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
    
    .shine-btn {
        position: relative;
        overflow: hidden;
        background: linear-gradient(45deg, #667eea, #764ba2);
        border: none;
        color: white;
        transition: all 0.3s ease;
    }
    
    .shine-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transition: left 0.6s;
    }
    
    .shine-btn:hover::before {
        left: 100%;
    }
    
    .shine-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
        color: white;
    }
    
    .pulse-btn {
        animation: buttonPulse 2s infinite;
    }
    
    @keyframes buttonPulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    /* Filtres améliorés */
    .filter-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .bg-gradient-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    }
    
    .custom-select {
        height: 50px;
        border-radius: 10px;
        border: 2px solid #e9ecef;
        padding: 0.5rem 1rem;
        transition: all 0.3s ease;
        background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    }
    
    .custom-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        transform: translateY(-2px);
    }
    
    /* Alertes animées */
    .animated-alert {
        animation: slideInDown 0.5s ease-out;
        border-radius: 10px;
        border: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    @keyframes slideInDown {
        0% {
            transform: translateY(-30px);
            opacity: 0;
        }
        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .formation-title {
            font-size: 2rem;
        }
        
        .stat-number {
            font-size: 2rem;
        }
        
        .formation-card:hover {
            transform: translateY(-10px);
        }
    }
    
    /* Style pour l'impression */
    @media print {
        .no-print {
            display: none !important;
        }
        
        #particles-js {
            display: none !important;
        }
        
        .formation-card {
            break-inside: avoid;
            box-shadow: none !important;
            border: 1px solid #ddd;
        }
    }
    
    /* Styles dynamiques extraits du JS */
    .animate-fade-in {
        animation: fadeIn 0.4s ease-out;
    }
    
    @keyframes fadeIn {
        from { 
            opacity: 0; 
            transform: translateY(20px) scale(0.95); 
        }
        to { 
            opacity: 1; 
            transform: translateY(0) scale(1); 
        }
    }
    
    .formation-card {
        transition: all 0.3s ease;
        margin-bottom: 1rem;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .formation-card.animate-fade-in {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Assurer que les colonnes se réorganisent correctement */
    #formations-container {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    /* Correction pour le bug de l'espace avant la première case */
    /* Les pseudo-éléments de .row (Bootstrap) interfèrent avec flex et gap */
    #formations-container::before,
    #formations-container::after {
        display: none !important;
        content: none !important;
    }
    
    #formations-container .col-lg-4 {
        flex: 0 0 calc(33.333% - 0.67rem);
        max-width: calc(33.333% - 0.67rem);
    }
    
    @media (max-width: 991.98px) {
        #formations-container .col-lg-4 {
            flex: 0 0 calc(50% - 0.5rem);
            max-width: calc(50% - 0.5rem);
        }
    }
    
    @media (max-width: 767.98px) {
        #formations-container .col-lg-4 {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
    
    .formation-badges .badge {
        font-size: 0.75em;
        margin-right: 0.25rem;
    }
    
    .custom-select {
        border-radius: 8px;
        border: 2px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .custom-select:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }
