* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", system-ui;
}

nav {
  position: relative;

  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: max-content;
  padding: 10px 100px 10px 100px;
  background-color: white;
}

.seconde_nav {
  position: absolute;
  z-index: 25;
  display: none;
}

.logo {
  width: 120px;
  height: auto;
}

.navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
}

.navbar li {
  display: inline;
}

.nav-link {
  display: block;
  color: #484747;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  position: relative;
}

.logo_menuburger {
  position: absolute;
  z-index: 30;
  display: flex;
  align-items: center;
  width: 100%;
  /* background-color: white; */
  top: 0;
}

.menu_hamberger {
  width: 40px;
  height: 30px;
  display: none;
  position: absolute;
  right: 0;
}

.nav-link {
  position: relative;   /* Indispensable pour fixer le trait sous le texte */
  display: inline-block; /* Permet au lien de bien calculer sa largeur */
  padding-bottom: 5px;   /* Crée un petit espace entre le texte et le futur trait */
}

/* Le reste de ton code ne change pas */
.nav-link:hover,
.nav-link.active {
  text-decoration: none;
}

.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #e8ceb0;
  transition: width 0.3s;
  position: absolute; /* Il se place par rapport au .nav-link (grâce au relative) */
  left: 10%;
  bottom: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

@media (max-width: 1150px) {
  nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo {
    margin-left: 30px;
  }

  .menu_hamberger {
    margin-right: 30px;
  }
}

@media (max-width: 900px) {
  nav {
    padding-left: 0px;
    padding-right: 0px;
  }

  #premiere_nav {
    display: none;
  }

  .seconde_nav {
    display: flex;
    position: absolute;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-top: 5px solid #e8ceb0;
    border-bottom: 5px solid #e8ceb0;
    backdrop-filter: blur(5px);
    padding: 70px 0px 70px 0px;
    top: 0;
    margin-top: 80px;
    margin-left: -100%;
    transition: all 0.5s ease;
  }

  .seconde_nav.mobile-menu {
    margin-left: 0;
  }

  .cont_carre_et_lien {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    margin-right: auto;
    width: 100px;
  }

  .pointcarre {
    width: 8px;
    height: 8px;
    background-color: #e8ceb0;
  }

  li {
    list-style: none;
  }

  .lien_second_nav {
    text-decoration: none;
    color: #484747;
    font-size: 15px;
  }

  .navbar {
    flex-direction: column;
    position: absolute;
    width: 100%;
    top: 0;
  }

  .menu_hamberger {
    display: block;
    z-index: 20;
  }
}

/* --------------------Slider---------------------- */
.slider {
  position: relative;
  width: 100%;
  height: 100vh; /* Ou ta hauteur actuelle */
  overflow: hidden;
}

.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Arrière-plan */
}

/* Règles de base pour chaque slide : superposition et transitions */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* Devant les slides */
  background: rgba(
    0,
    0,
    0,
    0.3
  ); /* Optionnel : assombrit l'image pour lire le texte */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#slide1 {
  background-image: url("images/landing_1.webp");
  background-size: contain;
  background-position: center;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: absolute;
  transition: opacity 1.5s ease-in-out;
}

#slide2 {
  background-image: url("images/landing_2.webp");
  background-size: contain;
  background-position: center;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: absolute;
  transition: opacity 1.5s ease-in-out;
}

/* On s'assure que les réseaux sociaux restent cliquables */
.cont_rs_slider,
.cont_reseau_tablete {
  z-index: 20;
}

@media screen and (min-width: 600px) and (max-width: 1024px) and (min-height: 700px) {
  .slider {
    height: 600px;
  }

  .slide {
    height: 600px;
  }
}

@media screen and (min-width: 320px) and (max-width: 480px) and (min-height: 500px) {
  .slider {
    height: 350px;
  }

  .slide {
    height: 350px;
  }
}

.slide:nth-child(1) {
  z-index: 1;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.171);
  color: white;
  width: 100%;
  height: 100%;
  align-items: center;
}

.cont_reseau_tablete {
  display: none;
}

.cont_reseau {
  height: 170px;
  width: 80px;
  background-color: #e8ceb0bb;
  border-radius: 10px;
  margin-left: -25px;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.icone_rs {
  width: 35px;
  height: auto;
  margin-left: 20px;
}

.icone_rs_tablete {
  width: 35px;
  height: auto;
}

@media (max-width: 900px) {
  .cont_reseau {
    display: none;
  }

  .cont_reseau_tablete {
    display: flex;
    background-color: #e8ceb0;
    width: max-content;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    gap: 10px;
    padding: 10px 10px 5px 10px;
    margin-top: 30px;
    margin-right: 30px;
    border-radius: 5px;
  }
}

@media (max-width: 600px) {
  .cont_reseau_tablete {
    display: none;
  }
}

.cont_infos_slider {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cont_infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cont_point_gagnez {
  display: flex;
  align-items: center;
  gap: 10px;
}

.point_carre {
  height: 10px;
  width: 10px;
  background-color: #e8ceb0;
}

h1 {
  font-size: 2.4em;
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  text-align: center;
  color: #ffffff;
}

.color_mot_cle {
  color: #e8ceb0;
}

.bouton_slider {
  border: none;
  width: 150px;
  height: 40px;
  background-color: #ffffff;
  color: #484747;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
}

.bouton_slider:hover {
  background-color: #e8ceb0;
  color: #484747;
}

@media (max-width: 650px) {
  h1 {
    font-size: 1.5em;
  }
}

@media (max-width: 450px) {
  h1 {
    font-size: 1.3em;
    width: 75%;
  }

  .retour_pc {
    display: none;
  }
}

/* --------------------------------------------- */

.contenue {
  padding-left: 5%;
  padding-right: 5%;
}

.cont_description p {
  text-align: justify;
}
.cont_titre_question {
  margin-top: 100px;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  h2 {
    text-align: center;
  }
}

@media (max-width: 800px) {
  .cont_titre_question {
    margin-top: 50px;
  }
}

.cont_question_point {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.point_question {
  height: 10px;
  width: 10px;
  background-color: #e8ceb0;
}

h2 {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 650;
  font-size: 30px;
  text-align: center;
  color: #cbb499;
}

.couleur_titre {
  color: #dac1a5;
}

@media (max-width: 600px) {
  h2 {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  h2 {
    font-size: 17px;
  }

  .cont_question_point {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }
}

.cont_image_description {
  display: flex;
  align-items: center;
  gap: 7%;
}

.image_apropo {
  width: 300px;
  height: auto;
}

.image_apropo-tablette {
  display: none;
}

.cont_description {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo_vals {
  width: 200px;
  height: auto;
  margin-bottom: 7%;
}

@media (max-width: 1100px) {
  .description_2 {
    display: none;
  }

  .logo_vals {
    width: 150px;
    height: auto;
  }
}

.bouton {
  border: none;
  width: 150px;
  height: 40px;
  background-color: #e8ceb0;
  color: #484747;
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  margin-top: 30%;
}

.bouton:hover {
  background-color: #484747;
  color: white;
}

@media (max-width: 900px) {
  .cont_qui_sommes_nous {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cont_titre_question {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 750px) {
  .cont_qui_sommes_nous {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cont_titre_question {
    margin-bottom: 0;
  }

  .cont_image_description {
    flex-direction: column;
  }

  .description_2 {
    display: block;
  }

  .logo_vals {
    width: 200px;
    height: auto;
    margin-bottom: 35px;
    margin-top: 50px;
  }

  .image_apropo {
    display: none;
  }

  #marge-tablette {
    padding-top: 50px;
  }
}

@media (max-width: 450px) {
  .logo_vals {
    width: 150px;
    height: auto;
    margin-bottom: 35px;
  }

  .image_apropo {
    display: none;
  }

  .description {
    text-align: center;
  }

  .description_2 {
    display: none;
  }
}

/* ------------section service--------------- */

.conteneur-grid-service {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; /* Espacement entre les éléments */
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .conteneur-grid-service {
    display: grid;
    grid-template-columns: repeat(1, 70%);
  }
}

@media (max-width: 750px) {
  .conteneur-grid-service {
    margin-top: 30px;
  }
}

.chaque-cart-service {
  height: 300px;
  background-image: url(/images/service\ assistant\ admin.webp);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#service_2 {
  background-image: url(/images/servicewebm.webp);
}

#service_3 {
  background-image: url(/images/service\ graphisme.webp);
}
/* Pseudo-élément pour l'overlay */
.chaque-cart-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Noir semi-transparent */
  z-index: 1; /* Assure que l'overlay est sous le contenu */
}

.conteneur-titre-bouton-service {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.titre-carte-service {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 600;
  font-size: 20px;
  width: 100%;
  text-align: center;
  color: #ffffff;
}

.lien-carte-service {
  height: 40px;
  width: 120px;
  background-color: #e8ceb0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #484747;
  transition: all 0.3s ease-in-out;
  font-size: 13px;
}

.lien-carte-service:hover {
  height: 50px;
  width: 140px;
  background-color: #484747;
  color: #ffffff;
  font-size: 15px;
}

@media (max-width: 900px) {
  .lien-carte-service:hover {
    height: 40px;
    width: 120px;
    background-color: #e8ceb0;
    color: #484747;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .chaque-cart-service {
    height: 250px;
  }

  .titre-carte-service {
    font-size: 17px;
  }

  .lien-carte-service {
    height: 40px;
    width: 100px;
    font-size: 11px;
  }
}

@media (max-width: 450px) {
  .chaque-cart-service {
    height: 200px;
  }

  .titre-carte-service {
    font-size: 15px;
  }

  .lien-carte-service {
    height: 30px;
    width: 90px;
    font-size: 11px;
  }
}

.voir-les-services {
  height: 50px;
  width: 200px;
  background-color: #e8ceb0;
  text-align: center;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #484747;
  transition: all 0.3s ease-in-out;
}

.voir-les-services:hover {
  height: 70px;
  width: 250px;
  font-size: 20px;
  color: #ffffff;
  background-color: #484747;
}

@media (max-width: 650px) {
  .voir-les-services:hover {
    height: 50px;
    width: 200px;
    font-size: initial;
    background-color: #e8ceb0;
    color: #484747;
  }
}

@media (max-width: 450px) {
  .voir-les-services {
    height: 40px;
    width: 150px;
  }

  .service {
    font-size: 13px;
  }

  .btn {
    width: 130px;
  }

  .en-savoir-btn {
    font-size: 13px;
  }

  .voir-service {
    font-size: 14px;
  }
}
/* ------------------------------------------------ */

.cont-image-temoignage {
  display: flex;
  align-items: center;
  gap: 150px;
}

#section-temoignage {
  width: 100%;
  justify-content: center;
}

.image-temoignage {
  width: 400px;
  height: auto;
}

.testimonial-carousel {
  width: 100%;
  max-width: 800px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 20px;
  transition: all 0.5s ease;
}

.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testimonial-text {
  font-size: 20px;
}

.testimonial-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.testimonial-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.testimonial-details h4 {
  margin: 0;
  font-size: 1.2em;
}

.testimonial-stars {
  font-size: 1.5em;
  color: gold;
  margin-top: 5px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-nav button {
  background-color: #484747;
  color: white;
  border: none;
  padding: 7px 15px;
  margin: 0 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
  background-color: #e8ceb0;
}

@media (max-width: 900px) {
  .testimonial-text {
    font-size: 17px;
  }

  .testimonial-info {
    margin-top: 30px;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
  }

  .testimonial-details h4 {
    font-size: 1em;
  }

  .testimonial-stars {
    font-size: 1.2em;
  }
}

@media (max-width: 750px) {
  .testimonial-text {
    font-size: 15kjpx;
  }
}

@media (max-width: 600px) {
  .testimonial-img {
    width: 80px;
    height: 80px;
  }

  .testimonial-details h4 {
    font-size: 1em;
  }

  .testimonial-stars {
    font-size: 1.2em;
  }
}

/* -----------------Footer--------------------- */

footer {
  padding: 100px 0 0 0;
  padding-left: 0;
  padding-right: 0;
}

.cont-chaque-statistique {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pourcentage {
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 800;
  font-size: 60px;
  color: #e8ceb0;
}

.barre-separatrice {
  height: 50px;
  width: 3px;
  background-color: #484747;
}

.cont-statistiques {
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: center;
  justify-content: center;
  width: 100%;
}

.libelet {
  font-size: 15px;
}

@media (max-width: 1270px) {
  .pourcentage {
    font-size: 40px;
  }

  .barre-separatrice {
    height: 30px;
    width: 3px;
    background-color: #484747;
  }

  .libelet {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .pourcentage {
    font-size: 30px;
  }

  .barre-separatrice {
    height: 30px;
    width: 3px;
    background-color: #484747;
  }

  .libelet {
    font-size: 12px;
  }
}

@media (max-width: 750px) {
  .cont-statistiques {
    display: grid;
    grid-template-columns: 200px 200px;
    justify-items: center;
  }

  .pourcentage {
    font-size: 50px;
  }
}

@media (max-width: 500px) {
  .cont-statistiques {
    display: flex;
    flex-direction: column;
  }

  .pourcentage {
    font-size: 50px;
  }
}

.cont-fond-img {
  min-height: 300px;
  width: 100%;
  background-image: url(/images/fond\ footer.webp);
  background-size: cover;
  background-position: center;
  padding: 50px 10%;
  position: relative;
  margin-top: 50px;
}

.cont-fond-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(5px);
  background-color: #484747a8;
}

.cont-element-footer {
  position: relative;
  display: flex;
}

.cont-logo-lien {
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 50%;
}

.logo-footer {
  width: 170px;
  height: auto;
}

.cont-lien-devis {
  width: max-content;
}

.lien-devis {
  width: 320px;
  height: 50px;
  background-color: #ffffff;
  color: #484747;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  gap: 10px;
}

.acroche-liens-rs {
  width: 50%;
}

#liens-petit-ecran {
  display: none;
}

.acroche {
  font-family: "Open Sans Condensed", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: white;
  font-style: italic;
  text-align: center;
}

.cont-lien-rs {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.categorie {
  color: #e8ceb0;
  font-weight: 600;
  margin-bottom: 20px;
}

.chaque-lien {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
}

.ligne {
  width: 100%;
  height: 1px;
  background-color: #ffffff25;
  position: relative;
  margin: 30px 0;
}

.copyrigth {
  position: relative;
  font-size: 13px;
  color: #ffffff3f;
}

@media (max-width: 1200px) {
  .cont-fond-img {
    padding: 50px 3%;
  }
}

@media (max-width: 900px) {
  .logo-footer {
    width: 140px;
    height: auto;
  }

  .lien-devis {
    width: 260px;
    height: 50px;
    font-size: 13px;
  }
}

@media (max-width: 800px) {
  #liens-petit-ecran {
    display: flex;
    position: relative;
    justify-content: center;
    gap: 100px;
  }

  #liens-grand-ecran {
    display: none;
  }

  .cont-element-footer {
    flex-direction: column;
  }

  .cont-logo-lien {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
  }

  .retour-acroche {
    display: none;
  }

  .acroche-liens-rs {
    width: 100%;
  }
}

@media (max-width: 500px) {
  #liens-petit-ecran {
    gap: 50px;
  }

  .cont-logo-lien {
    flex-direction: column;
  }
}

@media (max-width: 400px) {
  #liens-petit-ecran {
    gap: 30px;
  }

  .acroche {
    font-size: 25px;
  }

  .chaque-lien {
    font-size: 12px;
  }
}
