/********************
* Axes stratégiques *
********************/

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

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


/* Axe 2 */
.axe2{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.axe2__contenu > *:not(:last-child){
    margin-bottom: 1rem;
}
.axe2__contenu > p:not(:last-of-type){
    margin-bottom: .5rem;
}
.axe2__photo{
    box-shadow: var(--ombre3);
    width: 100%;
    max-width: 37.5rem;
}
.axe2 strong{
    color: var(--noir);
}
.axe2__conteneur{
    display: flex;
    flex-direction: column-reverse;     
    gap: 2rem;
    align-items: center;
}
/* Responsive desktop */
@media screen and ( min-width:1100px ) {
    .axe2__conteneur{
        flex-direction: row;   
        gap: 4rem;
        position: relative;
    }
    .axe2 .sous-titre{
        text-align: right;
        padding-right: 4rem;
        padding-left: 30%;
        font-size: 2.25rem;
    }
    .axe2__photo{
        width: 40%;
        height: auto;
        object-fit: cover;
        align-self: stretch;
    }
    .axe2__contenu > *:not(:last-child){
        margin-bottom: 2rem;
    }
    .axe2__contenu{
        padding-right: 4rem;
    }
    .axe2__contenu::before{
        content: "";
        position: absolute;
        top: -12rem;
        right: 0;
        bottom: -4rem;
        left: 27%;
        background-color: var(--gris-clair);
        z-index: -2;
    }
}
@media screen and ( min-width:1390px ) {
    .axe2::before{
        transform: translateY(-30%);
    }
}
@media screen and ( min-width:1600px ) {
    .axe2__photo{
        width: 60%;
    }
}


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