.signup-container {
  max-width: 480px;
  margin: 7rem auto 4rem;
  padding: 2.5rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.signup-container h1 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.signup-container .subtitle {
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 2rem;
}
.signup-container .subtitle i {
  margin-right: 0.4rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.signup-form label {
  font-weight: 600;
  text-align: left;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.signup-form input {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.signup-form input:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 2px rgba(63,128,255,0.1);
}

.captcha-mockup {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #555;
  border: 1px dashed #ccc;
  padding: 0.8rem;
  border-radius: 6px;
  background: #f9f9f9;
}
.captcha-mockup i {
  color: var(--blue);
  margin-right: 0.6rem;
}

.cta.full {
  margin: 0;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--blue);
  color: white;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 6px 12px rgba(63, 128, 255, 0.1);
  transition: all 0.3s ease;
}
.cta.full:hover {
  background: white;
  color: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63, 128, 255, 0.2);
}


.alt-link {
  font-size: 0.95rem;
  margin-top: 1rem;
}
.alt-link a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.alt-link a:hover {
  text-decoration: underline;
}

/* Bloc de réassurance */
.reassurance-box {
  text-align: left;
  margin-top: 3rem;
  background: var(--blue-light);
  padding: 1.5rem;
  border-radius: 10px;
}
.reassurance-box h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--blue);
}
.reassurance-box ul {
  list-style: none;
  padding-left: 0;
}
.reassurance-box li {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: #222;
}
.reassurance-box li i {
  color: var(--blue);
  margin-right: 0.5rem;
}

@media screen and (max-width: 600px) {
  .signup-container {
    margin: 2rem 1.2rem 2rem;
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: none;
  }

  .signup-container h1 {
    font-size: 1.6rem;
  }

  .signup-container .subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .signup-form {
    gap: 1rem;
  }

  .signup-form label {
    font-size: 0.95rem;
  }

  .signup-form input {
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
  }

  .captcha-mockup {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.85rem;
    padding: 0.7rem;
  }

  .captcha-mockup i {
    margin-bottom: 0.5rem;
  }

  .cta.full {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .alt-link {
    font-size: 0.9rem;
  }

  .reassurance-box {
    margin-top: 2rem;
    padding: 1.2rem;
  }

  .reassurance-box h3 {
    font-size: 1rem;
  }

  .reassurance-box li {
    font-size: 0.9rem;
  }
}

.checkbox-cgu {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: #333;
  text-align: left;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.checkbox-cgu input[type="checkbox"] {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--blue);
  cursor: pointer;
}

.checkbox-cgu label a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.checkbox-cgu label a:hover {
  text-decoration: underline;
}

.form-errors {
  background: #ffe9e9;
  border: 1px solid #ffaaaa;
  color: #b30000;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  text-align: left;
}
.form-errors ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.form-errors li {
  margin-bottom: 0.3rem;
}

.password-checklist {
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.8;
}
.password-checklist div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}
.password-checklist div.valid {
  color: var(--blue);
}
.password-checklist div i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.password-checklist div.valid i {
  transform: rotate(90deg);
  color: var(--blue);
}

@keyframes shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-10px); }
  40%  { transform: translateX(8px); }
  60%  { transform: translateX(-6px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.4s ease;
}

.verify-success {
  background: #e6fce6;
  border-left: 5px solid #32cd32;
  color: #1d5d1d;
  font-size: 1.05rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.verify-success i {
  margin-right: 0.5rem;
  color: #32cd32;
}
