nav a, nav span, footer a{
    text-decoration-color: var(--orange) !important;
    text-decoration-thickness: 2.5px !important;
    text-underline-offset: 7px !important;
    line-height: 1.5rem;
}

/* NAV */

nav{
    background-color: var(--black);
    width:100%;
    display: flex;
    padding:0 25px;
    height:80px;
    justify-content: space-between;
    gap:25px;
    align-items: center;
    z-index: 11;
}

#navLogo{
    height:50px;
    cursor:pointer;
}

#menuBurgerLogo, #closeMenuBurgerLogo{
    display: none;
    height:30px;
    cursor:pointer;
}

.banner-message{
    display:none;
}

.banner-message.active {
    display: flex;
    width: 100%;
    font-size: 0.8rem;
    padding: 10px 50px;
    background-color: var(--lighter-orange);
    align-items: center;
    justify-content: center;
    
    /* Indispensable pour le défilement */
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

/* La classe que JavaScript ajoutera uniquement si le texte est trop long */
.banner-message.is-scrolling {
    justify-content: flex-start; /* Aligne à gauche pour commencer l'animation */
}

/* L'animation elle-même */
.is-scrolling span {
    display: inline-block;
    padding-left: 100%; /* Commence en dehors de l'écran à droite */
    animation: scroll-text 60s linear infinite;
}

@keyframes scroll-text {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

@media only screen and (max-width: 900px) {
    
    #navigationLinksContainer.hideForService{
        display: none !important;
    }

    #navigationLinksContainer {
        display: none !important;
    }

    #menuBurgerLogo.active,  #closeMenuBurgerLogo.active{
        display: block;
    }

    #navigationLinksContainer.banner-message-active.active {
        display: flex !important;
        flex-direction: column;
        position:absolute;
        top:120px;
        right:0;
        width:100%;
        text-align: center;
        padding:75px 0;
        gap:50px;
        color:var(--black);
        background-color: var(--light-gray);     
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;   
        box-shadow: 0 0 20px var(--mid-dark-gray); 
    }

    #navigationLinksContainer.active:not(.hideForService) {
        display: flex !important;
        flex-direction: column;
        position:absolute;
        top:80px;
        right:0;
        width:100%;
        text-align: center;
        padding:75px 0;
        gap:40px;
        color:white;
        z-index:100;   
        background-color: rgba(26, 26, 26, 0.651); 
        backdrop-filter: blur(60px);
        -webkit-backdrop-filter: blur(10px);    
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }
  


    #navServicesContainer.active{
        grid-template-columns: 1fr !important;
        width: 100%;
        top:80px;
        z-index: 10000000;
    }

    #returnToNav{
        display:block !important;
    }

    #arrowServices{
        display: none !important;
    }
    
}

#navigationLinksContainer{
    display: flex;
    gap:25px;
    color:white;
}

#navServicesContainer{
    display: none;
}


#navServicesContainer.active {
    /* Remplacer background-color: white par ceci : */
        background-color: rgba(26, 26, 26, 0.3); 
        backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(10px);    
    border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    /* Tes autres propriétés inchangées */
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: absolute;
    top: 80px;
    right: 0;
    padding: 50px;
    gap: 30px;
    z-index: 10000000;
    border-bottom-left-radius: 30px ;
    border-bottom-right-radius: 30px ;
    
}

#navServicesContainer div {
    color: var(--black) !important;
    gap: 5px;
    padding: 17px 50px 17px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.8); /* Un blanc très léger pour les voir sans bloquer le fond */
    cursor: pointer;
    
}

/* LE SURVOL (HOVER) */
#navServicesContainer div:hover {
    background-color: var(--orange); /* Ton orange (remplace par ta variable si tu en as une) */
    color: white !important; /* On passe le texte en blanc pour la lisibilité sur le orange */
    cursor:pointer;
}


#navServicesContainer div strong, #navServicesContainer div span{
    font-weight: 550 !important;
}

@media only screen and (max-width: 425px) {
    nav a{
        font-size: 1rem;
    }

    #navServicesContainer.active{
        margin:0;
        top:80px;
        padding:50px 25px;
    }

}


#navServicesContainer div:hover strong,#navServicesContainer div:hover span {
    color:white;
    text-decoration: none;
}

#returnToNav{
    display:none;
}

#navServicesContainer div span, #navServicesContainer div strong {
    cursor:pointer;
}

#arrowServices{
    display: none ;
}


#arrowServices.active{
    display: block;
    position:absolute;
    top:80px;
    border-radius:5px;
    transform: rotate(45deg);
    right:250px;
    width:150px;
    height:250px;
    pointer-events: none;  
}


.dropdownMenu{
   display: flex;
   flex-direction: column;
}

.dropdownMenu div{
    height:fit-content;
    display: flex;
    flex-direction: row;
    justify-content: left;
    text-align: left;
    padding: 20px;
}

.dropdownMenu p{
    pointer-events: none;
}

.dropdownMenu div:nth-child(1){
    background-color: var(--light-gray);
    color:var(--black);
    justify-content: space-between;
    border-radius:10px;
}

.dropdownMenu div:nth-child(1):hover{
    cursor:pointer;
}

.dropdownMenu div:nth-child(1) img{
    background-color: transparent !important;
    width:20px;
}

.dropdownMenu div:nth-child(2) {
    display: none;
    background-color: var(--light-gray);
    color: var(--black);
    flex-direction: column;
    gap: 10px;
    position: relative; /* Indispensable pour positionner la bordure */
    /* On retire le border-top classique */
    border-top: none;
}

.dropdownMenu div:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 20px;
    height: 1px; /* L'épaisseur de votre bordure */
    width: 50px;  /* La longueur souhaitée */
    background: var(--dark-gray); /* Ou un linear-gradient si vous voulez un effet fondu */
    /* Si vous voulez un dégradé qui s'efface à la fin : 
    background: linear-gradient(90deg, var(--black) 90%, transparent 90%); 
    */
}

.dropdownMenu div:nth-child(2).visible {
    display: flex;
    border-bottom-left-radius:10px;
    margin-top:-10px;
    padding-top:25px;
    padding-bottom:25px;
    border-bottom-right-radius:10px;
}

.dropdownMenuArrow {
    transition: transform 0.1s ease;
}

.dropdownMenuArrow.rotated {
    transform: rotate(180deg);
}

@media only screen and (min-width: 900px){
    #payerFacture{
        position: absolute;
        right:0;
        top:125px;
        background-color: var(--orange);
        padding:10px 20px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
        z-index:10000;
    }
    #payerFacture:hover{
        background-color: #e29300;
        cursor:pointer;
    }
}
