main {
    display: flex;
    flex-direction: column;
}
main h1, h2 {
    text-align: center;
}
main h1 {
    font-size: 48px;
    color: #c4a087;
    margin-top: 0;
}
main h2 {
    font-size: 22px;
    font-weight: 400;
    color: #1f1f1f;
}

/** CSS de la première partie !! **/
.partie1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* height: 560px; */
    margin-top: 80px;
}
/* .image1 {

    aspect-ratio: 1/1;
    position: relative;

} */
.image1 {
    width: 44%;
    margin-left: 1em;
}
.textP1 {
    width: 50%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.textP1 p {
    width: 70%;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    color: #1d1e20;
    font-family: 'Barlow', sans-serif;
}

/** CSS de la deuxème partie ! **/

.partie2 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    /* height: 560px; */
    margin-top: 100px;
    margin-bottom: 2em;
}
.textP2 {
    width: 50%;
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.textP2 p {
    width: 70%;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    color: #1d1e20;
    font-family: 'Barlow', sans-serif;
} 
/* 
.image2 {
    width: 47%;
    /* height: same-as-width; 
    overflow: hidden;
    position: relative;
    
} */
.image2 {
    width: 44%;
    margin-right: 1em;
}

.phone {
    display: none;
}

/* @media (max-width: 1092px) {
    main h1 {
        margin-bottom: 0;
    }
    main h2 {
        margin-bottom: 0;
    }
    .image1, .image2 {
        width: 44%;
    }
    .textP1, .textP2 {
        width: 50%;
    }
    
}
@media (max-width: 1024px) {
    .image1, .image2 {
        width: 42%;
    }
    .textP1, .textP2 {
        width: 52%;
    }
}
@media (max-width: 984px) {
    .image1, .image2 {
        width: 40%;
    }
    .textP1, .textP2 {
        width: 54%;
    }
    .textP2 {
        margin-top: 3em;
    }
}
@media (max-width: 947px) {
    .image1, .image2 {
        width: 42%;
    }
    .textP1, .textP2 {
        width: 52%;
    }
    .textP1 p, .textP2 p {
        font-size: 18px;
    }
}
@media (max-width: 925px) {
    .image1, .image2 {
        width: 40%;
    }
    .textP1, .textP2 {
        width: 54%;
    }
    .textP2 {
        margin-top: 4em;
    }
} */

@media (max-width: 1020px) {

    .partie1 {
        flex-direction: column;
        height: auto;
    }
    .image1, .image2 {
        /* height: 480px; */
        width: 65%;
        /* display: flex;
        justify-content: center;
        align-items: center; */
        margin: auto;
    }
    /* .image1 img {
        position: relative;
    } */
    .textP1 {
        width: 100%;
    }
    .textP2 {
        margin-top: 0;
    }
    .partie2 {
        flex-direction: column-reverse;
        height: auto;
        margin-top: 25px;
    }
    /* .image2 {
        height: 440px;
        width: 68%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    } */
    /* .image2 img {
        position: relative;
        width: 65%; 
    } */
    .textP2 {
        width: 100%;
        margin-top: 3em;
    }
    main h1 {
        margin-top: 1em;
        margin-bottom: 0.5em;
    }
    main h2 {
        font-size: 24px;
    }
    .textP1 p {
        line-height: 26px;
        font-size: 20px;
    }
    .textP2 h1 {
        margin-top: 0;
    }
    .textP2 p {
        line-height: 26px;
        font-size: 20px;
    }
    main h2 {
        margin-bottom: 0.5em;
    }
}

@media (max-width: 605px) {
    .image2, .image1 {
        width: 90%;
        margin-top: 0;
        margin-bottom: 0;
    }
    .partie2 {
        margin-top: 0;
    }
    .textP1, .textP2 {
        margin-top: 1em;
    }
    main h1 {
        margin-top: 0;
    }
}