/* Portail VOXY — page de connexion et page d'accueil.
 *
 * Ne style que les deux pages neuves. L'interface d'administration garde sa
 * feuille, ecrite avant la charte : sa reprise est du lot 3, elle est visuelle
 * et non fonctionnelle, et la melanger a une bascule d'authentification
 * rendrait la revue illisible.
 *
 * Aucune valeur de couleur en dur : tout passe par les jetons de la charte,
 * charges par /static/charte/tokens/. C'est la regle posee dans CLAUDE.md.
 */

*, *::before, *::after { box-sizing: border-box; }

body.portail {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--surface-subtle);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--text-strong);
  line-height: 1.2;
  margin: 0 0 .5rem;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* --- Connexion ---------------------------------------------------------- */

body.connexion {
  display: grid;
  place-items: center;
  background: var(--surface-dark);
}
.connexion-carte {
  width: min(26rem, 100% - 2.5rem);
  background: var(--surface-card);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / .28);
  text-align: center;
}
.connexion-carte img { height: 2.25rem; margin-bottom: 1.75rem; }
.connexion-carte p { color: var(--text-muted); font-size: .9375rem; }

.bouton {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: .8125rem 1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--accent);
  color: var(--voxy-white);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.bouton:hover { background: var(--accent-hover); color: var(--voxy-white); }
.bouton:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
