/*section {
    margin: 20px 0px;
}*/
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}
.text-img {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.paragraphe {
  width: 100%;
  /*width: 55%;*/
}
.desktop-img {
  width: 40%;
 /* display: flex;
  justify-content: center;
  align-items: center;*/
}
.mobile-img {
    display: none;
}
.desktop-img img {
  /*width: 100%;*/
  width: 400px;
  height: 267px;
  object-fit: cover;
}
.list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.services-list {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  max-width: 90%;
  gap: 20px;
  }
.carte {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 300px;
}
.time {
  display: block;
  text-align: center;
  color: #333;
  margin-bottom: 10px;
}
@media screen and (min-width: 900px) and (max-width: 1250px)
 {
  .services-list {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      max-width: 90%;
      gap: 20px;
  }
    .text-img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    /*flex-wrap: wrap; /* pour éviter le débordement */
  }
  .paragraphe {
    width: 55%;
  }
  .desktop-img {
    width: 40%;
  }
  .desktop-img img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
@media screen and (min-width: 769px) and (max-width: 899px) {
  .services-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    gap: 20px;
  }
  .text-img {
    flex-direction: column;
    align-items: center;
  }
  .desktop-img {
    display: none;
  }
  .mobile-img  {
    display: block;
  }
  .mobile-img img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .paragraphe {
    width: 100%;
  }
}
@media screen and (min-width: 577px) and (max-width: 768px) {
    .text-img {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 20px;
      max-width: 700px;
      margin: 0 auto;
  }
  .paragraphe {
    width: 100%;
  }
  .desktop-img {
    display: none;
  }
  .mobile-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mobile-img img {
    width: auto;
    height: 150px;
    object-fit: cover;
  }
  .services-list {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      max-width: 90%;
      gap: 20px;
  }
  #trajet-img {
      width: 210px;
      height: auto;
  }
}
@media screen and (max-width: 576px) {
  .image-container {
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .desktop-img {
    display: none;
  }
  .text-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
  }
  .paragraphe {
    width: 95%;
  }
  .mobile-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mobile-img img {
    width: 300px;
    /*width: 100%;*/
    height: 150px;
    object-fit: cover;
  }
  .bloc-margin {
    margin-top: 30px;
    margin: 0 auto;
    max-width: 95%;
  }
  .services-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
    max-width: 100%;
  }
  .bloc-list {
    margin-left: 0;
  }
}