/* Layout global */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5;
  color: #111;
}

/* Formulaire */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Labels */
label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Inputs & textarea */
input,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus propre */
input:focus,
textarea:focus {
  outline: none;
  border-color: #333;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.08);
}

/* Textarea spécifique */
textarea {
  resize: vertical;
  min-height: 140px;
}

/* Bouton */
button {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

button:hover {
  background: #333;
}

/* Message d’intro */
.form-intro {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 1rem;
  }
}
