body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #333;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  text-align: center;
}

header {
  padding: 50px 20px 20px;
  background: #007BFF;
  color: white;
}

.header-content .logo {
  width: 200px;
  margin-bottom: 10px;
}

.container.header-content {
  pointer-events: none;
}
.container.header-content * {
  pointer-events: auto;
}


h1 {
  margin: 0;
  font-size: 2rem;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  transition: 0.3s;
  font-weight: 600;
}

.btn-primary {
  background: white;
  color: #007BFF;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn:hover {
  opacity: 0.85;
}

.hero {
  padding: 60px 20px;
}

.hero-img {
  max-width: 300px;
  margin: 20px auto;
  display: block;
}

.hero h2 {
  color: #007BFF;
  margin-top: 10px;
}

.concept {
  background: #f5f8ff;
  padding: 60px 20px;
}

.concept h2 {
  color: #007BFF;
  margin-bottom: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 30px 20px;
  transition: 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta {
  padding: 70px 20px;
  background: #007BFF;
  color: white;
}

.btn-large {
  margin-top: 20px;
  background: white;
  color: #007BFF;
  padding: 15px 40px;
  font-size: 1.1rem;
}

.fiche-container.dynamic {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  padding: 20px;
  z-index: 10000;
}

.fiche-container.dynamic h3 {
  margin-top: 0;
}

.fiche-container.dynamic .close-comments {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  color: #444;
  cursor: pointer;
  z-index: 10001; /* reste au-dessus du contenu */
}

/* style des étoiles  */
.fiche-container .star {
  font-size: 26px;
  cursor: pointer;
  color: #ccc;           /* couleur par défaut (gris) */
  transition: color 120ms ease, transform 120ms ease;
  margin: 0 4px;
}
.fiche-container .star.hover,
.fiche-container .star.on {
  color: #ffb400;        /* couleur des étoiles actives (doré) */
  transform: scale(1.05);
}

.toggle-header { cursor: pointer; font-weight: bold; display: flex; align-items: center; color: #333; user-select: none; }
.toggle-content { max-height: 0; overflow: hidden; opacity: 0; transition: opacity 0.3s ease, max-height 0.3s ease; } 
.toggle-content.show { max-height: 1000px; /* assez grand */ opacity: 1; margin-top: 0 !important; } 
.toggle-arrow { display: inline-block; transition: transform 0.3s ease; }
.toggle-block {
  margin-top: 25px;
}
.toggle-block:first-child {
  margin-top: 0;
}

/* --- Correction responsive du header sur mobile --- */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap; /* permet de passer sur plusieurs lignes si besoin */
  gap: 8px;        /* espace entre le select et le bouton */
  margin-top: 10px;
}

.search-container label {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  text-align: center;
}

/* Sur les petits écrans, tout passe en colonne */
@media (max-width: 600px) {
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container select,
  .search-container button {
    width: 100%;
    font-size: 1rem;
  }
}


footer a {
  color: #007BFF;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
