
/* ----------------------------- GLOBAL ----------------------------- */

.pageAgence .h2{
    font-size: 35px;
    line-height: 40px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 32px;
    max-width: 500px;
}

.pageAgence .btn{
    margin-top: 32px;
}

/* ----------------------------- SECTION 1 ----------------------------- */

.pageAgence .section1{
    position: relative;
    padding-bottom: 26vw;
}

.pageAgence .section1 h1{
    font-size: 120px;
    line-height: 120px;
    font-weight: 500;
    text-transform: uppercase;
    margin-block: 10px 0px;
    max-width: 950px;
}

.pageAgence .section1 .image{
    position: absolute;
    right: 0px;
    top: 0px;
    aspect-ratio: 1;
    border: solid 20px var(--primary);
    width: 33vw;
    transform: translateX(30%);
}

.pageAgence .section1 > .arrowAnimation{
    position: absolute;
    top: 40%;
    left: 0px;
    width: 75vw;
    height: auto;
    aspect-ratio: 112 / 77;
}

@media (max-width: 1700px) {
    .pageAgence .section1 h1{
        font-size: 100px;
        line-height: 100px;
    }
}

@media (max-width: 1400px) {
    .pageAgence .section1 h1{
        font-size: 80px;
        line-height: 80px;
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .pageAgence .section1{
        position: relative;
        padding-bottom: 26vw;
    }
    .pageAgence .section1 h1{
        font-size: 35px;
        line-height: 40px;
    }
    .pageAgence .section1 .image{
         position: initial;
        right: initial;
        top: initial;
        border-width: 10px;
        width: 80vw;
        margin-top: 40px;
        transform: translateX(50%);
    }
    .pageAgence .section1 > .arrowAnimation{
        transform: translate(-50%, 50%);
    }
}

/* ----------------------------- SECTION 2 ----------------------------- */

.pageAgence .section2{
    position: relative;
    margin-top: -80px;
}

.pageAgence .section2 .image{
    position: absolute;
    left: 0px;
    top: 0px;
    aspect-ratio: 1;
    border: solid 20px var(--primary);
    width: 33vw;
    transform: translateX(-30%);
}

.pageAgence .section2 > .container{
    padding-left: 350px;
}

.pageAgence .section2 .paragraphe{
    column-count: 2;
    column-gap: 30px;
    display: block;
}

.pageAgence .section2 .paragraphe > p{
    margin-bottom: 20px;
}

@media (max-width: 1700px) {
    .pageAgence .section2 > .container{
        padding-left: 400px;
    }
    .pageAgence .section2{
        margin-top: -50px;
    }
}

@media (max-width: 1300px) {
    .pageAgence .section2 > .container{
        padding-left: 340px;
    }
}

@media (max-width: 992px) {
    .pageAgence .section2{
        margin-top: 0px;
    }
    .pageAgence .section2 .image{
        display: none;
    }
    .pageAgence .section2 > .container{
        padding-left: 36px;
    }
}

@media (max-width: 600px) {
    .pageAgence .section2 .paragraphe{
        column-count: 1;
    }
}

/* ----------------------------- SECTION 3 ----------------------------- */

.pageAgence .section3{
    position: relative;
    padding-top: 150px;
}

.pageAgence .section3 .container{
    display: flex;
    gap: 130px;
}

.pageAgence .section3 .container .left,
.pageAgence .section3 .container .right{
    width: 50%;
}

.pageAgence .section3 .container .image{
    aspect-ratio: 1;
    border: solid 20px var(--primary);
}

.pageAgence .section3 .container .left{
    margin-top: 250px;
}

@media (max-width: 1500px) {
    .pageAgence .section3 .container{
        gap: 90px;
    }
}

@media (max-width: 992px) {
    .pageAgence .section3{
        padding-top: 200px;
    }
    .pageAgence .section3 .container{
        flex-direction: column-reverse;
        gap: 32px;
    }
    .pageAgence .section3 .container .left,
    .pageAgence .section3 .container .right{
        width: 100%;
        margin: 0px;
    }
    .pageAgence .section3 .container .image{
        border-width: 10px;
    }
}

/* ----------------------------- SECTION 4 ----------------------------- */

.pageAgence .section4{
    padding-top: 110px;
    position: relative;
}

.pageAgence .section4 .container .image{
    aspect-ratio: 1;
    border: solid 20px var(--primary);
    margin-bottom: 65px;
    width: 100%;
    max-width: 500px;
}

.pageAgence .section4 .paragraphe{
    column-count: 2;
    column-gap: 30px;
    display: block;
}

@media (max-width: 992px) {
    .pageAgence .section4 .paragraphe{
        column-count: 1;
    }
    .pageAgence .section4 .container .image{
        border-width: 10px;
    }
}

/* ----------------------------- ANIMATION CONTAINER ----------------------------- */

.pageAgence .section3 #drawSVG1{
    position: absolute;
    top: 100px;
    right: -5%;
    width: 72%;
    height: auto;
    aspect-ratio: 1300 / 680;
    z-index: -1;
}

.pageAgence .section4 #drawSVG2{
    position: absolute;
    top: 100px;
    right: 50%;
    width: 120%;
    height: auto;
    z-index: -1;
    aspect-ratio: 2000/560;
    transform: translateX(50%);
}

.pageAgence .section3 .drawSVGMobile{
    position: absolute;
    top: 50px;
    left: 25%;
    width: 120%;
    height: auto;
    z-index: -1;
}

.pageAgence .section4 .drawSVGMobile{
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: auto;
    z-index: -1;
}

@media (max-width: 992px) {
    .pageAgence .section3 #drawSVG1,
    .pageAgence .section4 #drawSVG2{
        display: none;
    }
}

@media (min-width: 993px) {
    .pageAgence .section3 .drawSVGMobile,
    .pageAgence .section4 .drawSVGMobile{
        display: none;
    }
}