/* ═══ Registre DASRI — DA « Le collecteur » (refonte 25/09/2026) ═══════════════
   L'objet du métier : le collecteur à couvercle jaune, et la feuille du registre.
   Papier chaud, encre vert-noir (le bloc de soins), UN accent vif : le jaune du
   couvercle, réservé à l'essentiel (action principale, date limite, surlignage).
   Titres en Fraunces (italique d'accent), texte en IBM Plex Sans, chiffres et
   numéros de bordereau en IBM Plex Mono.
   🚨 Toute couleur passe par un jeton : le sombre redéfinit les jetons, jamais les
      composants. La FEUILLE reste blanche dans les deux modes (--doc-*). */
:root {
  --papier: #F4F2EC; --papier-2: #ECE8DE; --surface: #FFFFFF; --surface-2: #FAF8F3;
  --encre: #10201E; --encre-2: #3C4A47; --encre-3: #5A6762;
  --filet: #DDD8CC; --filet-2: #C9C2B2;
  --petrole: #0E5C58; --petrole-pale: #E3EFEC;
  --jaune: #FFD23F; --jaune-fonce: #E8B800; --jaune-pale: #FFF3C4; --sur-jaune: #10201E;
  --rouge: #B42318; --rouge-pale: #FDECEA; --vert: #1F6B47; --vert-pale: #E4F3EA;
  --pied: #0B1716; --sur-pied: #DDE4E1;
  --doc-fond: #FFFFFF; --doc-encre: #10201E; --doc-encre-2: #4A5652; --doc-filet: #E3DED3; --doc-tete: #F4F1E9;
  --rayon: 14px; --rayon-s: 9px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ombre-feuille: 0 1px 0 rgba(16,32,30,.04), 0 26px 50px -22px rgba(16,32,30,.30), 0 8px 18px -10px rgba(16,32,30,.12);
  --ombre-carte: 0 1px 2px rgba(16,32,30,.05), 0 10px 26px -16px rgba(16,32,30,.20);
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #0C1413; --papier-2: #111B1A; --surface: #152120; --surface-2: #1A2827;
    --encre: #EEF1EC; --encre-2: #C3CCC8; --encre-3: #97A39E; --filet: #26332F; --filet-2: #35453F;
    --petrole: #86D5CB; --petrole-pale: #173331; --jaune-pale: #3A3217;
    --rouge: #FF8A80; --rouge-pale: #3A1C1A; --vert: #7FD6A4; --vert-pale: #16301F;
    --pied: #070D0C;
    --ombre-feuille: 0 26px 60px -26px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.05);
    --ombre-carte: 0 0 0 1px rgba(255,255,255,.03), 0 12px 30px -18px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #0C1413; --papier-2: #111B1A; --surface: #152120; --surface-2: #1A2827;
  --encre: #EEF1EC; --encre-2: #C3CCC8; --encre-3: #97A39E; --filet: #26332F; --filet-2: #35453F;
  --petrole: #86D5CB; --petrole-pale: #173331; --jaune-pale: #3A3217;
  --rouge: #FF8A80; --rouge-pale: #3A1C1A; --vert: #7FD6A4; --vert-pale: #16301F;
  --pied: #070D0C;
  --ombre-feuille: 0 26px 60px -26px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.05);
  --ombre-carte: 0 0 0 1px rgba(255,255,255,.03), 0 12px 30px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 16px/1.62 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--petrole); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }
h1, h2, h3 { font-family: var(--display); font-weight: 560; line-height: 1.08; letter-spacing: -.018em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.6vw, 4.1rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
::selection { background: var(--jaune); color: #10201E; }
:focus-visible { outline: 3px solid var(--petrole); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.conteneur { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.conteneur--texte { max-width: 780px; }
@media (min-width: 720px) { .conteneur { padding: 0 32px; } }
.surtitre { font: 600 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); margin: 0 0 .9em; display: inline-flex; gap: .5em; align-items: center; }
.surtitre::before { content: ""; width: 18px; height: 6px; border-radius: 2px 2px 0 0; background: var(--jaune); box-shadow: 0 0 0 1.5px var(--encre) inset; }
.surligne { background: linear-gradient(transparent 62%, var(--jaune) 62%, var(--jaune) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:root[data-theme="dark"] .surligne { background-image: linear-gradient(transparent 62%, rgba(255,210,63,.42) 62%, rgba(255,210,63,.42) 92%, transparent 92%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .surligne { background-image: linear-gradient(transparent 62%, rgba(255,210,63,.42) 62%, rgba(255,210,63,.42) 92%, transparent 92%); } }
.note { font-size: .88rem; color: var(--encre-3); }

/* Apparitions douces */
.js .apparait { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .apparait.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .apparait { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ── Boutons ── */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .72em 1.35em; border-radius: 999px;
  border: 1.5px solid var(--encre); background: var(--jaune); color: var(--sur-jaune); font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 var(--encre); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s; }
.bouton:hover { color: var(--sur-jaune); transform: translateY(1px); box-shadow: 0 2px 0 var(--encre); background: #FFDB5E; }
.bouton:active { transform: translateY(3px); box-shadow: 0 0 0 var(--encre); }
.bouton[disabled] { opacity: .55; cursor: wait; transform: none; }
.bouton--second { background: var(--surface); color: var(--encre); box-shadow: none; border-color: var(--filet-2); }
.bouton--second:hover { background: var(--surface-2); color: var(--encre); box-shadow: none; border-color: var(--encre); }
.bouton--petit { min-height: 38px; padding: .45em 1em; font-size: .92rem; }
.bouton--bloc { width: 100%; }
.lien-fleche { font-weight: 600; text-decoration: none; }
.lien-fleche::after { content: " →"; }

/* ── En-tête ── */
.entete { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--papier) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.entete.defile { border-bottom-color: var(--filet); }
.entete .conteneur { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font: 500 1.28rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.marque svg { width: 30px; height: 30px; flex: none; }
.marque em { font-style: italic; font-weight: 400; }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--encre-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--encre); }
.entete-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) { .nav { display: flex; } .entete-actions { margin-left: 18px; } }
.theme-bascule { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--filet-2); background: var(--surface); color: var(--encre); display: inline-grid; place-items: center; cursor: pointer; }
.theme-bascule svg { width: 18px; height: 18px; }
.theme-bascule .lune { display: none; }
:root[data-theme="dark"] .theme-bascule .soleil { display: none; }
:root[data-theme="dark"] .theme-bascule .lune { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-bascule .soleil { display: none; } :root:not([data-theme="light"]) .theme-bascule .lune { display: block; } }
.entete .bouton { min-height: 40px; padding: .45em 1.05em; font-size: .93rem; }
@media (max-width: 420px) { .entete .bouton span.long { display: none; } }

/* ── Sections ── */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--pale { background: var(--papier-2); }
.section--sombre { background: var(--pied); color: var(--sur-pied); }
.section--sombre h2 { color: #fff; }
.section-tete { max-width: 720px; margin-bottom: 40px; }
.section-tete p { color: var(--encre-2); font-size: 1.08rem; }
.grille { display: grid; gap: 20px; }
@media (min-width: 760px) { .grille--2 { grid-template-columns: 1fr 1fr; } .grille--3 { grid-template-columns: repeat(3, 1fr); } }
.carte { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre-carte); }

/* ── Accueil : accroche + démo ── */
.accroche { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 88px); }
.accroche .conteneur { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1020px) { .accroche .conteneur { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; } }
.accroche h1 { margin-top: .1em; }
.accroche .chapo { font-size: clamp(1.05rem, 1rem + .35vw, 1.24rem); color: var(--encre-2); max-width: 36em; }
.accroche-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 18px; }
.preuves { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; color: var(--encre-2); font-size: .95rem; }
.preuves li { display: flex; gap: 10px; align-items: flex-start; }
.preuves svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--vert); }

.demo { background: var(--surface); border: 1px solid var(--filet); border-radius: 20px; box-shadow: var(--ombre-carte); overflow: hidden; }
.demo-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--filet); background: var(--surface-2); font: 500 .8rem/1.2 var(--mono); color: var(--encre-3); text-transform: uppercase; letter-spacing: .06em; }
.demo-tete .pastille-live { display: inline-flex; align-items: center; gap: 6px; }
.demo-tete .pastille-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px var(--vert-pale); }
.demo-corps { padding: 20px 18px 22px; display: grid; gap: 18px; }
.champ-demo label, .etiquette-champ { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { border: 1.5px solid var(--filet-2); background: var(--surface); color: var(--encre); border-radius: 999px; padding: 7px 13px; font: 500 .9rem/1.2 var(--sans); cursor: pointer; transition: all .15s; }
.puce:hover { border-color: var(--encre); }
.puce[aria-pressed="true"] { background: var(--encre); color: var(--papier); border-color: var(--encre); }
.curseur-ligne { display: flex; align-items: center; gap: 14px; }
.curseur-ligne input[type=range] { flex: 1; accent-color: var(--petrole); min-width: 0; }
.valeur-kg { min-width: 96px; text-align: right; font: 600 1.15rem/1 var(--mono); }
.valeur-kg input { width: 70px; text-align: right; font: inherit; border: 1.5px solid var(--filet-2); border-radius: 8px; padding: 6px; background: var(--surface); color: var(--encre); }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.case input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--petrole); flex: none; }
.demo-sortie { display: grid; gap: 12px; }
@media (min-width: 560px) { .demo-sortie { grid-template-columns: 1fr 1fr; } }
.etiquette { position: relative; align-self: start; border: 1.5px solid var(--encre); border-radius: 12px 12px 16px 16px; background: var(--doc-fond); color: var(--doc-encre); padding: 26px 16px 16px; overflow: hidden; }
.etiquette::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--jaune); border-bottom: 1.5px solid var(--encre); }
.etiquette .petit { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--doc-encre-2); }
.etiquette .date-limite { font: 500 clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem)/1.05 var(--display); margin: 6px 0 4px; }
.etiquette .reste { font-weight: 600; font-size: .95rem; }
.verdict { border-radius: 12px; border: 1px solid var(--filet); padding: 14px 16px; background: var(--surface-2); }
.verdict .delai { font: 500 1.9rem/1 var(--display); margin: 4px 0 8px; }
.verdict p { margin: 0 0 .4em; font-size: .92rem; color: var(--encre-2); }
.verdict .source { font-size: .8rem; color: var(--encre-3); }
.a-change { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--jaune-pale); } 100% { background: transparent; } }
.demo-pied { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--filet); background: var(--surface-2); }
.demo-pied p { margin: 0; font-size: .88rem; color: var(--encre-3); }

/* ── Étapes ── */
.etapes { counter-reset: e; display: grid; gap: 18px; }
@media (min-width: 860px) { .etapes { grid-template-columns: repeat(3, 1fr); } }
.etape { position: relative; padding: 26px 22px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); }
.etape::before { counter-increment: e; content: "0" counter(e); font: 500 .85rem/1 var(--mono); color: var(--encre-3); display: block; margin-bottom: 18px; }
.etape svg { width: 44px; height: 44px; margin-bottom: 14px; }
.etape p { color: var(--encre-2); margin: 0; }

/* ── Feuille du registre (toujours blanche) ── */
.feuille { background: var(--doc-fond); color: var(--doc-encre); border-radius: 6px; box-shadow: var(--ombre-feuille); padding: 26px 24px 30px; position: relative; font-size: .86rem; line-height: 1.5; overflow: hidden; }
.feuille h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin: 0; color: var(--doc-encre); }
.feuille .f-tete { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 2px solid var(--doc-encre); padding-bottom: 10px; margin-bottom: 12px; }
.feuille .f-ref { font: 500 .72rem/1.4 var(--mono); color: var(--doc-encre-2); text-align: right; white-space: nowrap; }
.feuille .f-blocs { display: grid; gap: 10px; margin-bottom: 12px; }
@media (min-width: 560px) { .feuille .f-blocs { grid-template-columns: 1fr 1fr; } }
.feuille .f-bloc { border: 1px solid var(--doc-filet); border-radius: 6px; padding: 8px 10px; }
.feuille .f-bloc b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--doc-encre-2); margin-bottom: 3px; }
.feuille .f-delai { background: #FFF6D1; border: 1px solid #E9D48A; border-radius: 6px; padding: 9px 11px; margin-bottom: 12px; }
.feuille .f-tableau { width: 100%; overflow-x: auto; }
.feuille table { width: 100%; border-collapse: collapse; min-width: 520px; }
.feuille th, .feuille td { border-bottom: 1px solid var(--doc-filet); padding: 6px 6px; text-align: left; vertical-align: top; }
.feuille th { font: 600 .66rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--doc-encre-2); background: var(--doc-tete); }
.feuille td.num, .feuille th.num { text-align: right; font-family: var(--mono); white-space: nowrap; }
.feuille .ok { color: #1F6B47; font-weight: 600; }
.feuille .ko { color: #B42318; font-weight: 600; }
.feuille .gris { color: #6A746F; }
.feuille .f-vide { color: #6A746F; text-align: center; padding: 18px 8px; }
.feuille .flou { filter: blur(4.5px); user-select: none; pointer-events: none; }
.feuille .filigrane { position: absolute; inset: 0; pointer-events: none; display: grid; place-items: center; overflow: hidden; z-index: 2; }
.feuille .filigrane span { transform: rotate(-24deg); font: 600 clamp(2.4rem, 7vw, 4.4rem)/1 var(--display); color: rgba(16,32,30,.07); letter-spacing: .08em; white-space: nowrap; }
.feuille .f-verrou { position: relative; z-index: 3; margin-top: 14px; border: 1.5px solid #10201E; border-radius: 12px; background: #FFFBEA; padding: 14px 16px; }
.feuille .f-verrou p { margin: 0 0 10px; color: #10201E; }
.feuille .ligne-change td { animation: flash 1.4s var(--ease); }
.feuille tr.trouve td { background: #FFF3C4; }
@media print { .feuille { display: none !important; } }

/* ── Tarifs ── */
.tarifs { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .tarifs { grid-template-columns: 1fr 1.08fr 1fr; } }
.tarif { position: relative; background: var(--surface); border: 1px solid var(--filet); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.tarif--phare { border: 2px solid var(--encre); box-shadow: 0 6px 0 var(--encre); }
.tarif .badge { position: absolute; top: -13px; left: 24px; background: var(--jaune); color: #10201E; border: 1.5px solid var(--encre); border-radius: 999px; padding: 3px 12px; font: 600 .78rem/1.4 var(--sans); }
.tarif h3 { margin: 0; }
.tarif .prix { font: 500 2.6rem/1 var(--display); }
.tarif .prix small { font: 500 1rem var(--sans); color: var(--encre-3); }
.tarif .soit { color: var(--encre-2); font-size: .92rem; margin: -6px 0 0; min-height: 1.4em; }
.tarif ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; flex: 1; }
.tarif li { position: relative; padding-left: 26px; font-size: .95rem; }
.tarif li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--vert-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231F6B47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.garanties { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; color: var(--encre-2); font-size: .92rem; }

/* ── FAQ ── */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--sans); color: var(--encre-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--encre-2); margin: 0 0 18px; }

/* ── Bandeau final ── */
.final { text-align: center; }
.final h2 { max-width: 16em; margin: 0 auto .4em; }
.final p { color: var(--sur-pied); opacity: .85; max-width: 34em; margin: 0 auto 26px; }

/* ── Pied ── */
.pied { background: var(--pied); color: var(--sur-pied); padding: 56px 0 30px; font-size: .93rem; }
.pied a { color: var(--sur-pied); text-decoration: none; }
.pied a:hover { color: #fff; text-decoration: underline; }
.pied .marque { color: #fff; }
.pied-grille { display: grid; gap: 30px; }
@media (min-width: 820px) { .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.pied h4 { font: 600 .78rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #9FB0AA; margin: 0 0 12px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.pied-bas { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; color: #9FB0AA; font-size: .85rem; }
.pied button.lien { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ── Pages texte (guides, légal) ── */
.page-texte { padding: 40px 0 80px; }
.fil { font-size: .86rem; color: var(--encre-3); margin-bottom: 18px; }
.fil a { color: var(--encre-3); }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem); margin: 1.8em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose ul.coche { list-style: none; padding: 0; }
.prose ul.coche li { position: relative; padding-left: 28px; }
.prose ul.coche li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 4px; background: var(--jaune); box-shadow: 0 0 0 1.5px var(--encre) inset; }
.tableau { overflow-x: auto; margin: 1em 0; border: 1px solid var(--filet); border-radius: 12px; background: var(--surface); }
.tableau table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.tableau caption { text-align: left; padding: 12px 14px; font-size: .85rem; color: var(--encre-3); caption-side: bottom; }
.tableau th, .tableau td { padding: 11px 14px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: top; }
.tableau th { font: 600 .78rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--encre-3); background: var(--surface-2); }
.encart { border: 1.5px solid var(--encre); border-radius: 16px; background: var(--surface); padding: 22px; margin: 34px 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .encart { grid-template-columns: 1fr auto; align-items: center; } }
.encart p { margin: 0; color: var(--encre-2); }
.voisins { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .voisins { grid-template-columns: 1fr 1fr; } }
.voisins a { display: block; padding: 12px 14px; background: var(--surface); border: 1px solid var(--filet); border-radius: 10px; text-decoration: none; color: var(--encre); font-weight: 500; }
.voisins a:hover { border-color: var(--encre); }

/* ── Formulaires ── */
.champ { display: grid; gap: 6px; }
.champ label, .champ .libelle { font-weight: 600; font-size: .92rem; }
.champ .aide { font-size: .83rem; color: var(--encre-3); }
.saisie, .champ input:not([type=checkbox]):not([type=radio]), .champ select, .champ textarea {
  width: 100%; min-height: 46px; border: 1.5px solid var(--filet-2); border-radius: 10px; background: var(--surface); color: var(--encre);
  font: 400 1rem/1.3 var(--sans); padding: 10px 12px; transition: border-color .15s, box-shadow .15s; }
.champ textarea { min-height: 80px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--petrole); box-shadow: 0 0 0 3px var(--petrole-pale); }
.champ.erreur input, .champ.erreur select { border-color: var(--rouge); box-shadow: 0 0 0 3px var(--rouge-pale); }
.champ .msg-erreur { color: var(--rouge); font-size: .84rem; font-weight: 500; }
.flash { border-radius: 12px; padding: 12px 16px; margin: 16px 0; font-weight: 500; }
.flash--success { background: var(--vert-pale); color: var(--vert); }
.flash--error { background: var(--rouge-pale); color: var(--rouge); }

/* ── Espace ── */
.espace-grille { display: grid; gap: 18px; }
.ligne-registre { display: grid; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--filet); border-radius: 14px; }
@media (min-width: 760px) { .ligne-registre { grid-template-columns: 1fr auto; align-items: center; } }
.etat { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.etat--ok { background: var(--vert-pale); color: var(--vert); }
.etat--alerte { background: var(--rouge-pale); color: var(--rouge); }
.etat--neutre { background: var(--papier-2); color: var(--encre-2); }
.etat--jaune { background: var(--jaune-pale); color: var(--encre); }
#feuilleExemple { min-width: 0; }
.feuille { max-width: 100%; }
.feuille td.ok, .feuille td.ko, .feuille td.gris { white-space: nowrap; }
.entete .bouton { white-space: nowrap; }

/* ── 26/09 minimalisme : héros = texte court + vrai registre ── */
.accroche--simple .conteneur { grid-template-columns: minmax(0, 1fr) !important; gap: clamp(28px, 4vw, 48px); }
.accroche--simple .accroche-texte { max-width: 760px; }
.accroche--simple h1 { margin-bottom: .35em; }
.accroche--simple .chapo { max-width: 32em; margin: 0; }
.accroche--simple .accroche-cta { margin: 26px 0 0; }
.accroche-feuille { margin: 0; min-width: 0; }
.accroche-feuille .feuille { font-size: .8rem; }
.accroche-feuille .feuille { transform: rotate(-.6deg); }
.accroche-feuille figcaption { margin-top: 14px; font-size: .86rem; color: var(--encre-3); }
@media (min-width: 1020px) {
  .accroche--simple .conteneur { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr) !important; align-items: center; gap: 48px; }
  .accroche--simple h1 { font-size: clamp(2.6rem, 1.2rem + 2.2vw, 3.6rem); }
  .accroche-feuille td:nth-child(7) { white-space: nowrap; }
}
@media (max-width: 560px) { .accroche-feuille .feuille { transform: none; } }
.sources-ligne { margin: 28px 0 0; font-size: .86rem; color: var(--encre-3); line-height: 1.7; }
.sources-ligne a { color: var(--encre-2); }
