/* 🔧 RESET DE BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 🌐 CORPS DU SITE */
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #f4f6f8;
  color: #333;
  padding: 20px;
}

/* 🧭 EN-TÊTE */
header {
  background-color: #007bff;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

/* 🧭 NAVIGATION */
nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-top: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: text-decoration 0.3s ease;
}

nav a:hover {
  text-decoration: underline;
}

/* 📌 BOUTONS D'ACTION */
.cta-button {
  display: inline-block;
  margin: 10px 10px 20px 0;
  padding: 12px 24px;
  background-color: #ffc107;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: #e0a800;
  color: #fff;
  animation: pulse 0.3s ease-in-out;
}

/* ✨ ANIMATIONS */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 📦 SECTIONS */
section {
  margin: 40px 0;
  animation: fadeUp 0.8s ease-out;
}

section h2 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #007bff;
}

section ul {
  list-style: disc inside;
  margin-top: 10px;
}

section p {
  margin: 10px 0;
}

/* 🧩 ÉTAPES */
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.steps > div {
  flex: 1;
  min-width: 250px;
  background-color: #fff;
  padding: 20px;
  border-left: 5px solid #007bff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

/* 📝 FORMULAIRES */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

form button {
  background-color: #007bff;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0056b3;
}

/* 🧭 PIED DE PAGE */
footer {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 40px;
}

/* 📱 RESPONSIVE MOBILE */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  header {
    padding: 20px 10px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }

  .steps {
    flex-direction: column;
  }

  .steps > div {
    min-width: auto;
  }
}
