*{
    margin: 0;
    padding: 5px;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* ------------------------------------------------header contact--------------------------------------------------*/
.contact_header{
    display: flex;
    flex-direction: row;
    background-color: #0F66BD;
    border: #0F66BD, solid;
    border-start-end-radius:10px;
    border-start-start-radius:10px;
    padding: 5px;
    justify-content: space-between;
}
.contact_number{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.num{
    text-decoration: none;
}
.num:hover{
    text-decoration: underline;
}

/*---------------------------------------------------Navigation--------------------------------------------------- */
.navigation{
    padding-left:10px ;
    padding-right: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.liste {
    list-style: none;
    display: flex;
    gap: 20px;
}
.liste li a{
    color: black;
    text-decoration: none;

}
.liste li a:hover{
    text-decoration:underline;
}

.liste li{
    margin-top: 25px;
    margin-left: 5px;
}
.navigation ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    
}
.liste a.active {
  text-decoration: underline;
}
.burger {
    width: 30px;
    height: 22px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1;
}

.burger span {
    height: 1px;
    width: 100%;
    background: #156BEA;
    border-radius: 5px;
    transition: all 0.4s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.navigation button{
    height: 40px;
    border: #0F66BD, solid;
    border-radius: 5px;
    background-color: #0F66BD;
    margin-top: 25px;
}
button a{
    text-decoration: none;
}
button a:hover{
    text-decoration: underline;
}
.logo{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.logo img{
    width: 70px;
    height: 70px;
}
.logo h4{
    font-size: 1.3em;
}
.Elder{
    color: #0F66BD;
}
.group{
    color: #F99F1F;
}



/*-- -----------------------------------------------debut main-------------------------------------------------- --*/
.introcont{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 250px;
    padding-top: 20px;
    padding-bottom: 50px;
    text-align: center;
    background-color: rgba(15, 102, 189, 1);

}

.introtitre{
    background-color: #3380CE;
    border: #156BEA solid 1px;
    padding: 5px;
    width: 200px;
    border-radius: 32px;
    font-weight: 400;
    font-size: 20px;
}

.intropresenta{
    font-style: normaL;
    font-weight: 600;
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.introfin{
    font-weight: 400;
    font-size: 25px;
}

/*-------------------------------------------------section_formulaire----------------------------------------------*/
.section_formulaire{
    background-color: rgba(251, 252, 253, 1);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 70vmax;

}
.text_form h2, .text_form p, .text_form h3 {
    color: black;
}
.text_form h2{
    font-weight: 800;
    margin-bottom: 10px;
}
.box{
    display: flex;
    flex-direction: row;
    justify-content: baseline;
    align-items: center;
}
.box img{
    background-color: rgba(50, 134, 219, 1);
    width: 40px; ;
    height: 40px; ;
    border-radius: 5px;
}
.box h3{
    font-size: 1.5em;
    font-weight: 500;
}
.box p{
    font-size: 0.8em;
}
.message_rapide{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(233, 233, 233, 1);
    border: solid, 1px, rgba(233, 233, 233, 1);
    border-radius: 8px;
    max-width: 70%;
    margin-top: 10px;
}
.titre{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.titre h3{
    color: #156BEA;
    font-weight: 800;
    font-size: 1.4em;
}
.button{
    background-color: #D6314C;
    border: solid, 1px, #D6314C;
    border-radius: 30px;
    min-width: 30%;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
}
.button {
    text-decoration: none;
}
.button:hover{
    text-decoration: underline;
}
fieldset{
    border-radius: 10px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.30);
    max-height: 50%; 
    min-width: 2fr;
    
}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    min-width: 2fr;
    gap: 20px;
    padding: 20px;
}
.rangee{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.cellule{
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: baseline;
}
input{
    background-color: #E9E9E9;
    border: solid, 1px, #E9E9E9;
    border-radius: 8px;
    min-height: 30px;
    width: 100%;
    color: black;
}
.cellule_service{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
    align-items: center;
}
.cellule_service select{
    width: 100%;
    border-radius: 8px;
    min-height: 40px;
    background-color: #E9E9E9;
    border: solid, 1px, #E9E9E9;
    color: black;
}
option{
    background-color: white;
    color: black;
    text-align: center;
    border: 1px, solid, #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.30);
}
label{
    color: black;
    font-weight: 600;
    font-size: 0.8em;
}
.cellule_message{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: baseline;
}
.cellule_message textarea{
    width: 100%;
    min-height: 200px;
    background-color: #E9E9E9;
    border: solid, 1px, #E9E9E9;
    border-radius: 10px;
    font-weight: 600;
    border: solid, 1px, #E9E9E9 ;
    color: black;
}
form button{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #0F66BD;
    border: solid, 1px, #0F66BD;
    border-radius: 20px;
    min-width: 50%;
}


/*-- --------------------------------------------section localisation------------------------------------------- --*/
.localisation{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.localisation h1{
    color: black;
}

.map {
  width: 100%;
  max-width: 900px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/*-- -------------------------------------------------Fin main-------------------------------------------------- --*/


/*-- --------------------------------------------------footer--------------------------------------------------- --*/

/*-- --------------------------------------footer----------------------------------------- --*/
footer{
    background-color: #2F353B;
    padding-top: 71px;
    padding-bottom: 120px;
    width: 100%;
}
.contblocfoot{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 30px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    border-bottom: 1px solid #FFFBFB;
    margin-bottom: 30px;
    text-align: center;
}
.bloc1{
    grid-row-start: 1;
    grid-row-end: 2;
}
.bloc2{
    grid-row-start: 2;
    grid-row-end: 3;
}
.bloc3, .bloc4, .bloc5{
    grid-row-start: 1;
    grid-row-end: 3;
}

.logofooter{
    width: 260px;
    height: 80px;
}

footer a{
    display: block;
    text-decoration: none;
}

.bloc3, .bloc4, .bloc5{
    border: 1px solid #FFFBFB;
    max-width: 80%;
}

.bloc1, .bloc2{
    border-bottom:0px solid #FFFBFB;
}

.erbfooter img{
    max-width: 80%;
    max-height: 30%;
}

.droitreservé{
    padding-left: 50px;;
}

.orgcontfooter{
    display: flex;
    flex-direction: row;
    border-bottom: none;
    justify-content: center;
    flex-wrap: nowrap;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

footer span{
    text-decoration: underline;
}

footer a:hover{
    color: rgba(15, 102, 189, 1);
}


/*------------------------------------------responsive design----------------------------------------------*/
@media screen and (max-width:800px) {
    *{
        padding: 2px;
    }

    .section_formulaire{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
     footer{
        font-size: 0.4em;
    }
    .orgcontfooter img{
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .contact_number img{
        width: 15px;
        height: 15px;
    }
    .img{
        display: none;
    }

    .contact_number p{
        font-size: 0.5em;
    }

    .logo{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .logo img{
        width: 30px;
        height: 30px;
    }
    .logo h4{
        font-size: 0.5em;
        
    }

    h5{
        font-size: 0.5em;
        text-align: center;
    }

    .btn-contact {
        display: none;
    }

    .navigation ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .liste{
        position: fixed; 
        top: -100%;            
        left: 0;
        width: 100%;  
        height: 250px; 
        transition: top 0.4s ease;
    }
    .liste.active { 
    top: 0; 
    } 
   
    .liste {
        position: absolute;
        top: -100%;            
        left: 0;
        background: white;
        flex-direction: column;
        width: 100%;
        text-align: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        border: white 5px solid;
        border-radius: 8px;
    }

    .liste li {
        margin: 15px 0;
    }

    .liste li a{
    color: #0F66BD;
    text-decoration: none;
    }

    
    .liste.active {
        display: flex;
    }

    
    .burger {
        display: flex;
    }

    .text_form{
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 1fr;
    }
    .text_form h1, .text_form h3, .text_form p{
        font-size: 0.5em;
    }

    .introcont p{
        font-size: 0.5em;
    }

    .introcont{
        max-height: 70px;
    }
    .introtitre{
        width: 100px;
    }

    .text_form h2{
        display: none;
    }

    .box img{
        width: 20px;
        height: 20px;
    }

    .submit{
        font-size: 0.5em;
    }
    .submit img{
        width: 10px;
        height: 10px;
    }
    .localisation h1{
        font-size: 0.7em;
    }

}

/*----------------------------respon design footer-----------------------------*/
@media screen and (max-width:1024px) {
    footer{
        padding: 0;
    }
     .logofooter{
    max-height: 45px;
   }
 .contblocfoot{
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 0px;
    font-size: 0.7em;
 }
 .bloc3, .bloc4,.bloc5{
    padding: 0px;
    margin: 0px;
 }
 footer p {
  margin: 0px;
}
 .bloc1{
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
 }
 .bloc2{
     grid-column-start: 2;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
 }
 .bloc3{
     grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
 }
 .bloc4{
     grid-column-start: 2;
    grid-column-end: 3;
     grid-row-start: 2;
    grid-row-end: 3;
 }
 .bloc5{
     grid-column-start: 3;
    grid-column-end: 4;
     grid-row-start: 2;
    grid-row-end: 3;
 }

 .logofooter{
    width: 140px;
    height: 60px;
}
.bloc3, .bloc4, .bloc5{
    border: 1px solid #FFFBFB;
    min-width: 60px;
}
}
@media screen and (max-width: 768px){
     footer{
        font-size: 0.4em;
    }
    .contblocfoot{
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 15px;
    }
    .orgcontfooter img{
        max-width: 5px;
    }
    .bloc5{
        min-width: 80px;
    }
    .numero{
        font-size: 0.1em;
    }
}
