/* Pages « relier » : sobres, à la manière de la page « mot de passe » de l'app
   (fond à pois, carte blanche, titre navy). Pas de jaune fort : rien à cliquer. */
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --encre: #00001e;
  --texte: #52525f;
  --bord: #e5e5e5;
  --fond: #fafafa;
  --ambre: #8a6100;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fond) url("/points.png") 0 0 / 1200px 720px repeat;
  color: var(--encre);
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss02";
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
  padding: 40px 16px;
}

@media (min-width: 768px) {
  main {
    padding-top: 160px;
  }
}

.logo {
  display: block;
  height: 44px;
  margin: 0 auto 24px;
}

.carte {
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgb(0 0 30 / 0.04);
}

h1 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--texte);
}

.petit {
  margin-top: 20px;
  font-size: 13.5px;
}

a {
  color: var(--encre);
  font-weight: 500;
  text-underline-offset: 2px;
}

.icone {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.icone-ok {
  border-radius: 999px;
  background: var(--encre);
}

.icone-ok::before {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: translateY(-2px) rotate(-45deg);
}

.icone-attention::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ambre);
  border-radius: 999px;
  color: var(--ambre);
  font-weight: 700;
  font-size: 15px;
}

.icone-attente::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--bord);
  border-top-color: var(--encre);
  border-radius: 999px;
  animation: tourne 0.8s linear infinite;
}

.icone-neutre {
  display: none;
}

@keyframes tourne {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .icone-attente::before {
    animation: none;
  }
}

footer {
  padding: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--texte);
}

footer a {
  color: var(--texte);
  font-weight: 400;
}
