        /* --- VARIABLES ET RESET --- */
        :root {
            --primary: #ff8c00; /* Orange Nitro */
            --glass: rgba(255, 255, 255, 0.1);
            --dark-bg: rgba(0, 0, 0, 0.75);
        }

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

        /* --- CORPS DE PAGE --- */
        body {
            font-family: 'Roboto', sans-serif;
            color: white;
            min-height: 100vh;
            background: linear-gradient(var(--dark-bg), var(--dark-bg)), url("ROBOT.png");
            --dark-bg: rgba(0, 0, 0, 0.3);
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
            display: flex;
            flex-direction: column;
        }

        /* --- EN-TÊTE --- */
        header {
            padding: 40px 20px;
            text-align: center;
        }

        .logo-group {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 25px;
        }

        #logo {
            width: 80px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
        }

        #minilogo{
            width: 25px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
            margin-bottom: -6px;
        }

        #minilogoinsta{
            width: 25px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
            margin-bottom: -7px;
        }

        #minilogoftc{
            width: 80px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
            margin-bottom: -4px;
        }
		
        #image {
            width: 300px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
			border-radius: 20px;
        }
		
		#logoFTC {
            width: 220px;
            filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
            
        }

        h1 {
            font-family: 'Orbitron', sans-serif;
            color: var(--primary);
            font-size: clamp(2rem, 8vw, 3.5rem);
            text-transform: uppercase;
            letter-spacing: 4px;
        }

        nav {
            background: white;
            display: inline-flex;
            gap: 20px;
            padding: 12px 30px;
            border-radius: 50px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        nav a {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

        nav a:hover {
            color: var(--primary);
        }

        /* --- CONTENU PRINCIPAL --- */
        .main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .grid-container {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 30px;
            max-width: 1100px;
            width: 100%;
        }

        .glass-panel {
            background: var(--glass);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255,255,255,0.1);
            padding: 40px;
            border-radius: 20px;
        }

		.glass-panel:hover {
            border-color: var(--primary);
            box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
            background: rgba(255, 255, 255, 0.08);
		}

        h2 {
			font-family: 'Orbitron', sans-serif;
			margin-bottom: 20px;
			border-left: 4px solid var(--primary);
			padding-left: 15px;
        }
		

        #p1 {
            line-height: 1.6;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        /* --- LISTE DES MEMBRES AVEC EFFETS --- */
        .team-list {
            display: grid;
            grid-template-columns: 1fr 1fr;
            list-style: none;
            gap: 15px;
        }

        .team-list li {
            padding: 10px;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: default;
        }

        .team-list li:hover {
            background: rgba(255, 140, 0, 0.15);
            transform: translateX(10px);
            color: var(--primary);
        }
		
		.team-list li a {
			text-decoration: none;
			color: inherit; /* Garde la couleur blanche du texte */
			display: block; /* Permet de cliquer sur toute la ligne */
		}

        /* --- IMAGES --- */
        .side-assets {
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
        }

        .side-assets img {
            width: 100%;
            max-width: 220px;
            transition: transform 0.4s;
			border-radius: 20px;
        }

        .side-assets img:hover {
            transform: scale(1.05);
        }

        /* --- PIED DE PAGE --- */
        footer {
            background: rgba(0,0,0,0.9);
            padding: 30px;
            text-align: center;
            border-top: 1px solid var(--primary);
        }

        .social-links {
            margin-bottom: 15px;
        }

        .social-links a {
            color: white;
            text-decoration: none;
            margin: 0 15px;
            font-size: 0.9rem;
            opacity: 0.7;
            transition: opacity 0.3s, color 0.3s;
        }

        .social-links a:hover {
            opacity: 1;
            color: var(--primary);
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 850px) {
            .grid-container {
                grid-template-columns: 1fr;
            }
            .side-assets {
                order: -1;
            }
            .team-list {
                grid-template-columns: 1fr;
            }
        }

		/* --- LISTE DES MEMBRES --- */
		.team-list li {
			position: relative; /* Indispensable pour que l'image se place par rapport au nom */
			padding: 10px;
			border-radius: 8px;
			transition: all 0.3s ease;
			cursor: default;
			z-index: 1; /* Niveau de base */
		}
		
		/* --- STYLE DE L'IMAGE AU SURVOL --- */
		.team-list li img {
			display: none;        /* Cachée par défaut */
			position: absolute;   /* Sort l'image du flux pour la mettre par-dessus */
			top: -20px;           /* Ajustez pour la position verticale */
			left: 200px;           /* Ajustez pour la position horizontale */
			width: 120px;         /* Largeur de la photo */
			height: auto;
			border-radius: 10px;
			border: 2px solid var(--primary); /* Rappel de l'orange Nitro */
			box-shadow: 0 10px 20px rgba(0,0,0,0.5);
			z-index: 99;          /* Force l'image à passer au-dessus de TOUT */
			pointer-events: none; /* Empêche l'image de clignoter si la souris passe dessus */
        }

		/* --- DÉCLENCHEUR --- */
		.team-list li:hover img {
			display: block; /* Affiche l'image uniquement au survol */
		}

		.team-list li:hover {
			z-index: 100; /* Assure que le nom survolé passe aussi devant les autres */
			background: rgba(255, 140, 0, 0.15);
		}

        .button {
            background: rgba(204, 168, 124, 0);
            color: white;
            transition: background 0.3s, transform 0.3s;
            padding: 10px 20px;
            border: 1px solid var(--primary);
            border-radius: 5px;
            cursor: pointer;
            box-shadow: 0 5px 20px rgba(248, 220, 169, 0.795);
        }

        .button:hover {
            background:  rgba(238, 139, 18, 0.726);
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(209, 137, 3, 0.795);
        }
		
		/* Card Styling */
		.card-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
			gap: 2.5rem;
		}

		.card {
			background-color: var(--card-bg);
			border-radius: 12px;
			overflow: hidden;
			box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
			transition: transform var(--transition-speed), box-shadow var(--transition-speed);
			display: flex;
			flex-direction: column;
		}
		.card:hover {
			transform: translateY(-10px);
			box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
		}

		.card-img {
			width: 100%;
			height: 220px;
			object-fit: cover;
			border-bottom: 3px solid var(--primary-red);
		}

		.card-content {
			padding: 1.8rem;
			flex-grow: 1;
			display: flex;
			flex-direction: column;
		}

		.card-content h3 {
			font-size: 1.8rem;
			color: var(--primary-red);
			margin-bottom: 1rem;
		}

		.card-content p {
			color: var(--text-grey);
			font-size: 1rem;
			margin-bottom: 1.5rem;
			flex-grow: 1;
		}

		.card-link {
			display: inline-block;
			color: var(--primary-red);
			text-decoration: none;
			font-weight: bold;
			transition: color var(--transition-speed);
			align-self: flex-start;
		}
		.card-link:hover {
			color: white;
		}

        
        /* ===== LIGHTBOX ===== */

        .lightbox {
            display: none;
            position: fixed;
            z-index: 9999;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            justify-content: center;
            align-items: center;
        }

        .lightbox-content {
            max-width: 80%;
            max-height: 80%;
            border-radius: 20px;
            animation: zoom 0.3s ease;
        }

        @keyframes zoom {
            from { transform: scale(0.7); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .close {
            position: absolute;
            top: 30px;
            right: 40px;
            font-size: 40px;
            color: white;
            cursor: pointer;
            transition: 0.3s;
        }

        .close:hover {
            color: var(--primary);
        }

        /* Curseur zoom */
        .lightbox-img {
            width: 300px;
            border-radius: 20px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        #carousel { font-family: sans-serif; display: flex; justify-content: center; align-items: center;  }

        .carousel-container {
            position: relative;
            width: 80%;
            max-width: 800px;
            overflow: hidden;
            border-radius: 10px;
        }

        .carousel-slide {
            display: flex;
            /* On commence avec une transition, mais on la coupera via JS pour le saut invisible */
            transition: transform 0.5s ease-in-out;
        }

        .carousel-slide img {
            width: 100%;
            flex-shrink: 0; /* Empêche les images de rétrécir */
            display: block;
        }

        .btn-nav {
            position: absolute;
            top: 50%; transform: translateY(-50%);
            background: rgba(0,0,0,0.5); color: white;
            border: none; font-size: 2rem; padding: 15px;
            cursor: pointer; z-index: 10; border-radius: 5px;
        }
        .btn-nav:hover { background: rgba(0,0,0,0.8); }
        .prev { left: 10px; }
        .next { right: 10px; }
