/**
 * modern-style.css
 * Styles for CHMOD 667 EKIP Website (v9 - Flexbox Centering for Cards/Boxes)
 */

/* --- Variables Globales --- */
:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --accent-color: #adee98;
    --accent-hover: #c6f5b7;
    --secondary-bg: #181818;
    --border-color: rgba(173, 238, 152, 0.2);
    --glow-color: rgba(173, 238, 152, 0.4);
    --font-family-main: 'Fira Code', Monaco, Consolas, Ubuntu Mono, monospace;
    --container-max-width: 1400px; /* Largeur augmentée */
}

/* --- Modal --- */
.modal {
    display: none; /* <<< TRÈS IMPORTANT : Caché par défaut */
    position: fixed;
    z-index: 1000;
    inset: 0; /* Shorthand pour top, right, bottom, left = 0 */
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Fond sombre semi-transparent */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* Utilise Flexbox pour centrer le contenu */
    align-items: center;
    justify-content: center;
    padding: 1rem; /* Espace sur les bords */
}

/* Contenu de la modale */
.modal-content {
    position: relative;
    background-color: var(--secondary-bg); /* Ou une autre couleur de fond */
    border: 1px solid var(--border-color);
    border-radius: 5px;
    width: 100%;
    max-width: 800px; /* Ajuste la largeur max de la vidéo */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    padding-top: 3.5rem; /* Espace pour le bouton fermer */
}

/* Bouton pour fermer */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    /* ... autres styles pour le bouton fermer ... */
}

/* Conteneur pour l'iframe pour le ratio */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
    background-color: #000; /* Fond pendant chargement */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: var(--accent-hover);
    text-decoration: underline;
    outline: 2px solid transparent;
    outline-offset: 2px;
}
a:focus-visible {
     outline: 2px dashed var(--accent-color);
}

h1, h2, h3 {
    color: var(--accent-color);
    text-shadow: 0 0 6px var(--glow-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); letter-spacing: 1px; }
h2 { font-size: clamp(1.5rem, 4vw, 1.8rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.4rem); }

p {
    margin-bottom: 1.2rem;
}

strong {
    color: var(--accent-hover);
    font-weight: 600;
}

/* --- Structure & Layout --- */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.main-content {
    flex-grow: 1;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 3rem clamp(1rem, 5vw, 2rem);
}

/* --- Header --- */
header.header {
    background-color: var(--secondary-bg);
    padding: 0.8rem clamp(1rem, 5vw, 2rem);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__inner {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 50px;
}

/* --- Logo --- */
.header__logo {
    /* margin-left est défini dans la media query desktop */
    flex-shrink: 0;
}

.header__logo a {
    text-decoration: none;
    display: inline-block;
}

.logo {
    color: var(--accent-color);
    font-family: var(--font-family-main);
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 1.1rem);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border-color);
    background-color: rgba(0,0,0,0.2);
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header__logo a:hover .logo,
.header__logo a:focus .logo {
    color: var(--bg-color);
    background-color: var(--accent-hover);
    text-decoration: none;
    outline: none;
}

/* --- Mobile Menu Trigger & Dropdown --- */
ul.menu--mobile {
    display: block;
    list-style: none;
    position: relative;
    margin-left: auto;
}

.menu__trigger {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    user-select: none;
}
.menu__trigger:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.menu__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.8rem;
    min-width: 200px;
    z-index: 101;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    list-style: none;
}

.menu--mobile.is-active .menu__dropdown {
    display: block;
}

.menu__dropdown li:not(:last-child) {
    margin-bottom: 0.5rem;
}

.menu__dropdown a {
    color: var(--text-color);
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.menu__dropdown a:hover,
.menu__dropdown a:focus {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    outline: none;
}

/* --- Desktop Menu --- */
nav.navigation-menu {
    display: none; /* Caché par défaut */
}

ul.navigation-menu__inner {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 0;
}

ul.menu--desktop li:not(:first-child) {
    margin-left: 1.8rem;
}

ul.menu--desktop a {
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

ul.menu--desktop a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}

ul.menu--desktop a:hover,
ul.menu--desktop a:focus {
    color: var(--accent-hover);
    text-decoration: none;
    outline: none;
}
ul.menu--desktop a:hover::after,
ul.menu--desktop a:focus::after {
    width: 100%;
}


/* --- Main Content Specific Styles --- */
.post-main {
    background-color: rgba(0,0,0,0.2);
    padding: clamp(1.5rem, 4vw, 2rem);
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.main-title-header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px dashed var(--accent-color);
    padding-bottom: 1rem;
}
.main-title-header h1 {
    margin-bottom: 0;
}

.intro-section p {
    text-align: justify;
    hyphens: auto;
}

.terminal-prompt-display {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5ch;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 3px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.prompt-user { color: var(--accent-color); font-weight: bold; }
.prompt-symbol { color: var(--text-color); font-weight: bold;}
.typing-link img { display: inline-block; vertical-align: middle; max-height: 25px;}
.typing-link:hover img { filter: brightness(1.2); }
.typing-link:hover { text-decoration: none; }
.typing-link:focus { text-decoration: none; }

.section-divider {
    border: none;
    height: 1px;
    background-color: var(--border-color);
    margin: 3rem 0;
}

.links-section ul,
.participations-section ul {
    list-style: none;
    padding-left: 0;
}

.links-section li,
.participations-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
}
.links-section li::before,
.participations-section li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
    transition: transform 0.2s ease-out;
}
.links-section li:hover::before,
.participations-section li:hover::before {
    transform: translateX(5px);
}

.links-section a {
     border-bottom: 1px dashed var(--border-color);
}
.links-section a:hover,
.links-section a:focus {
    border-bottom-color: var(--accent-hover);
    text-decoration: none;
}

/* --- Styles Page Toolbox --- */
.toolbox-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.breadcrumbs { list-style: none; padding: 0; margin: 0 0 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; font-size: 0.9rem; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li:not(:last-child)::after { content: '>'; color: var(--text-color); opacity: 0.6; margin: 0 0.8rem; }
.breadcrumb-link { color: var(--text-color); opacity: 0.8; text-decoration: none; transition: opacity 0.3s ease; }
.breadcrumb-link:hover, .breadcrumb-link:focus { opacity: 1; color: var(--accent-hover); text-decoration: underline; }
.breadcrumb-link.active-category { color: var(--accent-color); font-weight: bold; opacity: 1; pointer-events: none; text-decoration: none; }
.breadcrumb-link.active-category:hover { color: var(--accent-color); }

.search-container { margin-bottom: 1.5rem; display: flex; justify-content: center; }
.search-container form { display: flex; width: 100%; max-width: 500px; border: 1px solid var(--border-color); border-radius: 5px; overflow: hidden; }
.search-container input[type="text"] { flex-grow: 1; padding: 0.8rem 1rem; border: none; background-color: rgba(0,0,0,0.2); color: var(--text-color); font-family: var(--font-family-main); font-size: 1rem; outline: none; }
.search-container button { padding: 0.8rem 1rem; background-color: var(--accent-color); color: var(--bg-color); border: none; cursor: pointer; font-size: 1rem; transition: background-color 0.3s ease; }
.search-container button:hover, .search-container button:focus { background-color: var(--accent-hover); }

.search-mode-switch { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; color: var(--text-color); opacity: 0.8; }
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background-color: #555; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--accent-color); }
input:focus + .slider { box-shadow: 0 0 1px var(--accent-color); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

/* -- MODIFICATION ICI: Utilisation de Flexbox pour centrer -- */
.toolbox-container, .toolcard-container {
    display: flex;         /* <<< Changé de grid à flex */
    flex-wrap: wrap;       /* <<< Permet le retour à la ligne */
    justify-content: center; /* <<< CENTRE les éléments horizontalement */
    gap: 1.5rem;
    margin-top: 2rem;
}
/* -- FIN MODIFICATION -- */

/* Largeur des boîtes/cartes pour simuler 3 colonnes max */
/* On utilise flex-basis pour suggérer une largeur, mais flex les centrera */
.category-box, .subcategory-box, .subsubcategory-box, .tool-card {
    flex: 0 1 calc(33.333% - 1.5rem); /* Base de ~33% moins une partie du gap */
    min-width: 280px; /* Empêche de devenir trop petit */
    /* Les styles existants (background, border, etc.) sont gardés */
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Styles spécifiques aux boîtes cliquables (catégories) */
.category-box, .subcategory-box, .subsubcategory-box {
    text-align: center;
    display: block; /* Assure que le lien prend la taille */
}
.category-box:hover, .subcategory-box:hover, .subsubcategory-box:hover,
.category-box:focus, .subcategory-box:focus, .subsubcategory-box:focus {
    transform: translateY(-5px); box-shadow: 0 8px 20px rgba(var(--glow-color), 0.2); border-color: var(--accent-color); color: var(--accent-hover); text-decoration: none; outline: none;
}
.category-box h3, .subcategory-box h3, .subsubcategory-box h3 { margin: 0; font-size: 1.2rem; color: var(--accent-color); transition: color 0.3s ease; }
.category-box:hover h3, .subcategory-box:hover h3, .subsubcategory-box:hover h3,
.category-box:focus h3, .subcategory-box:focus h3, .subsubcategory-box:focus h3 { color: var(--accent-hover); }

/* Styles spécifiques aux cartes outils */
.tool-card {
    /* flex-basis est déjà défini plus haut */
    display: flex; flex-direction: column; overflow: hidden;
    /* Pas de padding ici, déjà défini */
}
.tool-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(var(--glow-color), 0.2); }
.tool-card img { width: 100%; height: 150px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.tool-card-content { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; }
.tool-card-content h3 { margin-bottom: 0.5rem; font-size: 1.3rem; color: var(--accent-hover); }
.tool-card-content p { font-size: 0.9rem; opacity: 0.9; flex-grow: 1; margin-bottom: 1rem; }
.tool-card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; opacity: 0.7; padding-top: 0.5rem; border-top: 1px dashed var(--border-color); }
.tool-link-button { background: none; border: 1px solid var(--accent-color); color: var(--accent-color); padding: 0.3rem 0.7rem; border-radius: 3px; cursor: pointer; font-family: var(--font-family-main); font-size: 0.85rem; transition: background-color 0.3s ease, color 0.3s ease; }
.tool-link-button:hover, .tool-link-button:focus { background-color: var(--accent-color); color: var(--bg-color); outline: none; }
.tool-link-button i { margin-left: 0.4rem; font-size: 0.8em; }

.back-button-container { text-align: center; margin-top: 3rem; }
.button.back-button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.5rem; background-color: var(--secondary-bg); color: var(--accent-color); border: 1px solid var(--accent-color); border-radius: 5px; font-family: var(--font-family-main); font-size: 1rem; cursor: pointer; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease; }
.button.back-button:hover, .button.back-button:focus { background-color: var(--accent-color); color: var(--bg-color); text-decoration: none; outline: none; }

.popup-overlay { display: none; position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.7); z-index: 1050; }
.popup { display: none; position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: var(--secondary-bg); color: var(--text-color); padding: 2rem; border: 1px solid var(--accent-color); border-radius: 5px; z-index: 1060; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); max-width: 90%; width: 450px; text-align: center; }
.popup h3 { margin-top: 0; margin-bottom: 1rem; color: var(--accent-color); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.popup p { margin-bottom: 1rem; }
.popup #popup-link-display { font-weight: bold; word-break: break-all; color: var(--accent-hover); display: block; margin-bottom: 1.5rem; background-color: rgba(0,0,0,0.2); padding: 0.5rem; border-radius: 3px; }
.popup-buttons { display: flex; justify-content: space-around; gap: 1rem; }
.popup .button { padding: 0.7rem 1rem; border: none; border-radius: 5px; cursor: pointer; font-family: var(--font-family-main); font-size: 0.9rem; transition: opacity 0.3s ease; flex-grow: 1; }
.popup .button:hover { opacity: 0.85; }
.popup .confirm-button { background-color: var(--accent-color); color: var(--bg-color); }
.popup .cancel-button { background-color: #777; color: white; }
.popup-close-button { position: absolute; top: 10px; right: 10px; background: none; border: none; color: var(--text-color); font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: 0.7; transition: opacity 0.3s ease, transform 0.2s ease; }
.popup-close-button:hover { opacity: 1; transform: rotate(90deg); }

.no-results-container, .no-items-message { text-align: center; margin: 3rem auto; padding: 1.5rem; background-color: rgba(0,0,0,0.2); border: 1px dashed var(--border-color); border-radius: 5px; max-width: 600px; color: var(--text-color); opacity: 0.8; }
.no-results-container p:last-child, .no-items-message:last-child { margin-bottom: 0; }

/* --- Footer --- */
.footer { background-color: var(--secondary-bg); padding: 1.5rem clamp(1rem, 5vw, 2rem); border-top: 1px solid var(--border-color); margin-top: auto; width: 100%; }
.footer-content { max-width: var(--container-max-width); margin: 0 auto; text-align: center; font-size: 0.9rem; color: rgba(224, 224, 224, 0.7); display: flex; align-items: center; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.footer-icon { color: var(--accent-color); font-size: 1.2rem; }

/* --- Responsive Adjustments --- */

@media (min-width: 992px) { /* Desktop */
    ul.menu--mobile { display: none; }
    nav.navigation-menu { display: block; margin-left: auto; margin-right: auto; }
    ul.menu--desktop { display: flex; align-items: center; justify-content: center; }
    .header__logo { margin-left: 5%; flex-shrink: 0; } /* Ajuste cette marge */
    .header__inner { display: flex; align-items: center; }

    /* Pas besoin de redéfinir flex pour toolbox-container ici */
    /* La largeur des flex items s'adaptera */
}

@media (max-width: 991.98px) { /* Mobile ET Tablette */
     nav.navigation-menu { display: none; }
     ul.menu--mobile { display: block; margin-left: auto; }
     .header__logo { margin-left: 0; }
     .header__inner { justify-content: space-between; }

     /* Sur tablette, on peut vouloir 2 colonnes max */
     .category-box, .subcategory-box, .subsubcategory-box, .tool-card {
          flex-basis: calc(50% - 1rem); /* Base de 50% */
          min-width: 250px; /* Ajuste si besoin */
     }
}

@media (max-width: 767.98px) { /* Mobile seulement */
    html { font-size: 15px; }
    .main-content { padding-top: 2rem; padding-bottom: 2rem; }
    .modal-content { padding: 1rem; padding-top: 3rem; }
    .modal-close { font-size: 2rem; top: 8px; right: 10px; }

    /* 1 colonne sur mobile */
    .category-box, .subcategory-box, .subsubcategory-box, .tool-card {
        flex-basis: 100%; /* Prend toute la largeur */
        min-width: unset; /* Pas de min-width */
    }

    .profile-img { width: 100px; height: 100px; }
    .member-info h3 { font-size: 1.3rem; }
    .member-role { font-size: 0.95rem; }
    .member-desc { font-size: 0.9rem; }
}

@media (max-width: 480px) { /* Petits mobiles */
     html { font-size: 14px; }
    .logo { font-size: 0.9rem; padding: 0.2rem 0.4rem; }
    .menu__trigger { padding: 0.3rem 0.6rem; font-size: 0.9rem; }
    .main-content { padding-left: 0.8rem; padding-right: 0.8rem; }
    header.header, .footer { padding-left: 0.8rem; padding-right: 0.8rem; }
    .post-main { padding: 1rem; }
    .profile-img { width: 80px; height: 80px; }
    .member-card { padding: 1rem; }
    .member-info h3 { font-size: 1.2rem; }
}

/* ... (Vos styles existants et media queries pour mobile/desktop) ... */

@media (min-width: 768px) { /* Ou votre breakpoint desktop */
    .menu--mobile {
        display: none;
    }
    .navigation-menu {
        display: block; /* ou flex si header__inner est flex et vous voulez l'aligner */
    }

    /* Styles de base pour les items du menu desktop */
    .menu--desktop > li {
        display: inline-block; /* Ou float: left; ou flex item */
        /* margin-right: 20px; /* Ajustez l'espacement */
    }
    .menu--desktop > li > a {
        /* Vos styles de liens existants (couleur, padding, etc.) */
        /* Exemple:
        color: #ccc;
        text-decoration: none;
        padding: 10px 15px;
        display: block; */
    }


    /* Style pour l'item "Tools" qui contiendra le dropdown */
    .menu--desktop .desktop-dropdown {
        position: relative; /* Contexte de positionnement pour le sous-menu */
    }

    .menu--desktop .desktop-dropdown > a#tools-menu-trigger {
        cursor: pointer; /* Indique que c'est cliquable */
    }

    .menu--desktop .desktop-dropdown .dropdown-arrow {
        font-size: 0.8em;
        margin-left: 5px;
        display: inline-block; /* Pour un meilleur contrôle */
        transition: transform 0.2s ease-in-out; /* Petite animation sur la flèche */
    }

    .menu--desktop .desktop-dropdown > a#tools-menu-trigger[aria-expanded="true"] .dropdown-arrow {
        transform: rotate(180deg); /* Flèche vers le haut quand ouvert */
    }

    /* Le sous-menu "Tools" */
    .menu--desktop .desktop-dropdown-menu {
        display: none; /* Caché par défaut, sera affiché par JS */
        position: absolute;
        top: 100%; /* Juste en dessous de l'item "Tools" */
        left: 0;   /* Aligné à gauche de "Tools" */
        background-color: #1e1e1e; /* Fond sombre, adaptez à votre thème */
        min-width: 200px; /* Largeur minimale, ajustez */
        border: 1px solid #333; /* Bordure discrète */
        border-top: none; /* Optionnel: si vous voulez qu'il semble "attaché" */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Ombre portée */
        z-index: 1000; /* Au-dessus des autres éléments */
        list-style: none; /* Supprime les puces */
        padding: 0;
        margin: 0; /* Réinitialisation du margin, un léger margin-top peut être ajouté si besoin */
         /* margin-top: 5px;  Optionnel: petit espace entre "Tools" et le dropdown */
        border-radius: 0 0 4px 4px; /* Coins arrondis en bas */
    }

    .menu--desktop .desktop-dropdown-menu.is-open {
        display: block; /* Affiché quand la classe .is-open est présente */
    }

   .menu--desktop .desktop-dropdown-menu li {
    display: block;
    margin: 0!important; 
    padding: 0; /* AJOUT/VÉRIFICATION */
}

    .menu--desktop .desktop-dropdown-menu li a {
        display: block;
        padding: 12px 20px; /* Bon padding pour la lisibilité */
        color: #bdbdbd; /* Couleur de texte claire, adaptez */
        text-decoration: none;
        white-space: nowrap;
        font-size: 0.9em; /* Un peu plus petit que le menu principal peut-être */
        border-bottom: 1px solid #2a2a2a; /* Séparateur fin entre les items */
    }
    .menu--desktop .desktop-dropdown-menu li:last-child a {
        border-bottom: none; /* Pas de bordure pour le dernier item */
    }

    .menu--desktop .desktop-dropdown-menu li a:hover,
    .menu--desktop .desktop-dropdown-menu li a:focus {
        background-color: #333; /* Couleur de fond au survol/focus */
        color: #fff; /* Texte plus clair au survol/focus */
    }
}