@charset "UTF-8";
/* ---------------------------- HERO ---------------------------- */
.hero {
  background: #f6f6f6;
  padding: 40px 20px;
  text-align: center;
  animation: fadeIn 0.3s ease-out 1s forwards;
}
.hero h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
  padding: 15px;
}
.hero p {
  font-size: 18px;
  color: #5a5a5a;
  margin-bottom: 25px;
  padding: 5px;
}

/* Bouton héro */
.hero-btn {
  display: inline-block;
  background: linear-gradient(180deg, #ff79da, #9356dc);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  transition: opacity 0.8s ease;
}
.hero-btn:hover {
  opacity: 0.8;
}

/* ------------------------------------------------------ */
/* --------------------------- STEPS -------------------- */
.steps {
  padding: 40px 20px;
  background: white;
  animation: fadeIn 0.3s ease-out 1s forwards;
}
.steps h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.steps .steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 0;
}
.steps .steps-list li {
  display: flex;
  align-items: center;
  background: #f6f6f6;
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
  position: relative;
  /* Effet au survol sur l’icône */
}
.steps .steps-list li:hover .step-content img {
  filter: invert(23%) sepia(90%) saturate(1000%) hue-rotate(262deg);
}
.steps .step-number {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  background: #9356dc;
  color: white;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.steps .step-content {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 20px;
}
.steps .step-content img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%) invert(41%) sepia(10%) saturate(1000%) hue-rotate(180deg) brightness(85%) contrast(95%);
}
.steps .step-content p {
  font-weight: 500;
  color: #000;
  font-size: 16px;
}

/* ------------------------------------------------------ */
/* ----------------------- RESTAURANTS ------------------ */
.restaurants {
  padding: 40px 20px;
  background: #f6f6f6;
  animation: fadeIn 0.3s ease-out 1s forwards;
}
.restaurants h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #000;
}
.restaurants .restaurants-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.restaurants .restaurant-item {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  margin-bottom: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.restaurants .restaurant-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.restaurants .restaurant-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
}
.restaurants .restaurant-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.restaurants .image-container {
  position: relative;
  width: 100%;
}
.restaurants .image-container .tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #99e2d0;
  color: #008766;
  padding: 5px 15px;
  border-radius: 2px;
  font-size: 14px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}
.restaurants .restaurant-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 20px;
  position: relative;
}
.restaurants .restaurant-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px;
}
.restaurants .restaurant-info p {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
}
.restaurants .restaurant-info .favorite-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #787878;
  font-size: 30px;
  cursor: pointer;
  transition: color 1s ease;
}
.restaurants .restaurant-info .favorite-icon:hover {
  color: #cb68db;
  content: "\f004";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ====================================================== */
/* ---------------------- MEDIA QUERIES ----------------- */
@media (min-width: 376px) and (max-width: 767px) {
  .container {
    width: 380px;
    margin: 20px auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .hero .container h2 {
    font-size: 28px;
  }
  .steps h2,
  .restaurants h2 {
    margin: 0 0 30px 40px;
  }
  .steps .steps-list {
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    gap: 15px;
    margin-left: 1%;
  }
  .steps li {
    width: 175px;
  }
  .restaurant-list {
    display: grid;
    grid-template-columns: repeat(2, 320px);
    justify-content: center;
    margin: 0 auto;
    gap: 30px;
  }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .hero .container h2 {
    font-size: 32px;
  }
  .steps h2,
  .restaurants h2 {
    margin: 0 0 30px 30px;
  }
  .steps .steps-list {
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    gap: 25px;
  }
  .steps li {
    width: 235px;
  }
  .restaurant-list {
    display: grid;
    grid-template-columns: repeat(2, 425px);
    justify-content: center;
    margin: 0 auto;
    gap: 40px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .hero .container h2 {
    font-size: 40px;
  }
  .steps h2,
  .restaurants h2 {
    margin: 0 0 30px 50px;
  }
  .steps .steps-list {
    flex-direction: row;
    justify-content: center;
    margin: 0 auto;
    gap: 60px;
  }
  .steps li {
    width: 23%;
  }
  .restaurant-list {
    display: grid;
    grid-template-columns: repeat(2, 500px);
    justify-content: center;
    margin: 0 auto;
    gap: 50px;
  }
}

/*# sourceMappingURL=home_page.css.map */
