#texte-hero{
    text-align: center;
    padding-bottom: 20px;
}
#texte-hero h2{
    color: #f09367;
    font-size: 40px;
}
.projet-partie{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 100px;
    padding-right: 100px;
    padding-bottom: 50px;
}
.projet-partie img{
    border-radius: 15px;
}
.projet-partie .lien-souligne {
    color: #f09367;
    font-weight: bold;
    text-decoration: none;
    font-family: "Asul";
}

/* RESPONSIVE */

/* =========================
   RESPONSIVE PAGE RÉALISATION
========================= */

.projets {
    max-width: 600px;
    width: 100%;
}

.projets img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    object-fit: cover;
}

.projets p {
    line-height: 1.5;
}

/* TABLETTE */
@media (max-width: 1024px) {

    #texte-hero {
        padding: 40px 35px 30px;
    }

    #texte-hero h2 {
        font-size: 34px;
        line-height: 1.25;
    }

    #texte-hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .projet-partie {
        padding-left: 40px;
        padding-right: 40px;
        gap: 30px;
        align-items: flex-start;
    }

    .projets {
        width: 50%;
    }

    .projets h3 {
        font-size: 19px;
        line-height: 1.3;
    }

    .projets p {
        font-size: 14px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    #texte-hero {
        padding: 35px 22px 20px;
    }

    #texte-hero h2 {
        font-size: 28px;
        line-height: 1.25;
    }

    #texte-hero p {
        font-size: 14px;
        line-height: 1.6;
    }

    #texte-hero br,
    .projets p br {
        display: none;
    }

    .projet-partie {
        flex-direction: column;
        padding-left: 22px;
        padding-right: 22px;
        padding-bottom: 40px;
        gap: 45px;
    }

    .projets {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .projets img {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .projets h3 {
        font-size: 20px;
        line-height: 1.3;
        margin-top: 18px;
    }

    .projets p {
        font-size: 14px;
        line-height: 1.6;
        margin-left: auto;
        margin-right: auto;
    }

    .projet-partie .lien-souligne {
        display: inline-block;
        margin-top: 10px;
    }
}

/* PETIT MOBILE */
@media (max-width: 480px) {

    #texte-hero {
        padding: 30px 18px 15px;
    }

    #texte-hero h2 {
        font-size: 24px;
    }

    #texte-hero p {
        font-size: 13px;
    }

    .projet-partie {
        padding-left: 18px;
        padding-right: 18px;
        gap: 38px;
    }

    .projets h3 {
        font-size: 18px;
    }

    .projets p {
        font-size: 13px;
    }
}

