/* ---------------------------------- */
    /*          VARIABLES & GLOBALS       */
    /* ---------------------------------- */
    :root {
        --bg-primary: #121212;
        --bg-secondary: #1e1e1e;
        --bg-card: #252525;
        --accent-primary: #4e9af1;
        --accent-secondary: #ff6b6b;
        --text-primary: #f0f0f0;
        --text-secondary: #b0b0b0;
        --border-radius: 12px;
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background-color: var(--bg-primary);
        color: var(--text-primary);
        line-height: 1.6;
        overflow-x: hidden;
    }

    .container {
        width: 90%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    /* ---------------------------------- */
    /*        HEADER & NAVIGATION         */
    /* ---------------------------------- */
    header {
        background-color: rgba(30, 30, 30, 0.95);
        padding: 15px 0;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        height: 40px;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--accent-primary);
        z-index: 1001;
        text-decoration: none;
    }

    .logo i {
        color: var(--accent-secondary);
        font-size: 1.4em;
    }

    .nav-links {
        display: flex;
        justify-content: flex-end;
        gap: 30px;
        align-items: center;
        width: 100%;
        transition: var(--transition);
    }

    .nav-links-wrapper {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-link {
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-link:hover {
        color: var(--accent-primary);
        background-color: rgba(78, 154, 241, 0.1);
    }

    .nav-link.active {
        color: var(--accent-primary);
        font-weight: 600;
    }

    .nav-link i {
        font-size: 1.1em;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: 1.5rem;
        padding-left: 1.5rem;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-switcher {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.25rem;
        border-radius: 50px;
    }

    .lang-btn {
        background: transparent;
        border: none;
        color: var(--text-secondary);
        padding: 0.35rem 0.75rem;
        border-radius: 50px;
        cursor: pointer;
        font-weight: 500;
        font-size: 0.85rem;
        transition: all 0.2s ease;
    }

    .lang-btn.active {
        background: var(--accent-primary);
        color: white;
        box-shadow: 0 2px 8px rgba(78, 154, 241, 0.3);
    }

    .lang-separator {
        color: rgba(255, 255, 255, 0.15);
        user-select: none;
    }

    .hamburger {
        display: none;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 10px;
        z-index: 1001;
        flex-direction: column;
        justify-content: space-between;
        width: 44px;
        height: 38px;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--accent-primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ---------------------------------- */
    /*       COMPOSANTS & UTILITAIRES     */
    /* ---------------------------------- */
    .btn {
        padding: 0.5rem 1.25rem;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
        border: none;
        outline: none;
    }

    .btn i {
        font-size: 1em;
    }

    .btn-lg {
        padding: 15px 30px;
        font-size: clamp(1rem, 2vw, 1.1rem);
        min-width: 200px;
    }

    .btn-primary {
        background: var(--accent-primary);
        color: white;
        border: none;
    }

    .btn-primary:hover {
        background: #3a84d0;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(78, 154, 241, 0.3);
    }

    .btn-secondary {
        background: var(--bg-card);
        color: var(--text-primary);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-secondary:hover {
        background: #2c2c2c;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .btn-login {
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white !important;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }
    .btn-logout {
        background: linear-gradient(135deg, #ff6363, #2980b9);
        color: white !important;
        padding: 0.5rem 1.25rem !important;
        border-radius: 50px;
        font-weight: 600 !important;
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
        transition: all 0.3s ease;
      }
    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
        background: linear-gradient(135deg, #2980b9, #3498db);
    }

    .section-title {
        text-align: center;
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

    .section-title h2::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 80px;
        height: 4px;
        background: var(--accent-primary);
        border-radius: 2px;
    }

    .section-title.center h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .section-title p {
        color: var(--text-secondary);
        max-width: 600px;
        margin: 20px auto 0;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    /* ---------------------------------- */
    /*           HERO SECTION             */
    /* ---------------------------------- */
    .about-hero {
        padding: 180px 0 100px;
        text-align: center;
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, var(--bg-primary) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
        background-size: cover;
        background-position: center;
    }

    .about-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(18, 18, 18, 0.85);
    }

    .about-hero-content {
        position: relative;
        z-index: 2;
    }

    .about-hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        margin: 0 auto 20px;
        line-height: 1.2;
        max-width: 800px;
    }

    .about-hero h1 span.highlight {
        color: var(--accent-secondary);
        position: relative;
    }

    .about-hero p {
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: var(--text-secondary);
        max-width: 700px;
        margin: 0 auto 40px;
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    /* ---------------------------------- */
    /*           ABOUT SECTION            */
    /* ---------------------------------- */
    .about-story {
        padding: 100px 0;
        background-color: var(--bg-secondary);
    }

    .about-container {
        display: flex;
        align-items: center;
        gap: 50px;
    }

    .about-image {
        flex: 1;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        min-height: 400px;
        background: linear-gradient(45deg, #2c3e50, #4e9af1);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .about-image::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
        opacity: 0.7;
    }

    .about-content {
        flex: 1;
    }

    .about-text {
        margin-bottom: 30px;
    }

    .about-text p {
        color: var(--text-secondary);
        margin-bottom: 20px;
        line-height: 1.8;
        font-size: clamp(0.9rem, 2vw, 1rem);
    }

    /* ---------------------------------- */
    /*     VALUES & TEAM SECTIONS (CARDS) */
    /* ---------------------------------- */
    .values, .team {
        padding: 100px 0;
    }
    .values { background-color: var(--bg-primary); }
    .team { background-color: var(--bg-secondary); }

    .cards-container, .team-container {
        display: grid;
        gap: 30px;
    }
    .cards-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    .team-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        margin-top: 50px;
    }

    /* Styles communs pour .card et .team-card */
    .card,
    .team-card {
        background: var(--bg-card);
        border-radius: var(--border-radius);
        padding: 30px;
        transition: var(--transition);
        border: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
    }

    .card:hover,
    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        border-color: rgba(78, 154, 241, 0.3);
    }

    /* Styles spécifiques à .card (Values) */
    .card {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        background: rgba(78, 154, 241, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 28px;
        color: var(--accent-primary);
    }

    .card h3 {
        font-size: clamp(1.3rem, 2vw, 1.5rem);
        margin-bottom: 15px;
    }

    .card p {
        color: var(--text-secondary);
        font-size: clamp(0.9rem, 2vw, 1rem);
        flex-grow: 1; /* Permet aux cartes d'avoir la même hauteur */
    }

    /* Styles spécifiques à .team-card */
    .team-card {
        position: relative;
        overflow: hidden;
    }

    .team-img {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        margin: 0 auto 20px;
        overflow: hidden;
        border: 3px solid var(--accent-primary);
        position: relative;
    }

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

    .team-role {
        color: var(--accent-secondary);
        margin-bottom: 15px;
        font-weight: 600;
    }

    .team-social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    .team-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--bg-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        transition: var(--transition);
        text-decoration: none;
    }

    .team-social a:hover {
        background: var(--accent-primary);
        color: white;
        transform: translateY(-3px);
    }

    /* ---------------------------------- */
    /*           STATS SECTION            */
    /* ---------------------------------- */
    .stats {
        padding: 80px 0;
        background-color: var(--bg-primary);
        position: relative;
        overflow: hidden;
    }

    .stats::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(78, 154, 241, 0.1) 0%, transparent 70%);
        z-index: 0;
    }

    .stats-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        position: relative;
        z-index: 1;
    }

    .stat-card {
        text-align: center;
        padding: 30px;
        background: rgba(37, 37, 37, 0.7);
        border-radius: var(--border-radius);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(78, 154, 241, 0.2);
    }

    .stat-icon {
        font-size: 3rem;
        color: var(--accent-primary);
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
        font-weight: 700;
        color: var(--accent-secondary);
        margin-bottom: 10px;
        transition: var(--transition);
    }

    .stat-label {
        font-size: 1.2rem;
        color: var(--text-secondary);
    }

    /* ---------------------------------- */
    /*            CTA SECTION             */
    /* ---------------------------------- */
    .cta {
        padding: 100px 0;
        text-align: center;
        background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, var(--bg-primary) 100%), url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .cta::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(18, 18, 18, 0.85);
    }

    .cta-content {
        position: relative;
        z-index: 2;
        max-width: 700px;
        margin: 0 auto;
    }

    .cta h2 {
        font-size: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: 20px;
    }

    .cta p {
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: var(--text-secondary);
        margin-bottom: 40px;
    }

    /* ---------------------------------- */
    /*              FOOTER                */
    /* ---------------------------------- */
    footer {
        background-color: #0a0a0a;
        padding: 60px 0 30px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 20px;
    }

    .footer-column h3 {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-column h3::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 3px;
        background: var(--accent-primary);
    }

    .footer-links {
        list-style-type: none;
    }

    .footer-links li {
        margin-bottom: 15px;
    }

    .footer-links a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: clamp(0.85rem, 2vw, 0.95rem);
    }

    .footer-links a:hover {
        color: var(--accent-primary);
    }

    .footer-links i {
        width: 20px;
    }

    .copyright {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--text-secondary);
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }

    /* ---------------------------------- */
    /*           MEDIA QUERIES            */
    /* ---------------------------------- */

    @media (max-width: 1024px) {
        .hamburger {
            display: flex;
        }

        .nav-links {
            position: fixed;
            top: 0;
            right: -100%;
            width: 320px;
            height: 100vh;
            background: var(--bg-secondary);
            flex-direction: column;
            justify-content: flex-start;
            padding: 100px 30px 40px;
            gap: 1.5rem;
            transition: right 0.3s ease-in-out;
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
            z-index: 1000;
        }

        .nav-links.active {
            right: 0;
        }

        .nav-links-wrapper {
            flex-direction: column;
            width: 100%;
            gap: 0.5rem;
            align-items: stretch;
        }

        .nav-link {
            width: 100%;
            padding: 0.75rem 1rem;
            justify-content: flex-start;
        }

        .nav-actions {
            flex-direction: column;
            width: 100%;
            margin: 1rem 0 0;
            padding: 1.5rem 0 0;
            border-left: none;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            gap: 1rem;
            align-items: stretch;
        }

        .lang-switcher {
            width: 100%;
            justify-content: center;
            padding: 0.5rem;
            background: rgba(255, 255, 255, 0.03);
        }
    }

    @media (max-width: 992px) {
        .about-container {
            flex-direction: column;
        }

        .about-image {
            width: 100%;
            min-height: 300px;
        }

        .stat-card {
            padding: 20px;
        }
    }

    @media (max-width: 768px) {
        .nav-links {
            width: 70%;
            background: var(--bg-primary); /* Surcharge pour tablettes/mobiles */
            gap: 30px;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        }

        .about-hero {
            padding: 150px 0 70px;
        }

        .hero-buttons {
            flex-direction: column;
            gap: 15px;
            max-width: 300px;
            margin: 30px auto 0;
        }

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

    @media (max-width: 576px) {
        .about-hero h1 {
            font-size: 2rem;
        }

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

        .btn-lg {
            min-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .logo {
            font-size: 1.5rem;
        }

        .nav-links {
            width: 280px; /* Surcharge spécifique pour petits mobiles */
        }
    }

    @media (max-width: 320px) {
        .cards-container,
        .team-container {
            display: block; /* Passage en block au lieu de grid */
        }

        .card,
        .team-card {
            margin-bottom: 27px; /* Ajout de marge pour remplacer le 'gap' de la grid */
        }
    }
