/* Formulaire de contact (contact.php). Chargée après base.css. */
.contact-wrap { padding: 150px 0 90px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start;
}
.contact-intro h1 {
  font-size: clamp(32px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.03em;
  color: var(--ink); font-weight: 700; margin-bottom: 18px;
}
.contact-intro p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 26px; }
.contact-facts { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-facts li {
  display: flex; gap: 11px; font-size: 14.5px; line-height: 1.55; color: var(--muted);
}
.contact-facts b { color: var(--ink-2); font-weight: 600; }
.contact-facts .ic { color: var(--violet); flex: 0 0 auto; margin-top: 3px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 34px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 7px;
}
.field .opt { color: var(--muted-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109,77,255,0.14);
}
.field.err input, .field.err select, .field.err textarea { border-color: var(--rose); }
.field-err { font-size: 12.5px; color: var(--rose); margin-top: 6px; }
/* Piège à robots : hors flux et hors lecteur d'écran, jamais display:none —
   certains robots ignorent précisément les champs masqués de cette façon. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Preuve de travail : le calcul démarre au chargement et dure quelques
   dixièmes de seconde. On ne le montre QUE si le visiteur envoie avant la fin —
   sinon on afficherait un message d'attente pour une attente qui n'existe pas. */
form.as-working .btn-primary { opacity: .6; pointer-events: none; }
.as-busy { display: none; font-size: 12.5px; color: var(--muted-2); text-align: center; margin-top: 10px; }
form.as-working .as-busy { display: block; }
.as-nojs {
  font-size: 12.5px; line-height: 1.6; color: var(--muted-2);
  border-left: 2px solid var(--line-strong); padding-left: 12px; margin-bottom: 18px;
}
.contact-legal { font-size: 12.5px; line-height: 1.6; color: var(--muted-2); margin-top: 16px; }
.contact-legal a { color: var(--muted); }
.form-note {
  border-radius: 10px; padding: 13px 15px; font-size: 13.5px;
  line-height: 1.55; margin-bottom: 22px;
}
.form-note.bad { background: rgba(239,70,112,0.08); border: 1px solid rgba(239,70,112,0.3); color: #a8244a; }
.contact-done {
  max-width: 620px; margin: 0 auto; text-align: center;
}
.contact-done .tick {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: rgba(6,214,160,0.12); color: var(--mint-deep);
}
.contact-done h1 {
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.03em;
  color: var(--ink); font-weight: 700; margin-bottom: 16px;
}
.contact-done p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-bottom: 28px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { padding: 120px 0 70px; }
  .contact-card { padding: 26px 22px; }
}
