.titleIndex {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(../images/index/gTitre.avif) center / cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 400px 500px 300px 350px;
}

.titleIndex h1 {
    margin-bottom : 75px;
}

.titleIndex h3 {
    color: #dba627;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.7)
}

.titleIndex p {
    font-size: 27px;
}

.artChoixProj {
    background-color: #fff8e9;
    padding: 75px 0 100px;
}

.artChoixProj svg {
    position: relative;
    left: 0;
    bottom: 75px;
}


/* =========================
   TITRE DE LA SECTION
========================= */

.textChoixProj {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 60px;
    gap: 80px;
    align-items: center;
}

.textChoixProj > div {
    flex: 1;
}

/* Texte à droite */

.textChoixProj p {
    padding-left: 30px;
    border-left: 2px solid #dba627;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================
   CONTENEUR DES CARTES
========================= */

.choixProjCase {
    display: flex;
    flex-direction: row;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
}


/* =========================
   CARTES
========================= */

.caseProj1,
.caseProj2 {
    flex: 1;
    height: 550px;
    padding: 45px;
    margin: 0;
    border-radius: 50px;
    color: white;
    transition: .5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


/* IMAGE PARTICULIER */

.caseProj1 {
    background:
        linear-gradient( rgba(0,0,0,.05), rgba(0,0,0,.5), rgba(0,0,0,.85)), url("../images/index/imgParti.jpg") center / cover;
}


/* IMAGE PROFESSIONNEL */

.caseProj2 {
    background:
        linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.5), rgba(0,0,0,.85)), url("../images/index/archi.webp") center / cover;
}


/* =========================
   CONTENU DES CARTES
========================= */

.caseProj1 h2,
.caseProj2 h2 {
    margin: 0 0 12px;
}

.caseProj1 h3,
.caseProj2 h3 {
    margin: 0 0 10px;
    color: #dba627;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.caseProj1 p,
.caseProj2 p {
    width: 90%;
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.6;
}

.caseProj1 span,
.caseProj2 span {
    color: #dba627;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.7);
}

.caseProj1 a,
.caseProj2 a {
    display: inline-block;
    width: fit-content;
    padding: 16px 25px;
    background-color: #dba627;
    border: 3px solid #dba627;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: .3s;
}


/* =========================
   HOVER
========================= */

.caseProj1:hover,
.caseProj2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.caseProj1 a:hover,
.caseProj2 a:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: #dba627;
}


/* =========================
   SECTION SAVOIR FAIRE
========================= */

.savoiFaire {
    background-color: #30373d;
    color: #fff8e9;
    padding: 200px 20px 150px 20px;
}

.titleIcon {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.titleIcon h2 {
    font-size: 3em;
    width: 85%;
}

.titleIcon p {
    border-left: 2px double #dba627;
    padding-left: 30px;
    line-height: 1.5;
    font-size: 18px;
}

.sectionIcon {
    display: flex;
    flex-direction: row;
    max-width: 1400px;
    margin: 40px auto;
    gap: 20px;
    padding: 20px;
}

.blocIconMobil{
    display: flex;
    flex-direction: row;
    gap : 20px;
}

.blocIcon {
    background-color: #444e57;
    border: 2px solid #807b77;
    border-radius: 25px;
    width: 350px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: 0.5s;
}


.blocIcon p {
    padding: 20px 40px 20px 40px;
}

.blocIcon h3 {
    font-size: 1.8em;
    padding: 10px 40px 20px 40px;
}

.blocIcon:hover {
    transition: .5s;
    transform: translateY(-5px);
    box-shadow: 1px 1px 25px 3px #fff8e9;
    background: radial-gradient(#dba627, #bd8e21);
    border: #dba627;
    color: #444e57;
}


/* =========================
   SECTION NOS ENGAGEMENT
========================= */

.engagements {
    background-color: #e6ddcd;
    padding: 50px;
}

.textEngagements {
    max-width: 1600px;
    margin: 0 auto;
    padding: 75px 0 75px 0;
}

.iconEngagements {
    display: flex;
    flex-direction: row;
    max-width: 1700px;
    margin: 0 auto 100px;
}

.icon {
    border-right: 2px solid #fff8e9;
    padding: 30px 10px;
    margin: 20px;
    width: 700px;
}

.icon h3 {
    margin: 20px 0;
}

.icon p {
    font-size: 18px;
    width: 80%;
    line-height: 25px;
}

.icon img {
    width: 50px;
    text-align: center;
}


/* =========================
   SECTION NOS REALISATION
========================= */

.realisation {
    background-color: #fff8e9;
    padding: 75px 0;
}

.textRealisation {
    padding: 75px;
    max-width: 1800px;
    margin: 0 auto;
}

.imgRealisation {
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 2000px;
    margin: 0 auto;
    padding: 25px 50px 100px;
}

.imgRealisation div img {
    width: 100%;
    border-radius: 20px;
    transition: .5s;
}

.imgRealisation div {
    overflow: hidden;
    border-radius: 20px;
}

.imgRealisation div:hover img {
    transform: scale(1.1);
    transition: .5s;
}


/* =========================
   SECTION PROJET
========================= */

.projet {
    background-color: #dba627;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 100px;
    align-items: center;
}

.textProjet {
    color: white;
}

.textProjet p {
    font-size: 18px;
    padding: 5px;
}

.buttonProjet a {
    text-decoration: none;
    color: #30373d;
    background-color: white;
    border : 3px solid white;
    padding: 20px;
    border-radius: 50px;
    transition: .3s;
}

.buttonProjet a:hover{
    background-color: #30373d;  
    color: #dba627;
    border : 3px solid #dba627;
    box-shadow: 1px 1px 20px 1px #30373d;
    transition:.25s;
    transform: translateY(-5px);
}

/* =========================
   ADAPTATION MOBIL
========================= */

@media screen and (max-width: 1800px) {
    h1{
        padding-bottom: 75px;;
    }

    .titleIndex {
        padding: 300px 100px 200px 150px;
    }

    .textChoixProj{
        flex-direction: column;
    }

    .textChoixProj p {
        border-top: 2px solid #dba627;
        border-left: none;
        padding : 30px 0;
    }

    .choixProjCase{
        flex-direction: column;
        align-items: center;
    }

    .caseProj1, .caseProj2{
        width: 800px;
    }

    .titleIcon{
        flex-direction: column;
        margin-left: 35px;
    }

    .titleIcon p {
        border-top: 2px solid #dba627;
        border-left: none;
        padding : 30px 0;
        margin: 30px 0;
    }

    .sectionIcon{
        flex-direction: column;
        align-items: center;
        margin : 0;
    }

    .iconEngagements{
        flex-direction: column;
    }

    .icon{
        border-bottom: 2px double #fff8e9;
        border-right : none;
    }

    

    .textProjet {
        text-align: center;
    }

    .projet{
        flex-direction: column;
        gap: 100px;
    }

}

@media screen and (max-width: 1400px) {

    .imgRealisation{
        flex-direction: column;
        align-items: center;
        padding: 25px 100px 25px;
    }

}

@media screen and (max-width:800px) {
    
    .titleIndex {
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(../images/index/gTitre.avif) bottom / cover;
        padding: 175px 50px 100px 50px;
    }

    .titleIndex h1 {
        font-size: 28px;
        margin-bottom : 0px;
    }

    .titleIndex p {
        font-size: 16px;
        margin-top : 0px;
        width: 90%;
    }

    .textChoixProj p {
        font-size: 15px;
        line-height: 1.5;
    }

    .caseProj1,
    .caseProj2 {
        width: 90%;
    }

    .caseProj1 p,
    .caseProj2 p {
        font-size: 15;
        line-height: 1.3;
    }

    svg{
        height: 0;
    }

    .artChoixProj{
        padding : 20px 10px;
    }

    .textChoixProj{
        gap:25px;
    }

    .caseProj1 {
        background:
            linear-gradient( rgba(0,0,0,.05), rgba(0,0,0,.65), rgba(0,0,0,.85)), url("../images/index/imgParti.jpg") center / cover;
    }


    /* IMAGE PROFESSIONNEL */

    .caseProj2 {
        background:
            linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.65), rgba(0,0,0,.85)), url("../images/index/archi.webp") center / cover;
    }

    .textChoixProj {
        margin: 0 auto 20px;
    }

    .savoiFaire {
        padding: 50px 20px;
    }

    .savoiFaire h2{
        font-size: 24px;
        line-height: 1.25;
    }

    .savoiFaire p{
        font-size: 15px;
        line-height: 1.25;
    }

    .savoiFaire h3{
        font-size: 20px;
        line-height: 1.3;
    }

    .blocIcon {
        width: 250px;
        height: 250px;
    }

    .engagements {
        background-color: #e6ddcd;
        padding: 0 25px;
    }

    .textEngagements{
        padding: 50px 0 20px;
    }

    .iconEngagements{
        padding: 0 0 10px;
        margin: 0;
    }

    .icon {
        width: 95%;
        margin: 10px 20px;
    }

    .icon h3 {
        font-size: 20px;
        line-height: 1.3;
        width: 100%;
        margin: 30px 0;
    }

    .icon p {
        font-size: 15px;
        line-height: 1.25;
        width: 100%;
    }

    .icon img {
        width: 50px;
    }

    .realisation{
        background-color: #fff8e9;
        padding: 50px 50px 0;
    }

    .imgRealisation {
        padding: 25px 0 50px;
        gap : 20px;
    }

    .textRealisation{
        width: 100%;
        padding: 0;
    }

    .projet{
        padding: 50px 25px 70px;
        gap: 50px;
    }

    .textProjet p {
        font-size: 15px;
    }

    .buttonProjet{
        text-align: center;
    }

}

@media screen and (max-width: 600px) {
    
    .blocIconMobil{
        flex-direction: column;
    }

    .sectionIcon {
        flex-direction: column;
    }

    .imgRealisation div img {
        width: 100%;
    }

    .textProjet a {
        font-size: 15px;
    }

    .textProjet, .buttonProjet{
        width: 100%;
    }

}
