/* Cligno — feuille de style unique du site public.
   Sobre, une colonne, typographie système, clair/sombre par `prefers-color-scheme`.
   Aucune police distante, aucun script : les pages doivent répondre vite et partout. */

:root {
  --fond: #ffffff;
  --fond-bloc: #f6f7f8;
  --encre: #14181c;
  --encre-douce: #5b6570;
  --trait: #e4e7ea;
  --marque: #e85d04;
  --marque-encre: #b34405; /* orange lisible en petit texte sur fond clair — 6,05:1 */
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #101418;
    --fond-bloc: #171c21;
    --encre: #f1f3f5;
    --encre-douce: #9aa3af;
    --trait: #262c33;
    --marque: #ff8a3d;
    --marque-encre: #ff8a3d;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.enveloppe {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* — En-tête — */

.bandeau {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
}

.bandeau a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.oeil {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--marque);
  flex: none;
}

.nom {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* — Texte — */

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.date {
  color: var(--encre-douce);
  font-size: 0.9rem;
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 2.75rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait);
}

h3 {
  font-size: 1.02rem;
  margin: 1.75rem 0 0.5rem;
}

p, ul, ol { margin: 0 0 1rem; }

ul, ol { padding-left: 1.3rem; }

li { margin-bottom: 0.4rem; }

a {
  color: var(--marque-encre);
  text-underline-offset: 0.15em;
}

a:hover { text-decoration: none; }

strong { font-weight: 650; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--fond-bloc);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* — Blocs — */

.chapo {
  font-size: 1.06rem;
  background: var(--fond-bloc);
  border-left: 3px solid var(--marque);
  border-radius: 0 8px 8px 0;
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
}

.chapo p:last-child { margin-bottom: 0; }

.encadre {
  background: var(--fond-bloc);
  border: 1px solid var(--trait);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.25rem;
}

.encadre p:last-child, .encadre ul:last-child { margin-bottom: 0; }

/* — Tableaux — */

.tableau { overflow-x: auto; margin: 0 0 1.25rem; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--trait);
}

th {
  font-weight: 650;
  border-bottom: 2px solid var(--trait);
}

/* — Sommaire et liens de pied — */

.liens {
  list-style: none;
  padding: 0;
  margin: 0;
}

.liens li { margin-bottom: 0.65rem; }

.pied {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--trait);
  color: var(--encre-douce);
  font-size: 0.9rem;
}

.pied a { color: var(--encre-douce); }

.pied p { margin-bottom: 0.4rem; }

/* — Accueil — */

.accroche {
  font-size: 1.25rem;
  color: var(--encre-douce);
  margin: 0 0 2rem;
}

@media (max-width: 30rem) {
  body { font-size: 16px; }
  .enveloppe { padding: 1.75rem 1rem 3rem; }
  h1 { font-size: 1.6rem; }
}
