:root {
            --primary: #00b4db;
            --primary-dark: #0083b0;
            --secondary: #ad00ff;
            --secondary-dark: #8a00d4;
            --accent: #ff006e;
            --accent-dark: #cc0059;
            --dark: #ffffff;
            --light: #141e30;
            --success: #00d2d3;
            --shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            --nav-transition: all 0.3s ease;
        }

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

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.7;
            color: var(--dark);
            background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
            background-attachment: fixed;
            min-height: 100vh;
        }

        header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
            border-radius: 0 0 20px 20px;
        }

        /* ANIMATIONS DES LIENS DE NAVIGATION */
        nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
            gap: 1.5rem;
            position: relative;
            z-index: 10;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            position: relative;
            overflow: hidden;
            transition: var(--nav-transition);
            z-index: 1;
        }

        /* Soulignement animé */
        nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transition: width 0.3s ease;
        }

        nav a:hover::before {
            width: 100%;
        }

        /* Lueur balayante */
        nav a::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: transform 0.5s ease;
            z-index: -1;
        }

        nav a:hover::after {
            transform: translateX(100%);
        }

        /* Translation et ombre */
        nav a:hover {
            transform: translateY(-3px);
            color: rgba(255, 255, 255, 0.9);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        /* FIN ANIMATIONS NAVIGATION */

        main {
            max-width: 1000px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        .page {
            display: none;
            animation: fadeIn 0.6s ease-out;
        }

        .page.active {
            display: block;
        }

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

        .hero-image,
        .image-gallery img {
            width: 100%;
            height: auto;
            object-fit: cover;
            object-position: center;
            display: block;
            transition: var(--transition);
            filter: brightness(0.95) contrast(1.05);
        }

        .hero-image {
            max-height: 400px;
            border-radius: 15px;
            margin: 0 auto 1.5rem;
            box-shadow: var(--shadow);
            min-height: 200px;
            background: linear-gradient(var(--light), #2c5364);
        }

        .image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }

        .image-gallery img {
            height: 200px;
            border-radius: 10px;
            box-shadow: var(--shadow);
        }

        .hero-image:hover,
        .image-gallery img:hover {
            transform: scale(1.02);
            filter: brightness(1.05);
        }

        /* ANIMATIONS DES CARTES */
        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: var(--shadow);
            padding: 2.5rem;
            margin-bottom: 2rem;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #243b55;
            position: relative;
            overflow: hidden;
            transform-style: preserve-3d;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
            z-index: -1;
            border-radius: 20px 20px 0 0;
        }

        .card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow:
                0 14px 28px rgba(0, 0, 0, 0.15),
                0 10px 10px rgba(0, 0, 0, 0.1);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .card::after {
            content: '';
            position: absolute;
            top: -100%;
            left: 0;
            width: 100%;
            height: 200%;
            background: linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.1) 50%,
                rgba(255, 255, 255, 0) 100%
            );
            transform: rotate(20deg);
            transition: transform 0.6s ease;
            pointer-events: none;
        }

        .card:hover::after {
            transform: translateY(100%) rotate(20deg);
        }

        .card h1, .card h2 {
            color: #243b55;
            margin-bottom: 1rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .card:hover h1, .card:hover h2 {
            transform: translateX(5px);
            color: var(--primary-dark);
        }

        .card h1::after, .card h2::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 50%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 3px;
            transition: width 0.3s ease, background 0.3s ease;
        }

        .card:hover h1::after,
        .card:hover h2::after {
            width: 70%;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
        }
        /* FIN ANIMATIONS CARTES */

        .card h2 {
            font-size: 1.5rem;
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .card p {
            margin-bottom: 1.5rem;
            color: #555;
            font-size: 1.05rem;
        }

        .dates {
            background: linear-gradient(135deg, rgba(0, 180, 219, 0.1), rgba(173, 0, 255, 0.1));
            padding: 1rem;
            border-radius: 10px;
            margin: 1.5rem 0;
            border-left: 5px solid var(--primary);
            font-weight: 600;
            color: var(--primary-dark);
        }

        .citation {
            font-style: italic;
            color: var(--accent-dark);
            text-align: center;
            margin: 2rem auto;
            padding: 1.5rem;
            background: rgba(255, 0, 110, 0.1);
            border-radius: 15px;
            max-width: 700px;
            position: relative;
            border-left: 4px solid var(--accent);
        }

        .citation::before, .citation::after {
            content: '"';
            font-size: 2rem;
            color: rgba(255, 0, 110, 0.3);
            position: absolute;
            top: -10px;
        }

        .citation::after {
            right: 0;
            bottom: auto;
        }

        .external-link {
            color: var(--secondary);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            position: relative;
            padding-bottom: 2px;
        }

        .external-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: var(--transition);
        }

        .external-link:hover::after {
            width: 100%;
        }

        .resources {
            background: rgba(173, 0, 255, 0.05);
            padding: 1.5rem;
            border-radius: 10px;
            margin: 2rem 0;
            border-left: 4px solid var(--secondary);
        }

        .resources h3 {
            color: var(--secondary-dark);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .resources h3::before {
            content: '📚';
            font-size: 1.2rem;
        }

        .resources ul {
            list-style: none;
            padding-left: 1rem;
        }

        .resources li {
            margin-bottom: 0.8rem;
            position: relative;
            padding-left: 1.5rem;
        }

        .resources li::before {
            content: '•';
            color: var(--secondary);
            position: absolute;
            left: 0;
            font-size: 1.2rem;
        }

        form {
            max-width: 600px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            padding: 2.5rem;
            border-radius: 20px;
            box-shadow: var(--shadow);
            transition: var(--transition);
            color: #243b55;
        }

        form:hover {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        form label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #243b55;
        }

        form input,
        form textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
            background: rgba(255, 255, 255, 0.8);
        }

        form input:focus,
        form textarea:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 3px rgba(173, 0, 255, 0.2);
            background: white;
        }

        form button {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 1rem;
            border-radius: 50px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1rem;
            width: 100%;
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
            background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
        }

        #confirmation {
            text-align: center;
            color: var(--success);
            font-weight: 600;
            margin-top: 1rem;
            display: none;
            font-size: 1.1rem;
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        footer {
            text-align: center;
            padding: 1.5rem;
            background: rgba(20, 30, 48, 0.9);
            color: white;
            margin-top: 3rem;
            border-radius: 20px 20px 0 0;
            backdrop-filter: blur(5px);
        }

        .back-to-top {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 50%;
            width: 55px;
            height: 55px;
            font-size: 1.3rem;
            cursor: pointer;
            box-shadow: var(--shadow);
            transition: var(--transition);
            z-index: 1000;
        }

        .back-to-top:hover {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
        }

        @media (max-width: 768px) {
            nav ul {
                flex-direction: column;
                gap: 0.5rem;
                align-items: center;
            }
            .card, form {
                padding: 1.5rem;
            }
            .hero-image {
                max-height: 250px;
            }
            .image-gallery {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
            .image-gallery img {
                height: 150px;
            }
        }

        @media (max-width: 480px) {
            .hero-image {
                max-height: 200px;
            }
            .image-gallery {
                grid-template-columns: 1fr;
            }
            .image-gallery img {
                height: auto;
                max-height: 250px;
            }
        }
 nav ul {
        display: flex;
        justify-content: center;
        list-style: none;
        gap: 1.5rem;
        position: relative;
    }

    nav a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 0.7rem 1.2rem;
        border-radius: 8px;
        position: relative;
        transition:
            background-color 0.3s ease,
            transform 0.2s ease,
            box-shadow 0.3s ease;
        overflow: hidden;
    }

    /* Effet 1: Fond qui apparaît + légère translation */
    nav a:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    /* Effet 2: Petit point coloré qui apparaît à droite */
    nav a::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -10px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
        opacity: 0;
        transform: translateY(-50%) scale(0.5);
        transition:
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    nav a:hover::after {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    /* Effet 3: Changement de couleur du texte (plus doux) */
    nav a:hover {
        color: rgba(255, 255, 255, 0.95);
    }

    /* Effet bonus: Transition plus douce pour les liens actifs */
    nav a.active {
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: 700;
    }