/* ========== Reset & base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ========== Conteneur principal ========== */
.container {
  max-width: 900px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
}

/* ========== Titres ========== */
h1, h2 { color: #2c3e50; margin: 0 0 15px; }
h2 {
  margin-top: 30px;
  border-left: 4px solid #2c3e50;
  padding-left: 10px;
}

/* ========== Liens CTA ========== */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 28px;
}
.cta-buttons a {
  background: #2c3e50;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.25s ease;
  border: 1px solid #2c3e50;
}
.cta-buttons a:hover { background: #1a252f; }

/* ========== Formulaire ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
label {
  font-weight: 600;
  margin-bottom: 4px;
}
input, textarea, button {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccd1d5;
  border-radius: 6px;
  width: 100%;
  background: #fff;
}
textarea { resize: vertical; min-height: 100px; }

/* Bouton */
button {
  background: #2c3e50;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.05s ease;
}
button:hover { background: #1a252f; }
button:active { transform: translateY(1px); }
button:disabled { background: #a7b0b7; cursor: not-allowed; }

/* ========== Bloc Charte ========== */
.charte {
  background: #f7f9fa;
  padding: 16px;
  border: 1px solid #e1e6ea;
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.55;
}
.charte ul { margin: 8px 0 0 20px; }

/* ========== Encadré délai de réponse ========== */
.info-delai {
  background: #eef7f0;
  border-left: 4px solid #2c3e50;
  padding: 15px;
  margin: 20px 0;
  font-size: 0.95em;
}

/* ========== Case à cocher (sur une seule ligne) ========== */
.checkbox-container label {
  display: flex;
  align-items: center;
  gap: 8px;              /* espace entre la case et le texte */
  font-weight: 500;      /* pas trop gras pour le paragraphe */
  cursor: pointer;
  margin: 6px 0 2px;
}
.checkbox-container input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* ========== intl-tel-input (drapeaux + indicatifs) ========== */
.iti { width: 100%; }
.iti__country-list { z-index: 10000; }  /* menu au-dessus des autres éléments */
input[type="tel"] { padding-left: 52px; } /* espace pour le dialCode si separateDialCode */

/* ========== Utilitaires ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-0 { margin-bottom: 0; }

/* ========== Responsive ========== */
@media (max-width: 640px) {
  .container { margin: 16px; padding: 16px; }
  .cta-buttons { gap: 10px; }
  .cta-buttons a { width: 100%; text-align: center; }
}
