.title-section {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* margin-bottom: 5rem; */
    background-image: url("../IMG/art-m1.webp");
    background-position: center;
    background-size: cover;
    height: 400px;
}

.title-section h1 {
    font-size: 4rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: white;
}

.title-section h2 {
    font-size: 2rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin: 0;
    padding: 0;
    color: white;
}

main {
    max-width: 100vw;
    padding: 0;
}

.description-section {
    width: 600px;
}

.description-section h1 {
    color: #0097fc;
    letter-spacing: 2px;
}

.description-section h3 {
    text-transform: uppercase;
}

.vision-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 5rem;
    padding: 5rem 0;
    position: relative;
    background-color: rgb(247, 247, 247);
}

.img-section {
    position: relative;
    z-index: 2;
    /* background-color: #0097fc; */
    /* width: 500px; */
}

.background-img {
    position: absolute;
    z-index: 1;
    left: -200px;
    top: -150px;
    width: 1000px;
}

.img-section img:nth-child(2) {
    width: 650px;
    position: relative;
    z-index: 3;
}


/* PREMIERE SECTION */

.first-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 5rem;
}

.rep-box {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    margin: auto 0;
    gap: 5rem;
    margin-bottom: 10rem;
}

.rep-box article:nth-child(1) {
    /* flex: 1; */
    width: 600px;
    text-justify: initial;
}

.rep-box article:nth-child(1) h1 {
    font-size: 2rem;
    letter-spacing: 1px;
}

.rep-box article:nth-child(2) {
    /* flex: 1; */
    /* text-align: center; */
}

.depannage-box {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    gap: 5rem;
    margin-bottom: 2rem;
    background-color: rgb(247, 247, 247);
    padding: 4rem 0;
}

.depannage-box article:nth-child(2) h1 {
    font-size: 2rem;
    letter-spacing: 1px;
}

.depannage-box article:nth-child(2) a,
.rep-box article:nth-child(1) a {
    margin-top: 2rem;
}

.marques-box {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-bottom: 5rem;
}

.marques-box h2 {
    font-size: 2rem;
    text-align: center;
}

.marques-box p {
    text-align: center;
    width: 50%;
    margin: 0 auto;
}


/* Mobile */

@media screen and (max-width: 1200px) {
    header {
        margin: 0 1rem;
    }
    .title-section h1 {
        font-size: 2.5rem;
    }
    .title-section h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .vision-section {
        flex-wrap: wrap;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    .img-section {
        display: none;
    }
    .rep-box {
        flex-wrap: wrap;
        padding: 0 1rem;
        margin-bottom: 1rem;
    }
    .depannage-box {
        flex-wrap: wrap;
        padding: 0 1rem;
        margin-bottom: 1rem;
        justify-content: center;
        align-items: center;
    }
    h1,
    p,
    h2,
    h3 {
        text-align: center;
    }
    .depannage-box article:nth-child(2) a {
        text-align: center;
        margin: 0 auto;
    }
    body>main>section.depannage-box>article:nth-child(2)>a>b {
        text-align: center;
    }
    .dep-img-box {
        display: none;
    }
    .marques-box h2 {
        font-size: 1.5rem;
    }
    .marques-box p {
        width: 80%;
    }
}