/* ==========================================================================
   NAVBAR ARTEBAT — DESKTOP UNIQUEMENT
   Le mobile est entièrement géré dans header.blade.php
   ========================================================================== */

header.banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff !important;
    padding: 25px 5% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

header.banner.is-scrolled {
    padding: 12px 5% !important;
    background: rgba(255,255,255,0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important;
}

.brand img, .custom-logo-link img {
    width: 170px !important;
    height: auto !important;
    transition: width 0.4s ease !important;
}
header.banner.is-scrolled .brand img,
header.banner.is-scrolled .custom-logo-link img {
    width: 140px !important;
}

header ul.nav {
    display: flex !important;
    list-style: none !important;
    gap: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

header ul.nav li a {
    text-decoration: none !important;
    color: #333 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 1px;
    padding: 8px 0 !important;
    position: relative;
    transition: none !important;
}

/* Supprime le ::after du thème */
header ul.nav li a::after,
header ul.nav li a:hover::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
}

/* Fige le hover du thème */
header ul.nav li:not(:last-child) a:hover,
header ul.nav li:not(:last-child) a:focus,
header ul.nav li:not(:last-child) a:active {
    color: #333 !important;
    background: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

/* Bouton Contact */
header ul.nav li:last-child a {
    background-color: #F0B150 !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 2px !important;
    transition: background 0.3s ease !important;
}
header ul.nav li:last-child a:hover {
    background-color: #d49a3d !important;
    transform: none !important;
}

/* Burger — caché desktop */
.menu-toggle {
    display: none !important;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1100;
}

/* Mobile : le thème WordPress ouvre un dropdown — on le neutralise */
@media (max-width: 991px) {
    .menu-toggle { display: block !important; }

    /* Remet le panneau en position fixe plein écran,
       écrase le display:none / dropdown du thème */
    header.banner .nav-primary {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #fff !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        filter: none !important;
        padding: 0 !important;
        overflow-y: auto !important;
        z-index: 1060 !important;
    }
}