/* -------------------------- MENU -------------------------- */
.menu ul {
    list-style: none;
}

.menuList {
    display: flex;
    align-items: center;
    gap: 26px;
}

.menuItem {
    position: relative;
}

.menuParent, .menuRetour {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #000;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.5px;
    white-space: nowrap;
}

.menuParent {
    min-height: 38px;
}

.menuParent img {
    width: auto;
    height: auto;
    object-fit: contain;
}

.menuParent .flecheHaut {
    transform: scaleY(-1);
}

.menuParent[aria-expanded="true"] .flecheHaut {
    transform: none;
}

.menuParent .flecheDroite, .menuRetour, .sousMenuTitre {
    display: none;
}

.menuBlog {
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.menuContact {
    margin-left: 4px;
    padding: 8px 16px;
    border-radius: 36px;
    background: #0e0e0e;
    color: #fff;
    font-family: 'Noir Pro', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    text-transform: uppercase;
    white-space: nowrap;
}

.sousMenu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    min-width: max-content;
    padding: 26px;
    border-radius: 28px;
    background: rgba(238, 238, 238, .96);
    box-shadow: 4px 4px 11.1px rgba(0, 0, 0, .04);
}

.sousMenu[hidden] {
    display: none;
}

.sousMenu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sousMenu li {
    display: flex;
    align-items: center;
    min-height: 33px;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.5px;
}

@media (max-width: 1100px) {
    .menu {
        display: none;
        position: absolute;
        top: 109px;
        left: 26px;
        right: 26px;
        bottom: 20px;
        overflow-y: auto;
    }

    .header.menuOuvert .menu {
        display: block;
    }

    .menuList {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .menuParent {
        width: 100%;
        min-height: 25px;
        justify-content: space-between;
    }

    .menuParent .flecheHaut {
        display: none;
    }

    .menuParent .flecheDroite {
        display: block;
    }

    .menuBlog {
        min-height: 20px;
    }

    .menuContact {
        align-self: flex-start;
        margin: 0;
        font-size: 12px;
        line-height: 14px;
    }

    .sousMenu {
        position: static;
        transform: none;
        min-width: 0;
        padding: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    .menu.sousMenuOuvert .menuItem, .menu.sousMenuOuvert .menuContact {
        display: none;
    }

    .menu.sousMenuOuvert .menuItem.actif {
        display: block;
    }

    .menu.sousMenuOuvert .menuItem.actif .menuParent {
        display: none;
    }

    .menuRetour {
        display: flex;
        gap: 10px;
        margin-bottom: 18px;
    }

    .menuRetour img {
        width: auto;
        height: auto;
        transform: rotate(180deg);
    }

    .sousMenuTitre {
        display: block;
        margin-bottom: 20px;
        color: #000;
        font-size: 16px;
        font-weight: 600;
        line-height: 21.5px;
    }

    .sousMenu ul {
        gap: 16px;
    }

    .sousMenu li {
        min-height: 20px;
        font-size: 13px;
        font-weight: 400;
        line-height: 20px;
    }

}

/* Liens du menu administré dans WordPress */
.menuList > .hasChildren {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menuList > .menuItem > .menuLabel {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.5px;
    white-space: nowrap;
}

.menuList > .menuContact > .menuLabel {
    color: #fff;
    font-family: 'Noir Pro', sans-serif;
    font-size: 13px;
}

.sousMenu .menuLabel {
    color: #000;
}

@media (max-width: 1100px) {
    .menuList > .hasChildren {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .menuList > .hasChildren .menuParent {
        width: auto;
    }

    .menuList > .hasChildren .sousMenu {
        width: 100%;
    }

    .menu.sousMenuOuvert .menuItem.actif > .menuLabel {
        display: none;
    }

    .menuList > .menuContact > .menuLabel {
        color: #fff;
        font-size: 12px;
    }

}
