/* navBar */
    /* menu */
        nav{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 16px;
            padding: 0 32px;
        }

        .menuLogo{
            display: none;
        }

        nav .niveau1{
            list-style: none;
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .menuItem a, .menuItem span{
            color: var(--white);
            cursor: pointer;
        }

        .menuItem{
            position: relative;
            padding-bottom: 5px;
        }

        .menuItem:hover:before{
            content: '';
            width: 100%;
            height: 2px;
            position: absolute;
            left: 0; bottom: 0;
            background: var(--pink);
            animation: navAmimate .3s linear;
        }

        li.active:before{
            content: '';
            width: 50%;
            height: 2px;
            position: absolute;
            left: 0; bottom: 0;
            background: var(--pink);
        }

        @keyframes navAmimate {
            0%{
                width: 33.33%;
            }
            50%{
                width: 66.66%;
            }
            100%{
                width: 100%;
            }
        }

        /* sous menu */
            .menuItem div{
                display: flex;
                align-items: center;
            }

            .menuItem div i{
                color: var(--white);
            }

            .niveau2{
                position: absolute;
                top: 100%; left: 0;
                list-style: none;
                background: var(--black);
                min-width: max-content;
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);            
            }

            .niveau2.open {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }

            .subMenuItem{
                padding: 10px;
            }

            .subMenuItem a{
                color: var(--black);
            }

            .subMenuItem:hover{
                background: var(--green);
            }

            .subMenuItem:hover a{
                color: var(--white);
            }
        /* sous menu */
    /* menu */

    /* nav icon */
        .boxNavIcon{
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .boxNavIcon div i, .boxNavIcon a i, .menuTel i{
            color: var(--white);
            font-size: 20px;
            cursor: pointer;
        }

        .menuTel i{
            font-size: 22px;
        }

        .menuTel{
            display: none;
        }
    /* nav icon */
/* navBar */


/* responsive */
    /* navbar */
        @media screen and (max-width: 1050px) {
            nav{
                padding: 32px 16px;
            }
        }

        @media screen and (max-width: 950px) {
            nav{
                justify-content: flex-end;
                padding: 32px 64px;
            }

            .menuTel{
                display: block;
            }

            nav .niveau1{
                position: fixed;
                top: 0; left: 0;
                backdrop-filter: blur(15px);
                background: var(--light-white);
                border-right: 1px solid var(--light-gray);
                width: 230px; height: 100dvh;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                padding: 16px 20px;
                gap: 0;
                clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
                z-index: 10000;
            }

            .niveau1.active{
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }

            .menuLogo{
                display: block;
                border-bottom: 1px solid var(--light-gray);
                padding-bottom: 16px;
                margin-bottom: 25px;
            }

            .menuItem{
                width: 100%;
                padding: 8px 0;
                border-bottom: 1px solid var(--light-gray);
            }

            .menuItem a, .menuItem span{
                color: var(--black);
            }

            li.active:before, .menuItem:hover:before{
                height: 0;
            }

            .menuItem div{
                justify-content: space-between;
            }
        }

        @media screen and (max-width: 750px) {
            nav{
                padding: 25px 48px;
            }
        }

        @media screen and (max-width: 530px) {
            nav{
                padding: 37px 32px;
            }
        }

        @media screen and (max-width: 450px) {
            nav .niveau1{
                width: 210px;
            }
        }

        /* sous menu */
            @media screen and (max-width: 950px) {
                .niveau2.open{
                    position: relative;
                    top: 0; left: 0;
                    min-width: 100%;
                    padding-left: 16px;
                    background: none;
                }

                .subMenuItem{
                    padding: 5px 0;
                }

                .subMenuItem a{
                    font-size: 15px;
                }
            }

            @media screen and (max-width: 450px) {
                .subMenuItem a{
                    font-size: 14px;
                }
            }
        /* sous menu */
    /* navbar */
/* responsive */