/* Variables CSS pour les couleurs de la RDC */
:root {
    --color-primary-blue: #007bff; /* Bleu ciel profond pour les éléments principaux */
    --color-secondary-yellow: #ffc107; /* Jaune/Or pour les accents et les boutons */
    --color-accent-red: #dc3545; /* Rouge pour les éléments importants ou alertes (utilisation parcimonieuse) */
    --color-dark: #001e4c; /* Couleur de texte sombre */
    --color-light: #f8f9fa; /* Couleur de fond clair */
    --color-white: #ffffff; /* Blanc pur */
    --color-gray: #6c757d; /* Gris pour le texte secondaire */
}

/* Reset CSS de base et styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif; /* Police de base, tu pourras la changer plus tard */
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    overflow: hidden; /* Pour gérer les flottants */
}

a {
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-secondary-yellow);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-accent-red);
    margin-bottom: 15px;
}

p {
    margin-bottom: 10px;
}

/* Boutons */
.btn {
    display: inline-block;
    background: var(--color-accent-red);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background: var(--color-primary-blue);
    color: var(--color-light);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: var(--color-secondary-yellow);
    color: var(--color-dark);
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background: var(--color-primary-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Section text-center utility */
.text-center {
    text-align: center;
}

/* --- Header --- */
header {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex; /* Assurez-vous que c'est flex pour aligner les enfants */
    align-items: center; /* Centrer verticalement */
    justify-content: space-between; /* Espace entre logo et nav/toggle */
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* S'assure que le container prend toute la largeur */
}

/* Bouton Burger (mobile) */
.menu-toggle {
    display: none; /* Caché par défaut sur les grands écrans */
    background: none;
    border: none;
    font-size: 30px;
    color: var(--color-white);
    cursor: pointer;
    z-index: 1001; /* Au-dessus de la navigation si elle est en overlay */
}

/* Le menu en état ouvert sur mobile */
header nav.main-nav ul.show {
    transform: translateX(0);
}

/* Navigation principale */
header nav.main-nav ul { /* Cibler la classe 'main-nav' ici */
    display: flex;
    /* ... ton CSS existant pour les li et a ... */
}

header .logo a {
    color: var(--color-white);
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 17px;
    position: relative; /* Pour l'animation de soulignement */
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--color-secondary-yellow);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease-in-out;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(#001e4cad, #001e4cad), url('../images/coup-moyen-homme-travaillant-au-bureau.jpg') no-repeat center center/cover;
    color: var(--color-white);
    text-align: center;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-section h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-light);
}

/* --- About Section --- */
.about-section {
    background: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.about-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--color-secondary-yellow);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Features Section (Domaines d'Intervention) --- */
.features-section {
    background: var(--color-light);
    padding: 80px 0;
    text-align: center;
}

.features-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.features-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--color-primary-blue);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--color-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 50px;
    color: var(--color-accent-red);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--color-gray);
}

/* --- Footer --- */
footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 60px 0 20px;
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

footer h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

footer h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--color-secondary-yellow);
    left: 0;
    bottom: 0;
}

footer ul {
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: var(--color-light);
    font-size: 16px;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--color-secondary-yellow);
}

footer p {
    font-size: 16px;
    color: var(--color-gray);
}

footer .footer-contact i {
    margin-right: 10px;
    color: var(--color-secondary-yellow);
}

footer .footer-social a {
    color: var(--color-white);
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

footer .footer-social a:hover {
    color: var(--color-secondary-yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 15px;
    color: var(--color-gray);
}

/* Responsive Design (Media Queries) */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-top: 30px;
    }

    .about-text {
        text-align: center;
    }

    .about-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-section h1 {
        font-size: 40px;
    }

    .hero-section p {
        font-size: 18px;
    }

    header .container {
        flex-direction: column;
        text-align: center;
    }

    header .logo {
        margin-bottom: 15px;
    }

    header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav ul li {
        margin: 0 15px 10px 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    footer .footer-social {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0;
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .about-section, .features-section, footer {
        padding: 50px 0;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section h1 {
        font-size: 30px;
    }

    .hero-section p {
        font-size: 14px;
    }

    header nav ul li {
        margin: 0 10px 10px 10px;
        font-size: 15px;
    }

    .btn, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
}




/* --- Page Banner (Titre de Page) --- */
.page-banner {
    background: #001e4cd0;
    color: var(--color-white);
    text-align: center;
    padding: 80px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-banner h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: var(--color-white);
}

.page-banner p {
    font-size: 20px;
    color: var(--color-light);
}

/* --- Navigation Active State --- */
header nav ul li a.active {
    color: var(--color-secondary-yellow); /* Couleur pour le lien actif */
    font-weight: bold;
}

header nav ul li a.active::after {
    width: 100%; /* Surligne le lien actif par défaut */
    background: var(--color-secondary-yellow);
}

/* --- Missions Section --- */
.missions-section {
    background: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.missions-section h2, .projects-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.missions-section h2::after, .projects-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--color-secondary-yellow); /* Ou --color-primary-blue */
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.mission-item {
    background: var(--color-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.mission-item i {
    font-size: 60px;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
}

.mission-item h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.mission-item p {
    color: var(--color-gray);
    font-size: 17px;
    line-height: 1.7;
}

/* --- Projects Section --- */
.projects-section {
    background: var(--color-light);
    padding: 80px 0;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden; /* Pour que l'image ne dépasse pas les bords arrondis */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.project-card img {
    width: 100%;
    height: 250px; /* Hauteur fixe pour toutes les images de projets */
    object-fit: cover; /* Pour que les images couvrent bien l'espace sans se déformer */
    display: block;
}

.project-card .card-content {
    padding: 25px;
    text-align: left;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--color-primary-blue);
}

.project-card p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 20px;
}

.project-status {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 5px 10px;
    border-radius: 5px;
    width: fit-content;
    text-transform: uppercase;
}

.project-status.completed {
    background: #d4edda; /* Vert clair */
    color: #155724; /* Vert foncé */
}

.project-status.in-progress {
    background: #fff3cd; /* Jaune clair */
    color: #856404; /* Jaune foncé */
}

.project-status.upcoming {
    background: #d1ecf1; /* Bleu clair */
    color: #0c5460; /* Bleu foncé */
}

.project-status i {
    margin-right: 8px;
}

.btn-sm { /* Petit bouton pour les cartes de projet */
    display: inline-block;
    background: var(--color-secondary-yellow);
    color: var(--color-dark);
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-sm:hover {
    background: var(--color-primary-blue);
    color: var(--color-white);
}

.project-archive-link {
    margin-top: 50px;
}


/* Responsive Adjustments for Missions & Projects */
@media (max-width: 992px) {
    .page-banner h1 {
        font-size: 40px;
    }
    .missions-section h2, .projects-section h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 60px 0;
    }
    .page-banner h1 {
        font-size: 36px;
    }
    .page-banner p {
        font-size: 18px;
    }
    .missions-section, .projects-section {
        padding: 60px 0;
    }
    .missions-section h2, .projects-section h2 {
        font-size: 32px;
    }
    .mission-grid, .project-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur petits écrans */
    }
    .mission-item, .project-card {
        margin: 0 auto; /* Centrer les éléments */
        max-width: 450px; /* Limiter la largeur sur mobile */
    }
}

@media (max-width: 480px) {
    .page-banner h1 {
        font-size: 30px;
    }
    .page-banner p {
        font-size: 16px;
    }
    .missions-section h2, .projects-section h2 {
        font-size: 28px;
    }
    .mission-item i {
        font-size: 50px;
    }
    .mission-item h3 {
        font-size: 22px;
    }
    .project-card h3 {
        font-size: 20px;
    }
}






/* --- Contact Section --- */
.contact-section {
    padding: 80px 0;
    background: var(--color-light);
}

.contact-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    text-align: center; /* Centrer les titres des sections */
}

.contact-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--color-secondary-yellow);
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-top: 50px;
    align-items: flex-start; /* Align les éléments en haut */
}

/* Contact Info */
.contact-info {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info h2 {
    text-align: left; /* Align les titres à gauche pour cette section */
    margin-bottom: 30px;
    font-size: 32px;
}

.contact-info h2::after {
    left: 0;
    transform: translateX(0);
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--color-dark);
}

.contact-info p i {
    color: var(--color-primary-blue);
    margin-right: 15px;
    font-size: 24px;
}

.contact-info a {
    font-weight: bold;
}

.contact-info .social-icons {
    margin-top: 30px;
    text-align: left;
}

.contact-info .social-icons a {
    font-size: 28px;
    color: var(--color-gray);
    margin-right: 20px;
    transition: color 0.3s ease;
}

.contact-info .social-icons a:hover {
    color: var(--color-primary-blue);
}

/* Contact Form */
.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form h2 {
    text-align: left;
    margin-bottom: 30px;
    font-size: 32px;
}

.contact-form h2::after {
    left: 0;
    transform: translateX(0);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 17px;
    color: var(--color-dark);
    background-color: var(--color-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25); /* Ombre de focus bleu */
}

.form-group textarea {
    resize: vertical; /* Permet à l'utilisateur de redimensionner verticalement */
}

.contact-form .btn {
    width: 100%; /* Le bouton prend toute la largeur */
    padding: 15px;
    font-size: 18px;
}

/* Map Section */
.map-section {
    margin-top: 80px;
    text-align: center;
    background: var(--color-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.map-section h2 {
    margin-bottom: 40px;
}

.map-section iframe {
    border-radius: 10px; /* Bords arrondis pour la carte */
}

/* Responsive Adjustments for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        gap: 40px;
    }
    .contact-info, .contact-form, .map-section {
        padding: 30px;
    }
    .contact-info h2, .contact-form h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur les petits écrans */
        gap: 30px;
    }
    .contact-info, .contact-form, .map-section {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px; /* Limiter la largeur sur mobile */
    }
    .contact-info h2, .contact-form h2 {
        text-align: center;
    }
    .contact-info h2::after, .contact-form h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-info p, .contact-info .social-icons {
        text-align: center;
        justify-content: center; /* Centrer les icônes sociales */
    }
    .contact-info p i {
        margin-right: 10px; /* Ajuster la marge */
    }
}

@media (max-width: 480px) {
    .contact-info, .contact-form, .map-section {
        padding: 20px;
    }
    .contact-section h2 {
        font-size: 30px;
    }
    .contact-info p {
        font-size: 16px;
    }
    .form-group label {
        font-size: 16px;
    }
    .form-group input, .form-group textarea {
        padding: 12px;
        font-size: 15px;
    }
}






/* --- Gallery Section --- */
.gallery-section {
    padding: 80px 0;
    background: var(--color-light);
    text-align: center;
}

.gallery-section h2 {
    font-size: 40px;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.gallery-section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--color-primary-blue); /* Ou autre couleur de la charte */
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 colonnes sur grand écran */
    gap: 25px; /* Espace entre les images */
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden; /* Cache le débordement de l'overlay */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px; /* Hauteur fixe pour toutes les vignettes */
    object-fit: cover; /* Assure que l'image couvre l'espace sans se déformer */
    display: block;
    transition: transform 0.4s ease; /* Animation de zoom au survol */
}

.gallery-item:hover img {
    transform: scale(1.05); /* Zoom léger de l'image au survol */
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.7); /* Bleu avec transparence */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    opacity: 0; /* Caché par défaut */
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.gallery-item:hover .overlay {
    opacity: 1; /* Apparaît au survol */
}

.overlay i {
    font-size: 50px;
    margin-bottom: 15px;
}

.overlay p {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Responsive Adjustments for Gallery Page */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 2-3 colonnes */
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        margin: 0 auto;
        max-width: 450px; /* Limiter la largeur des éléments */
    }
}

@media (max-width: 480px) {
    .gallery-item img {
        height: 200px; /* Ajuster la hauteur des images sur très petits écrans */
    }
    .overlay i {
        font-size: 40px;
    }
    .overlay p {
        font-size: 18px;
    }
}

/* --- Responsive Navigation (Menu Burger) --- */
@media (max-width: 992px) { /* Commence le mode responsive plus tôt */
    header .container {
        flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
        justify-content: center; /* Centrer logo et toggle */
        padding: 0 15px; /* Ajuster le padding */
    }

    header .logo {
        margin-bottom: 0; /* Pas de marge en bas */
    }

    header .menu-toggle {
        display: block; /* Affiche le bouton burger sur mobile */
        position: absolute; /* Position absolue pour le placer en haut à droite */
        right: 20px;
        top: 25px;
    }

    header nav.main-nav {
        /* Le menu devient un overlay fullscreen sur mobile */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95); /* Fond semi-transparent sombre */
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* Masqué par défaut (décalé à droite) */
        transition: transform 0.5s ease-in-out; /* Animation de slide */
        z-index: 999; /* En dessous du bouton burger */
    }

    header nav.main-nav.active { /* Classe ajoutée par JS quand le menu est ouvert */
        transform: translateX(0); /* Fait apparaître le menu */
    }

    header nav.main-nav ul {
        flex-direction: column; /* Les liens s'empilent verticalement */
        text-align: center;
    }

    header nav.main-nav ul li {
        margin: 20px 0; /* Plus d'espace vertical entre les liens */
    }

    header nav.main-nav ul li a {
        font-size: 18px; /* Taille de police plus grande pour le menu mobile */
        color: var(--color-white);
    }

    header nav ul li a::after { /* Masquer le soulignement pour le menu mobile */
        display: none;
    }

    /* Ajustement pour cacher le défilement du corps quand le menu est ouvert */
    body.no-scroll {
        overflow: hidden;
    }
}