/* Les fondations de la charte Fydera (charte-fydera/site/commun/styles/jetons.css), partagées
   par la page publique, l'annulation, la connexion et l'administration. */
@font-face {
  font-family: "Manrope";
  src: url("/polices/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #09182D;
  --navy: #061A33;
  --navy-2: #0A2343;
  --steel: #13588D;
  --blue: #1682F3;
  --blue-hover: #0F6FD6;
  --blue-text: #126BCC;
  --blue-tint: rgba(22, 130, 243, .08);
  --blue-tint-2: rgba(22, 130, 243, .16);
  --sky: #8BCAFF;
  --ice: #DCEDFB;
  --silver: #D9E1EA;
  --paper: #FFFFFF;
  --soft: #F2F6FA;
  --mist: #E7EDF3;
  --line: #D8E1E9;
  --muted: #607086;
  --succes: #1E7A5A;
  --succes-fond: #E3F3EC;
  --attention: #8A5F12;
  --attention-fond: #FBF1DE;
  --erreur: #B3372F;
  --erreur-fond: #FBE9E7;
  --rayon-carte: 18px;
  --rayon-champ: 12px;
  --rayon-bouton: 999px;
  --ombre: 0 18px 50px rgba(6, 26, 51, .10);
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --courbe: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue-text); }
[hidden] { display: none !important; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border: 0; border-radius: var(--rayon-bouton);
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: background var(--courbe) 180ms, box-shadow var(--courbe) 180ms;
}
.bouton:hover { background: var(--blue-hover); }
.bouton:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.bouton:disabled { opacity: .55; cursor: default; }
.bouton.secondaire { background: transparent; color: var(--blue-text); box-shadow: inset 0 0 0 1px var(--line); }
.bouton.secondaire:hover { background: var(--blue-tint); }
.bouton.danger { background: var(--erreur); }
.bouton.danger:hover { background: #962c25; }

.icone { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-weight: 700; font-size: 14px; color: var(--navy); }
.champ input, .champ textarea, .champ select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--rayon-champ);
  background: #fff; transition: border-color 150ms, box-shadow 150ms;
}
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint-2); }
.champ .aide { font-size: 13px; color: var(--muted); }
.champ .faute { font-size: 13px; color: var(--erreur); font-weight: 600; }
.champ.en-faute input, .champ.en-faute textarea { border-color: var(--erreur); }

.alerte { padding: 12px 16px; border-radius: var(--rayon-champ); font-size: 14px; font-weight: 600; }
.alerte.erreur { background: var(--erreur-fond); color: var(--erreur); }
.alerte.info { background: var(--ice); color: var(--steel); }
.alerte.local { background: var(--attention-fond); color: var(--attention); }

.boite { padding: 24px; max-width: 900px; margin: 0 auto; }
