/* =====================================================================
   Page de contact Mombazet — complète styles.css (non modifié)
   Couleurs du site : olive #615c40 / #454632, vert pâle #c8f1c7
   Toutes les classes sont préfixées contact-…
   ===================================================================== */

.contact-page {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 24px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  text-align: left;
}
.contact-page *, .contact-page *::before, .contact-page *::after { box-sizing: border-box; }

@media (min-width: 860px) {
  .contact-page { grid-template-columns: 1fr 2fr; align-items: start; }
  .contact-page-seule { grid-template-columns: 1fr; max-width: 620px; }
}

.contact-carte {
  background: #454632;
  border: 1px solid #615c40;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.contact-carte h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #c8f1c7;
  font-weight: bold;
}

/* ---- Bloc agence ---- */
.contact-accroche { margin: 0 0 18px; line-height: 1.5; color: #f1f1ea; }
.contact-infos .contact-bouton { display: block; width: 100%; margin-bottom: 10px; text-align: center; }
.contact-adresse { margin: 18px 0 6px; line-height: 1.6; }
.contact-lien, .contact-lien:visited { color: #c8f1c7; text-decoration: underline; }

/* ---- Champs ---- */
.contact-grille { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .contact-grille { grid-template-columns: 1fr 1fr; } }

.contact-champ { margin-bottom: 14px; position: relative; }
.contact-champ label { display: block; margin-bottom: 5px; font-size: 15px; font-weight: bold; color: #fff; }
.contact-oblig { color: #c8f1c7; }
.contact-facultatif { font-weight: normal; font-size: 13px; color: #d8d6c8; }

.contact-champ input,
.contact-champ select,
.contact-champ textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #222;
  font: 16px Arial, Helvetica, sans-serif;   /* 16 px : pas de zoom automatique sur iPhone */
  font-style: normal;
}
.contact-champ textarea { resize: vertical; min-height: 140px; line-height: 1.45; }
.contact-champ input:focus,
.contact-champ select:focus,
.contact-champ textarea:focus { outline: none; border-color: #c8f1c7; box-shadow: 0 0 0 3px rgba(200, 241, 199, .35); }

.contact-champ .contact-invalide { border-color: #ff8a7a; }
.contact-erreur { display: block; min-height: 0; margin-top: 4px; font-size: 14px; color: #ffb3a7; }
.contact-erreur:empty { display: none; }
.contact-compteur { display: block; text-align: right; font-size: 12px; color: #d8d6c8; margin-top: 3px; }

/* Champ piège : hors écran (pas display:none, que certains robots repèrent) */
.contact-piege { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- Boutons ---- */
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.contact-bouton,
.contact-bouton:visited {
  display: inline-block;
  padding: 12px 22px;
  border: 2px solid #c8f1c7;
  border-radius: 30px;
  background: transparent;
  color: #c8f1c7;
  font: bold 16px Arial, Helvetica, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.contact-bouton-plein, .contact-bouton-plein:visited { background: #c8f1c7; color: #2f3022; }

/* neutralise le a:hover { background: inherit } de styles.css */
.contact-page .contact-bouton:hover,
.contact-page a.contact-bouton:hover { background: #e2f8e1; color: #2f3022; border-color: #e2f8e1; }
.contact-bouton:disabled { opacity: .6; cursor: wait; }

.contact-mentions { margin: 20px 0 0; font-size: 13px; line-height: 1.5; color: #d8d6c8; }

/* ---- Page de résultat ---- */
.contact-resultat { text-align: center; }
.contact-resultat p { line-height: 1.5; }
.contact-resultat a:not(.contact-bouton) { color: #c8f1c7; }
.contact-resultat .contact-actions { justify-content: center; margin-top: 18px; }
.contact-icone {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: bold 34px Arial, sans-serif;
}
.contact-icone-ok { background: #c8f1c7; color: #2f6b2d; }
.contact-icone-err { background: #ffb3a7; color: #8a2a1c; }
.contact-liste-erreurs { display: inline-block; text-align: left; margin: 0 0 10px; padding-left: 20px; color: #ffd6cf; }
