/* Console V2 — pages publiques (version simple, l'interface définitive vient au lot V2-2).
   Police Hanken Grotesk servie localement (public/fonts, licence OFL). Aucun style en ligne (politique de contenu stricte). */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-600-normal.woff2') format('woff2');
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: #231F20;
  color: #FFFFFF;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  -webkit-font-smoothing: antialiased;
}

main {
  text-align: center;
  width: 100%;
  max-width: 360px;
}

h1 {
  font-weight: 600;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

p {
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin: 0;
  opacity: 0.72;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  text-align: left;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.875rem;
  opacity: 0.85;
}

input {
  font: inherit;
  font-size: 1rem;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}

input:focus {
  outline: 2px solid #FFFFFF;
  outline-offset: 1px;
}

button {
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 11px 16px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  background: #FFFFFF;
  color: #231F20;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

a {
  color: #FFFFFF;
}

.liens {
  margin-top: 18px;
  font-size: 0.875rem;
  opacity: 0.72;
}

.message {
  min-height: 1.25em;
  font-size: 0.9rem;
  margin: 4px 0 0;
  opacity: 1;
}

.message.erreur {
  color: #FF9B9B;
}

.message.ok {
  color: #A8E6B4;
}

.session {
  margin-top: 24px;
  font-size: 0.95rem;
}

.session button {
  margin-top: 12px;
}
