/* Site public : sans framework ni build. Contrastes AA, lisible sur mobile. */
:root {
  --fond: #fff; --texte: #1b1b1f; --doux: #4a4a55; --accent: #0b4fa8;
  --cadre: #d5d7de; --code: #f1f2f5; --alerte: #8a3b00; --alerte-fond: #fff3e0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #16171b; --texte: #ececf1; --doux: #b5b7c2; --accent: #8cb8ff;
    --cadre: #3a3c45; --code: #23252c; --alerte: #ffcf99; --alerte-fond: #3a2a14;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.evitement { position: absolute; left: -999px; }
.evitement:focus { left: 1rem; top: 1rem; background: var(--fond); padding: .5rem; }
header, main, footer { max-width: 60rem; margin: 0 auto; padding: 0 1rem; }
header { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding-block: 1rem;
  border-bottom: 1px solid var(--cadre); }
header .marque { font-weight: 700; text-decoration: none; color: var(--texte); }
nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; margin: 0; padding: 0; }
nav a[aria-current="page"] { font-weight: 700; text-decoration: none; }
main { padding-block: 1.5rem 3rem; }
h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.2; }
code, pre { background: var(--code); border-radius: 4px; font-size: .9em; }
code { padding: .1em .3em; overflow-wrap: anywhere; }
pre { padding: .8rem 1rem; overflow-x: auto; }
pre code { padding: 0; overflow-wrap: normal; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: .4rem .3rem; overflow-wrap: anywhere; border-bottom: 1px solid var(--cadre); }
.offres { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  padding: 0; list-style: none; }
.offres > li { border: 1px solid var(--cadre); border-radius: 8px; padding: 1rem 1.25rem; }
.offres h2 { margin-top: 0; }
button { font: inherit; padding: .6rem 1.2rem; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--accent); color: var(--fond); }
.a-completer { background: var(--alerte-fond); color: var(--alerte); padding: .1em .35em;
  border-radius: 4px; font-weight: 600; }
footer { border-top: 1px solid var(--cadre); padding-block: 1rem 2rem; color: var(--doux); font-size: .95rem; }
footer ul { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; padding: 0; }
