.navbar {
    top: 0;
    z-index: 9999;
    position: fixed;
    width: 100%
}

.navbar-toggler {
    position: relative;
    z-index: 9999;
}

.custom-header {
    background: #ffffff;
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
}

/* Liens menu */
.custom-header .nav-link {
    position: relative;
    color: #5f6c72;
    font-weight: 500;
    transition: 0.3s;
    font-size: 18px;
}

.custom-header .nav-link:hover {
    color: var(--couleur-principale);
}

/* underline caché au départ */
.custom-header .nav-link::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--couleur-principale);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* hover */
.custom-header .nav-link:hover::after {
    width: 100%;
}

/* Bouton droite */
.btn-agent {
    background: var(--couleur-principale);
    color: white;
    padding: 5px 25px 5px 5px;
    border-radius: 999px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .3s;
    line-height: normal;
    text-decoration: none;
    font-family: sans-serif;
    cursor: pointer;
    border: none;
}

.btn-agent:hover, .btn-agent:active, .btn-agent:focus-visible {
    background-color: var(--couleur-principale);
    filter: brightness(0.9);
    color: white;
}

.btn-agent i {
    background: white;
    color: #2aa7c9;
    border-radius: 50%;
    padding: 6px;
    font-size: 12px;
}

.bloc-trouver-agent-renault {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trouver-agent-renault, .afficher-agent-renault {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bloc-trouver-agent-renault .trouver-mon-agent {
    font-weight: 600;
    font-size: 13px;
}

.bloc-trouver-agent-renault .trouver-mon-agent-le-plus-proche {
    font-weight: 300;
    font-size: 11px;
}

.map {
    position: relative;
    height: 40px;
    width: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .4s ease;
}

.map svg {
    width: 30px;
    height: 30px;
    overflow: visible;
    transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover : uniquement le SVG */
.btn-agent:hover .map svg {
    transform: rotate(-15deg) scale(1.2);
}
.btn-agent:hover .grad-rotate {
    animation-duration: 0.7s;
}
.btn-agent:hover .pin-path {
    animation-play-state: paused;
}

.localisation-modal .jconfirm-content-pane {
    height: 100% !important;
}

.offcanvas {
    width: 300px;
}

.offcanvas-body .nav-link {
    font-size: 18px;
    padding: 10px 0;
    color: #333;
}

.offcanvas-body .nav-link:hover {
    color: var(--couleur-principale);
}

/* Responsive spacing */
@media (max-width: 991px) {
    .custom-header {
        height: auto;
        padding: 10px 0;
    }
}

@media screen and (max-width:1660px) {
    #div-contact-full-header {
        display: none;
    }

    .reseaux-header-full {
        margin-top: 0;
    }

    .btn-contact-header {
        display: none;
    }

    .logo-header {
        max-width: 200px;
    }
}

@media screen and (max-width:1500px) {
    #div-numero-full-header {
        display: none;
    }

    #header_phone_mobile {
        display: none!important;
        justify-content: center;
        align-items: center;
    }

    .navbar-full{
        padding: 0;
    }

    .navbar-menu-principal{
        padding-left: 20px !important;
    }

    .nav-li-header {
        text-align: center;
        padding: 10px 10px;
    }

    .logo-header {
        max-width: 160px;
    }

    .btn-tel-header-icone{
        margin: 4px 0px !important;
    }

    .btn-tel-header-numero{
        display: none;
    }
}
@media screen and (max-width:1300px) {
    .navbar-menu-principal{
        padding-left: 0px !important;
        padding-right: 0;
    }
}
@media screen and (max-width:1150px) {
    #div-hamburger {
        display: block;
    }

    .navbar-full {
        padding: 10px;
    }

    .p-menu-nav {
        display: none!important;
    }

    .contact-header {
        display: none!important;
    }

    .logo-header {
        height: 40px;
        max-width: inherit;
    }
}

@media screen and (max-width:991px) {

    .header-dropdown .dropdown-item, .header-dropdown .dropdown-item:active, .header-dropdown .dropdown-item:hover {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .header-dropdown .dropdown-menu {
        border: 0;
        background-color: #fff;
    }

    .navbar-collapse {
        background-color: rgba(0, 0, 0, .9);
        position: relative;
        top: 14px;
    }

    .nav-li-header:hover {
        border-bottom: 0;
        background-color: var(--couleur-texte-principal);
    }

    .nav-li-header {
        text-align: center;
        padding-top: 10px;
        font-size: 22px!important;
    }

    .nav-li-header:hover a {
        color: #fff;
    }

    .navbar-full {
        display: block;
    }
}

@media screen and (max-width:767px) {
    .header-dropdown .dropdown-toggle {
        padding: 0;
    }
}