
body, html{
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
 
}

.card {
  position: absolute;
  width: 100%;
  height: 100%;
 /* backface-visibility: hidden; /* Cache la face arrière */
  border: none;
}
.back{
  background-color: #0d6dfd70;
}
.back2{
  background-color: #c2d4ee70;
}

.p_accueil {
  padding-top: 20px;
  font-size: 30px;
 }
 .p_accueil2 {
 
  font-size: 23px;
 }
 .p_a_propos{
  text-align: justify;
  font-size: 20px;
  margin-right: -20px;
  margin-left: 20px;
  margin-bottom: 100px;
  
 }
 .card-img-top-aPropos{
  margin-left: 50px;
}

.card-img-topSourit1{
  margin-top: 130px;
  margin-right: 50px;

}

.card-img-topSourit2{
  margin-left: 50px;
  margin-top: 20px;
}


header{
   margin-bottom: -20px;
}
main{
   margin: auto;
   width: 100%;
  padding-top: 20px;
}
footer{
   background-color: #9196a3;
   height: 300px;
   margin-top: -15px;
   padding-top: 30px;
}


.footer2{
  background-color:  #9196a3;
   height: 30px;
   display: flex;
   justify-content: center;
  
}

h1{
   /* padding-top: 100px; */
  
   font-size: 200px;
   font-family:'Quicksand', sans-serif;
}
.h2_head{
  padding-top: 20px;

  font-size: 50px;

}
.h1_head{
padding-top: 90px;

font-size: 50px;

}
h2{
   /* font-size: 40px; */
   font-family: 'Quicksand', sans-serif;
}
h3{
   font-size: 22px;
}
h5{
   font-size: 19px;
   font-weight: bolder;
   line-height: 20px;
}
p, a, .btn{
   font-family: 'Quicksand', sans-serif;
   text-decoration: none;

}
.a_logo{
  margin-right: 80px;
  margin-left: -100px;

 
}
.textplus{
  margin-bottom: 64px;
}
.a_header{
 
  font-size: 16px;
}

/*-------HEADER-------*/


.banniere_contact {
  
   background-repeat: no-repeat;
   background-size: cover;
   background-position: center center;
   height: 100vh;
   width: 100%;
   margin-bottom: 20px;
   padding-top: 10px; 
}


/* --- Champs du formulaire --- */
label {
  display: block;
  text-align: center;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #555;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

/* --- Champ de texte --- */
textarea {
  height: 100px;
  resize: none;
}

/* --- Bouton d'envoi --- */
button {
  background: #386939;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: background 0.3s ease-in-out;
}

button:hover {
  background: #45a049;
}

.articles{

  background-color: rgb(252, 234, 214);
  background-attachment:fixed;
  background-repeat: no-repeat;
  background-position: right;
  width: 100%;
}
/*-------SECTION 1-------*/

.section_mutuelle {
  width: 100%;
  /* margin: auto;
  background: linear-gradient(rgba(255, 255, 255, 0.815), rgba(255, 255, 255, 0.733)), 
              url(../img/mutuelle.jpg);
  height: 300px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: left; */
 margin-top: 50px;
 padding-bottom: 20px;
 
}

.section_1_apropos, .section_2_cabinets , .section_5_contact {
   width: 80%;
   margin: auto;
   /* background-color: rgb(218, 185, 241); */
  box-shadow: 3px 3px 10px rgba(137, 137, 139, 0.5); 
  margin-top: 50px;
  margin-bottom: 50px;
}
.section_contact {
  width: 100%;
  margin: auto;
  /* background-color: rgb(218, 185, 241); */

 margin-top: 50px;
 margin-bottom: 50px;
}
.section_contact2 {
  width: 80%;
  margin: auto;
  background-color: rgba(198, 219, 238, 0.74);

 margin-top: 50px;
 margin-bottom: 50px;
}

.section_2_consultations {
  width: 80%;
  margin: auto;
  /* background-color: rgb(218, 185, 241); */
 box-shadow: 3px 3px 10px rgba(137, 137, 139, 0.5); 
 padding-bottom: 150px;

}
/*-------SECTION 2-----*/


/*----SECTION 3----*/
/* .card-body{
   height: 30px;
} */
.card-title_small{
 margin-top: -2px;
 font-size: 11px;
 font-weight: bolder;
}



.banniere{
   background: url(../img/background1.png);
  height: 300px;
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
}
.h5_section_2{
   line-height: 30px;
   color: rgb(50, 50, 119);
   font-weight: 650;
}

/*------Section 4------*/
.vertical-line{
   border-left: 1px solid #000;
   display: inline;
   height: 60px;
   left: 50%;
   margin: 0 50%;
}

/*---------Section 5------*/
/* .section_5_contact{
   margin: auto;
   height: 200px;
   margin-bottom: 40px;
   padding: 10px;
} */

.section_contact{
  margin: auto;
 width: 70%;
  margin-bottom: 40px;
  padding: 10px;
 
  /* margin-top: 50px;
  margin-bottom: 50px; */
}

.section_rdv{
  margin: auto;
 width: 80%;
  margin-bottom: 40px;
  padding: 10px;
 
  /* margin-top: 50px;
  margin-bottom: 50px; */
}
.section_contact_home{
  background-color: rgb(158, 53, 137);
  padding-bottom: 200px;
  padding-top: 100px;
}
#back-to-top{
   position: fixed;
   bottom: 40px;
   right: 20px;
   font-size: 25px;
   display: none;
   color: black;
}

/*-----FOOTER-----*/

.a_footer{
text-decoration: none;
color: black;
}






/*-----------------------MEDIA QUERRIES-----------------------*/


/* @media (max-width: 768px){--md <=768px */

  /* Rendre le site lisible et responsive pour les téléphones portables */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
  }

  .section_2_consultations {
    width: 100%;
    margin: auto;
    /* background-color: rgb(218, 185, 241); */
   
  
}


.row .col-6 {
      flex: 0 0 100%; /* Le texte prend toute la largeur */
      max-width: 100%; /* Pas de limite de largeur */
  }
  .d-none.d-md-block {
      display: none !important; /* Masque l'image */
  }


  header {
    margin-bottom: 0;
  }

  h1 {
    font-size: 28px;
    margin-left: 0;
    text-align: center;
    padding: 20px 10px;
  }

  .h2_head {
    font-size: 20px;
    margin-left: 0;
    text-align: center;
  }

  h2, h3, h5 {
    text-align: center;
    margin: 10px auto;
  }

  p, a, .btn {
    font-size: 9px;
    padding: 5px;
    display: block;
    text-align: center;
  }

  .banniere_header, .banniere_header2, .banniere_header3, .banniere_header4 {
    height: 60vh;
    background-position: center;
    background-size: cover;
    
  }

  .section_mutuelle, .section_1_apropos, .section_2_cabinets, .section_5_contact {
    width: 95%;
    margin: 20px auto;
    padding: 10px;
    box-shadow: none;
  }

  .section_contact {
    width: 90%;
    margin: auto;
  }

  .card-group {
    flex-direction: column;
    align-items: center;
    margin: auto;
  }

  .card-img-top, .card-img-top-aPropos, .card-img-topSourit1, .card-img-topSourit2 {
    /* width: 100%;
    height: auto; */
    display: none;
  }
  

  footer {
    height: auto;
    padding: 20px;
    text-align: center;
  
  }
  .footer4{
    background-color: rgb(171, 171, 186);
    height: auto;
    margin-top: 70px;
    
  }
  
   .footer3{
    background-color: rgb(171, 171, 186);
       height: auto;
       display: flex;
       justify-content: center;
       margin-top:-40px;
       
   }

  #back-to-top {
    font-size: 20px;
    bottom: 20px;
    right: 10px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 22px;
    padding: 10px;
  }

  h2 {
    font-size: 18px;
    padding: 5px;
  }

  h3 {
    font-size: 16px;
  }

  p, a, .btn {
    font-size: 12px;
  }

  .btn {
    padding: 8px 20px;
  }

  .banniere_header {
    height: 35vh;
  }

  .section_mutuelle, .section_contact, .section_rdv {
    padding: 10px;
  }

  .section_contact_home {
    padding-top: 50px;
    padding-bottom: 100px;
  }

  .img_carre {
    width: 100%;
    height: auto;
  }

 

}



