* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f9ff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* ===== CONTAINER ===== */
.container {
  background: #fff;
  width: 95%;
  max-width: 850px;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

h1 {
  font-size: 38px;
  color: #0072ce;
  margin-bottom: 35px;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
  margin-bottom: 40px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
  color: #666;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #b0b0b0;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
}

.step.active {
  color: #0072ce;
  font-weight: 600;
}

.step.active .step-number {
  background: #0072ce;
}

/* ===== FORM ===== */
form {
  width: 100%;
}

label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 2px solid #ddd;
  border-radius: 12px;
  transition: all 0.25s ease;
}

input:focus {
  border-color: #0072ce;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,114,206,0.12);
}

.row {
  display: flex;
  gap: 20px;
}

.row > div {
  flex: 1;
}

/* ===== BUTTON ===== */
.btn-container {
  display: flex;
  justify-content: flex-end;
}

.btn-next {
  margin-top: 40px;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 25px;
  border: none;
  background: #0072ce;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-next:hover {
  background: #005fa3;
  transform: translateY(-1px);
}

.btn-next:active {
  transform: translateY(0);
}

/* ===== STEPS CONTENT ===== */
.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

/* ===== TABLET ===== */
@media (max-width: 768px) {
  .container {
    padding: 30px;
  }

  .row {
    flex-direction: column;
  }

  .btn-next {
    width: 100%;
  }
}

/* ===== MOBILE <480px ===== */
@media (max-width: 480px) {
  .container {
    padding: 20px;
    width: 95%;
    max-width: 100%;
    border-radius: 15px;
  }

  h1 {
    font-size: 26px;
    margin-bottom: 20px;
  }

    .steps {
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 5px;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }
  .step {
    gap: 6px;
    font-size: 13px;
  }

  .step-number {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  input {
    padding: 12px 14px;
    font-size: 14px;
  }

  label {
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 4px;
  }

  .row {
    flex-direction: column;
    gap: 12px;
  }

  .row > div {
    flex: 1 1 100%;
  }

  .btn-next {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-top: 25px;
  }
}

/* ===== BLOC CONSENTEMENT (RGPD) ===== */
.consent-container {
  margin-top: 30px; /* Espace équilibré par rapport aux champs */
  padding: 20px;
  background-color: #f8fbff; /* Un bleu très léger pour le mettre en valeur */
  border-radius: 12px; /* Même arrondi que tes inputs */
  border: 1px solid #e1efff;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.25s ease;
}

.consent-container:hover {
  border-color: #0072ce; /* Ton bleu au survol */
  background-color: #f0f7ff;
}

.consent-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: #0072ce; /* La coche sera bleue */
  flex-shrink: 0;
}

.consent-container label {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  cursor: pointer;
  margin-top: 0; /* Important : annule le margin-top de 18px de tes autres labels */
  font-weight: 500;
}

.consent-container a {
  color: #0072ce;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(0, 114, 206, 0.2);
  transition: all 0.2s;
}

.consent-container a:hover {
  border-bottom-color: #0072ce;
}

/* Adaptation mobile pour coller à ton responsive */
@media (max-width: 480px) {
  .consent-container {
    padding: 15px;
    margin-top: 20px;
  }
  
  .consent-container label {
    font-size: 13px;
  }
}