* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", system-ui;
}

a {
  text-decoration: none;
}

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%;
  top: 0;
}

.menu_hamberger {
  width: 40px;
  height: 30px;
  display: none;
  position: absolute;
  right: 0;
}

.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;
  left: 10%;
}

.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 {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

@media screen and (max-width: 800px) {
  .slider {
    height: 250px;
  }

  .slide {
    height: 250px;
  }
}

@media screen and (max-width: 500px) {
  .slider {
    height: 180px;
  }

  .slide {
    height: 180px;
  }
}

.slide:nth-child(1) {
  z-index: 1;
}

.overlay {
  background-color: rgba(0, 0, 0, 0);
  color: white;
  width: 100%;
  height: 100%;
  align-items: center;
}

.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: 10px;
}

h1 {
  font-size: 3em;
  font-family: "Open Sans Condensed", sans-serif;
  font-weight: 700;
  text-align: center;
}

.soulignement-titre {
  height: 3px;
  width: 100px;
  background-color: #e8ceb0;
}

@media (max-width: 800px) {
  h1 {
    font-size: 2em;
  }
}

@media (max-width: 500px) {
  h1 {
    font-size: 1.5em;
  }
}

/* --------------------------------------------- */

.chaque_section {
  padding-bottom: 10%;
}

.contenue {
  padding-left: 10%;
  padding-right: 10%;
}

.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;
  }

  .cont_titre_question {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: 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;
  }
}

/* ------------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);
}

#service_4 {
  background-image: url(/images/service\ conciergerie.jpg);
}
/* 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;
  }
}

/* -----------------Footer--------------------- */

.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;
  }
}
