/**********************
* Quartier Mont Mesly *
**********************/

.main{
    padding: 4rem 10%;
}
/* Responsive desktop */
@media screen and ( min-width:1300px ) {
    .main{
        margin-top: 10vh;
        position: relative;
    }
}

/* Introduction */
.intro{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.intro__contenu > *:not(:last-child){
    margin-bottom: 1rem;
}
.intro__contenu > p:not(:last-of-type){
    margin-bottom: .5rem;
}
.intro__photo{
    box-shadow: var(--ombre3);
    width: 100%;
    max-width: 37.5rem;
}
.intro strong{
    color: var(--noir);
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .intro{
        flex-direction: row;        
        gap: 4rem;
        margin-top: 6rem;
        position: relative;
    }
    .intro__photo{
        width: 60%;
        height: auto;
        object-fit: cover;
        align-self: stretch;
    }
    .intro__contenu > *:not(:last-child){
        margin-bottom: 2rem;
    }
    .intro .intro__contenu{
        position: relative;
        padding-left: 4rem;
        top: -6rem;
        width: 40%;
    }
    .intro .intro__contenu::before{
        content: "";
        position: absolute;
        top: -4rem;
        right: -10rem;
        bottom: -4rem;
        left: 0;
        background-color: var(--gris-clair);
        z-index: -2;
    }
    .intro::before{
        position: absolute;
        content: url(../images/ballon-bleu-clair.svg);
        top: 0;
        transform: translateY(-57%);
        right: 16%;
    }
}
@media screen and ( min-width:1390px ) {
    .intro::before{
        transform: translateY(-30%);
    }
}


/* Textes */

.textes > *:not(:last-child){
    margin-bottom: 1rem;
}
.textes > p:not(:last-of-type){
    margin-bottom: .5rem;
}
.textes h3{
    font-size: 1.25rem;
    color: var(--bleu-fonce);
    font-family: 'Abril Fatface', sans-serif;
    margin-top: 2rem;
    text-align: center;
}
.textes .objectifs{
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.textes .objectif{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}
.textes .objectif__texte{
    color: var(--bleu-fonce);
    font-weight: 500;
}
.textes .objectif__titre{
    color: var(--bleu-clair);
    font-family: 'Abril Fatface', sans-serif;
    font-size: 3rem;
}
/* Responsive desktop */
@media screen and ( min-width:1000px ) {
    .textes{
        position: relative;
        padding: 3rem 20%;
    }
    .textes > *:not(:last-child){
        margin-bottom: 2rem;
    }
    .textes::before{
        position: absolute;
        content: url(../images/globe-rose.svg);
        left: -2rem;
        top: 50%;
        transform: translateY(-50%);
    }
}
@media screen and ( min-width:1300px ) {
    .textes{
        padding: 4rem 25%;
    }
    .textes::before{
        left: 0;
        transform: translateY(-50%) scale(1.2);
    }
}