:root{
    --menu-weight: 1200px;
}

.aurore-menu-wrapper{
    height: 80px;
    width: 100%;
    background: var(--e-global-color-b8497e9);
    display: flex    ;
    justify-content: center;
    align-items: center;
    z-index: 5;
    position: relative;
}
.logo{
    flex: 1;
}

.tools{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.tools button,.tools > a{
    padding: 1rem;
    background: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border: none;
    column-gap: 0;
    row-gap: 0.5rem;
    color: #fff;
    font-weight:400 ;
}
.tools button:hover,.tools button:active,.tools button:focus{
    padding: 1rem;
    background: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    color: #FFF;
    column-gap: 0;
    row-gap: 0.5rem;
}

.tools button:nth-child(2){
        display: none;
}

/* NIVEAU 0 */
.aurore-menu{
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 2;
    align-items: center;
    justify-content: space-evenly;
    padding: 0;

}

.aurore-menu > li > button ,.aurore-menu > li > button:focus{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    color: #FFF;
    text-transform: uppercase;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    display: flex    ;
    flex-direction: row;
    align-items: center;
}

.aurore-menu > li > button .material-symbols-rounded{
        transition: all 0.3s cubic-bezier(.27,.85,.69,1.27);
font-variation-settings: 'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
}
.aurore-menu > li > button[aria-expanded="true"] span{
transform: rotate(180deg);
}
.aurore-menu > li > button::after{
    content: "";
    background: var(--e-global-color-secondary);
    height: 12px;
    width: 0px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translate(-50%,0);
    transition: all 0.3s cubic-bezier(1,0,0,1);
}

.aurore-menu > li > button:hover{
    color: #FFF;
    text-transform: uppercase;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    transform: translateY(2px);
}

/*
.aurore-menu > li > button:hover::after{
    bottom: -10px;
    width: 125px;
    height: 6px;
    left: 50%;
    transform: translate(-50%,0);
}
*/

/* NIVEAU 1 */
.submenu-wrapper{
        transform: translateX(-50%);
    display: none;
position: fixed;
    top: 112px;
    left: 50%;
    width: 100%;

}
.submenu-wrapper .top{
    display: flex;
    flex-direction: row;
}

.submenu-wrapper .top .left{
flex: 1;
background: #F1FAFC;
padding: 2rem;
}

.submenu-wrapper .top .right{
flex: 2;
padding: 2rem 1rem;
background:#FCFEFE ;
position: relative;
    overflow: hidden;
     transition: all 0.3s cubic-bezier(1,0,0,1);
}

.submenu-wrapper .bottom{
    position: relative;
    height: 80px;
    border-radius: 0 0 1rem 1rem;
    background: #1A2F36;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.submenu-wrapper .bottom img{
    width: 100%;
    object-fit: cover;
}
.submenu-wrapper .bottom svg{
    position: absolute;
    z-index: 2;
}

.submenu-wrapper .bottom .overlay{
    
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.295);
    z-index: 1;

}

.submenu-wrapper .top .right > ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-auto-rows: auto;
    overflow: hidden;
    list-style: none;
    padding: 0;
    column-gap: 1rem;
}
.submenu-wrapper .top .right > ul > li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.submenu-wrapper .top .right > ul > li:hover {

    
}
.submenu-wrapper .top .right > ul > li > a{
    padding: 1rem;
    flex: 1;
    border-bottom: 1px solid #00000014;
        transition: all 0.275s ease-in-out;
}
.submenu-wrapper .top .right > ul > li > SVG{
    cursor: pointer;
   transition: all 0.3s cubic-bezier(.27,.85,.69,1.27);
      height: 100%;
}
.submenu-wrapper .top .right > ul > li > SVG:hover{

   aspect-ratio: 1;
   background:rgb(218, 218, 218);
   width: 48px;
   padding: 0 1rem;
}
.submenu-wrapper .top .right > ul > li > a:hover{
background: var(--e-global-color-primary);
    color: #fff;
}

.aurore-menu > li.open > .submenu-wrapper {
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-top: none;
    max-width: 1200px;
  }

.accroche{
    color: var(--e-global-color-primary);
}




/* NIVEAU 2 et autres */
.aurore-menu > li > ul > li > ul{
    display: none;
}
.aurore-menu .submenu.depth-1.open-submenu{
    display: block;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-auto-rows: auto;
    overflow: hidden;
    list-style: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    padding: calc(2rem + 38px) 1rem 2rem 1rem;
    background: #FCFEFE;
    column-gap: 1rem;
}
.aurore-menu .submenu.depth-1 li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.aurore-menu .submenu.depth-1 li a{
    padding: 1rem;
    display: flex;
    width: 100%;
    transition: all 0.275s ease-in-out;
        border-bottom: 1px solid #00000014;
}
.aurore-menu .submenu.depth-1 li a:hover{
    background: var(--e-global-color-primary);
    color: #FFF;
}
.back-button{
position: absolute;
width: 100%;
}

.back-button button{
    display: flex;
    width: 100%;
    border: none;
    border-radius: 0;
    text-align: start;
    border-bottom: 1px solid rgb(218, 218, 218);
    align-items: center;
    gap: 1rem;
}
.back-button button:hover{
    width: 100%;
    border: none;
    border-radius: 0;
    background: #fff;
    color: #1A2F36;
        border-bottom: 1px solid rgb(218, 218, 218);
}
.back-button button:active{
    width: 100%;
    border: none;
    border-radius: 0;
    background: #fff;
        color: var(--e-global-color-primary);
            border-bottom: 1px solid rgb(218, 218, 218);
}



/* nav-mobile */

.nav-mobile{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    min-height: 24px;
    background: #1A2F36;
}
.header-mobile{
    position: fixed;    
    top: 0;
    left: 0;
    right: 0;
    background: #1A2F36;
    padding: 0.5rem;
    display: none;
}
.header-mobile a{
    display: block;
}

body.admin-bar .header-mobile{
    top: 46px;
}
.nav-mobile-wrapper{
    display: none;
}

.header-mobile a:nth-child(2){
        display: none;
}

@media (max-width: 1023px) {
    .aurore-menu-wrapper{
        display: none;
    }
    .nav-mobile-wrapper{
    display: flex;
    }
    .header-mobile{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .nav-mobile-wrapper .nav-mobile{
        padding: 0;
        list-style: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }
    .nav-mobile-wrapper .nav-mobile a{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }
    .nav-mobile-wrapper span{
        color: #FFF;
        font-weight: 400;
        font-size: 0.75rem;
    }
    .mobile-menu-btn{
        background: #fff;
        border-radius: 4px;
        padding: 1rem;
        position: absolute;
        border: 1px solid rgba(0, 0, 0, 0.1);
        left: 50%;
        transform: translateX(-50%);
        top: -8px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mobile-menu-btn span{
        color: var(--e-global-color-primary);
    }

    

      /* mobilemenu */
    .nav-mobile-wrapper{
        display: block;
    }  
    .aurore-menu-mobile.reveal{
    bottom: 0;
    opacity: 1;
    height: 100vh;  
    }
.aurore-menu-mobile {
    transition: all 0.34s ease-in-out;
    bottom: -200%;
    opacity: 0;
    height: 0;
    position: fixed;
    overflow-y: auto;         
    background: #fff;
    left: 0;
    width: 100%;
    padding: 0;
    padding-bottom: 8rem;
}

    .admin-bar .aurore-menu-mobile{
        padding-top: 46px;
    }
    .aurore-menu-mobile >li{


    }
    .aurore-menu-mobile >li > button, .aurore-menu-mobile >li > button:hover, .aurore-menu-mobile >li > button:active,.aurore-menu-mobile >li > button:focus{
        background: none;
        border: none;
        border-radius: 0;
        color: var(--e-global-color-primary);
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        font-weight: 700;
    }
        .aurore-menu-mobile >li > button > span {
            color: var(--e-global-color-primary);
        }
    .aurore-menu-mobile >li > ul{
        padding: 1rem 0;
        padding-left: 2rem;
        list-style: none;
        background: #f3f3f3;
    }
     .aurore-menu-mobile >li > ul >li > a{
        font-size: 1rem;
        font-weight: 600;
        display: block;
     }
    .aurore-menu-mobile >li > ul > li > ul > li >a{
        font-size: 0.875rem;
        font-weight: 400;
        display: block;
        padding: 0.25rem 0;
    }
}


/* overlay menu*/

.admin-bar .overlay-menu{
    top: 112px;

}

.overlay-menu{
    display: none;
    opacity: 0 ;
    position: fixed;
    top: 80px;
    bottom: 0;
    left: 0;
    right: 0;
}
.overlay-menu.active{
    display: block;
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    backdrop-filter: blur(5px);
}