@media (max-width: 1024px) {
    .page-content-wrapper,
    #textpage{
        width: 100%;
        padding: 0 2em;
        box-sizing: border-box;
    }

    #display-type::after {
        content: "tablet";
    }

    .nav-container {
        height: 100%;
        display: flex;
        justify-content: flex-end;
    }


    .nav-wrapper {
        padding: 0 10px 10px 0;
    }

    /* mobile styles */
    .menu-button {
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        cursor: pointer;
        /*background: red;*/
    }

    .menu-button span {
        display: block;
        width: 100%;
        height: 6px;
        background-color: #FFF;
        border-radius: 1px;
        transition: transform 0.3s ease;
    }

    .menu-button.active span {
        background: var(--color-vocapia-yellow);
    }

    /* Animation pour la croix */
    .menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(11px, 9px) scaleX(1.1);
    }

    .menu-button.active span:nth-child(2) {
        transform: scaleX(0);
    }

    .menu-button.active span:nth-child(3) {
        /*transform: rotate(-45deg) translate(5px, -5px);*/
        transform: rotate(-45deg) translate(9px, -8px) scaleX(1.1);
    }


    .nav-menu {
        /*display: none;*/
        display: flex;
        flex-direction: column;
        visibility: hidden;
        opacity: 0;
        position: fixed;
        height: auto;
        top: 89px; /* header - 1px : to prevent transparent line in mobile */
        padding-top: 1px;
        box-sizing: border-box;
        left: 0;
        right: 0;
        bottom: 0;
        /* width: 100vw; */ /* full viewport width */
        width: 100%;
        /*background: #333;*/
        z-index: 1000;
        /*transition-delay: 250ms;*/
    }

    .nav-menu:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--main-black-color);
    }

    .nav-menu.active {
        transition-property: visibility, opacity;
        /* JLG: this was creating a transitional phantom menu */
        transition-duration: 250ms;
        transition-timing-function: ease;
        visibility: visible;
        opacity: 1;
        overflow: auto;
    }

    .nav-menu > li {
        display: block;
        position: relative;
        margin: 0;
        width: 100%; /* full width list items */
    }

    .nav-menu > li:not(.menu-backdrop):before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: #444;
    }

    .submenu {
        position: relative;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        padding-left: 20px;
        top: 0;
        visibility: visible;
        display: none;
        opacity: 0;
        transition: none;
    }

    .nav-menu > li.has-submenu > a.active {
        /*background-color: #333;*/
        background: #FFF;
        color: var(--main-black-color);
    }

    .nav-menu > li.has-submenu > a:after {
        content: "\25BC"; /* ou "▼" */
        flex-grow: 1;
        text-align: right;
        display: block;
        position: relative;
        transform: scaleX(1.5);
        transform-origin: center right;
    }

    .nav-menu > li.has-submenu > a.active:after {
        /*content: "▲";*/
        content: "\25B2"; /* ou "▲" */
    }

    .nav-menu > li.has-submenu > a {
        display: flex;
    }


    .nav-menu li.has-submenu a.active + .submenu {
        visibility: visible;
        opacity: 1;
        display: block;
    }


    .nav-menu > li {
        font-size: 1rem;
    }

    .nav-menu > li > a {
        font-size: inherit;
    }

    .nav-menu .submenu,
    .nav-menu .submenu a {
        font-size: inherit;
    }

    .menu-backdrop {
        display: block;
        flex-grow: 1;
        background: var(--main-black-color);
        opacity: 0.5;
    }

    #banner {
        height: 220px;
    }

    #banner_title {
        padding: 50px 0px 10px 0px;
        font-size: 40px;
    }

    #banner_subtitle {
        width: 550px;
        padding: 0px 0px 10px 0px;
        font-size: 20px;
    }

    .bigbox > div {
        height: auto;
        margin: 40px 0 0 0;
    }

    .bigbox .icon_set {
        padding: 13px 0 0 0;
        gap: 13px;
    }

    .bigbox .img { /* h=13+85=98 */
        height: 85px;
        padding: 13px 0 0 0;
    }

    .bigbox .icon { /* h=68+21+9=98 */
        height: 68px;
        padding: 21px 0 9px 0;
    }

    .bigbox .title {
        font-size: 26px;
    }

    .bigbox .text {
        font-size: 19px;
    }

    #textpage {
        font-size: 19px;
    }

    .normaltextleft {
        font-size: 19px;
    }

    .smalltext {
        font-size: 14px;
    }


    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 20px;
    }

    .normaltext {
        text-align: left;
    }

    .normaltextborder {
        text-align: left;
    }

    .boldtext {
        text-align: left;
    }

    .text-wrapper {
        text-align: left;
    }

    #footsection {
        font-size: 80%;
    }



    .page-content-wrapper .hp-vocapia-usecases {
        margin-left: -2em;
        margin-right: -2em;
    }

    /*.hp-vocapia-usecases .description-list {*/
    /*    width: 30%;*/
    /*}*/
    /*.hp-texts,*/
    /*.hp-services-box {*/
    /*    margin-left:2em;*/
    /*    margin-right:2em;*/
    /*}*/
    body .video-list {
        gap: 2em 0em;
    }

    body .video-list .video-element-wrapper {
        flex: 0 1 calc(50% - 3em);
    }


    .hp-services-box .list {
        gap:1em;
    }
    .hp-services-box .list .service {
        width: 120px;
    }

    .hp-randd-area .text {
        width:100%;
    }
}
