/*Hero*/
.hero{
    padding-top: 152px;
}
h1{
    text-align: center;
}
.hero .tag-row{
    width: 100%;
    justify-content: center;
}
.hero > p{
    width: 56%;
    text-align: center;
    margin: 24px auto 40px;
}
.hero p span{
    font-style: italic;
}

/*Posters*/
.posters .row{
    justify-content: space-between;
    margin-top: 160px;
}
.posters .row > div:first-child{
    width: 52%;
}
.posters .row > div:first-child p:nth-child(2){
    margin-bottom: 8px;
}
.posters h3{
    margin-bottom: 24px;
}
.target-frame{
    width:36%;
    aspect-ratio: 1/1;
    position: relative;
    z-index: -1;
 }
 .framed-target{
     width: 136%;
     aspect-ratio: 1/1;
     border-radius: 80px;
     overflow: hidden;
     position: absolute;
     top: 50%;
     transform-origin: center;
     transform: translateX(0%) translateY(-50%) rotate(20deg);
 }
 .framed-target img{
     height: 152%;
     transform-origin: center;
     transform: rotate(-20deg) translate(-4% , -16%) ;
 }
 .reversed .framed-target{
    transform: translateX(-24%) translateY(-50%) rotate(20deg);
 }

/*Triples*/
.triples h2{
    text-align: center;
    margin: 160px 0 24px;
}
.triples p{
    margin: 0 auto 80px;
    text-align: center;
    width: 80%;
}
.triples .row{
    column-gap: 20px;
    width: 100%;
}
.triples .row > div{
    width: 32%;
}
.triples h3{
    text-align: center;
}
.triples .poster{
    width: 100%;
    margin-bottom: 24px;
    aspect-ratio: 4/5;
}
.emotion{
    background: url('../img/webp/emotion.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.conscient{
    background: url('../img/webp/conscient.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.raison{
    background: url('../img/webp/raison.webp');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/*Lessons*/
.lessons{
    margin-top: 160px;
}
.lessons h2{
    text-align: center;
    margin-bottom: 80px;
}

.lessons .row {
    width: 100%;
    column-gap: 20px;
    justify-content: space-between;
}
.lessons .card{
    width: 32%;
    padding: 20px;
}
.lessons h4{
    text-align: center;
}

.picto{
    height: 108px;
    display: block;
    margin: 0 auto 24px;
}

/*Responsive*/

@media screen and (max-width: 800px) {

    /*Hero*/
    .hero > p{
        width: 100%;
    }

    /*Posters*/
    .posters .row{
        flex-wrap: wrap-reverse;
    }
    .posters .row > div:first-child{
        width: 100%;
    }
    .target-frame{
        margin-bottom: 80px;
        width:60%;
        transform: translate(20%, 0);
    }
    .reversed .target-frame{
        transform: translate(-20%, 0);
    }

    /*Triples*/
    .triples > p{
        width: 100%;
    }
    .triples .row {
        position: relative;
    }
    .poster{
        transition:  all .4s ease-in-out;
    }
    .bigger{
        transform: scale(2.8);
        z-index: 1;
    }
    .triples .emotion{
        transform-origin: center left;
    }
    .triples .conscient{
        transform-origin: center;
    }
    .triples .raison{
        transform-origin: center right;
    }

    /*Lessons*/
    .lessons > p{
        width: 100%;
    }
    .lessons .row{
        flex-wrap: wrap;
        row-gap: 24px;
    }
    .lessons .card{
        width: auto;
        flex-grow: 0;
        display: flex;
        column-gap: 20px;
        padding: 20px;
        align-items: center;
    }
    .lessons .picto{
        height: 64px;
        margin: 0;
    }
}