@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

body {
    padding:0;
    margin:0;
    font-family: 'Inter', sans-serif;
}

h1{
    font-size : 50px;
}

h2{
    margin : auto;
    padding : 50px;
    font-size: 32px;
}

p{
    line-height: 1.5;
    font-size : 16px;
}

/* bouton telephone bleu -> apparait dans la le titre de la page et la section explication du service */
.contact{
    font-weight :bold;
    color: White;
    background-color: #185090;
    border: none;
    border-radius: 20px;
    padding : 10px 20px 10px 20px;
    font-size:medium;
    outline : none;
    cursor :pointer;
    transition : background-color 0.5s;
    margin-top : 20px;
}
.contact:hover{
    color: White;
    background-color: #FD8736;
}

/*titre page */
.titre-page{
    background-size: cover;
    background-position:bottom;
    background-repeat: no-repeat;
    text-align :center;
    width : 100%;
    height : auto;
    padding-top : 0vh;
    padding-bottom : 50px;
}

.titre-page .titre{
    padding-top : 9vh;
    margin : auto;
    margin-bottom:0px;
}

.titre-page h1{
    position: relative;
    isolation : isolate;
}

.titre-page h1::after{
    position:absolute;
    inset: 0;
    opacity: 0.6;
    content:'';
    z-index:-1;
    background-color: white;
}

.titre-page hr{
    border : 1px solid #fff8e1;
    border-radius : 25px;
    text-align: center;
    width: 15%;
}

.titre-page p{
    margin: auto;
    width : 40%;
    position: relative;
    isolation : isolate;
}

.titre-page p::after{
    position:absolute;
    inset: 0;
    opacity: 0.6;
    content:'';
    z-index:-1;
    background-color: white;
}




/* description générale du service  */
.services{
    display : flex; 
    flex-direction : row;
    flex-wrap : wrap;
    justify-content: space-around;
    padding : 0px 5% 0px 5%;
}

.services .explication{
    display : flex;
    flex-direction : column;
    width : 50%;
    margin-top : 30px;
    margin-bottom : 30px;
    padding : 0px 3% 0px 3%;
    border-radius: 30px;
}

.services .explication h2{
    padding : 20px;
}

.services .img-service{
    margin : auto;
    background-size: cover;
    background-position:center;
    width : 365px;
    height : 255px;
    border-radius: 30px;
}



/* services */

.nos-services{
    background-color: #fff8e1;
    display : flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-bottom : 50px;
}

.nos-services .services-details{
    display : flex;
    flex-wrap: wrap;
    margin-left :2%;
    flex-direction : row;
    justify-content: center;
    padding : 0px 5% 0px 5%;
}

.nos-services .service{
    background-color : white;
    width : 46%;
    margin : 2%;
    display : flex;
    flex-direction : column;
}

.nos-services .service h3{
    margin : auto;
    padding : 15px; 
    margin-top: 0px;
}

.nos-services .service .detail{
    display : flex;
    flex-direction: row;
    padding : 0px 20px 10px 10px; /*top right bottom left */
}

.nos-services .service .detail p{
    margin-top : 0px;
    text-align:justify;
}


/* section FAQ */

.faq{
    width : 80%;
    height : auto;
    margin : auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom : 50px;
}

.faq .question{
    width : 100%;
    height : auto;
    margin :5px;
    color : white;
}

.faq .partie-visible{
    display : flex;
    justify-content: space-between;
    align-items: center;
    background-color: #185090;
    border-radius : 5px;
    position : relative; 
    z-index: 99;
    cursor : pointer;
}

.faq .partie-visible h3{
    margin-left : 10px;
    font-size : 22px;
}

.faq .partie-visible i{
    margin-right : 10px;
    cursor : pointer;
}

.faq .partie-cache{
    padding : 0px 15px;
    height : 0px;
    opacity : 0;
}

.faq .partie-cache p{
    line-height: 1.5;
    color : black;
    font-size : 18px;
}

.faq .partie-cache a{
    text-decoration : none;
    color : #185090;
}

/* localisation */
.localisation{
    /* width : 80%; */
    text-align :center;
}
/* .localisation .titre{
    margin-left: 10%;
}

.carte{
    display : flex;
    flex-direction : row;
    margin-bottom: 10px;
    margin-left:10%;
    text-align : center;
}

.carte p{
    margin: auto 30px;
} */

@media screen and (max-width : 780px){
    h1{
        font-size : 32px;
    }

    h2{
        font-size : 25px;
        text-align : center;
        padding : 20px 0px 20px 0px;
    }

    .titre{
        width : 90%;
    }

    .titre-page p{
        width : 100%;
    }

    /* description générale du service  */
    .services .explication{
        width : 98%;
        padding : 1%;
    }
    
    .services .img-service{
        margin-bottom : 20px;
    }

    /* services */

    .nos-services .services-details{
        width : 90%;
        margin : auto;
    }

    .nos-services .service{
        width :100%;
    }

    .localisation{
        width : 100%;
    }

    .localisation .titre{
        margin-left:0px;
    }

    .carte{
        display : flex;
        flex-direction : column;
    }
}