body {
  margin: 0;
  padding: 0;
  font-family: Arial;
  color: black;
  margin: auto;
  /*background-color: #f3f3f3;*/
  background-color: white;
  height: 100%;
}
#grille {
  min-height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "nav"
    "section"
    "footer";
}
/****************** NAV *********************
********************************************/
nav {
  grid-area: "nav";
  background-color: black;
  height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  /*border-bottom: 1px solid white;*/
  width: 100%;
  position: fixed;
  z-index: 100;
}
nav img {
  margin: 0;
  padding: 0;
  padding-left: 20px;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  width: 100%;
}
nav li {
  height: 50px;
  padding: 0px 15px;
  line-height: 50px;
}
nav ul li#active a {
  background-color: transparent;
  color: white;
  transition: 0.2s;
  border-radius: 10px;
  border: 2px solid white;
}
nav ul li#active-contact i {
  color: lightgrey;
  transition: 0.5s;
}
nav ul li#active-estimer a {
  background-color: transparent;
  color: white;
  transition: 0.2s;
  border-radius: 10px;
  border: 2px solid white;
}
nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  letter-spacing: 2.5px;
  font-size: 18px;
  border-left: 3px solid white;
  padding-left: 10px;
  padding-right: 10px;
  transition: 0.2s;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}
nav ul li a:hover {
  background-color: transparent;
  color: white;
  transition: 0.2s;
  border-radius: 10px;
  border: 2px solid white;
}
.fa-solid {
  color: white;
}
.fa-solid:hover {
  color: lightgray;
  transition: 0.5s;
}
.home,
.contact,
.estimation {
  border-left: none;
}
.home:hover,
.contact:hover {
  background-color: transparent;
  border: transparent;
}
.estimation {
  background-color: white;
  color: black;
  border: 1px solid black;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}
.estimation:hover {
  background-color: transparent;
  transition: 0.5s;
  color: white;
  border: 2px solid white;
  border-radius: 10px;
}
#burger {
  color: white;
  display: none;
  font-size: 30px;
}

/****************** SECTION *****************
*********************************************/
section {
  grid-area: "section";
  padding-top: 100px;
  width: 70%;
  margin: auto;
  text-align: left;
}
section h1 {
  font-size: 35px;
  letter-spacing: 2px;
}
section h3 {
  /*letter-spacing: 2px;*/
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 24px;
  text-align: left;
}
/********* SECTION : ACCUEIL ***********/
#section-accueil {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 50px;
}
#accueil {
  display: flex;
  align-items: start;
  /* width: 90%;*/
  margin-top: 50px;
  margin-bottom: 20px;
}
#slideshow {
  overflow: hidden;
  width: 400px;
  height: 400px;
  margin-left: 0;
  padding-top: 25px;
}
#slider-content {
  width: 2000px;
  height: 400px;
  display: flex;
  flex-direction: row;
  position: relative;
  animation-name: slider;
  /* transition: 5s;*/
  animation-duration: 12s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
#slider-content img {
  width: 400px;
  height: 400px;
}
@keyframes slider {
  0%,
  8% {
    left: -0px;
  }
  20%,
  28% {
    left: -400px;
  }
  40%,
  48% {
    left: -800px;
  }
  60%,
  68% {
    left: -1200px;
  }
  80%,
  88% {
    left: -1600px;
  }
  96%,
  100% {
    left: -2000px;
  }
}
#presentation {
  max-width: 600px;
  margin-left: 200px;
}
/* #accueil h2 {
  letter-spacing: 2px;
  font-style: italic;
}*/
#accueil p {
  line-height: 20px;
  font-size: 18px;
  text-align: justify;
}
#nosvaleurs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
#nosvaleurs li {
  padding: 15px;
  font-size: 18px;
  letter-spacing: 1.5px;
}
#nosvaleurs li i {
  font-weight: bold;
  color: black;
  margin-right: 10px;
}
.h3-avis {
  text-align: center;
  padding-top: 20px;
}
#pourquoi-nous {
  max-width: 60%;
}
#pourquoi-nous p {
  line-height: 25px;
  font-size: 18px;
}
#pourquoi-nous h2 {
  /* letter-spacing: 2px;*/
  font-size: 17px;
}
#avis-clients {
  max-width: 1200px;
  text-align: start;
}
#avis-slide1,
#avis-slide2 {
  display: flex;
  justify-content: center;
}

.box-avis {
  padding-right: 10px;
  width: 100%;
  margin-right: 10px;
  text-align: justify;
}
.titre-avis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}
.titre-avis img {
  width: 20px;
  height: 20px;
}
.fa-star {
  color: rgb(236, 214, 10);
}
#index-details {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 16px;
}
#index-details > #index-summary {
  list-style-type: "";
}
#index-summary:after {
  content: "Lire la suite";
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin-top: 10px;
}
#index-summary:hover:after {
  text-decoration: underline;
}
#index-details[open] #index-summary:after {
  content: "Cacher";
}
#index-details p {
  padding: 0;
  margin-top: 5px;
}
#index2-details > #index2-summary {
  list-style-type: "";
}
#index2-summary:after {
  content: "Afficher d'autres avis";
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin-top: 10px;
  margin-bottom: 30px;
  /* letter-spacing: 2px;*/
  font-size: 16px;
  text-align: center;
}
#index2-summary:hover:after {
  text-decoration: underline;
}
#index2-details[open] #index2-summary:after {
  content: "Refermer";
}
/********* SECTION : NOTRE EQUIPE ******/
#equipesection {
  grid-area: "section";
  padding-top: 95px;
  width: 70%;
  margin: auto;
  text-align: center;
}
#equipeh2 {
  font-size: 21px;
  letter-spacing: 0.5px;
}
.photoben {
  height: 150px;
  width: 150px;
  border: 1px solid black;
  border-radius: 50%;
}
#equipesection p {
  line-height: 20px;
}
#contact-ben a {
  text-decoration: none;
  color: black;
  font-weight: 550;
  margin-right: 20px;
}
#contact-ben a:hover {
  color: rgb(53, 53, 53);
  transition: 0.5s;
}
#contact-ben i {
  padding-right: 10px;
  color: black;
}
/********* SECTION : NOS SERVICES ***********/
#section-nos-services {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#section-nos-services ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  justify-content: center;
  padding: 0;
}
#section-nos-services li {
  padding: 15px;
  margin: 20px;
  border: 2px solid black;
  border-radius: 20px;
  font-size: 17px;
  background-color: transparent;
  width: 300px;
  text-align: start;
}
#section-nos-services li:hover {
  cursor: pointer;
  background-color: whitesmoke;
}

#section-nos-services #active-contacter {
  margin-top: 20px;
  margin-bottom: 40px;
}
#section-nos-services .contacter {
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  background-color: green;
  color: white;
  border: 1px solid black;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}
#section-nos-services .contacter:hover {
  transition: 0.5s;
  color: black;
}
.fa-circle-check {
  font-size: 12px;
  color: lightgrey;
}
/********* SECTION : NOS REALISATIONS ***********/
#nos-realisations {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#nos-realisations h1 {
  text-align: center;
}
#realisations-detail {
  display: flex;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
#nos-realisations h4 {
  font-size: 20px;
  letter-spacing: 2px;
  color: rgb(53, 53, 53);
  margin-bottom: 0;
  text-align: center;
}
#nos-realisations figure {
  background-color: #000;
  font-size: 0;
  max-width: 250px;
  border: 2px solid #000;
  margin: 30px;
  margin-top: 5px;
}
#nos-realisations figure a {
  position: relative;
  display: block;
}

#nos-realisations figure a img {
  display: block;
  width: 100%;
  transition: opacity 0.2s ease-in;
}

#nos-realisations figure:hover img {
  opacity: 0.5;
}

#nos-realisations .fig_3 h3 {
  position: absolute;
  z-index: 1;
  bottom: 5%;
  left: 5%;
  color: #fff;
  opacity: 0;
  transform: translateY(100%);
  transition: 0.2s;
  font-size: 16px;
  line-height: 20px;
}

#nos-realisations .fig_3:hover h3 {
  opacity: 1;
  transform: translateY(0);
}
#nos-realisations #slider {
  margin: auto;
}
#slider {
  max-width: 450px;
  display: flex;
  overflow: hidden;
  position: relative;
  padding-top: 30px;
  padding-bottom: 40px;
}
#slider:hover #gauche,
#slider:hover #droite {
  color: rgba(255, 255, 225, 0.5);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 25px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: 0.5s;
}
#slider:hover #droite {
  right: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
#slider:hover #gauche {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
#slider:hover #gauche:hover,
#slider:hover #droite:hover {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 0.8);
}
#controle {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
}
#controle span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #aaa;
  display: inline-block;
  cursor: pointer;
  margin: 3px;
}
#controle span.active {
  background-color: #fff;
}
.image {
  width: 100%;
  margin-right: 100px;
}

/********* SECTION : FAQ ***********/
#h1-faq {
  text-align: center;
}
#faq-details {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2.5rem 0;
  border-radius: 6px;
  overflow: hidden;
}
#faq-details:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
#faq-details p {
  margin: 1rem;
  text-align: start;
}

#faq-summary {
  /*background: linear-gradient(90deg, rgb(151, 73, 73), rgb(196, 189, 189));*/
  background: linear-gradient(90deg, #606061, #2f3030);
  padding: 1.5rem;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}
#faq-summary:hover,
details[open] #faq-summary {
  background: linear-gradient(90deg, rgb(175, 175, 175), #7a7979);
}

/********* SECTION : ESTIMER MON PROJET ***********/
#form-estimation {
  width: 500px;
  background: rgb(122, 121, 121);
  text-align: center;
  padding: 40px;
  border-radius: 25px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 1px solid black;
}
#box-devis {
  display: flex;
  justify-content: center;
  align-items: top;
}
#coordonnees {
  padding-right: 30px;
}
#form-estimation h1 {
  color: #fff;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 12px;
}
#form-estimation h1 span {
  display: block;
  letter-spacing: 7px;
  color: black;
  margin-top: 5px;
  margin-bottom: 40px;
}
#form-estimation label {
  color: white;
}
input,
select,
textarea {
  display: block;
  background: none;
  text-align: center;
  margin: auto;
  margin-top: 5px;
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 25px;
  outline: none;
  color: white;
}
textarea {
  width: 400px;
}
::placeholder {
  color: #e0dfdf;
}

input[type="number"],
input[type="text"],
input[type="email"],
textarea,
select {
  border: 3px solid white;
  transition: 0.2s;
}
input[type="number"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
  border-color: black;
  width: 200px;
}
textarea:focus {
  border-color: black;
}
input[type="submit"] {
  border: 3px solid white;
  color: black;
  background-color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.5s;
  width: 440px;
  margin-top: 40px;
}
input[type="submit"]:hover {
  color: white;
  background: green;
  border: 3px solid green;
  transition: 0.5s;
}

/********* SECTION : CONTACT ***********/
#section-contact #active-estimer,
#section-contact h1,
#section-contact p {
  margin-top: 40px;
  margin-bottom: 30px;
  text-align: center;
}
#section-contact .contacter {
  text-decoration: none;
  padding-left: 20px;
  padding-right: 20px;
  background-color: green;
  border: 2px solid black;
  color: white;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}
#section-contact .contacter:hover {
  transition: 0.5s;
  color: black;
  border: 2px solid black;
  border-radius: 10px;
}
#box-contact {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}
#box-contact button {
  padding: 10px;
  margin: 15px;
  border: 2px solid white;
  border-radius: 20px;
  font-size: 17px;
  background-color: black;
  padding-bottom: 20px;
  color: white;
}
#box-contact button a {
  color: white;
  text-decoration: none;
}
#box-contact .icone {
  margin-top: 10px;
  margin-right: 10px;
  color: white;
}
#box-contact button:hover,
#box-contact button a:hover,
#box-contact button i:hover,
#box-contact .icone:hover {
  cursor: pointer;
  background-color: rgb(26, 25, 25);
}

/********* SECTION : RGPD ***********/
#section-rgpd {
  line-height: 20px;
  width: 60%;
  margin-bottom: 20px;
}
#section-rgpd h1 {
  padding-top: 20px;
  text-decoration: underline;
}
/******* SECTION : VALIDE *****/
#section-valide {
  margin-top: 50px;
  margin-bottom: 50px;
}
#section-valide h1 {
  padding-bottom: 20px;
}
#section-valide h3 {
  padding-top: 20px;
}
#section-valide .fa-circle-check {
  font-size: 80px;
  color: green;
  margin: 20px;
}
/************* FOOTER **************
************************************/
footer {
  grid-area: "footer";
  height: 90px;
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding-top: 10px;
  border-top: 0.5px solid black;
  width: 100%;
  position: static;
  bottom: 0;
  background-color: black;
  color: white;
}
#logofooter {
  text-align: center;
}
#logofooter img {
  margin: 0;
  padding-top: 0px;
  width: 70px;
  height: 70px;
}
#logofooter p {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-style: italic;
}
footer div h2 {
  padding-top: 10px;
  margin: 0;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 600;
}
#reseaux {
  padding-top: 15px;
  display: flex;
  justify-content: space-around;
}
.fa-brands {
  color: white;
  font-size: 23px;
}
.fa-brands:hover {
  color: lightgray;
  transition: 0.5s;
}
#rgpd {
  display: flex;
  flex-direction: column;
}
#rgpd h2 {
  padding-bottom: 6px;
}
#rgpd a {
  padding-bottom: 2px;
  text-decoration: none;
  color: white;
  text-align: center;
  font-size: 13px;
}
#rgpd a:hover {
  text-decoration: underline;
}
/************* MEDIA QUERIES ****************
*********************************************/

@media screen and (max-width: 1350px) {
  /************ NAV ***********/
  nav ul {
    position: fixed;
    top: -120vh;
    left: 0;
    background-color: black;
    flex-direction: column;
    justify-content: flex-start;
    transition: 1s;
  }
  nav li {
    height: 20px;
    text-align: center;
    margin: 30px;
    line-height: 20px;
  }
  nav ul li a {
    padding: 0;
    margin: 0;
    color: white;
    font-weight: 300;
    border-left: 0px;
  }
  nav ul li a:hover {
    margin: 0;
    background-color: white;
    transition: 0.5s;
    color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding: 10px;
  }
  nav ul.active {
    top: 80px;
    height: 100%;
    transition: 1s;
  }
  .fa-house,
  .fa-envelope {
    color: white;
  }
  .fa-house:hover,
  .fa-envelope:hover {
    color: lightgray;
  }
  .estimation {
    background-color: transparent;
    color: white;
    border: none;
  }
  .estimation:hover {
    background-color: white;
    transition: 0.5s;
    color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding: 10px;
  }
  #burger {
    display: block;
    cursor: pointer;
    margin-right: 50px;
    transition: 1s;
    color: #fff;
  }
  .fa-times {
    transition: 1s;
  }
  nav ul li#active a {
    background-color: white;
    transition: 0.5s;
    color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding: 10px;
  }
  nav ul li#active-contact i {
    color: lightgrey;
    transition: 0.5s;
  }
  nav ul li#active-estimer a {
    background-color: white;
    transition: 0.5s;
    color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding: 5px;
  }
  /******* SECTION : ACCUEIL *****/

  #section-accueil {
    text-align: left;
  }
  #accueil {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #section-accueil p {
    font-size: 16px;
  }
  #presentation {
    font-size: 14px;
    padding-left: 30px;
    margin: 0;
    width: 60%;
  }
  #presentation h1 {
    font-size: 25px;
  }
  #slideshow {
    width: 400px;
    height: 400px;
  }
  #slider-content {
    width: 2000px;
    height: 400px;
  }
  #slider-content img {
    width: 400px;
    height: 400px;
  }
  @keyframes slider {
    0%,
    8% {
      left: -0px;
    }
    20%,
    28% {
      left: -400px;
    }
    40%,
    48% {
      left: -800px;
    }
    60%,
    68% {
      left: -1200px;
    }
    80%,
    88% {
      left: -1600px;
    }
    96%,
    100% {
      left: -2000px;
    }
  }
  #presentation h2 {
    font-size: 18px;
  }
  #nosvaleurs li {
    font-size: 13px;
  }
  .box-avis {
    padding-left: 5px;
    padding-right: 5px;
    margin-right: 5px;
    margin-left: 5px;
    font-size: 12px;
  }
  .titre-avis {
    font-size: 14px;
  }
  .fa-star {
    font-size: 12px;
  }
  #index-details {
    font-size: 14px;
  }

  /******* SECTION : NOTRE EQUIPE *****/
  section {
    width: 90%;
    font-size: 14px;
  }
  /******* SECTION : NOS SERVICES *****/
  section p {
    line-height: 17px;
  }
  #contact-ben {
    display: flex;
    flex-direction: column;
  }
  #contact-ben a {
    padding-left: 30px;
  }
  /******* SECTION : NOS REALISATIONS *****/
  #slider {
    max-width: 400px;
  }
  /******* SECTION : ESTIMER MON PROJET *****/

  #form-estimation {
    width: 400px;
  }
  input,
  textarea,
  select,
  input[type="submit"] {
    width: 70%;
    font-size: 11px;
  }
  input[type="number"]:focus,
  input[type="text"]:focus,
  input[type="email"]:focus,
  select:focus {
    width: 70%;
  }
  /************ FOOTER ***********/
  footer div h2 {
    font-size: 12px;
  }
  #logofooter img {
    padding-top: 0px;
  }
  #logofooter p {
    font-size: 10px;
  }
  .fa-brands {
    font-size: 20px;
  }
  #rgpd a {
    padding-bottom: 2px;
    font-size: 11px;
  }
}
/************* MEDIA QUERIES ****************
*********************************************/

@media screen and (max-width: 900px) {
  /************ SECTION : ACCUEIL ***********/
  #section-accueil {
    align-items: center;
    text-align: justify;
    justify-content: center;
    margin: auto;
    padding-left: 0px;
  }
  #accueil {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-left: 0px;
    margin-left: 0px;
    margin-top: 20px;
    margin-bottom: 0px;
    text-align: justify;
  }
  #slideshow {
    overflow: hidden;
    width: 300px;
    height: 300px;
    margin: 0;
    padding: 0;
  }
  #slider-content {
    width: 300px;
    height: 300px;
  }
  #slider-content img {
    width: 300px;
    height: 300px;
  }

  @keyframes slider {
    0%,
    8% {
      left: -0px;
    }
    20%,
    28% {
      left: -300px;
    }
    40%,
    48% {
      left: -600px;
    }
    60%,
    68% {
      left: -900px;
    }
    80%,
    88% {
      left: -1200px;
    }
    96%,
    100% {
      left: -1500px;
    }
  }
  #presentation {
    font-size: 14px;
    padding-left: 0px;
    margin: 0;
    width: 80%;
    margin-top: 15px;
  }

  #presentation h1 {
    text-align: center;
    font-size: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 40px;
  }

  #presentation h2 {
    font-size: 19px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 20px;
    margin: 0;
  }
  #presentation h3 {
    text-align: center;
    font-size: 21px;
    padding-top: 30px;
    padding-bottom: 20px;
    margin: 0;
  }
  #accueil p {
    line-height: 25px;
  }
  #nosvaleurs {
    justify-content: center;
  }
  #nosvaleurs li {
    padding: 10px;
    font-size: 12px;
    text-align: left;
  }
  #nosvaleurs li i {
    margin-right: 1px;
  }
  #pourquoi-nous {
    max-width: 80%;
  }
  #pourquoi-nous h2 {
    text-align: center;
    font-size: 16px;
    padding-bottom: 10px;
  }
  #pourquoi-nous h3 {
    text-align: center;
    font-size: 21px;
    padding: 0;
    padding-top: 30px;
    padding-bottom: 10px;
    margin: 0;
  }
  #avis-clients {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .h3-avis {
    font-size: 21px;
    padding-top: 30px;
    padding-bottom: 20px;
    margin: 0;
  }
  .cacher-avis {
    display: none;
  }
  .titre-avis img {
    width: 15px;
    height: 15px;
  }
  /******* SECTION : NOTRE EQUIPE *****/
  #equipesection p {
    text-align: justify;
  }
  /******* SECTION : NOS SERVICES *****/
  #section-nos-services ul {
    margin: 0;
  }
  /******* SECTION : NOS REALISATIONS *****/

  #slider {
    max-width: 300px;
  }

  /******* SECTION : ESTIMER MON PROJET *****/
  #form-estimation {
    width: 270px;
    padding: 20px;
  }
  /********* SECTION : RGPD ***********/
  #section-rgpd {
    line-height: 25px;
    width: 60%;
    margin-bottom: 20px;
  }
  #section-rgpd h1 {
    padding-top: 20px;
    line-height: 40px;
    text-decoration: underline;
  }
  /************ FOOTER ***********/
  footer div h2 {
    font-size: 11px;
  }
  #logofooter p {
    font-size: 9px;
  }
  #rgpd a {
    font-size: 9px;
  }
}
