.headMain{
    background-image : url(../images/service/headService.png);
    background-repeat: no-repeat;
    background-size:contain;
    background-position: right;
    background-color: #30373d;
    padding : 300px 150px 150px;
    color : white;
}

.headMain p, .headMain h1, .headMain h2{
    width: 55%;
}

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

.headMain p{
    padding:50px 0;
    line-height: 25px;
    font-size: 18px;
}

.savoirFaire{
    display: grid;
    grid-template-columns: 47% 47%;
    gap:20px;
    background-color: #fff8e9;
    justify-content: center;
    padding: 75px 0 75px;
}

.blocConstruction, .blocRenovation, .blocAmenagement, .blocOuverture{
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius:10px;
    padding: 20px 40px 20px;
    transition : .5s;
}

.blocConstruction p, .blocRenovation p, .blocAmenagement p, .blocOuverture p{
    margin : 20px 0;
    line-height: 20px;
}

.blocConstruction:hover, .blocRenovation:hover, .blocAmenagement:hover, .blocOuverture:hover{
    transition : .5s;
    transform: translateY(-10px);
    box-shadow: 1px 1px 10px 5px #b8b0a4;
}

.blocConstruction img, .blocRenovation img, .blocAmenagement img, .blocOuverture img{
    width: 100px;
}

.blocConstruction{
    background: linear-gradient(to right, #e6ddcd, #e6ddcd, rgba(0,0,0,0)), url("../images/service/backConstruction.jpg") right / cover;
}

.blocRenovation{
    background: linear-gradient(to right, #30373d, #30373d, rgba(0,0,0,0)), url("../images/service/backRenovation.jpg") right / cover;
    color: white; 
}

.blocAmenagement{
    background: linear-gradient(to right, #30373d, #30373d, rgba(0,0,0,0)), url("../images/service/backAmenagement.jpg") right / cover;
    color: white; 
}

.blocOuverture{
    background: linear-gradient(to right, #e6ddcd, #e6ddcd, rgba(0,0,0,0)), url("../images/service/backOuverture.jpg") right / cover;
}

.blocSavoirFaire img{
    width: 75px;
}

.listSavoir{
    display:flex;
    flex-direction: row;
    align-items: center;
    gap:20px;
}

.listSavoir img{
    width: 35px;  
}

.contentBlocSavoir{
    width: 50%;
}

.projet{
    background-color: #dba627;
    padding: 75px 25px 50px;
    text-align: center;
    color: white;
}

.projet a{
    background-color: white;
    padding: 25px;
    border-radius: 50px;
    text-decoration: none;
    color:#30373d;
    transition:.25s;
    line-height: 125px;
}

.projet 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:1700px){
    
    .headMain{
        background-image : none;
    }

    .headMain p, .headMain h1, .headMain h2{
        width: 100%;
    }

    .savoirFaire{
        display: block;
    }

    .blocConstruction, .blocRenovation, .blocAmenagement, .blocOuverture{
        width: 90%;
        margin: 20px auto;
    }

    .blocAmenagement{
        background: linear-gradient(to right, #e6ddcd, #e6ddcd, rgba(0,0,0,0)), url("../images/service/backAmenagement.jpg") right / cover;
        color: black; 
    }

    .blocOuverture{
        background: linear-gradient(to right, #30373d, #30373d, rgba(0,0,0,0)), url("../images/service/backOuverture.jpg") right / cover;
        color: white;
    }

}


@media screen and (max-width:800px){
    
    .headMain{
        padding : 150px 50px 50px ;
    }

    .headMain p, .headMain h1, .headMain h2{
        width: 100%;
    }

    .headMain p{
        line-height: 1.3em;
        font-size: 12px;
    }

    .contentBlocSavoir{
        width: 100%;
    }

    .blocConstruction img, .blocRenovation img, .blocAmenagement img, .blocOuverture img{
        width: 75px;
    }

    .listSavoir img{
        width: 35px;  
    }

    .blocConstruction{
        background: linear-gradient(to right, #e6ddcd, #e6ddcd, #e6ddcd83), url("../images/service/backConstruction.jpg") right / cover;
    }

    .blocRenovation{
        background: linear-gradient(to right, #30373d, #30373d, #30373d83), url("../images/service/backRenovation.jpg") right / cover;
        color: white; 
    }

    .blocAmenagement{
        background: linear-gradient(to right, #e6ddcd, #e6ddcd, #e6ddcd83), url("../images/service/backAmenagement.jpg") right / cover;
        color: black; 
    }

    .blocOuverture{
        background: linear-gradient(to right, #30373d, #30373d, #30373d83), url("../images/service/backOuverture.jpg") right / cover;
        color: white;
    }

}


@media screen and (max-width:600px){
    
    .projet{
        padding: 0;
    }

    .projet h2{
        padding: 30px 20px 0;
    }

    .projet a{
        font-size: 12px;
    }

}


