/* Hero Section */
/* Hero Section */
.hero-section {
  background-color: #f7f7f7;
  padding: 60px 20px;
  text-align: center; /* Centre le texte horizontalement */
  display: flex; /* Utilise Flexbox pour centrer le contenu */
  flex-direction: column; /* Aligne les éléments verticalement */
  justify-content: center; /* Centre verticalement */
  align-items: center; /* Centre horizontalement */
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  color: #0042eb;
  margin-bottom: 20px;
  max-width: 800px; /* Limite la largeur pour un meilleur rendu */
  text-align: center; /* Centre le texte */
}

.hero-subtitle {
  font-size: 18px;
  color: #18181b;
  line-height: 1.6;
  max-width: 800px; /* Limite la largeur pour un meilleur rendu */
  text-align: center; /* Centre le texte */
}

/* Explanation Section */
.explanation-section {
  padding: 40px 20px;
  background-color: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0042eb;
  text-align: center;
  margin-bottom: 40px;
}

.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: #18181b;
}

.step-description {
  font-size: 16px;
  color: #555;
}

/* Form Section */
.form-section {
  background-color: #f8f8f8;
  padding: 40px 20px;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  color: #0042eb;
  text-align: center;
  margin-bottom: 20px;
}

.form-intro {
  font-size: 16px;
  color: #18181b;
  text-align: center;
  margin-bottom: 30px;
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
}

.form input,
.form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.cta-button {
  background-color: #0042eb;
  color: #fff;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
}

.cta-button:hover {
  background-color: #0036c9;
}

.form-note {
  font-size: 14px;
  color: #555;
  text-align: center;
  margin-top: 20px;
}

/* Animation pour le message de confirmation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

form + p {
  animation: fadeIn 0.5s ease-in-out;
}

/* Message de confirmation */
.form-confirmation-message {
  color: #155724; /* Vert foncé pour le texte */
  background-color: #d4edda; /* Vert clair pour l'encadré */
  border: 1px solid #c3e6cb; /* Bordure vert clair */
  padding: 15px 20px; /* Espacement interne */
  border-radius: 5px; /* Coins arrondis */
  font-size: 16px; /* Taille du texte */
  font-weight: 600; /* Texte en semi-gras */
  text-align: center; /* Centre le texte */
  max-width: 600px; /* Limite la largeur */
  margin: 20px auto; /* Centre horizontalement et ajoute un espacement vertical */
  display: none; /* Cache le message par défaut */
}
