

.secTra{
    transition: .3s;
    display: block;
    position: fixed;
    top: 80px;
    width: calc(50% - 1.5 * var(--marge));
    
    margin-left:   var(--marge);
    text-transform: uppercase;
    background-color: var(--color);
    height: calc(100vh - 80px - 50px);

}

#processus{
    left: 0;

}

h4{
    display: block;
    margin-bottom: var(--marge);
}


#realisation{
    left: calc(50% + (var(--marge)/2));
    z-index: 2;
    margin-left: 0;
}

.count{
    margin-left: calc(4 * var(--marge));
}



.openT{
    transform: translate(calc(-100% - var(--marge) ) , 0);
}

.openTxt{
    left: 50% !important;
}





.embla__slide img{
    max-width: 100%;
     max-height: 100%;
    width: auto;
    padding-bottom: var(--marge);
    height: auto;
    position: relative;
    display: block;
}

.embla__slide video{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    padding-bottom: var(--marge);
    position: relative;
    display: block;
    height: auto;
}



.imageWrapper img:last-of-type{
    margin-bottom: 0;
}

#cartouche{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    position: fixed;
    text-transform: uppercase;
    bottom: 0;
    z-index: 4;
    width: calc(100% - (var(--marge)));
    left: 0;
    background-color: var(--color);
    padding: var(--marge);
}

.descComplete{
    max-height: 0;
    transition: .2s;
    overflow: hidden;
}

.descOn {
    max-height: 10vh !important;

}

#showInfo{
    cursor: pointer;
}

.arrow::after{
    content: "→";
    margin-left: var(--marge);
}
.cross::after{
    margin-left: var(--marge);
    content: "✕";
}



#diapo{
    display: block;
    position: fixed;
    left: 0;
    z-index: 4;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
}

#diapo img{
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
}

#imgDiapo{
    max-width: 100vw;
    max-height: 100vh;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);


}

.infoDiapo{
    display: block;
    color: white;
  
    padding: var(--marge);
    position: fixed;
   
}

.np{
    padding: 0 !important;
      width: 50vw;
      z-index: 4;
    height: 90vh;
}

#ctcD{
    top: 0;
    z-index: 3;
    left: 50%;
    transform: translate(-50%, 0);
}

#titleD{
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

#closeDiapo{
    display: block;
    position: absolute;
    cursor: pointer;
    bottom: 0;
    right: 0;
}

#prevD{
    top: 0;
    cursor: w-resize;
    left: 0;
}

#nextD{
    top: 0;
    right: 0;
    cursor: e-resize;
}



#texte{
    line-height: 1.2;
    left: 100vw;
    height: 100%;
    margin-left: calc(var(--marge) / 2);
    z-index: 3;
    background-color: var(--color);
    text-transform: unset;
    
}

.esp{
    line-height: 1;
}

#mainTexte{
    display: block;
    position: relative;
}

#texte p:first-of-type{
    text-indent: 0;
}

#texte p{
    max-width: 90%;
    text-indent: calc(3 * var(--marge));
}

#tableau{
    width: calc(100% - (1.5 * var(--marge)));
    text-transform: uppercase;
    padding-bottom: var(--marge);
}

#tableau h2{
    margin-top: calc(var(--marge) * 2);
}


.lineTab{
    display: grid;
    grid-template-columns: repeat(12, 1fr);

}

.item-tab{
    grid-column: span 2;
}

.long{
    grid-column:  span 4;
}

.tres-long{
    grid-column: span 6;
}

.m1{
    display: inline-block;
    width: 80px;
}
.m2{
    display: inline-block;
    width: 50px;
}


@media(orientation:portrait){

    body{
        overflow-x: hidden;
    }

    html{
        overflow-x: hidden;
    }


    #cartouche{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        position: relative;
        bottom: unset;
    }

    .longMobile{
        grid-column: span 2;
    }

    .secTra{
        position: relative;
        display: block;
        top: 0;
        width: calc(100% - (var(--marge) * 2));
        height: fit-content;

        padding-bottom: var(--marge);

    }

    .descComplete{
        transition: 0s;
    }

    #realisation{
        left: var(--marge);
    }

    .descOn::after {
        display: block;
        content: " ";
        white-space: pre;
    }

    #texte{
        left: 0;
        height: auto;
        max-height: 0;
        overflow: hidden;
        margin-left: calc(var(--marge));        
    }

    #texte p{
        max-width: 100%;
    }

    .imageWrapper{
        height: 50vh;
    }

    .embla__slide img{
        max-width: 100%;
        max-height: 50vh;
        width: auto;
        height: auto;
    }

    .embla__slide video{
        max-width: 100%;
        max-height: 50vh;
        width: auto;
        height: auto;
    }

    .imageWrapper img{
        max-width: calc(100vw - 2 * (var(--marge)));
        max-height: 50vh;
        width: auto;
        height: auto;
        margin-bottom: 0;
        margin-right: var(--marge);
    }

    .imageWrapper video{
        max-width: calc(100vw - 2 * (var(--marge)));
        max-height: 50vh;
        margin-bottom: var(--marge);
        width: auto;
        display: block;
        height: auto;
    }

    .openT{
        transform: unset;
    }

    .openTxt{
        left: 0% !important;
        max-height: fit-content !important;
    }
    



}