
/* ---------------------- CONTENT ----------------------- */


#wrap{
    display: block;
    width: 100%;
    position: relative;
    min-height: 120vh;
}

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

.siema{
    display: block;
    position: relative;
    height: 100%;
    margin: 0;
    width: 100vw;
}

.siema img{
    
    width: 100vw;
    height: auto;
}


.containerList{
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}


.round{
    height: 15px;
    width: 15px;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin: 2vw 5px;
    transition: .5s;
    background-color: white;
    border-radius: 50%;
}

.active{
    background-color: var(--yel);
}

/* ------- */

#presentation{
    display: block;
    position: relative;
    text-align: center;
    width: calc(100% );
    padding: calc(2 * var(--marge)) 0;
    background-color: white;
}

#presentation div{
    display: inline-block;
    vertical-align: top;
    margin: 0 calc(var(--marge)/2);
    height: 37vw;
    width: 37vw;
    overflow: hidden;
}

#pEquipe img{
    width: auto;
    height: 100% !important;
    transform: translate(-5%, 0);
}



#flexPres{
    display: flex;
    justify-content: space-between;
    height: 37vw;
    flex-direction: column;
}


#shortPres{
    text-align: left;
}

#pictoService{
    display: block;
}
#pictoService img{
    display: inline-block;
    width: 20%;
    margin-right: 1vw;
    height: auto;
    vertical-align: top;
}

#contactPres{
    display: block;
    background-color: var(--bl);
    color: var(--yel);
    border-radius: var(--bradius);
    cursor: pointer;
    transition: .2s;
    font-weight: 900;
    padding: 1.25vw;
    width: fit-content;
    font-size: 1.2vw;
}

#contactPres:hover{
    color: var(--bl);
    background-color: var(--yel);
}

/* ------- */

#metiers{
    display: block;
    padding-bottom: 7.5vw;
    text-align: center;
    position: relative;
    background-color: var(--yel);
}

#listeMetiers{
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    width: 80vw;
    margin: 0 auto;
}

.met{
    height: 15vw;
    width: 25vw;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    transition: .2s;
    margin-bottom: 2.5vw;
    text-align-last: center;
    cursor: pointer;
    position: relative;
    border-radius: var(--bradius);
}

.illMet{
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    transition: .2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hov{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    text-transform: uppercase;
    color: var(--yel);
    font-size: 1.3vw;
    transition: .2s;
    font-weight: 900;
    transform: translate(-50%, -50%) scale(.8);
    opacity: 0;
    pointer-events: none;
}

.butP{
    display: block;
    position: relative;
    margin: 0 auto;
    width: 3vw;
    margin-top: 1.5vw;
    height: 3vw;
    border: 2px solid var(--yel);
    border-radius: var(--bradius);
}

.butP span{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 8%;
    border-radius: 150px;
    background-color: var(--yel);
}

.butP span:first-of-type{
    transform: translate(-50%, -50%) rotate(90deg);
}

.met:hover {
    background-color: var(--bl);
}

.met:hover .hov{ 
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

.met:hover .illMet{
    opacity: .2 !important;
}

#imMetT{
    display: block;
    transform-origin: center;
    position: absolute;
    top: 0;
    width: 40vw;
    height: auto;
    transition: .2s;
    right: 0;
    transform: translate(30% , -50%)  scaleX(-1) ;
}


#imMetB{
    display: block;
    transform-origin: center;
    position: absolute;
    bottom: 0;
    width: 22vw;
    height: auto;
    left: 0;
    transform: translate(-57% , 50%);
}

/* ------- */

#contact{
    background-color: white;

}



/* ------------------- Introduction --------------------- */

#intro{
    display: block;
    width: 100svw;
    height: 100svh;
    z-index: 1000;
    transition: 1.3s;
    top: 0;
    overflow: hidden;
    background-color: var(--yel);
    left: 0;
    position: fixed;
}

.center{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.illIntro{
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform .3s, top .7s;
    width: 50%;
    height: auto;
}

#graphTR{
    left: 75%;
    top: 0;
}

#graphBL{
    top: 100%;
    left: 25%;
}


@media (orientation:portrait){

    #listeMetiers{
        display: block;
        width: 88vw;
    }

    #metiers h2{
        padding-top: 10vw;
    }

    #presentation{
       
        width: 88vw;
        margin: 0 auto;
        padding: var(--marge);
        background-color: white;
    }

    #pEquipe{
        width: 90vw;
        border-radius: var(--bradius);
    }

    #pEquipe img{
        width: 90vw;
        height: auto !important;
        border-radius: var(--bradius);
        transform: translate(0, 0);
    }
    

    #presentation div{
        display:  block;
        margin: 0 auto;
        width: 100%;
        height: max-content;
      
    }

    #flexPres{
        display: block;
        height: max-content;
        width: 100%;
    }

    #flexPres h3::after, #flexPres h3::before{
        display: block;
        content: " ";
        white-space: pre;
    }

    #flexPres p::after{
        display: block;
        white-space: pre;
        content: " ";
    }

    #contactPres{
        margin-top: 6vw;
        font-size: 4vw;
        width: fit-content;
        padding: 4vw 5vw;
        text-decoration: none;
        cursor: pointer;  
    }

    .illMet{
        display: block;
        position: absolute;
        height: 100%;
        width: auto;
        transition: .2s;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .met{
        height: 88vw;
        width: 88vw;
        margin-bottom: 6vw;
        background-color: var(--bl);
        display: block;
    }

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


    .hov{
        font-size: 6vw;
    }

    .butP{
        width: 12vw;
        margin-top: 6vw;
        height: 12vw;
    }
    
    .butP span{
        width: 40%;
        height: 8%;
    }

    #imMetT{
        display: none;
    }
    
    
    #imMetB{
        display: none;
    }

           
    .round{
        height: 10px;
        width: 10px;
        margin: 2vw 5px 2vw 0;
   
    }
    
    

}