/*service*/
.container {
  max-width: 100%;
}
 .nos-services {
  background: #f2f2f2;
  padding: 32px;
  text-align: center;
}
 .nos-services h2 {
    font-weight: bold;
  color: #F39200;
  font-size: 26px;
   margin-bottom: 30px;
}
 .grid-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 100%;
  /*Diminue la taille de tout la section*/
  transform-origin: top center;
  margin: 0 auto 1px auto;
}
.card-service {
  border: 1px solid #cccc;
  border-radius:18px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  position: relative;
  cursor: pointer;
}
.card-service img {
  width: 70px;
  height: auto;
  flex-shrink: 0;
}
.card-service h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
}
.card-service p {
  font-size: 15px;
  color: #555;
  margin: 0;
}
.content-service {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.btn-details {
 border: 1px solid #532f06;
  display: inline-block;
      background: #ffffff;
      color: #533303;
      padding: 5px 8px;
      border-radius: 7px;
      text-decoration: none;
      font-size: 13px;
      align-self: flex-end;
    }
 .card-service:hover {
  background-color: #F4DDAA;
  /* Couleur de la maquette au survol */
}
 /*topogra-text*/
.topo-section {
  position: relative;
}
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) );
 
}

.topo-text {
  /* Placement le texte sur l'image */
  position: absolute;
  top: 50%;
  left: 10%;
  color: #ffffff;
}

.topo-text h1 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.topo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #ffffff;
}

.orange-ligne {
  display: inline-block;
  width: 30px;
  height: 4px;
  background-color: #ff9800;
}
.section-blanche {
  background-color: #ffffff;
  width: 100%;
  min-height: 40px;
  padding: 60px 20px;
}

@media (max-width: 768px) {
  .nos-services {
    padding: 20px 15px;
  }

  .nos-services h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .grid-services {
    grid-template-columns: 1fr;
    /* 1 seule colonne */
    gap: 15px;
  }

  .card-service {
    padding: 15px;
    gap: 12px;
  }

  .card-service img {
    width: 55px;
  }

  .card-service h3 {
    font-size: 17px;
  }

  .card-service p {
    font-size: 14px;
  }

  /* Section topo avec image */
  .topo-text {
    left: 5%;
    right: 5%;
    top: auto;
    bottom: 20px;
  }

  .topo-text h1 {
    font-size: 26px;
  }

  .topo {
    font-size: 14px;
  }

  .section-blanche {
    padding: 30px 15px;
  }
}

/* Petit téléphone : 480px et moins */
@media (max-width: 480px) {
  .card-service {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .content-service {
    align-items: center;
    text-align: center;
  }

  .btn-details {
    align-self: center;
    margin-top: 10px;
  }

  .topo-text h1 {
    font-size: 22px;
  }
}