/* === INDEX.CSS (NETTOYÉ) === */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  height: 100%;
}

#index-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.homepage-main {
  flex: 1;
}

.homepage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.homepage-hero {
  background: url('../img/hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 150px 20px;
}

.homepage-btn,
.homepage-btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.homepage-btn {
  background-color: #27ae60;
  color: white;
}

.homepage-btn-secondary {
  background-color: #2980b9;
  color: white;
}

.homepage-search {
  background: white;
  text-align: center;
}

.homepage-search-form input,
.homepage-search-form button {
  padding: 10px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.homepage-search-form select {
  padding: 10px;
  margin: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  background-color: white;
  color: #333;
  appearance: none; /* enlève le style natif (facultatif) */
}

.homepage-how {
  background: #eee;
  text-align: center;
}

.homepage-steps {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.homepage-step {
  flex: 1 1 250px;
  max-width: 300px;
}

.homepage-testimonials {
  background: white;
  text-align: center;
}

.homepage-testimonial {
  margin: 20px 0;
  font-style: italic;
}

@media (max-width: 768px) {
  .homepage-steps {
    flex-direction: column;
    align-items: center;
  }
  .homepage-btn, .homepage-btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}
/* === Hero Premium Section === */
.homepage-hero-premium {
  position: relative;
  height: 100vh;
  background: url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.homepage-hero-premium .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-btn.primary {
  background-color: #27ae60;
  color: white;
}

.hero-btn.primary:hover {
  background-color: #1e874e;
}

.hero-btn.secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
  color: white;
}

.hero-btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
.homepage-btn.reset {
  background-color: #e74c3c;
  color: white;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.homepage-btn.reset:hover {
  background-color: #c0392b;
}
