/* shukiro.win : socle commun. Un mur d'atelier, des toiles en papier découpé, la croix suisse pour marque. */
@font-face { font-family: "Sofia Sans Condensed"; src: url("/fonts/sofia-sans-condensed-latin-wght-normal.woff2") format("woff2"); font-weight: 1 1000; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --fond: #f4efe6;
  --surface: #fffaf2;
  --encre: #1c1a1f;
  --encre-douce: #5d5750;
  --filet: #d9cfbf;
  --bord-champ: #857b6e;
  --panneau: #da291c;        /* le rouge des toiles et de la croix */
  --panneau-encre: #ffffff;
  --balise: #da291c;
  --balise-texte: #b3200f;
  --ok: #1f7a5c;
  --alerte-fond: #fbe4e1;
  --alerte-encre: #7c1710;
  --ombre: 0 1px 0 rgba(0, 0, 0, .08), 0 18px 34px -18px rgba(40, 20, 10, .45);
  --titre: "Sofia Sans Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --texte: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(18px, 5vw, 48px);
  --max: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #18171b;
    --surface: #232227;
    --encre: #f1e6d0;
    --encre-douce: #b5ab9c;
    --filet: #3a383f;
    --bord-champ: #8c8478;
    --balise-texte: #ff8f7f;
    --ok: #62c9a0;
    --alerte-fond: #3b1f1c;
    --alerte-encre: #f3c5bf;
    --ombre: 0 1px 0 rgba(255, 255, 255, .04), 0 18px 34px -18px rgba(0, 0, 0, .9);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 1.0625rem/1.55 var(--texte); }
h1, h2, h3 { font-family: var(--titre); font-weight: 800; line-height: 1; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 4px; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--panneau); color: var(--panneau-encre); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--panneau); color: var(--panneau-encre); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

/* En-tête : la croix suisse sert de marque. */
.entete { width: 100%; max-width: var(--max); margin: 0 auto; padding: 20px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.entete form { margin: 0; }
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 800 1.5rem/1 var(--titre); letter-spacing: .01em; }
.marque::before { content: ""; width: 30px; height: 30px; background: url("/icon.svg?v=2.1.0") center / cover no-repeat; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.lien-prive, .lienbouton { display: inline-flex; align-items: center; min-height: 44px; font: inherit; font-size: .95rem; color: var(--encre-douce); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lien-prive:hover, .lienbouton:hover { color: var(--encre); text-decoration-thickness: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 0; border-radius: 999px;
  background: var(--panneau); color: var(--panneau-encre); font: 700 1rem/1.2 var(--texte); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--encre); color: var(--fond); }
.btn:disabled { opacity: .6; cursor: default; }

.pied { max-width: var(--max); margin: 0 auto; padding: 28px var(--gut) calc(32px + env(safe-area-inset-bottom, 0px)); color: var(--encre-douce); font-size: .9rem; }
