/***********************
* Label Cité Éducative *
***********************/

.main{
    padding: 4rem 10%;
}
/* Responsive desktop */
@media screen and ( min-width:1300px ) {
    .main{
        margin-top: 10vh;
        position: relative;
    }
    .main::before{
        position: absolute;
        content: url(../images/mortier-bleu.svg);
        left: 5%;
        top: 7rem;
    }
}


/* Génèse */
.genese{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.genese__contenu > *:not(:last-child){
    margin-bottom: 1rem;
}
.genese__contenu > p:not(:last-of-type){
    margin-bottom: .5rem;
}
.genese__photo{
    box-shadow: var(--ombre3);
    width: 100%;
    max-width: 37.5rem;
}
/* Responsive desktop */
@media screen and ( min-width:1000px ) {
    .genese{
        flex-direction: row;        
        gap: 10%;
    }
    .genese .genese__photo{
        width: 50%;
        height: auto;
        object-fit: cover;
        align-self: stretch;
    }
    .genese__contenu > *:not(:last-child){
        margin-bottom: 2rem;
    }
}


/* Objectif */
.objectif{
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.objectif__contenu > *{
    margin-bottom: 1rem;
}
.objectif__contenu > *:not(:last-child){
    margin-bottom: 1rem;
}
.objectif__contenu > p:not(:last-of-type){
    margin-bottom: .5rem;
}
.objectif__photo{
    box-shadow: var(--ombre3);
    width: 100%;
    max-width: 37.5rem;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .objectif{
        flex-direction: row;        
        gap: 4rem;
        margin-top: 2rem;
        margin-bottom: 4rem;
    }
    .objectif__photo{
        width: 50%;
        height: auto;
        object-fit: cover;
        align-self: stretch;
    }
    .objectif__contenu > *:not(:last-child){
        margin-bottom: 2rem;
    }
    .objectif{
        margin-top: 4rem;
    }
    .objectif .objectif__contenu{
        position: relative;
        padding-right: 4rem;
    }
    .objectif .objectif__contenu::before{
        content: "";
        position: absolute;
        top: -4rem;
        left: -10rem;
        bottom: -4rem;
        right: 0;
        background-color: var(--gris-clair);
        z-index: -2;
    }
}


/* Alliance éducative */
.alliance{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}
.alliance__image{
    max-width: 37.5rem;
    width: 100%;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .alliance{
        gap: 4rem;
        position: relative;
    }
    .alliance::before{
        position: absolute;
        content: url(../images/globe-rose.svg);
        left: 5%;
        top: 0;
    }
}




/* Label d'excellence */
.label{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.label__contenu > *:not(:last-child){
    margin-bottom: 1rem;
}
.label__contenu > p:not(:last-of-type){
    margin-bottom: .5rem;
}
.label__image{
    box-shadow: var(--ombre3);
    width: 100%;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .label{
        flex-direction: row;
        gap: 4rem;
        margin-top: 4rem;
    }
    .label__contenu{
        position: relative;
        height: fit-content;
        padding-left: 4rem;
        width: 50%;
    }
    .label__contenu::before{
        content: '';
        position: absolute;
        top: -4rem;
        bottom: -4rem;
        left: 0;
        right: -10rem;
        background-color: var(--gris-clair);
        z-index: -2;
    }
    .label__image{
        width: 50%;
        max-width: initial;
    }
}


