/* header.css */

header{
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a ;
}

header a{
    font-size: 20px;
}

.header_nav{
    position: relative;
    display: flex;
    align-items: center;
    width: 90%;
    margin: 0 10%;
}

.header_navbar{
    display: flex;
    align-items: center;
    width: 100%;
    padding-inline-start: 0;
}

.header_link{
    display: inline-flex;
    width: 160px;
    justify-content: center;
    align-items: center;
    margin: 0 30px;
    font-size: 14px;
    height: 50px;
    cursor: default;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Montserrat", sans-serif;
}

#header_link_entreprise:hover,
#header_link_entreprise:hover .nav_caret,
#header_link_solutions:hover,
#header_link_solutions:hover .nav_caret,
#header_link_formations:hover,
#header_link_formations:hover .nav_caret,
#header_link_infos:hover,
#header_link_infos:hover .nav_caret,
.header_link:hover
{
    color: #fff;
}

.header_ligne_container{
    position: absolute;
    display: flex;
    left: 142px;
    top: 79px;
}
.header_ligne{
    display: block;
    width: 862px;
    height: 2px;
    background: #C30C0E;
}

.header_fleche{
    display: block;
    top: 5px;
    height: 90px;
    margin-top: -44px;
}
.header_fleche img{
    height: 100%;
}

.nav_caret{
    display: inline-block;
    margin: 0 0 0 10px;
    color: #7c7c7c;
}

.header_logo{
    position: relative;
    z-index: 50;
    height: 90px;
    margin: 35px 40px 0 0;
}

.header_log{
    margin-left: auto;
}
.header_log .button{
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Rajdhani";
    font-size: 14px;
}
.header_log .button:hover{
    background: transparent;
    color: #fff;
}
/* Sous-menus */
#header_link_entreprise,
#header_link_solutions,
#header_link_formations,
#header_link_infos{
    position: relative;
    z-index: 10000;
}
.header_navbar_pop {
    border-radius: 5px;
    display: none;
    position: absolute;
    -webkit-box-shadow: 0 0 28px -9px rgba(0, 0, 0, 0.38);
    box-shadow: 0 0 28px -9px rgba(0, 0, 0, 0.38);
    padding: 0;
    top: 100%; /* Placer en dessous du lien parent */
    left: 50%; /* Point de départ à 50% du parent */
    transform: translateX(-50%);
    width: max-content; /* Adapter la largeur au contenu */
    white-space: nowrap;
    z-index: 100;
    background: #ffffff;
    color: #000000;
}

.header_navbar_pop li{
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    transition: all 0.2s linear;
}
.header_navbar_pop li a{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 5px 22px;
    font-size: 16px;
}

.header_navbar_pop li:hover{
    background: #F33428;
    color: #fff;
}

/**
Gestion de l'affichage des sous-menus
 */
#header_link_entreprise:hover #header_navbar_entreprise{
    display: block;
}
#header_link_solutions:hover #header_navbar_solutions{
    display: block;
}
#header_link_formations:hover #header_navbar_formations{
    display: block;
}
#header_link_infos:hover #header_navbar_infos{
    display: block;
}

/* Responsive */
.menu{
    display: none;
}