*,
:after,
:before {
    box-sizing: border-box
}

body {
    --color-menu: #0984E3;
    --color-menu-hover: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

}

.unbutton {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit
}

.unbutton:focus {
    outline: none
}

main {
    display: grid;
    place-items: center;
}

.menu {
    grid-area: 1/1/2/2;
    display: grid;
    place-items: center;
    position: relative;
    margin-top: 0em;
}

.menu__item {
    cursor: pointer;
    color: var(--color-menu);
    line-height: .9;
    text-transform: uppercase;
    font-size: 5vw;
    font-weight: 600;
    will-change: transform;
    pointer-events: none;
    transform: translateZ(0)
}

.menu--open .menu__item {
    pointer-events: auto
}

.menu__item:hover {
    color: var(--color-menu-hover)
}

.menu__item:nth-child(1n) {
    font-family: roc-grotesk, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
    margin-bottom: 1vw;
}

.menu__item:nth-child(2n) {
    font-weight: 300;
    font-family: "moret-variable", Book Antiqua, serif;
    margin-bottom: 1vw;
}

.menu__item:nth-child(2) {
    margin-left: -10vw;
    margin-bottom: 2vw;
}

.menu__item:nth-child(4) {
    margin-bottom: 2vw;
}

.menu__item:nth-child(5) {
    margin-left: -10vw;
    margin-bottom: 1vw;
}

.stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    display: grid;
    place-items: center;
    align-content: center;
    justify-content: center;
    grid-gap: 7vh;
    opacity: 0
}

.stack__img {
    width: 50vw;
    will-change: transform
}

.content-wrap {
    grid-area: 1/1/2/2;
    display: grid;
    place-items: center;
    width: 100%;
    overflow: hidden
}

.content {
    grid-area: 1/1/2/2;
    display: grid;
    place-items: center;
    height: 100vh
}

.splitting .char:after,
.splitting .char:before {
    content: attr(data-char);
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: inherit;
    user-select: none
}

.content__title {
    color: var(--color-content);
    font-size: 9vw;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    grid-area: 1/1/2/2
}

.content:nth-child(2n) .content__title {
    font-weight: 300;
    font-style: italic;
    font-family: "moret-variable", Book Antiqua, serif;
}

.content__text {
    max-width: 50ch;
    position: relative;
    align-self: end;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    grid-area: 1/1/2/2;
    will-change: opacity, transform
}

.content__text:after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 500;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(transparent, transparent 70%, var(--color-bg))
}

.close {
    color: var(--color-menu);
    cursor: pointer;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: .65rem;
    font-weight: 500;
    right: 1rem;
    z-index: 150;
    text-transform: uppercase
}

.close:focus,
.close:hover {
    color: var(--color-menu-hover)
}

.close__cross {
    font-size: 120%;
    margin-right: .25rem
}

@supports (display:grid) {
    .splitting.cells {
        position: relative;
        overflow: hidden;
        background-size: cover;
        visibility: hidden
    }

    .splitting .cell-grid {
        background: inherit;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template: repeat(var(--row-total), 1fr)/repeat(var(--col-total), 1fr)
    }

    .splitting .cell {
        background: inherit;
        position: relative;
        overflow: hidden
    }

    .splitting .cell-inner {
        background: inherit;
        position: absolute;
        visibility: visible;
        width: calc(100%*var(--col-total));
        height: calc(100%*var(--row-total));
        left: calc(-100%*var(--col-index));
        top: calc(-100%*var(--row-index))
    }

    .splitting .cell {
        --center-x: calc(var(--col-total)/2 - 0.5);
        --center-y: calc(var(--row-total)/2 - 0.5);
        --offset-x: calc(var(--col-index) - var(--center-x));
        --offset-y: calc(var(--row-index) - var(--center-y));
        --distance-x: calc(var(--offset-x)*var(--offset-x)/var(--center-x));
        --distance-y: calc(var(--offset-y)*var(--offset-y)/var(--center-y))
    }
}

.box-logos {
    width: 18%;
    display: inline-block;
    padding: 0em;
    text-align: center;
    margin: auto;
}

.width-img {
    width: 100%;
    max-width: 150px;
    opacity: 0.7;
}

.container-logos {
    margin: auto;
    text-align: center;
}

.hover-line {
    overflow: hidden;
    position: relative;
    display: inline-block
}

.hover-line:before {
    content: "";
    height: 1px;
    width: 100%;
    background: currentColor;
    position: absolute;
    top: 94%;
    transition: transform .3s;
    transform-origin: 0 50%
}

.js .content {
    opacity: 0;
    pointer-events: none
}

.js .content--current {
    opacity: 1;
    pointer-events: auto
}

.hover-line:hover:before {
    transform: scaleX(0);
    transform-origin: 100% 50%
}

.lien-mobile {
    font-family: Montserrat, arial, sans-serif;
    display: none;
    border: #fff;
    border: 0.05em solid;
    text-transform: none !important;
    padding: 1em;
    border-radius: 50px;
    font-weight: 100;
    font-size: 16px;
    width: 60%;
    margin: auto;
    margin-top: 1.5em;
}


@media screen and (max-width: 54em) {
    .menu__item:nth-child(2n) {
        font-family: "moret-variable", Book Antiqua, serif!important;
        font-weight: 400 !important;
        margin-left: auto;
        margin-right: auto;
    }

    .menu__item:nth-child(n) {
        font-family: "moret-variable", Book Antiqua, serif!important;
        font-weight: 400 !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 5vw;
        height: 35vh;
        padding-top: 8vh;
        border-radius: 25px;    text-transform: none !important;
    }

    .menu__item {
        color: #fff;
    }

    .menu__item:nth-child(4) {
        margin-left: auto;
        margin-right: auto;
    }

    .menu-img01{
        background: url(../images/etude-de-cas/vignette-eurotunnel-projet.webp);
        background-size: cover;
        width: 100%;
    }
    .menu-img02{
        background: url(../images/etude-de-cas/vignette-pizzapai-projet.webp);
        background-size: cover;
        width: 100%;
    }
    .menu-img03{
        background: url(../images/etude-de-cas/vignette-nexity-projet.webp);
        background-size: cover;
        width: 100%;
    }
    .menu-img04{
        background: url(../images/etude-de-cas/vignette-technic-projet.webp);
        background-size: cover;
        width: 100%;
    }
    .menu-img05{
        background: url(../images/etude-de-cas/vignette-nexity-projet.webp);
        background-size: cover;
        width: 100%;
    }
    .menu-img06{
        background: url(../images/etude-de-cas/vignette-ikea-projet.webp);
        background-size: cover;
        width: 100%;
    }

    .menu {
        margin-top: 5em!important;
        width: 100%;
        padding: 1em;
        text-align: center;
    }

    .menu__item {
        font-size: 10vw !important;
    }


    .menu__item:nth-child(1) {
        margin-bottom: 4vw !important;
        height: 4em !important;
    padding-top: 1em !important;
        border-radius: 25px;    text-transform: none !important;
    }

    .menu__item:nth-child(2) {
        margin-bottom: 5vw !important;
        height: 4em !important;
        padding-top: 1em !important;
        border-radius: 25px;    text-transform: none !important;
    }
    .menu__item:nth-child(3) {
        margin-bottom: 5vw !important;
        height: 4em !important;
    padding-top: 1em !important;
        border-radius: 25px;    text-transform: none !important;
    }

    .menu__item:nth-child(4) {
        margin-bottom: 5vw !important;
        height: 4em !important;
    padding-top: 1em !important;
        border-radius: 25px;    text-transform: none !important;
    }

    .menu__item:nth-child(5) {
        margin-bottom: 5vw !important;
        height: 4em !important;
    padding-top: 1em !important;;
        border-radius: 25px;    text-transform: none !important;
    }

    .h3__title {
        margin-top: 0;
    }

    .lien-mobile {

        display: block;
    }
    .h1-etude{
        margin-top: -169vh;
        position: absolute;
        display:block!important;
      }
}

.h1-etude{
    display:none;
  }

  .marge-haut{
    margin-top: 0em!important;
  }

  @media screen and (max-width: 500px) {
    .menu__item:nth-child(1) {
        margin-bottom: 4vw !important;
        height: 35vh!important;
        padding-top: 8vh!important;
    }

    .menu__item:nth-child(2) {
        margin-bottom: 5vw !important;
        height: 35vh!important;
        padding-top: 8vh!important;
    }
    .menu__item:nth-child(3) {
        margin-bottom: 5vw !important;
        height: 35vh!important;
        padding-top: 8vh!important;
    }

    .menu__item:nth-child(4) {
        margin-bottom: 5vw !important;
        height: 35vh!important;
        padding-top: 8vh!important;
    }

    .menu__item:nth-child(5) {
        margin-bottom: 5vw !important;
        height: 35vh!important;
        padding-top: 8vh!important;
    }

    .menu {
        margin-top: -3em !important;
    }
    .h1-etude {
        margin-top: -177vh;
    }

  }