/* ===== CHARTE (le seul bloc à modifier pour changer l'apparence) ===== */
:root {
  --fond: #F5F6F8;
  --surface: #FFFFFF;
  --texte: #1F2430;
  --accent: #3B5BDB;
  --accent-2: #0CA678;
  --police: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rayon: 12px;
}
/* ===== fin de la charte ===== */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--police);
  background: var(--fond);
  color: var(--texte);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.marque { display: flex; align-items: center; gap: 12px; }
.marque-carre {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 20px;
}
.marque-nom { font-weight: 600; font-size: 18px; }

/* Page de connexion */
.connexion { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.carte {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border-radius: var(--rayon);
  box-shadow: 0 1px 3px rgba(31, 36, 48, .08), 0 8px 24px rgba(31, 36, 48, .06);
  padding: 32px 28px;
}
.carte .marque { justify-content: center; margin-bottom: 24px; }
h1 { font-size: 20px; font-weight: 600; margin: 0 0 20px; text-align: center; }
label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
input {
  width: 100%; font: inherit; font-size: 16px; color: var(--texte);
  padding: 11px 12px; margin: 0 0 16px;
  border: 1px solid #D5D9E0; border-radius: 8px; background: var(--surface);
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 91, 219, .18); }
.bouton {
  width: 100%; font: inherit; font-weight: 600; font-size: 16px;
  padding: 12px; border: 0; border-radius: 8px; cursor: pointer;
  background: var(--accent); color: #fff;
}
.bouton:disabled { opacity: .6; cursor: default; }
.bouton-discret {
  font: inherit; font-size: 14px; padding: 8px 14px; cursor: pointer;
  background: transparent; color: var(--texte);
  border: 1px solid #D5D9E0; border-radius: 8px;
}
.message { min-height: 1.5em; margin: 12px 0 0; font-size: 14px; color: #C92A2A; text-align: center; }

/* Accueil */
.entete {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: var(--surface);
  border-bottom: 1px solid #E6E8EC;
}
.contenu { max-width: 720px; margin: 0 auto; padding: 48px 16px; }
.contenu p { font-size: 20px; margin: 0; }
.contenu .accent-2 { color: var(--accent-2); }
