
        /* ========== RESET & VARIABLES ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-dark: #1a1a2e;
            --primary-red: #8B1538;
            --primary-burgundy: #5C1A33;
            --accent-blue: #2E5077;
            --accent-light-blue: #4DA8DA;
            --text-light: #ffffff;
            --text-gray: #b0b0b0;
            --bg-dark: #0d0d1a;
            --bg-card: #151528;
            --gradient-main: linear-gradient(135deg, #8B1538 0%, #2E5077 100%);
            --gradient-text: linear-gradient(135deg, #5C1A33 0%, #2E5077 100%);
            --transition: all 0.3s ease;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-dark);
            color: var(--text-light);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        

        /* ========== HEADER ========== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(13, 13, 26, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 15px 0;
        }

        header .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: 800;
            background: var(--gradient-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            position: relative;
        }

        .logo-icon svg {
            width: 100%;
            height: 100%;
        }

        nav ul {
            display: flex;
            gap: 35px;
        }

        nav a {
            font-weight: 500;
            position: relative;
            padding: 5px 0;
            transition: var(--transition);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-main);
            transition: var(--transition);
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

        .btn {
            padding: 12px 28px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 0.95rem;
        }

        .btn-primary {
            background: var(--gradient-main);
            color: var(--text-light);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(139, 21, 56, 0.3);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary-red);
            color: var(--text-light);
        }

        .btn-outline:hover {
            background: var(--primary-red);
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 10px;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--text-light);
            transition: var(--transition);
        }

        /* ========== HERO SECTION ========== */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding-top: 100px;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%"><stop offset="0%" stop-color="%238B1538" stop-opacity="0.3"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><circle cx="20" cy="20" r="30" fill="url(%23g)"/><circle cx="80" cy="80" r="40" fill="url(%23g)"/></svg>');
            background-size: cover;
            opacity: 0.5;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 3.2rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .hero-text h1 span {
            background: var(--gradient-main);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-text p {
            font-size: 1.1rem;
            color: var(--text-gray);
            margin-bottom: 30px;
            max-width: 500px;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .hero-image {
            position: relative;
        }

        .hero-image img {
            border-radius: 20px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
        }

        .hero-image::before {
            content: '';
            position: absolute;
            top: -20px;
            right: -20px;
            width: 100%;
            height: 100%;
            border: 3px solid var(--primary-red);
            border-radius: 20px;
            z-index: -1;
        }

        /* ========== STATS SECTION ========== */
        .stats {
            padding: 80px 0;
            background: linear-gradient(180deg, transparent 0%, rgba(139, 21, 56, 0.1) 50%, transparent 100%);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            text-align: center;
        }

        .stat-item {
            padding: 40px;
            background: var(--bg-card);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .stat-item:hover {
            transform: translateY(-10px);
            border-color: var(--primary-red);
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 800;
            background: var(--gradient-main);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 1.1rem;
            color: var(--text-gray);
            margin-top: 10px;
        }

        /* ========== SECTION TITLES ========== */
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .section-title p {
            color: var(--text-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* ========== ABOUT SECTION ========== */
        .about {
            padding: 100px 0;
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(139, 21, 56, 0.2) 0%, transparent 70%);
            transform: translateY(-50%);
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        .about-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
        }

        .about-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        .about-image::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(transparent, rgba(139, 21, 56, 0.8));
        }

        .about-text h2 {
            font-size: 2.5rem;
            margin-bottom: 25px;
        }

        .about-text h2 span {
            background: var(--gradient-main);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .about-text p {
            color: var(--text-gray);
            margin-bottom: 20px;
            line-height: 1.8;
        }

        /* ========== MISSION & VALUES ========== */
        .mission-values {
            padding: 100px 0;
            background: var(--bg-card);
        }

        .mission-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 60px;
        }

        .mission-card {
            padding: 40px;
            background: var(--bg-dark);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
            transition: var(--transition);
        }

        .mission-card:hover {
            border-color: var(--primary-red);
            transform: translateY(-5px);
        }

        .mission-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-main);
        }

        .mission-card h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: var(--accent-light-blue);
        }

        .mission-card p {
            color: var(--text-gray);
            line-height: 1.8;
        }

        .impact-section {
            margin-top: 60px;
            padding: 50px;
            background: linear-gradient(135deg, rgba(139, 21, 56, 0.2) 0%, rgba(46, 80, 119, 0.2) 100%);
            border-radius: 20px;
            text-align: center;
        }

        .impact-section h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .impact-section p {
            color: var(--text-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        /* ========== ACTIVITIES SECTION ========== */
        .activities {
            padding: 100px 0;
        }

        .activities-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .activity-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .activity-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-red);
        }

        .activity-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .activity-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .activity-card:hover .activity-image img {
            transform: scale(1.1);
        }

        .activity-tag {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 5px 15px;
            background: var(--primary-red);
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .activity-content {
            padding: 25px;
        }

        .activity-content h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .activity-content p {
            color: var(--text-gray);
            font-size: 0.95rem;
        }

        /* ========== PROJECTS SECTION ========== */
        .projects {
            padding: 100px 0;
            background: var(--bg-card);
        }

        .project-hero {
            position: relative;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .project-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(139, 21, 56, 0.8) 0%, rgba(46, 80, 119, 0.8) 100%);
        }

        .project-hero-content {
            position: relative;
            z-index: 2;
            text-align: center;
        }

        .project-hero-content h2 {
            font-size: 3rem;
            margin-bottom: 15px;
        }

        .project-hero-content p {
            color: var(--text-gray);
            margin-bottom: 25px;
        }

        .filter-tabs {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .filter-tab {
            padding: 10px 25px;
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 25px;
            color: var(--text-light);
            cursor: pointer;
            transition: var(--transition);
            font-family: inherit;
        }

        .filter-tab:hover,
        .filter-tab.active {
            background: var(--primary-red);
            border-color: var(--primary-red);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .project-card {
            background: var(--bg-dark);
            border-radius: 15px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .project-card:hover {
            border-color: var(--primary-red);
        }

        .project-image {
            height: 180px;
            overflow: hidden;
        }

        .project-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .project-info {
            padding: 20px;
        }

        .project-info span {
            color: var(--primary-red);
            font-size: 0.85rem;
            font-weight: 600;
        }

        .project-info h4 {
            margin: 10px 0;
        }

        .project-info p {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        .dev-section {
            margin-top: 60px;
            padding: 40px;
            background: var(--bg-dark);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .dev-section h3 {
            margin-bottom: 25px;
            color: var(--accent-light-blue);
        }

        .dev-card {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: var(--bg-card);
            border-radius: 15px;
        }

        .dev-card i {
            font-size: 2.5rem;
            color: var(--primary-red);
        }

        /* ========== EVENTS SECTION ========== */
        .events {
            padding: 100px 0;
        }

        .events-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .event-card {
            background: var(--bg-card);
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .event-card:hover {
            transform: translateY(-10px);
            border-color: var(--primary-red);
        }

        .event-image {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .event-date {
            position: absolute;
            top: 15px;
            left: 15px;
            padding: 8px 15px;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 10px;
            font-size: 0.85rem;
        }

        .event-content {
            padding: 25px;
        }

        .event-content h3 {
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

        .event-content p {
            color: var(--text-gray);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .event-location {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--text-gray);
            font-size: 0.85rem;
        }

        /* ========== TEAM SECTION ========== */
        .team {
            padding: 100px 0;
            background: var(--bg-card);
        }

        .team-track {
            display: flex;
            gap: 30px;
            animation: scrollTeam 40s linear infinite; /* Défilement auto */
            width: calc(250px * 12); /* Ajuster selon le nombre de membres */
        }
        .team-slider {
            width: 100%;
            overflow: hidden;
            padding: 20px 0;
        }
        .team-member {
            text-align: center;
            padding: 30px 20px;
            background: var(--bg-dark);
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .team-member:hover {
            transform: translateY(-10px);
            border-color: var(--primary-red);
        }

        .member-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            margin: 0 auto 20px;
            background: var(--gradient-main);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            overflow: hidden;
        }

        .member-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .team-member h4 {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }

        .team-member p {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        /* ========== JOIN SECTION ========== */
        .join {
            padding: 100px 0;
        }

        .join-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
        }

        .join-form {
            background: var(--bg-card);
            padding: 50px;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .join-form h2 {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .join-form > p {
            color: var(--text-gray);
            margin-bottom: 30px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            background: var(--bg-dark);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: var(--text-light);
            font-family: inherit;
            transition: var(--transition);
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-red);
        }

        .form-group textarea {
            min-height: 120px;
            resize: vertical;
        }

        .join-form .btn {
            width: 100%;
            padding: 15px;
            font-size: 1rem;
        }

        .join-info {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .info-card {
            padding: 30px;
            background: var(--bg-card);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .info-card h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: var(--accent-light-blue);
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        .info-item i {
            width: 40px;
            height: 40px;
            background: var(--gradient-main);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            background: var(--bg-dark);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--primary-red);
            transform: translateY(-3px);
        }

        .map-placeholder {
            height: 200px;
            background: var(--bg-dark);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-gray);
        }

        /* ========== NEWSLETTER ========== */
        .newsletter {
            padding: 80px 0;
            background: linear-gradient(135deg, rgba(139, 21, 56, 0.3) 0%, rgba(46, 80, 119, 0.3) 100%);
        }

        .newsletter-content {
            text-align: center;
            max-width: 600px;
            margin: 0 auto;
        }

        .newsletter-content h2 {
            font-size: 2rem;
            margin-bottom: 15px;
        }

        .newsletter-content p {
            color: var(--text-gray);
            margin-bottom: 30px;
        }

        .newsletter-form {
            display: flex;
            gap: 15px;
            max-width: 500px;
            margin: 0 auto;
        }

        .newsletter-form input {
            flex: 1;
            padding: 15px 20px;
            background: var(--bg-dark);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 25px;
            color: var(--text-light);
            font-family: inherit;
        }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--primary-red);
        }
        /* ========== MODAL / POP-UP (Nouveau) ========== */
        .modal {
            display: none; 
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(8, 8, 20, 0.9);
            backdrop-filter: blur(8px);
            align-items: center;
            justify-content: center;
        }
        .modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none; align-items: center; justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: var(--bg-card); /* Ton fond sombre */
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--primary-red);
    width: 90%; max-width: 400px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute; right: 20px; top: 15px;
    color: var(--text-gray); font-size: 24px; cursor: pointer;
}

.input-pill {
    width: 100%; padding: 12px 20px; margin-bottom: 15px;
    border-radius: 30px; border: 1.5px solid var(--text-gray);
    background: var(--bg-dark); color: white; outline: none;
}

.input-pill:focus { border-color: var(--primary-red); }
.modal-overlay {
    display: none; /* Masqué par défaut */
    position: fixed;
    z-index: 2000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}
.modal-box {
    background: #121212;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    position: relative;
    color: white;
}
.close-modal {
    position: absolute;
    right: 20px; top: 15px;
    font-size: 30px; cursor: pointer;
}
.modal-box .form-group { margin-bottom: 15px; text-align: left; }
.modal-box input {
    width: 100%; padding: 12px; border-radius: 5px;
    background: #1a1a1a; border: 1px solid #333; color: white;
}
        .modal-content {
            background: var(--bg-card);
            padding: 40px;
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            border: 1px solid var(--primary-red);
            position: relative;
            animation: fadeInUp 0.4s ease;
        }

        .close-modal {
            position: absolute;
            right: 20px;
            top: 15px;
            font-size: 28px;
            cursor: pointer;
            color: var(--text-gray);
        }

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

        /* ========== FOOTER ========== */
        footer {
            padding: 80px 0 30px;
            background: var(--primary-dark);
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-about h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            background: var(--gradient-main);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-about p {
            color: var(--text-gray);
            margin-bottom: 20px;
            line-height: 1.8;
        }

        .footer-links h4 {
            font-size: 1.1rem;
            margin-bottom: 25px;
        }

        .footer-links ul {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .footer-links a {
            color: var(--text-gray);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--text-light);
            padding-left: 5px;
        }

        .footer-bottom {
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            color: var(--text-gray);
        }
        .map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 250px;
}

        /* ========== RESPONSIVE DESIGN ========== */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .hero-buttons {
                justify-content: center;
            }

            .hero-image {
                display: none;
            }

            .about-content {
                grid-template-columns: 1fr;
            }

            .mission-grid {
                grid-template-columns: 1fr;
            }

            .activities-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .events-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (max-width: 768px) {
            nav {
                position: fixed;
                top: 80px;
                left: 0;
                right: 0;
                background: var(--bg-dark);
                padding: 20px;
                transform: translateX(-100%);
                transition: var(--transition);
            }

            nav.active {
                transform: translateX(0);
            }

            nav ul {
                flex-direction: column;
                gap: 20px;
            }

            .menu-toggle {
                display: flex;
            }

            header .btn {
                display: none;
            }

            .hero-text h1 {
                font-size: 2rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .activities-grid {
                grid-template-columns: 1fr;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .events-grid {
                grid-template-columns: 1fr;
            }

            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .join-content {
                grid-template-columns: 1fr;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }
        /* --- Conteneur des boutons --- */
.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* --- Style de base (Structure commune) --- */
.btn-lead-style, .btn-join-fixed, .filter-event {
    padding: 10px 24px;
    border-radius: 30px; /* Forme pilule parfaite */
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* --- BOUTONS DE FILTRAGE (Événements & Projets) --- */
.filter-event {
    background-color: transparent;
    color: white;
    border: 1.5px solid #333; 
    margin: 5px;
}

/* Au survol : Bordure Bordeaux */
.filter-event:hover {
    border-color: #8B1A3D; 
    color: white;
}

/* ÉTAT ACTIF : Plein Bordeaux (Le même que pour les projets) */
.filter-event.active {
    background-color: #8B1A3D; 
    border-color: #8B1A3D;
    color: white;
    box-shadow: 0 4px 12px rgba(139, 26, 61, 0.3);
}

/* --- BOUTON LEADERSHIP : Vide au début, Plein Bordeaux au clic/survol --- */
.btn-lead-style {
    background: transparent;
    color: white;
    border: 1.5px solid #8B1A3D; /* Bordure Bordeaux */
}

.btn-lead-style:hover, 
.btn-lead-style.active {
    background-color: #8B1A3D; /* Plein Bordeaux */
    color: white;
    box-shadow: 0 4px 15px rgba(139, 26, 61, 0.4);
}

/* --- BOUTON REJOIGNEZ-NOUS : Gradient avec Bordeaux --- */
.btn-join-fixed {
    /* Remplacement du rouge vif par le bordeaux dans le dégradé */
    background: linear-gradient(135deg, #8B1A3D 0%, #003875 100%);
    color: white;
    border: none;
}

.btn-join-fixed:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-join-fixed:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px);
}
        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .hero-text h1 {
                font-size: 1.8rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }

            .team-grid {
                grid-template-columns: 1fr;
            }

            .join-form {
                padding: 30px 20px;
            }

            .filter-tabs {
                gap: 10px;
            }

            .filter-tab {
                padding: 8px 15px;
                font-size: 0.9rem;
            }
        }/* --- Animation du Slider Équipe --- */
.team-slider {
    width: 100%;
    overflow: hidden; /* Cache les membres qui dépassent à droite */
    padding: 30px 0;
}

.team-track {
    display: flex;
    gap: 30px; /* Espace entre les membres */
    width: max-content; /* S'adapte à la largeur totale des membres */
    animation: scrollTeam 20s linear infinite; /* 20 secondes pour un tour complet */
}

/* Pause au survol */
.team-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTeam {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* On décale de la moitié (puisqu'on a doublé la liste) */
}

/* --- Style des cartes membres --- */
.team-member {
    flex: 0 0 250px; /* Chaque carte fait 250px de large */
    background: var(--bg-card);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--primary-burgundy);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.member-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-red);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

        /* ========== ANIMATIONS ========== */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animate {
            animation: fadeInUp 0.6s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }

    