/* =========================================================================
   pages.css — Pages secondaires : contact, mentions légales, erreurs.
   S'ajoute à style.css et accueil.css.
   ========================================================================= */

.page-texte { max-width: 820px; }
.page-texte h1 { font-size: clamp(32px, 4.6vw, 46px); margin-bottom: 14px; }
.page-texte h2 { font-size: 24px; margin: 30px 0 10px; }
.page-texte p, .page-texte li { font-size: 17px; line-height: 1.6; color: var(--encre-douce); }
.page-texte p + p { margin-top: 10px; }
.page-texte ul { padding-left: 22px; margin: 8px 0; }
.page-texte li + li { margin-top: 6px; }
.page-texte a:not(.bouton) { color: #4F3FA8; font-weight: 700; }
.page-texte .intro { font-size: 18px; margin-bottom: 14px; }
.astuce { background: var(--soleil-clair); border-radius: 18px; padding: 12px 16px; margin-bottom: 18px; }

.liens-pied a { color: var(--encre); font-weight: 700; }
a.bouton { text-decoration: none; }

/* ---------- Messages ---------- */
.boite-message { border: 3px solid var(--encre); border-radius: 22px; padding: 18px 20px; margin: 16px 0 22px; background: var(--papier); }
.boite-message h2 { margin: 0 0 8px; font-size: 22px; }
.boite-message.succes { background: var(--menthe); }
.boite-message.alerte { background: var(--rose); }
.boite-message ul { margin: 0; }
.boite-message .bouton { margin: 12px 10px 0 0; }

/* ---------- Formulaire ---------- */
.formulaire { background: var(--papier); border: 3px solid var(--encre); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-family: var(--titre); font-weight: 600; font-size: 18px; color: var(--encre); }
.facultatif { font-family: var(--texte); font-weight: 600; font-size: 14px; color: var(--encre-douce); }
.aide { font-size: 14px; color: var(--encre-douce); }
.champ input[type="text"], .champ input[type="email"], .champ select, .champ textarea {
  font: inherit; font-size: 17px; color: var(--encre); background: var(--fond);
  border: 3px solid var(--encre); border-radius: 14px; padding: 10px 12px; width: 100%;
}
.champ textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 4px solid #5A8BD6; outline-offset: 2px; }
.champ.verif input { max-width: 120px; font-size: 22px; text-align: center; }
.champ.case { flex-direction: row; align-items: flex-start; gap: 12px; }
.champ.case input { width: 26px; height: 26px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--vert); }
.champ.case label { font-family: var(--texte); font-weight: 600; font-size: 16px; line-height: 1.5; color: var(--encre-douce); }

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

/* ---------- Page d'erreur ---------- */
.page-erreur { text-align: center; }
.page-erreur .intro { margin-left: auto; margin-right: auto; }
.page-erreur .acc-actions { justify-content: center; }
.monstre-perdu svg { width: 200px; height: auto; margin: 0 auto 10px; display: block; }
