body {
  font-family: Arial, sans-serif;
}

h1 {
  font-weight: bold;
  padding-top:50px;
  color: white;
  text-align: center;
}

h2 {
  color:rgb(43, 43, 49);
  font-size: 1.6rem;
}

h3 {
  color:rgb(43, 43, 49);
  font-size: 1.5rem;
  margin-bottom: 30px;
}


h4 {
  color:rgb(66, 66, 77);
  font-size: 1.2rem;
}

h5 {
  color:rgb(66, 66, 77);
  font-size: 1rem;
  margin-bottom: 10px;
}




.card-like {
  box-shadow: 0 4px 20px rgba(19, 19, 19, 0.05);
}

.card-like .button:hover {
  background-color: #3b82f6;
}


.button {
  background-color: #2dd4bf;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}






.btn-demande {
  background-color: #3b82f6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-pdf {
  background-color: #2dd4bf;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}


.btn-demande:hover {
  background-color: #2dd4bf;
}


.link {
  color: white;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}




.hero-logo {
  position: absolute;
  left: -5px;
  top:40%;
  transform: translateY(7%);
  width: 290px;
  border-radius: 0px 60px 0px 0px;
  box-shadow: -8px 4px 20px rgba(8, 43, 77, 1.5);
  z-index: 5;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  text-shadow: -8px 4px 10px rgba(8, 43, 77, 1.5);
}

.hero-subtitle {
  font-size: 2.6rem;
  text-shadow: none;
}

.hero-subtitle-light {
  font-size: 1.8rem;
  text-shadow: none;
}





.hero {
  background: linear-gradient(135deg, #2dd4bf, #3b82f6);
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  }


.separator-hero {
  border: none;
  height: 10px;
  background: linear-gradient(135deg, white, #3b82f6);
  margin-top: 20px;
}

.separator-footer {
  border: none;
  height: 10px;
  background-color: #3b82f6;
}



.footer {
  background: linear-gradient(135deg, #3b82f6, #d3f7f2);
}


.contact-info {
  position: fixed;
  left: 25px;
  top: 300px;
  transform: translateY(-15%);
  width: 220px;

  /* background: linear-gradient(120deg, #2dd4bf, #d5fcf8); */
  background-color: #e8f3ff;

  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.15);
  
  z-index: 999;
    
  color: #204d69;
  text-shadow: 0 0 2px rgb(250, 247, 247);
  text-align: center;
  font-weight: bold;
  font-size: 1rem;

}



.contact-info-hero {
  position: absolute;
  right: 20px; /* pour aligner à droite, donc ensuite mettre le eleft en auto, moins risqué que de directement aligner à gauche ! */
  left: auto;
  top: 40px;
  width: 220px;
  
  background: linear-gradient(120deg, #d5fcf8, #2dd4bf);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 5px rgba(0,0,0,0.15);
  
  color: #204d69;
  text-shadow: 0 0 2px rgb(250, 247, 247);
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}


.info-hero {
  position: absolute;
  right: 20px; /* pour aligner à droite, donc ensuite mettre le eleft en auto, moins risqué que de directement aligner à gauche ! */
  left: auto;
  top: 130px;
  width: 220px;
  text-align: center;
  font-size: 1rem;
  /* font-style: italic; */
}



.services {
  background-color: #d3f7f2;
  border-radius: 10px;
  margin-top: 100px;
  margin-bottom: 70px;
 
  border-width: 2px;
  border-style: solid;
  border-color: rgb(218, 218, 248);
}

.devis {
  padding: 20px 15px;
}

.devis-box {
  background-color: #e8f3ff;
}



#fileContainer .border {
  background: white;
  border: 1px solid #c1c7e7 !important;
}


#totalDuration {
  margin-top: 30px;
}


#totalDuration {
  margin-top: 50px;
}

#priceEstimate {
  margin-top:35px;
}


.timeGained {
  font-size: 0.8rem;
  font-style: italic;
  color:rgb(66, 66, 77);
}


.infos {
  margin-top: -25px;
}



.blabla {
  box-sizing: border-box;
  color:rgb(66, 66, 77);
  font-size: 0.8rem;
  text-align: justify;
  margin: 15px 30px 0;
  line-height: 0.8rem;
}


.blabla-inp {
  margin-left: 20px;
  margin-bottom: 0px;
}



.engagements {
  color:rgb(66, 66, 77);
  border-width: 2px;
  border-style: solid;
  border-color: rgb(218, 218, 248);
  background-color: #e8fffc;
  border-radius: 10px;
  margin: 70px auto;
  }



/* pour la page des options (tableaux) */

.options-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 70px;
}

.options-table th,
.options-table td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: top;
}

.options-table th {
  background: #e8f3ff;
  text-align: left;
}


.options-title {
  color:rgb(43, 43, 49);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}


.options {
  color:rgb(43, 43, 49);
  /* font-weight: bold; */
  /* margin-bottom: 30px; */
}

.options-description {
  color:rgb(66, 66, 77);
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 50px;
}













/* Responsive design for mobile devices///////////////////////////////////////// */

@media (max-width: 768px) {

  .services {
    margin-top: 50px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-logo {
    width: 250px;
    left: 50%;
    top: 25px;
    transform: translateX(-50%);
    border-radius: 25px;
  }
  .hero-title {
    font-size: 2.5rem;
    text-shadow: -6px 3px 8px rgba(8, 43, 77, 1.5);
  }

  .hero-subtitle {
    font-size: 1.7rem;
    margin-top: 20px;
    display: inline-block;
    line-height: 1.1;
  }

  .hero-subtitle-light {
    font-size: 1rem;
    text-shadow: none;
  }





  .infos {
    margin-top: 0px;
  }


  .blabla {
    font-size: 0.9rem;
    color:rgb(66, 66, 77);
    line-height: 0.8rem;
  }


  .blabla-inp {
    margin-left: -10px;
  }


  .floating-card {
    display: none;
  }


  .contact-info-hero,
  .info-hero {
    display: none;
  }



  .contact-info {
    position: static;
    width: auto;
    margin: 20px;
  }


  /* je remets tout dans le flux, pour la version mobile : les éléments avec la classe "contact-info", "contact-info-hero" et "info-hero" sont positionnés de manière statique, centrés et avec une marge pour les espacer du bord de l'écran. */
  /* .contact-info,
  .info-hero {
    position: static;
    width: auto;
    margin: 20px auto;
    text-align: center;
  }

  .contact-info-hero,
  .info-hero {
    left: auto;
    top: auto;
  } */




  /* ordre des éléments dans la section hero */
  /*

  .hero-logo {
    order: 1;
  }


  .info-hero {
    order: 2;
  }

  */






  /* version mobile : on affiche les éléments avec la classe "mobile-only" et on masque ceux avec la classe "desktop-only" */
  /*
    .desktop-only {
    display: none;
  }

    .mobile-only {
    display: block;
  }
  */

}
