/* 04/11/2026 — formulaire de contact (page /page/contact.html seulement). Reprend .cmd-champ (composants.css). */
.aq-contact { margin: 8px 0 8px; padding: clamp(20px, 3.2vw, 32px); border: 1px solid var(--filet-fort); border-radius: var(--radius-sm, 6px); background: var(--lavis); scroll-margin-top: 140px; }
.prose .aq-contact h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.15; }
.aq-contact, .aq-contact label, .aq-contact small { hyphens: none; -webkit-hyphens: none; }
.aq-insecable { white-space: nowrap; }
.aq-contact .cmd-champ input, .aq-contact .cmd-champ textarea { scroll-margin-top: 140px; }
.aq-contact .cmd-champ textarea {
  font: inherit; font-size: var(--t-m); line-height: 1.6; padding: 11px 13px; width: 100%; min-height: 150px; resize: vertical; display: block;
  border: 1px solid var(--filet-fort); border-radius: var(--radius-sm); background: var(--blanc); color: var(--encre);
}
.aq-contact .cmd-champ textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
.aq-contact .cmd-champ [aria-invalid="true"] { border-color: var(--alerte); box-shadow: 0 0 0 3px rgba(240,128,106,.16); }
.aq-contact .contact-erreur-champ { font-size: var(--t-xs); color: var(--alerte); line-height: 1.4; }
.aq-contact__piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aq-contact__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 20px; }
.aq-contact__pied small { flex: 1 1 260px; font-size: var(--t-xs); line-height: 1.55; color: var(--pale); }
.aq-contact .bouton:disabled { opacity: .45; cursor: not-allowed; }
/* Apres envoi : on garde un bouton clair et lisible (pas le cyan du survol). */
.aq-contact .bouton { justify-content: center; text-align: center; }
.aq-contact .bouton.est-envoye, .aq-contact .bouton.est-envoye:hover, .aq-contact .bouton.est-envoye:focus {
  background: #e8f4ff; border-color: #e8f4ff; color: #04182e;
}
.aq-contact .bouton.est-envoye::before, .aq-contact .bouton.est-envoye::after { display: none; }
.aq-contact .aq-contact__retour { margin-top: 18px; }
.aq-contact__retour.est-ok { border-color: var(--laiton); background: rgba(94, 234, 212, .08); }
.aq-contact__retour.est-attente { border-color: var(--filet-fort); background: rgba(56,189,248,.08); }
@media (max-width: 640px) { .aq-contact .bouton { width: 100%; justify-content: center; } }
[data-contact-form] .contact-erreur-champ[hidden], [data-contact-retour][hidden] { display: none !important; }
.contact-insecable { white-space: nowrap; }
