/* @itZEN-CONFIG VERSIONING=2025-08-01-FULL-STYLED */
/* @itZEN-FILE FILE=onboarding.css | PATH=/onboarding/onboarding.css | STATUS=USED-BY-ROUTER */
/* @itZEN-ROLE: STYLE – Mise en page complète du mini-site onboarding */
/* @itZEN-BUSINESS-LOGIC:
   - Mise en forme des blocs hero, features, formulaire
   - Compatibilité mobile
   - Design clair, moderne et neutre
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #f7f7f7;
  color: #333;
  scroll-behavior: smooth;
}

header {
  background: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

header h1 {
  font-size: 1.4rem;
  margin: 0;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}

nav a.active {
  font-weight: 700;
  color: #4CAF50;
  text-decoration: underline;
}

.hero {
  text-align: center;
  padding: 80px 20px 30px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  color: #555;
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  background-color: #4CAF50;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.hero-blocks {
  max-width: 900px;
  margin: 60px auto 80px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 20px;
}

.hero-block {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  text-align: center;
}

.hero-block h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

.features-section {
  max-width: 900px;
  margin: 60px auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.features-table {
  width: 100%;
  border-collapse: collapse;
}

.features-table th,
.features-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.form-section {
  background: white;
  max-width: 500px;
  margin: 80px auto;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.form-error {
  background: #ffebee;
  color: #c62828;
  padding: 12px;
  border: 1px solid #e53935;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

form input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

form button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #999;
  margin-top: 100px;
}

.env-badge {
  position: fixed;
  top: 10px;
  left: 10px;
  background: #e91e63;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 6px;
  opacity: 0.9;
  z-index: 999;
}
