/* JuryQuest : base commune (polices et couleurs). Utilisée par toutes les pages du site. */

@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/newsreader-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Newsreader";font-style:normal;font-weight:500;font-display:swap;src:url(fonts/newsreader-latin-ext-500-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  color-scheme:light;
  /* Marque */
  --vert:#2D6A4F;            /* Vert JuryQuest : titres, boutons */
  --vert-profond:#1E4D3A;    /* bandeaux et pied de page */
  --terre:#9A4A1F;           /* touche chaude : liens, focus */
  --clair:#52B788;           /* décor uniquement, jamais de texte */
  /* Neutres */
  --encre:#1E2A24;
  --encre-douce:#46534C;
  --papier:#F4F6F1;
  --blanc:#FFFFFF;
  --filet:#D5DDD6;
  --cadre:#C9D3CC;           /* bord des captures */
  --champ:#76847B;           /* bord des champs, 3,9:1 sur blanc */
  --indice:#6B776F;          /* texte d'exemple des champs */
  --selection:#CDE8DA;
  /* Sur fond sombre */
  --sur-sombre:#FFFFFF;
  --sur-sombre-doux:#E3EDE7;
  --sur-sombre-statut:#CFE6D9;
  --sur-sombre-voile:rgba(255,255,255,.07);
  --sur-sombre-bord:rgba(255,255,255,.7);
  --sur-sombre-filet:rgba(255,255,255,.22);
  /* États */
  --erreur:#8A2A1B;
  --erreur-bord:#B3392A;
  --erreur-fond:#FBEDEA;
  /* Typographie et mesures */
  --serif:"Newsreader",Georgia,"Times New Roman",serif;
  --sans:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
  --gouttiere:20px;
  --rayon:10px;
}
@media (min-width:760px){:root{--gouttiere:40px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;accent-color:var(--vert)}
body{margin:0;background:var(--blanc);color:var(--encre);font-family:var(--sans);font-size:1.0625rem;line-height:1.6}
h1,h2,h3,p,dl,dd{margin:0}
h1,h2{font-family:var(--serif);font-weight:500;letter-spacing:-.012em;line-height:1.08;text-wrap:balance}
p,li,dd,figcaption{text-wrap:pretty}
a{color:var(--terre);text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--terre);outline-offset:3px;border-radius:4px}
.sur-sombre :focus-visible{outline-color:var(--sur-sombre)}
::selection{background:var(--selection);color:var(--encre)}
.sur-sombre ::selection{background:var(--clair);color:#0F241A}
