/* ============================================================
   Durabo — feuille de style unique. HTML + CSS, aucun script.
   Thème sombre exclusif : atelier / terminal.
   Polices auto-hébergées, licence SIL OFL, fonderie Velvetyne.
   ============================================================ */

/* ---------- polices ---------- */

@font-face {
  font-family: "Sligoil";
  src: url("../fonts/Sligoil-Micro.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sligoil";
  src: url("../fonts/Sligoil-MicroMedium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Sligoil";
  src: url("../fonts/Sligoil-MicroBold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Le Murmure";
  src: url("../fonts/LeMurmure-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "VG5000";
  src: url("../fonts/VG5000-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- jetons ---------- */

:root {
  color-scheme: dark;

  --void:     #06080a;
  --panel:    #0b0f12;
  --sunk:     #10161a;
  --raise:    #151d21;
  --line:     #1d272c;
  --line-hot: #2c3a40;

  --fg:       #e2eae6;
  --dim:      #8fa09b;
  /* --faint reste le gris le plus sourd du jeu, mais pas en dessous de
     4,5:1 sur --void, --panel et --sunk : il porte du texte de taille normale
     (lignes de specs, légendes, bandeau d'état). */
  --faint:    #788882;

  --acid:     #c8ff2f;
  --acid-dim: #8fb320;
  --acid-glow: rgba(200, 255, 47, .18);
  --hot:      #ff3d5f;

  --display: "Le Murmure", "Haettenschweiler", "Arial Narrow", sans-serif;
  --pixel:   "VG5000", "Courier New", monospace;
  --mono:    "Sligoil", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wide:  78rem;
  --prose: 36rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-hot) var(--void); }

body {
  margin: 0;
  background: var(--void);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  /* grille d'atelier + lignes de balayage, purement décoratives */
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.016) 0 1px, transparent 1px 3px),
    linear-gradient(0deg,  rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
  background-attachment: fixed;
}

::selection { background: var(--acid); color: var(--void); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--acid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { background: var(--acid); color: var(--void); text-decoration: none; }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

code { font-family: var(--mono); font-weight: 500; color: var(--acid); }

.skip {
  position: absolute; left: -9999px;
  background: var(--acid); color: var(--void);
  padding: .6rem 1rem; font-weight: 700; text-transform: uppercase;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 20; }

/* ---------- gabarit ---------- */

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.5rem; }
.prose { max-width: var(--prose); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--fg); font-weight: 700; }

main { padding-bottom: 6rem; }

main .wrap > section { margin-top: 5rem; }

hr {
  border: 0; height: 1px; margin: 4rem 0;
  background: repeating-linear-gradient(90deg, var(--line-hot) 0 12px, transparent 12px 20px);
}

/* ---------- en-tête ---------- */

.site-head {
  border-bottom: 1px solid var(--line-hot);
  background: rgba(6, 8, 10, .92);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(6px);
}
.site-head .wrap {
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem;
  align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem;
}
/* en dessous de ~830 px la navigation passe sur deux lignes : collante,
   elle mangerait un cinquième de l'écran. Elle défile avec la page. */
@media (max-width: 52rem) {
  .site-head { position: static; }
}

.wordmark {
  font-family: var(--pixel);
  font-size: 1.5rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; color: var(--fg);
  line-height: 1;
}
.wordmark:hover { background: none; color: var(--acid); }
.wordmark span { color: var(--acid); }

.site-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; align-items: center; }
.site-nav a {
  color: var(--dim); text-decoration: none;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .15rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--acid); background: none; border-bottom-color: var(--acid); }
.site-nav a[aria-current="page"] { color: var(--acid); border-bottom-color: var(--acid); }

.site-nav .lang {
  font-size: .72rem; letter-spacing: .12em;
  padding-left: .9rem; border-left: 1px solid var(--line-hot);
  display: inline-flex; gap: .5rem; align-items: center;
}
.site-nav .lang a { font-size: .72rem; }
.site-nav .lang .cur { color: var(--fg); font-weight: 700; }

/* bandeau d'état sous la navigation */
.statusbar {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--faint);
}
.statusbar .wrap {
  display: flex; flex-wrap: wrap; gap: .2rem 1.5rem;
  padding-top: .45rem; padding-bottom: .45rem;
}
.statusbar b { color: var(--dim); font-weight: 400; }
.statusbar .live { color: var(--acid); }
.statusbar .live::before {
  content: "●"; margin-right: .45rem; font-size: .7em; vertical-align: .15em;
}
@media (prefers-reduced-motion: no-preference) {
  .statusbar .live::before { animation: pulse 2.4s ease-in-out infinite; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- titres ---------- */

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9.5vw, 7.5rem);
  line-height: .88;
  letter-spacing: .005em;
  margin: 0 0 1.5rem;
  color: var(--fg);
  /* aberration chromatique : assez pour se voir, pas assez pour flouter */
  text-shadow: .012em 0 0 rgba(200, 255, 47, .5), -.012em 0 0 rgba(255, 61, 95, .28);
}

h2 {
  font-family: var(--pixel);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--fg);
}

/* numérotation automatique des sections de contenu */
main .wrap { counter-reset: sec; }
main .wrap > section { counter-increment: sec; }
main .wrap > section > h2 {
  display: flex; align-items: baseline; gap: .85rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--line-hot);
}
main .wrap > section > h2::before {
  content: counter(sec, decimal-leading-zero);
  font-family: var(--mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em;
  color: var(--void); background: var(--acid);
  padding: .1rem .45rem;
  flex: none;
}

h3 {
  font-family: var(--mono); font-weight: 700;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--acid);
  margin: 2rem 0 .8rem;
}

.eyebrow {
  font-family: var(--mono); font-weight: 500;
  font-size: .7rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--faint);
  margin: 0 0 1rem;
}

.lede { font-size: 1.05rem; color: var(--fg); }
.prose p { color: var(--dim); }
.prose .lede { color: var(--fg); }

/* ---------- accueil ---------- */

.hero { padding: 5rem 0 0; }
.hero h1 { max-width: 16ch; }

/* accueil : titre à gauche, relevé d'atelier à droite */
.hero-home {
  display: grid; grid-template-columns: 1fr 21rem; gap: 3.5rem;
  align-items: start;
}
.hero-home > div { min-width: 0; }
@media (max-width: 64rem) {
  .hero-home { grid-template-columns: 1fr; gap: 2.5rem; }
}

.readout {
  border: 1px solid var(--line-hot);
  background: var(--panel);
  padding: 1.5rem;
  position: relative;
  margin-top: 1rem;
}
.readout::before {
  content: "RELEVÉ ATELIER";
  position: absolute; top: -.55rem; left: 1rem;
  background: var(--void); color: var(--acid);
  font-size: .6rem; letter-spacing: .24em; font-weight: 700;
  padding: 0 .5rem;
}
.readout[lang="en"]::before { content: "WORKSHOP READOUT"; }
.readout dl {
  margin: 0; display: grid; grid-template-columns: 7.5rem 1fr;
  gap: .55rem 1rem; font-size: .74rem;
}
.readout dt {
  color: var(--faint); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; padding-top: .18rem;
}
.readout dd { margin: 0; color: var(--fg); font-weight: 500; }
.readout dd code { font-weight: 500; }

/* bande manifeste */
.manifesto {
  margin: 5rem 0 0;
  border-top: 2px solid var(--acid);
  border-bottom: 1px solid var(--line-hot);
  padding: 3rem 0;
}
.manifesto p {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.02;
  margin: 0;
  max-width: 24ch;
  color: var(--fg);
}
.manifesto p em { font-style: normal; color: var(--acid); }
.manifesto .sig {
  font-family: var(--mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); max-width: none;
  margin-top: 1.75rem;
}

/* ---------- liste machines ---------- */

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

.machine-row {
  border: 1px solid var(--line);
  background: var(--panel);
  margin-bottom: 1.25rem;
  position: relative;
}
/* équerres de repérage */
.machine-row::before, .machine-row::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border: 2px solid var(--acid); opacity: 0; transition: opacity .12s;
}
.machine-row::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.machine-row::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.machine-row:hover { border-color: var(--line-hot); }
.machine-row:hover::before, .machine-row:hover::after { opacity: 1; }

.machine-row > a {
  display: grid;
  grid-template-columns: 13rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.15rem;
  text-decoration: none; color: inherit;
}
.machine-row > a:hover { background: var(--sunk); color: inherit; }
.machine-row > a > div { min-width: 0; }
.machine-row img { border: 1px solid var(--line); background: var(--sunk); }
.machine-row h3 {
  margin: 0 0 .45rem; font-size: 1rem; letter-spacing: .02em;
  text-transform: none; color: var(--fg); font-weight: 700;
}
.machine-row h3 .ref {
  font-size: .68rem; color: var(--void); background: var(--dim);
  font-weight: 700; letter-spacing: .1em;
  padding: .1rem .4rem; margin-left: .5rem; vertical-align: .12em;
}
.machine-row > a:hover h3 .ref { background: var(--acid); }
.machine-row .spec-line {
  font-size: .78rem; color: var(--faint); margin: 0; line-height: 1.65;
}
.machine-row .price-cell { text-align: right; white-space: nowrap; }
.machine-row .tag { margin-bottom: .5rem; }

.price {
  font-family: var(--pixel);
  font-size: 2.4rem; line-height: 1;
  display: block; color: var(--acid);
}
.machine-row .tag-vendu + .price { color: var(--faint); }

@media (max-width: 46rem) {
  .machine-row > a { grid-template-columns: 1fr; }
  .machine-row .price-cell { text-align: left; }
}

/* ---------- étiquettes d'état ---------- */

.tag {
  display: inline-block;
  font-size: .66rem; letter-spacing: .18em; font-weight: 700;
  text-transform: uppercase;
  padding: .2rem .6rem;
  border: 1px solid currentColor;
}
.tag-dispo { color: var(--acid); background: rgba(200, 255, 47, .08); }
.tag-vendu { color: var(--faint); background: transparent; }

/* ---------- fiche machine ---------- */

.machine-head {
  display: grid; grid-template-columns: 1fr 22rem; gap: 3rem;
  padding-top: 3.5rem;
}
@media (max-width: 60rem) { .machine-head { grid-template-columns: 1fr; gap: 2rem; } }
.machine-head > div { min-width: 0; }
.machine-head h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }

.buybox {
  border: 1px solid var(--acid);
  background: var(--panel);
  padding: 1.5rem;
  align-self: start;
  position: relative;
  box-shadow: 0 0 0 1px var(--void), 0 0 40px var(--acid-glow);
}
.buybox .eyebrow { color: var(--acid); margin-bottom: .6rem; }
.buybox .price { font-size: 3rem; margin-bottom: .3rem; }
.buybox .price-note {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 1.4rem;
}

.price-breakdown {
  list-style: none; margin: 0 0 1.4rem; padding: 1rem 0 0;
  border-top: 1px solid var(--line-hot);
  font-size: .78rem;
}
.price-breakdown li {
  display: flex; justify-content: space-between; gap: 1rem;
  color: var(--dim); padding: .15rem 0;
}
.price-breakdown .total {
  border-top: 1px solid var(--line-hot); margin-top: .6rem; padding-top: .6rem;
  font-weight: 700; color: var(--acid);
}

.btn-buy {
  display: block; text-align: center;
  background: var(--acid); color: var(--void);
  font-family: var(--pixel); font-size: 1rem; letter-spacing: .06em;
  text-transform: uppercase;
  padding: .95rem 1rem;
  text-decoration: none;
  border: 0;
  /* coin biseauté */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 11px), calc(100% - 11px) 100%, 0 100%);
}
.btn-buy:hover { background: var(--fg); color: var(--void); }

.btn-sold {
  display: block; text-align: center;
  background: var(--sunk); color: var(--faint);
  padding: .95rem 1rem; border: 1px dashed var(--line-hot);
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
}

.buybox .fineprint {
  font-size: .74rem; color: var(--faint); margin: 1.4rem 0 0; line-height: 1.7;
}
.buybox .fineprint li { margin-bottom: .5rem; }
.buybox ul { padding-left: 1.1rem; margin: 0; }
.buybox .fineprint strong { color: var(--acid); }

/* ---------- tableaux ---------- */

.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }

table { border-collapse: collapse; width: 100%; font-size: .82rem; margin: 0; }

caption {
  text-align: left; font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  padding: .9rem 1rem; border-bottom: 1px solid var(--line);
  background: var(--sunk);
}

th, td {
  text-align: left; vertical-align: top;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
}
thead th {
  border-bottom: 1px solid var(--line-hot);
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; background: var(--sunk);
}
tbody th { width: 13rem; font-weight: 500; color: var(--faint); }
tbody td { color: var(--fg); }
tbody tr:hover td, tbody tr:hover th { background: var(--sunk); }
td.num, th.num { white-space: nowrap; color: var(--acid); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.spec-table tbody th { font-weight: 500; }
.spec-table td { font-weight: 500; }

/* ---------- mesure batterie ---------- */

.measure {
  border: 1px solid var(--line-hot);
  background: var(--panel);
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
}
.measure::before {
  content: "MESURE";
  position: absolute; top: -.55rem; left: 1rem;
  background: var(--void); color: var(--faint);
  font-size: .62rem; letter-spacing: .24em;
  padding: 0 .5rem;
}
.measure .big {
  font-family: var(--pixel); font-size: 3.5rem;
  line-height: 1; display: block; margin-bottom: .9rem;
  color: var(--acid);
}
.measure p { margin: 0; font-size: .8rem; color: var(--dim); }

/* jauge segmentée */
.bar {
  height: 1.1rem; background: var(--sunk);
  border: 1px solid var(--line-hot);
  margin: .9rem 0 1.1rem;
  position: relative; overflow: hidden;
}
.bar > i { display: block; height: 100%; background: var(--acid); width: 0; }
.bar::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 7px, var(--panel) 7px 10px);
  pointer-events: none;
}

/* largeur par classe, pour garder une CSP stricte sans style inline */
.bar > i.p0 { width: 0%; }
.bar > i.p1 { width: 1%; }
.bar > i.p2 { width: 2%; }
.bar > i.p3 { width: 3%; }
.bar > i.p4 { width: 4%; }
.bar > i.p5 { width: 5%; }
.bar > i.p6 { width: 6%; }
.bar > i.p7 { width: 7%; }
.bar > i.p8 { width: 8%; }
.bar > i.p9 { width: 9%; }
.bar > i.p10 { width: 10%; }
.bar > i.p11 { width: 11%; }
.bar > i.p12 { width: 12%; }
.bar > i.p13 { width: 13%; }
.bar > i.p14 { width: 14%; }
.bar > i.p15 { width: 15%; }
.bar > i.p16 { width: 16%; }
.bar > i.p17 { width: 17%; }
.bar > i.p18 { width: 18%; }
.bar > i.p19 { width: 19%; }
.bar > i.p20 { width: 20%; }
.bar > i.p21 { width: 21%; }
.bar > i.p22 { width: 22%; }
.bar > i.p23 { width: 23%; }
.bar > i.p24 { width: 24%; }
.bar > i.p25 { width: 25%; }
.bar > i.p26 { width: 26%; }
.bar > i.p27 { width: 27%; }
.bar > i.p28 { width: 28%; }
.bar > i.p29 { width: 29%; }
.bar > i.p30 { width: 30%; }
.bar > i.p31 { width: 31%; }
.bar > i.p32 { width: 32%; }
.bar > i.p33 { width: 33%; }
.bar > i.p34 { width: 34%; }
.bar > i.p35 { width: 35%; }
.bar > i.p36 { width: 36%; }
.bar > i.p37 { width: 37%; }
.bar > i.p38 { width: 38%; }
.bar > i.p39 { width: 39%; }
.bar > i.p40 { width: 40%; }
.bar > i.p41 { width: 41%; }
.bar > i.p42 { width: 42%; }
.bar > i.p43 { width: 43%; }
.bar > i.p44 { width: 44%; }
.bar > i.p45 { width: 45%; }
.bar > i.p46 { width: 46%; }
.bar > i.p47 { width: 47%; }
.bar > i.p48 { width: 48%; }
.bar > i.p49 { width: 49%; }
.bar > i.p50 { width: 50%; }
.bar > i.p51 { width: 51%; }
.bar > i.p52 { width: 52%; }
.bar > i.p53 { width: 53%; }
.bar > i.p54 { width: 54%; }
.bar > i.p55 { width: 55%; }
.bar > i.p56 { width: 56%; }
.bar > i.p57 { width: 57%; }
.bar > i.p58 { width: 58%; }
.bar > i.p59 { width: 59%; }
.bar > i.p60 { width: 60%; }
.bar > i.p61 { width: 61%; }
.bar > i.p62 { width: 62%; }
.bar > i.p63 { width: 63%; }
.bar > i.p64 { width: 64%; }
.bar > i.p65 { width: 65%; }
.bar > i.p66 { width: 66%; }
.bar > i.p67 { width: 67%; }
.bar > i.p68 { width: 68%; }
.bar > i.p69 { width: 69%; }
.bar > i.p70 { width: 70%; }
.bar > i.p71 { width: 71%; }
.bar > i.p72 { width: 72%; }
.bar > i.p73 { width: 73%; }
.bar > i.p74 { width: 74%; }
.bar > i.p75 { width: 75%; }
.bar > i.p76 { width: 76%; }
.bar > i.p77 { width: 77%; }
.bar > i.p78 { width: 78%; }
.bar > i.p79 { width: 79%; }
.bar > i.p80 { width: 80%; }
.bar > i.p81 { width: 81%; }
.bar > i.p82 { width: 82%; }
.bar > i.p83 { width: 83%; }
.bar > i.p84 { width: 84%; }
.bar > i.p85 { width: 85%; }
.bar > i.p86 { width: 86%; }
.bar > i.p87 { width: 87%; }
.bar > i.p88 { width: 88%; }
.bar > i.p89 { width: 89%; }
.bar > i.p90 { width: 90%; }
.bar > i.p91 { width: 91%; }
.bar > i.p92 { width: 92%; }
.bar > i.p93 { width: 93%; }
.bar > i.p94 { width: 94%; }
.bar > i.p95 { width: 95%; }
.bar > i.p96 { width: 96%; }
.bar > i.p97 { width: 97%; }
.bar > i.p98 { width: 98%; }
.bar > i.p99 { width: 99%; }
.bar > i.p100 { width: 100%; }

/* sous 40 % la jauge passe au rouge : la mesure parle d'elle-même */
.bar > i.p0, .bar > i.p1, .bar > i.p2, .bar > i.p3, .bar > i.p4,
.bar > i.p5, .bar > i.p6, .bar > i.p7, .bar > i.p8, .bar > i.p9,
.bar > i.p10, .bar > i.p11, .bar > i.p12, .bar > i.p13, .bar > i.p14,
.bar > i.p15, .bar > i.p16, .bar > i.p17, .bar > i.p18, .bar > i.p19,
.bar > i.p20, .bar > i.p21, .bar > i.p22, .bar > i.p23, .bar > i.p24,
.bar > i.p25, .bar > i.p26, .bar > i.p27, .bar > i.p28, .bar > i.p29,
.bar > i.p30, .bar > i.p31, .bar > i.p32, .bar > i.p33, .bar > i.p34,
.bar > i.p35, .bar > i.p36, .bar > i.p37, .bar > i.p38, .bar > i.p39 {
  background: var(--hot);
}

/* ---------- galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
  list-style: none; padding: 0; margin: 0;
}
.gallery figure { margin: 0; position: relative; }
.gallery img { border: 1px solid var(--line); background: var(--sunk); width: 100%; }
.gallery figure:hover img { border-color: var(--acid); }
.gallery figcaption {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); padding-top: .6rem;
}
.gallery figure:hover figcaption { color: var(--acid); }

/* ---------- journal de build ---------- */

.log { list-style: none; margin: 0; padding: 0; }
.log > li {
  display: grid; grid-template-columns: 8rem 1fr; gap: 1.75rem;
  padding: 1.1rem 0 1.1rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.log > li > div { min-width: 0; }
.log time {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--acid);
  padding-top: .2rem;
}
.log p { margin: 0; color: var(--dim); }
.log p + p { margin-top: .7rem; }

.cmd {
  font-size: .76rem; font-weight: 500;
  color: var(--acid);
  background: var(--panel);
  border: 1px solid var(--line-hot);
  border-left: 2px solid var(--acid);
  padding: 1.1rem .9rem .9rem;
  margin-top: .9rem;
  overflow-x: auto; white-space: pre;
  position: relative;
  line-height: 1.6;
}
.cmd::before {
  content: "SHELL";
  position: absolute; top: 0; left: 0;
  background: var(--acid); color: var(--void);
  font-size: .58rem; letter-spacing: .2em; font-weight: 700;
  padding: 0 .45rem;
}
.cmd.narrow { max-width: 40rem; color: var(--dim); border-left-color: var(--line-hot); }
.cmd.narrow::before { content: "FORMULAIRE"; background: var(--dim); }

@media (max-width: 44rem) {
  .log > li { grid-template-columns: 1fr; gap: .5rem; }
}

/* ---------- checklist ---------- */

.checklist { list-style: none; margin: 0; padding: 0; column-width: 22rem; column-gap: 3rem; }
.checklist li {
  font-size: .8rem; padding-left: 2rem; position: relative;
  margin-bottom: .7rem; break-inside: avoid; color: var(--dim);
}
.checklist li::before {
  content: "OK"; position: absolute; left: 0; top: .15rem;
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  color: var(--void); background: var(--acid);
  padding: .05rem .3rem;
}

/* ---------- bloc confiance ---------- */

.trust {
  border: 1px solid var(--line-hot);
  background: var(--panel);
  padding: 1.75rem;
}
.trust dl {
  margin: 0; display: grid; grid-template-columns: 14rem 1fr;
  gap: .55rem 1.5rem; font-size: .8rem;
}
.trust dt {
  color: var(--faint); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; padding-top: .2rem;
}
.trust dd { margin: 0; color: var(--fg); }
@media (max-width: 44rem) {
  .trust dl { grid-template-columns: 1fr; gap: 0; }
  .trust dd { margin-bottom: 1rem; }
}

/* ---------- notes ---------- */

.note {
  border-left: 2px solid var(--line-hot);
  padding: .35rem 0 .35rem 1.25rem;
  color: var(--faint);
  font-size: .8rem;
}
.note.warn {
  border-left-color: var(--hot);
  color: var(--dim);
  background: rgba(255, 61, 95, .05);
  padding: 1rem 1.25rem;
}
.note.warn strong { color: var(--hot); }

.todo {
  border: 1px dashed var(--hot);
  padding: 1rem 1.15rem;
  font-size: .74rem;
  color: var(--hot);
  background: rgba(255, 61, 95, .06);
  margin: 2rem 0;
  position: relative;
}
.todo::before {
  content: "À FAIRE";
  position: absolute; top: -.55rem; left: .9rem;
  background: var(--void); padding: 0 .5rem;
  font-size: .6rem; letter-spacing: .2em; font-weight: 700;
}

/* ---------- pied ---------- */

.site-foot {
  border-top: 1px solid var(--line-hot);
  background: var(--panel);
  padding: 3.5rem 0 2.5rem;
  font-size: .78rem;
  color: var(--faint);
  margin-top: 4rem;
}
.site-foot .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem 3rem;
}
.site-foot h2 {
  font-family: var(--mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin: 0 0 1rem; color: var(--acid);
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .5rem; }
.site-foot a { color: var(--dim); text-decoration: none; }
.site-foot a:hover { color: var(--acid); background: none; text-decoration: underline; }
.site-foot .legal {
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: .72rem; line-height: 1.8;
}
.site-foot p { margin: 0 0 .5rem; }

/* crédit typographique, ajouté par le pied de page */
.type-credit { color: var(--faint); }
.type-credit a { color: var(--dim); text-decoration: underline; }
