/* Squatcat — l'encre et le papier de la Bande, un seul soleil orange.
   Lettrage Patrick Hand SC (SIL OFL 1.1, servi depuis /polices), texte courant en police du système.
   Aucune ressource externe. */
@font-face {
  font-family: "Patrick Hand SC";
  src: url("/polices/PatrickHandSC-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --fond: #FFFFFF;
  --feuille: #F6F3EE;
  --texte: #1A1A1A;
  --second: #55514B;
  --attenue: #6B665F;
  /* Bande.sunText en clair : 4,75:1 sur blanc. */
  --soleil: #CC4514;
  --filet: rgba(26, 26, 26, 0.14);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #000000;
    --feuille: #141414;
    --texte: #F2F2F2;
    --second: #ABA7A0;
    --attenue: #8F8B84;
    /* Bande.sun : 5,72:1 sur noir. */
    --soleil: #E8541F;
    --filet: rgba(242, 242, 242, 0.14);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  padding: 0 16px;
}
a { color: var(--soleil); text-decoration-thickness: 1px; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }

.haut, .texte, .bas { max-width: 42rem; margin: 0 auto; }
.haut {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1.5rem; padding: 1.5rem 0 1rem; border-bottom: 2px solid var(--texte);
}
.marque {
  font-family: "Patrick Hand SC", -apple-system, system-ui, sans-serif;
  font-size: 1.5rem; line-height: 1; text-decoration: none; color: var(--texte);
}
.haut nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.9375rem; }
.haut nav a { color: var(--second); text-decoration: none; }
.haut nav a:hover, .haut nav a[aria-current="page"] { color: var(--texte); }

.texte { padding: 2rem 0 3rem; }
h1 {
  font-family: "Patrick Hand SC", -apple-system, system-ui, sans-serif;
  font-weight: 400; font-size: 2.25rem; line-height: 1.1; margin: 0 0 1.25rem;
}
h2 { font-size: 1.1875rem; line-height: 1.3; margin: 2.25rem 0 0.6rem; }
h3 { font-size: 1.0625rem; line-height: 1.4; margin: 1.5rem 0 0.3rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.45rem; }
strong { font-weight: 620; }
.date { color: var(--second); font-size: 0.9375rem; }

.chapeau { font-size: 1.1875rem; color: var(--second); }
.liens { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0.6rem; }
.liens a {
  display: block; padding: 0.9rem 1rem; border-radius: 4px; background: var(--feuille);
  text-decoration: none; color: var(--texte); border: 2px solid var(--texte);
}
.liens a span { display: block; color: var(--second); font-size: 0.9375rem; }
.liens a:hover { border-color: var(--soleil); }

.bas { padding: 1.25rem 0 2rem; border-top: 1px solid var(--filet); color: var(--attenue); font-size: 0.875rem; }
.bas a { color: var(--attenue); }
