@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/polices/jakarta-latin.woff2') format('woff2');
}

:root {
  --fond: #f4f5f7;
  --carte: #fff;
  --encre: #111;
  --gris: #5f6368;
  --gris-fonce: #3c4043;
  --bordure: #dadce0;
  color-scheme: light;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 16px;
}

/* Le PNG officiel a un fond blanc : multiply le fond dans le gris, sans toucher au logo. */
.logo { height: 54px; width: auto; display: block; mix-blend-mode: multiply; }

.carte {
  width: 100%;
  max-width: 400px;
  background: var(--carte);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.05);
}

h1 { margin: 0; font-size: 22px; font-weight: 600; }

.aide { margin: 0; font-size: 15px; line-height: 1.5; color: var(--gris); }

label { font-size: 13px; font-weight: 500; color: var(--gris-fonce); margin-bottom: -10px; }

input {
  font: inherit;
  font-size: 17px;
  padding: 14px 16px;
  border: 1px solid var(--bordure);
  border-radius: 12px;
  color: var(--encre);
  background: #fff;
}

input:disabled { background: #fafafa; }

button {
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  min-height: 48px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--encre);
  color: #fff;
  cursor: pointer;
}

button:disabled { background: #5f6368; cursor: not-allowed; }

.bientot { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gris-fonce); }

.confiance { margin: 0; font-size: 13px; color: var(--gris); text-align: center; }

@media (max-width: 420px) {
  .carte { padding: 28px 20px; }
}
