/* ==========================================================================
   RÉTROÉCLAIRAGE NÉON VERT — CONTENEUR MENU (Accueil → Contact)
   Cible : La liste principale du menu d'en-tête pour un ajustement parfait
   ========================================================================== */

/* Ciblage de la liste du menu horizontal principal uniquement */
.elementor-location-header [data-id="1b5df07d"] ul.elementor-nav-menu {
    border: 1px solid rgba(57, 255, 20, 0.45) !important;
    box-shadow:
        0 0 12px rgba(57, 255, 20, 0.35),
        0 0 25px rgba(57, 255, 20, 0.15),
        inset 0 0 8px rgba(57, 255, 20, 0.08) !important;
    border-radius: 8px !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
    padding: 10px 24px !important; /* Espacement parfait autour de Accueil -> Contact */
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: fit-content !important;
}

/* Intensification au survol */
.elementor-location-header [data-id="1b5df07d"] ul.elementor-nav-menu:hover {
    border-color: rgba(57, 255, 20, 0.85) !important;
    box-shadow:
        0 0 20px rgba(57, 255, 20, 0.55),
        0 0 40px rgba(57, 255, 20, 0.25),
        inset 0 0 12px rgba(57, 255, 20, 0.12) !important;
}

/* ==========================================================================
   MOBILE & TABLETTE (≤ 1024px)
   Sur mobile le nav-menu se cache, on applique le style au bouton et dropdown
   ========================================================================== */
@media screen and (max-width: 1024px) {
    /* Désactiver la bordure sur le ul qui passe en mode vertical */
    .elementor-location-header [data-id="1b5df07d"] ul.elementor-nav-menu {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Rétroéclairage sur le bouton hamburger */
    .elementor-location-header [data-id="1b5df07d"] .elementor-menu-toggle {
        border: 1px solid rgba(57, 255, 20, 0.5) !important;
        box-shadow: 0 0 10px rgba(57, 255, 20, 0.35) !important;
        border-radius: 6px !important;
        padding: 6px 10px !important;
        background: rgba(0, 0, 0, 0.35) !important;
        transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
    }

    .elementor-location-header [data-id="1b5df07d"] .elementor-menu-toggle.elementor-active {
        border-color: rgba(57, 255, 20, 0.9) !important;
        box-shadow: 0 0 18px rgba(57, 255, 20, 0.6) !important;
    }

    /* Rétroéclairage sur le panneau dropdown mobile */
    .elementor-location-header [data-id="1b5df07d"] .elementor-nav-menu--dropdown {
        border: 1px solid rgba(57, 255, 20, 0.45) !important;
        box-shadow: 0 6px 24px rgba(57, 255, 20, 0.3) !important;
        border-radius: 8px !important;
        background: rgba(8, 8, 8, 0.96) !important;
    }
}
