/* ══════════════════════════════════════════════════════════════
   Loumya — pages.css (v01 · 24/09/2026)
   Petites pages de service : connexion, erreur, désinscription.
   Charte Loumya (19/08) : crème, beige, sauge, brun, encre ;
   titres Cormorant Garamond, texte Nunito Sans. Contrastes AA :
   texte encre #4A3F35 sur crème, bouton sauge + texte encre (4.63:1).
   ══════════════════════════════════════════════════════════════ */
:root {
  --fond: #F6F2EC; --carte: #FFFFFF; --encre: #4A3F35; --encre-2: #756A5E;
  --lisere: #E9E2D6; --sauge: #A8B29A; --sauge-fonce: #8C987C; --brun: #6B5A4A;
  --alerte: #9B3D2E; --alerte-fond: #FBEDEA;
  --serif: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Nunito Sans', system-ui, sans-serif; background: var(--fond); color: var(--encre);
  line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100svh;
  display: grid; place-items: center; padding: 24px 16px;
}
.boite {
  width: 100%; max-width: 420px; background: var(--carte); border: 1px solid var(--lisere);
  border-radius: 20px; padding: 40px 32px; box-shadow: 0 12px 40px rgba(74, 63, 53, .08);
}
.logo { display: block; margin: 0 auto 28px; height: 30px; width: auto; }
h1 { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.15; text-align: center; margin-bottom: 8px; }
.sous { text-align: center; color: var(--encre-2); margin-bottom: 28px; }
label { display: block; font-weight: 700; font-size: .9rem; margin: 18px 0 6px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%; font: inherit; padding: 13px 14px; border: 1px solid #CFC5B6; border-radius: 12px;
  background: #FFFDF9; color: var(--encre);
}
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--brun); outline-offset: 2px; }
.champ-mdp { position: relative; }
.champ-mdp input { padding-right: 52px; }
.oeil {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 10px; cursor: pointer; color: var(--encre-2);
  display: grid; place-items: center;
}
.oeil:hover { background: var(--lisere); }
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; margin-top: 26px;
  font: inherit; font-weight: 800; padding: 14px 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--sauge); color: var(--encre); text-decoration: none; transition: background .2s;
}
.btn:hover { background: var(--encre); color: var(--fond); }
.btn[disabled] { opacity: .6; cursor: wait; }
.message { margin-top: 18px; padding: 12px 14px; border-radius: 12px; font-size: .95rem; display: none; }
.message.erreur { display: block; background: var(--alerte-fond); color: var(--alerte); }
.message.info { display: block; background: #EEF1EA; color: var(--encre); }
.pied { margin-top: 24px; text-align: center; font-size: .9rem; }
.pied a { color: var(--encre-2); }
.code { font-family: var(--serif); font-size: 4rem; font-weight: 600; text-align: center; color: var(--sauge-fonce); line-height: 1; }

/* ══════ Inscription, mot de passe oublié (v02 · 25/09/2026) ══════ */
.boite--large { max-width: 520px; }
.aide { font-size: .84rem; color: var(--encre-2); margin-top: 6px; }
.aide--ok { color: #3F5230; font-weight: 700; }
.aide--ko { color: var(--alerte); font-weight: 700; }
.adresse { display: flex; align-items: stretch; border: 1.5px solid #8F8273; border-radius: 12px; overflow: hidden; background: var(--carte); }
.adresse__prefixe { display: flex; align-items: center; padding: 0 10px; background: var(--fond); color: var(--encre-2); font-size: .9rem; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.adresse input { border: 0 !important; border-radius: 0 !important; min-width: 0; }
.case { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-weight: 400; font-size: .92rem; cursor: pointer; }
.case input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--brun); }
.case a { color: var(--encre); }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.offre { margin: -8px 0 22px; padding: 12px 14px; border-radius: 12px; background: #EEF1EA; text-align: center; font-size: .92rem; }
.liens { margin-top: 18px; display: grid; gap: 6px; text-align: center; font-size: .92rem; }
.liens a { color: var(--encre); font-weight: 700; }
.champ-erreur { border-color: var(--alerte) !important; }
.texte-long { text-align: left; font-size: .95rem; }
.texte-long h2 { font-family: var(--serif); font-size: 1.35rem; margin: 22px 0 6px; }
.texte-long p, .texte-long li { margin-bottom: 8px; }
.texte-long ul { padding-left: 20px; }
