body {
    margin: 0;
    padding: 0;
    user-select: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

header {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background-image: url('images/diagnostics-background.jpg');
  background-size: cover;
  background-position: center;
}

.contact{
  position: relative;
  width: 100%;
  height: auto;
  background: #fff;
}


header h1{
  width: 100%;
  color: black;
  font-size: 2rem;
}

header h2{
  width: 100%;
  color: #04a757;
  text-align: left;
  font-size: 25px;
  font-weight: 600;
}


.logo {
  width: 250px; /* Adjust the size of the logo */
}


.container-menu {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.menu-entete
{
  font-size: 12px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu-entete p
{
  color: #04a757;
  font-weight: 600;
  font-size: 16px;
  margin: 15px;
}
nav {
  background-color: #fff;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  margin-right: 50px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  color: black;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.main-menu > li > a:hover {
  color: #04a757;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
}

.main-menu > li:hover .submenu {
  display: flex;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.menu li {
  position: relative;
}

.menu li a {
  color: #04a757;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.menu li a:hover {
  background-color: #575757;
}

.menu > li:hover .submenu {
  display: flex;
}

/* Submenu Styles */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  margin: 0;
  padding: 10px;
  flex-direction: row;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100vw;
  padding: 0;
  z-index: 1000;
  transition: all .3s ease-in-out;
  transform: translate(0, -1rem);
}

.submenu > li {
  padding: 10px;
  width: 200px;
}

.submenu img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.submenu a {
  
  text-decoration: none;
  display: block;
  padding: 5px 0;
  color: #000;
}

.submenu a:hover {
  text-decoration: none;
  color: #04a757;

}

.menu-icon {
  display: none;
  color: #04a757;
  font-size: 30px;
  cursor: pointer;
}

.coordonnees_tel_accueil
{
  width: 100%;
  font-weight: 600;
  color: #04a757;
  text-align: center;
  display: none;
}
.titresousmenu
{
  font-weight: 600;
  color: #04a757;
}

.decalage
{
  left: -500px;
}
.btn-devis
{
  background-color: #04a757;
  color: #fff !important;
  border-radius: 15px;
}
.btn-devis:hover
{
  background-color:#012313;
}
.container-accueil  {
  width: 1000px;
  /* margin: auto; */
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  flex-direction: column;
  padding: 0 20px;
}

.container-accueil-choix {
  width: 100%;
  height: 150px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.container-contact
{
  width: 1000px;
  margin: auto;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  padding: 0 20px;
  text-align: center;
}

.container-accueil-contact{
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.container{
  position: relative;
  width: 1000px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

.container-diagnostics {
  width:100%;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  padding: 20px;
  flex-direction: column;
}
.questionnaire
{
  margin-top: 150px;
}
.reponse {
  width: 300px;
  margin-right: 10px;
  height: 120px;
  background-color: whitesmoke;
  border: 1px solid grey;
}
.reponse a {
  height: 120px;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  color: #04a757;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.reponse:hover {
  background: #04a757;
  color: whitesmoke;
  border: 1px solid grey;

}

.reponse:hover a{
  color: whitesmoke; 
  }

.reponse p
{
  margin: 0;
  padding: 10px;
}

.reponse img{
  width: 100px;
  height: auto;
  padding: 5px;
}

.Professionnels a
{
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: black;
  display: flex;
  flex-direction: column;
  padding: 5px;
}


.active
{
  background: #04a757 !important;
  border: 1px solid yellow;
}
.active a
{
  color: yellow !important;
}
.twobox
{
    width: 650px;
}
.fivebox
{
    width: 1400px;
}

.box2
{
 width: 200px;
}
.recap {
  width: 30%;
  border-left: 1px solid #ccc;
  padding-left: 20px;
}

input[type="radio"].demo1 {
  display: none;
}
input[type="radio"].demo1 + label {
  padding: 0.3rem 0.5rem;
  border: 1px dashed #ccc;
}
input[type="radio"].demo1:checked + label {
  border: 1px solid #000;
}
.details
{
  display: none;
 
}

.formbox span
{
  font-size: 15px;
  font-weight: 700;
  color : #04a757;
}

label
{
  font-size: 16px;
}
.form-checkbox:checked+label {
  background: #04a757 url(../images/check.svg) no-repeat;
  background-size: contain;
  background-position: center;
  border-color: #04a757;
}
input[type="checkbox"]
{
  width: 1.375rem;;
  height: 1.375rem;;
  background: #04a757;
}
input[type="checkbox"]:checked
{
  background: #04a757;
}

.formbox
{
  border: 2px solid #04a757;
  width: 800px;
  min-height: 75px;
  padding: 20px;
  margin: 2px;
}

.formbox img
{
  width: 2rem;;
  height:2rem;;
  padding-left: 5px;
  padding-right: 5px;
}

.diagnostics
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 0 auto;
  /* padding: 20px; */
  box-sizing: border-box;
}
.fixed-content {
  width: 20%;
  padding: 20px;
  background-color: #04a757;
  color: white;
  position: fixed; /* Le paragraphe reste fixe */
  top: 0;
  right: 0;
  height: 800px;
  /* overflow-y: auto; Permet le défilement si le contenu dépasse */
}

.fixed-content .logo
{
  width: 100px;
}

.fixed-content h2
{
  
  color: white !important;
}
 /* .inputbox {
  position: relative;
  width: 100%;
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
  gap:40px;
 }

 .inputbox label
 {
  display: block;
  width: 200px;
 }

.inputbox input,
.inputbox textarea {
  width: 350px;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #B8D3DE;
  outline: none;
  resize: none;
}

 .inputbox span {
  position: absolute;
  left: 0;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  pointer-events: none;
  transition: 0.5s;
}

 .inputbox input:focus ~ span,
 .inputbox input:valid ~ span,
 .inputbox textarea:focus ~ span,
 .inputbox textarea:valid ~ span {
  color: #B8D3DE;
  font-size: 12px;
  transform: translateY(-20px);
}
*/
h1
{
  width: 80%;
  text-align: center;
  font-size: 40px;
  text-transform: uppercase;
  color: #04a757;
}
.contact_form
{
    width: 50%;
    padding: 40px;
    background: #fff;
}

.contact_form h2
{
     font-size: 30px;
     color: #04a757;
     font-weight: 500;
     text-transform: uppercase;
}

.contact_form .inputbox
{
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contact_form .inputbox span
{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
}

.contact_form .inputbox input,
.contact_form .inputbox textarea
{
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #04a757;
    outline: none;
    resize: none;
}

.contact_form .inputbox span, .contact_form .inputbox p
{
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
}

.contact_form .inputbox input:focus ~ span,
.contact_form .inputbox input:valid ~ span,
.contact_form .inputbox textarea:focus ~ span,
.contact_form .inputbox textarea:valid ~ span
{
    color: #04a757;
    font-size: 12px;
    transform: translateY(-20px);
}

.contact_form .inputbox input[type="submit"]
{
    width: 100%;
    background: #04a757;
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
}

button
{
  width: 300px;
  height: 65px;
  text-decoration: none;
  font-size: 1rem;
  color: #04a757;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
}

button:hover
{
  background: #04a757;
  color: #fff;
  border: none;
}

.astuce
{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 40px;
  background-color: lightgray;
  border-left: #000 solid 3px;
}
.astuce img
{
  width: 75px;
  height: auto;
  padding: 25px;
}

.item-contact
{
  padding: 20px;
  width: 350px;
  height: 250px;
  background: #ffffff78;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.fondvert
{
  background-color: #04a75889;
  height: 350px; 
  color: #fff;
}

.fondvert h2
{
  color: #fff !important;
}
.item-contact img
{
width: 100px;
}

.item-contact h2
{
  color: #04a757;
}

.annotation
{
 font-size: 8px;
 padding: 0 20px;
}

.infosformulaire
{
display: flex;
justify-content:space-around;
align-items: center;
}

.suiviformulaire
{
  width: 60%;
  margin: auto;
  display: flex;
  justify-content:space-around;
  align-items: center;
}

.selecformulaire
{
 display: flex;
 align-items: center;
 justify-content: center;
}

.suiviformulaire img
{

  width: 20px;
  padding: 2px;
}

.vert
{
  color: #04a757;
}

.coordonnees_ordi
{
  color: #04a757;
  font-weight: 600;
  font-size: 16px;
  margin: 15px;
}
.coordonnees_tel
{
  color: #04a757;
  font-weight: 600;
  font-size: 16px;
  margin: 15px;
  display: none;
}

.retour
{
  width: 70%;
  /* position: fixed; */
  z-index: 10;
  background: #fff;
}
.retour a
{
  text-decoration: none;
  background: #04a757;
  color: #012313;
  padding: 10px;
  border-radius: 5px;
}
.retour:hover a
{
  background: #012313;
  color: #fff;
}

input,
textarea {
  width: 350px;
  padding: 5px 0;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-bottom: 2px solid #04a757;
  outline: none;
  resize: none;
}

input[type=submit] {
  width: 300px;
  background: #04a757;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
}

.alert
{
  color: red;
  font-weight: 800;
}

.contact
{
  width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

}

.idea, .infos
{
  width: 60%;
  display: flex;
  justify-content: start;
  align-items: centre;
  padding: 10px;
}

.infos
{
  background: #f1da06;
}

.idea p, .infos p
{
  padding: 5px;
}

.remisedevis
{
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #04a757;
}

.remisedevis p
{
  padding: 10px;
  font-weight: 600;
  color: #fff;
}

.titreQ
{
 font-size: 16px;
 font-weight: 600;
}

@media (max-width: 1060px) {

  .container-diagnostics {
    padding: 0px;
  }
  .container {
    width: 100%;
    margin: auto;
    flex-direction: column;
    padding: 5px;
  }

  h2, p, h1
  {
    padding: 5px;
  }

  h1
  {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
  }

  .retour
  {
    width: 100%;
    margin: auto;
    text-align: center;
    margin-top: 5px;
    position: relative;
  }

   .suiviformulaire, .infosformulaire
  {
    width: 100%;
    flex-direction: column;
    margin: auto;
  }

  .suiviformulaire p
  {
    padding: 5px;
    margin: 0;
  }       

  .reponse
  {
    width: 250px;
    height: 75px;
    margin: auto;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .reponse img
  {
    width: 75px
  }

  .reponse a
  {
    height: auto;  
  }

  .questionnaire
  {
    margin-top: 20px;
  }

  .questionnaire h2
  {
    text-align: center;
    width: 100%;
    font-size: 1.5rem;
  }

  .fixed-content {
    width: 100%;
    position: relative;
    margin: auto;
    padding: 0;
  }
  .coordonnees_ordi
  {
    display: none;
  }
  .coordonnees_tel
  {
    display: block;
  }

  .coordonnees_tel a {
    color: inherit;  /* Hérite de la couleur du parent */
    text-decoration: none; /* Pas de soulignement */
    background: transparent;
  }
    .main-menu {
      flex-direction: column;
      width: 100%;
      margin: auto;
      display: none;
    }  
    
    .menu-icon {
        display: block;
        padding: 5px;
    }

    .menu {
      flex-direction: column;
      display: none;
      position: absolute;
      top: 0;
      left: 0;
      background: #fff;
      z-index: 5;
  }

    .menu li {
        width: 100%;
    }

    .menu > li:hover .submenu
    {
      flex-direction: column;
    }

    .submenu > li
    {
      padding: 0;
    }
  
    .main-menu.active {
        display: flex;
    }

    .decalage
    {
      left: 0;
    }
    .container-accueil-choix
    {
      flex-direction: column;
      height: auto;
      padding: 0;
    }

    .container-accueil
    {
      width: 100%;
      padding: 0;
    }

    .container-accueil-contact
    {
      width: 100%;
      margin: auto;
      flex-direction: column;
      height: auto;
      padding: 0;
    }

    .contact
    {
      width: 100%;
      margin: auto;
      padding: 5px;
    }

    .container-menu
    {
      padding: 0;
    }

    .logo
    {
      width: 150px;
      padding: 5px;
    }

    header h1
    {
      font-size: 1.5rem;
    }

    header h2 {
      font-size: 20px;
      text-align: center;
    }
    .coordonnees_tel_accueil
    {
      display: block;
    }
    .contact_form
    {
      width: 100%;
      padding: 0;
    }
    .contact_form form
    {
      padding: 5px;
    }

    .recapitulatif
    {
      padding: 5px;
    }

    .asavoir
  {
    width: 100%;
  }
    .idea, .infos
    {
      width: 100%;
      padding: 5px;
    }

    .formbox
    {
      width: 100%;
      padding: 0;
      border: none;
    }

    form
    {
      width: 100%;
    }

    .remisedevis
    {
      width: 100%;
      padding: 0;
    }
    button {
      text-align: center;
    }
    .contact_form h2 {
      font-size: 20px;
      text-align: center;
    }
    .contact_form .inputbox
    {
      padding: 5px;
    }
}

.message_email
{
  width: 100%;
  color: #fff;
  background: red;
  text-align: center;
}


.reponse_simu {
  width: 200px;
  margin-right: 10px;
  height: 60px;
  background-color: whitesmoke;
  border: 1px solid grey;
}
.reponse_simu a {
  height: 60px;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  color: #04a757;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.reponse_simu:hover {
  background: #04a757;
  color: whitesmoke;
  border: 1px solid grey;

}

.reponse_simu:hover a{
  color: whitesmoke; 
  }