.navWrapper {
    position: sticky;
    width: 100%;
    z-index: 999;
    top: 0;
}

nav {
    padding: 0 100px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.4);
}

.logoNav {
    text-align: left;
}

.logoNav img {
    width: 7em;
    padding: 10% 0;
}

.catNav {
    align-content: center;
    font-family: 'CormorantSC';
    font-size: 1.2em;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 15px;
    display: flex;
    justify-content: center;
    text-decoration: none;
    color: white;
}

.wrapCatNav {
    align-content: center;
}

.dbNav {
    position: relative;
    width: 100%;
    height: 100%;
    align-content: center;
}

.dbContNav {
    /*caché de base*/
    display: none;
    width: 100%;
    position: absolute;
    /*ne dépasse pas le bouton de base*/
    overflow: hidden;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3);
    font-family: 'CormorantSC';
    font-size: 1.2em;
    border-top: 1px solid white;
}

.dbContNav a {
    color: white;
    display: flex;
    text-align: left;
    padding: 10px;
    position: relative;
    text-decoration: none;
}

.dbNav:hover .dbContNav {
    display: block;
}

.hamburgerToggle {
    display: none;
}

/*Tablette*/
@media (max-width: 991px) {
    .navWrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1200;
        pointer-events: none;
    }

    .navWrapper.is-open {
        inset: 0;
        height: 100dvh;
        background-color: rgba(0, 0, 0, 0.92);
        overflow: hidden;
        pointer-events: auto;
    }

    .hamburgerToggle {
        display: flex;
        position: fixed;
        top: 12px;
        right: 16px;
        z-index: 1201;
        width: 46px;
        height: 40px;
        border: 1px solid white;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 0 10px;
        cursor: pointer;
        box-sizing: border-box;
        background: transparent;
        pointer-events: auto;
    }

    .hamburgerToggle span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: white;
    }

    nav {
        display: none;
    }

    .navWrapper.is-open nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: min(100%, 500px);
        margin-left: auto;
        margin-right: auto;
        margin-top: 64px;
        padding: 0 0 8px;
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        pointer-events: auto;
    }

    .logoNav {
        display: flex;
        justify-content: center;
        text-align: center;
        margin-bottom: 6px;
    }

    .logoNav img {
        width: 5.5rem;
        padding: 0;
    }

    .dbNav,
    .wrapCatNav {
        display: grid;
    }

    .wrapCatNav:last-of-type {
        border-bottom: 1px solid rgb(255, 255, 255);
    }

    .catNav {
        font-size: 1.1rem;
        border-bottom: none;
        padding: 10px;
    }



    .dbContNav {
        display: grid;
        width: 100%;
        position: static;
        border-top: 1px solid rgba(255, 255, 255, 0.45);
        background-color: rgba(0, 0, 0, 0.25);
        overflow: visible;
    }


    .dbContNav a {
        display: flex;
        justify-content: center;
        text-align: center;
        font-family: 'CormorantSC';
        border-top: 1px solid rgba(255, 255, 255, 0.45);
        padding: 8px 10px;
    }
}

/*Tel paysage*/
@media (max-width: 767px) {
    .hamburgerToggle {
        top: 10px;
        right: 12px;
    }
}