        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }


        /* NOUVEAUX STYLES D'EN-TÊTE ET DE NAVIGATION */
        header {
            background: linear-gradient(135deg, #dce3ea, #1a93bc);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
        }

        .navbar {
            padding: 1rem 0;
        }

        .navbar-brand img {
            height: 100px;
            border-radius: 5px;
        }
        .logo {
            height: 100px;
            border-radius: 5px;
        }

        .navbar-nav .nav-link {
            color: white !important;
            font-weight: 500;
            margin: 0 0.5rem;
            transition: transform 0.3s, color 0.3s;
        }

        .navbar-nav .nav-link:hover {
            transform: translateY(-2px);
            color: #FFD700 !important;
        }


        /* STYLES PERSONNALISÉS DU MENU MOBILE */
        @media (max-width: 991.98px) {
            /* Rend le menu dépliable pleine hauteur/largeur */
            .navbar-collapse {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: linear-gradient(135deg, #007BFF, #00BFFF); /* Fond comme l'en-tête */
                z-index: 1050; 
                padding-top: 5rem; 
                padding-left: 1rem;
                padding-right: 1rem;
                background-color: transparent !important;
            }

            /* Styles des éléments de liste pour la séparation */
            .navbar-nav .nav-item {
                margin: 0;
                border-bottom: 2px solid rgba(255, 255, 255, 0.4); /* Ligne de séparation */
                padding: 0.5rem 0; 
            }
            
            .navbar-nav .nav-link {
                font-size: 1.25rem; 
                font-weight: 500;
                padding-left: 0; 
            }
            
            /* Style du bouton de fermeture personnalisé (X en haut à droite) */
            .btn-close-mobile {
                position: absolute;
                top: 1.5rem;
                right: 1rem;
                font-size: 2rem;
                background: none;
                border: none;
                color: white;
                z-index: 1060;
                cursor: pointer;
                padding: 0.5rem;
            }

            .btn-close-mobile i {
                color: white;
            }
            
            .navbar-brand {
                position: relative; 
                z-index: 1060; 
            }

            .navbar-brand .logo-container {
                width: 100%;
                text-align: left;
                padding-left: 0;
            }
            
            .nav-list-container {
                width: 100%;
                margin-left: 0 !important;
            }
        }
        /* FIN DES NOUVEAUX STYLES D'EN-TÊTE */

        main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        h1 {
            font-size: 2.5rem;
            color: #007BFF;
            margin-bottom: 1rem;
            text-align: center;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
        }

        .intro-text {
            text-align: center;
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 3rem;
            opacity: 0;
            animation: fadeIn 1s ease-in forwards;
            animation-delay: 0.2s;
        }

        .events-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .event-card {
            display: flex;
            background: white;
            border-radius: 12px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        .event-image-container {
            flex: 1;
            min-width: 40%;
            height: auto;
        }

        .event-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .event-card:hover .event-image-container img {
            transform: scale(1.05);
        }

        .event-content {
            flex: 1.5;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .event-content h2 {
            font-size: 1.8rem;
            color: #007BFF;
            margin-bottom: 0.5rem;
        }

        .date-location {
            font-weight: bold;
            color: #28A745;
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .description {
            color: #555;
            margin-bottom: 1.5rem;
        }

        /* COUNTDOWN STYLES */
        .countdown {
            display: flex;
            justify-content: space-between;
            background-color: #f0f8ff;
            border: 1px solid #cce5ff;
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            margin-bottom: 1.5rem;
        }

        .timer-unit {
            text-align: center;
            font-size: 0.9rem;
            color: #007BFF;
            font-weight: 500;
        }

        .timer-unit span {
            display: block;
            font-size: 1.8rem;
            font-weight: bold;
            color: #333;
        }

        /* REGISTRATION FORM STYLES */
        .registration-form {
            background: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px dashed #ddd;
        }

        .registration-form h3 {
            font-size: 1.2rem;
            color: #333;
            margin-bottom: 1rem;
            border-bottom: 2px solid #f0f0f0;
            padding-bottom: 0.5rem;
        }

        .registration-form input {
            width: 100%;
            padding: 0.75rem;
            margin-bottom: 0.75rem;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .register-button {
            width: 100%;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 50px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .purchase-button {
            background: linear-gradient(135deg, #28A745, #90EE90);
        }

        .register-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
        }
        
        .purchase-button:hover {
            box-shadow: 0 4px 10px rgba(255, 165, 0, 0.4);
        }
        
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 0.75rem;
            border-radius: 5px;
            margin-top: 1rem;
            text-align: center;
            font-size: 0.9rem;
        }
        
        /* PAST EVENTS SUMMARY */
        .past-events-summary {
            text-align: center;
            background-color: #E6F7E9;
            padding: 3rem 2rem;
            border-radius: 12px;
            margin-top: 4rem;
            border: 2px solid #28A745;
        }
        
        .past-events-summary h2 {
            color: #28A745;
            font-size: 2rem;
            margin-bottom: 1rem;
        }
        
        .report-link {
            display: inline-block;
            color: #007BFF;
            text-decoration: underline;
            font-weight: bold;
            margin-top: 1rem;
        }
        
        .report-link:hover {
            color: #00BFFF;
        }


        footer {
            background: linear-gradient(135deg, #343a40 0%, #495057 100%);
            color: white;
            text-align: center;
            padding: 2rem 1rem;
            margin-top: 3rem;
        }

        footer .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        footer p {
            margin: 0.5rem 0;
        }

        footer a {
            color: white;
            margin: 0 1rem;
            text-decoration: none;
            transition: color 0.3s;
        }

        footer a:hover {
            color: #00BFFF;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @media (max-width: 991.98px) {
            .event-card {
                flex-direction: column;
            }

            .event-image-container {
                min-width: 100%;
                height: 250px;
            }
            
            .event-content {
                padding: 1.5rem;
            }
            
            .countdown {
                padding: 0.8rem;
            }
            
            .timer-unit span {
                font-size: 1.4rem;
            }
            
            h1 {
                font-size: 1.8rem;
            }
        }