/* Journal · « Nuit » (mydomini.fr, concept izak, 2 décembre 2026)
   Un magazine sombre dans la grammaire de l'accueil A : ouverture plein cadre, titres en Mona Sans large qui montent ligne à ligne,
   images qui se dévoilent, bande épinglée, lecture en Newsreader sur fond nuit, fiche pratique sur papier ivoire.
   Filets à 12 %, rayons de 3 px, le bleu seulement pour l'action principale. Animations : transform, opacity, clip-path. */

/* ---------- titres longs (allemand, néerlandais) : coupure des mots plutôt que débordement ---------- */
.jh-t, .je-t, .je-l, .jq-t, .jq-l, .jg-h, .ja-t, .ah-t, .ah-sub, .ab-col h2, .ab-col h3, .jt, .ab-sheet-t b, .acta-t .n-h2, .jend-in .n-h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* ---------- repère : rubrique, format, durée ---------- */
.jk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0; font-size: 13px; font-weight: 540; line-height: 1.3; color: var(--n-fg-3); }
.jk > * + *::before { content: ""; display: inline-block; width: 14px; height: 1px; margin: 0 10px; vertical-align: middle; background: currentColor; opacity: .55; }
.jk a { color: var(--n-fg-2); transition: color .3s; }
.jk a:hover { color: var(--n-fg); }
.jk-front { color: var(--n-fg); }

/* ---------- couverture : le titre du journal, l'article à la une ---------- */
.jh .n-hero-shade { background:
  linear-gradient(180deg, rgba(10,10,11,.78) 0%, rgba(10,10,11,.5) 30%, rgba(10,10,11,.42) 52%, rgba(10,10,11,.82) 78%, rgba(10,10,11,.97) 100%),
  linear-gradient(90deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,0) 62%); }
.jh .n-hero-in { flex: 1; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0; justify-items: stretch; padding-bottom: clamp(30px, 5vh, 64px); }
.jcr { justify-self: start; }
.jh-mast { justify-self: start; margin: clamp(10px, 2vh, 24px) 0 0 -.05em; font-size: min(270px, calc((100vw - 2 * var(--gut)) / var(--mw, 5))); font-stretch: 122%; font-weight: 430; line-height: .86; white-space: nowrap; }
.jh-low { align-self: end; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 290px); align-items: end; gap: 30px clamp(40px, 6vw, 120px); padding-top: clamp(28px, 5vh, 60px); }
.jh-story { display: grid; gap: clamp(14px, 1.5vw, 22px); justify-items: start; min-width: 0; }
.jh-t { font-size: clamp(32px, 3.6vw, 62px); line-height: 1.02; max-width: 15em; text-wrap: balance; }
.jh-t a { transition: opacity .4s; }
.jh-t a:hover { opacity: .82; }
.jh-l { margin: 0; max-width: 33em; font-family: var(--read); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: var(--n-fg-2); text-wrap: pretty; }
.jh-story .n-acts { margin-top: 4px; }
.jh-aside { display: grid; gap: 14px; justify-items: start; padding-bottom: 8px; font-size: 14.5px; line-height: 1.5; color: var(--n-fg-2); }
.jh-aside p { margin: 0; }
.jh-up { font-size: 13px; color: var(--n-fg-3); }
.jh-aside .n-cue { margin-top: 10px; }

/* ---------- la barre des rubriques (collée sous l'en-tête) ---------- */
.jn { position: sticky; top: var(--hd); z-index: 40; background: rgba(10,10,11,.86); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--n-line-2); }
.jn-l { list-style: none; margin: 0; padding: 0 var(--gut); display: flex; gap: clamp(20px, 2.6vw, 44px); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.jn-l::-webkit-scrollbar { display: none; }
.jn-l li { flex: none; }
.jn-l a { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 54px; white-space: nowrap; font-size: 14.5px; font-weight: 520; color: var(--n-fg-3); transition: color .4s; }
.jn-l a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--n-fg); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .8s var(--n-ease); }
.jn-l a:hover, .jn-l a[aria-current] { color: var(--n-fg); }
.jn-l a:hover::after, .jn-l a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.jn-l sup { top: -.55em; font-variant-numeric: normal; font-size: 11px; font-weight: 560; color: var(--n-fg-3); }

/* ---------- la mosaïque : des rangées au rythme varié ---------- */
.jm { --cg: clamp(16px, 2vw, 32px); padding-top: clamp(90px, 9vw, 150px); }
.jm > .n-sec-h { margin-bottom: clamp(50px, 6vw, 100px); }
.jm--tight { padding-top: clamp(70px, 7vw, 110px); }
.jr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); }
.jr + .jr { margin-top: clamp(100px, 10vw, 180px); }
.jm--tight .jr + .jr { margin-top: clamp(70px, 7vw, 120px); }
.je { position: relative; min-width: 0; }
.je-img { position: relative; display: block; overflow: hidden; overflow: clip; border-radius: 3px; background: var(--n-bg-3); }
.je-img img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; max-width: none; object-fit: cover; filter: brightness(.86) saturate(.86); transition: filter 1s var(--n-ease); }
.je:hover .je-img img { filter: none; }
.js .je-img.in > img { transition: scale 2.2s var(--n-ease), filter 1s var(--n-ease); }
.je-txt { display: grid; gap: 12px; justify-items: start; padding-top: 20px; }
.je-t { max-width: 22em; font-stretch: 112%; font-weight: 500; font-size: clamp(20px, 1.6vw, 27px); line-height: 1.14; text-wrap: balance; }
.je-t a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .9s var(--n-ease); }
.je:hover .je-t a, .je-t a:focus-visible { background-size: 100% 1px; }
.je-l { margin: 0; max-width: 31em; font-family: var(--read); font-size: clamp(16.5px, 1.15vw, 19px); line-height: 1.5; color: var(--n-fg-2); text-wrap: pretty; }
.je-go { margin-top: 4px; }

/* couverture typographique, à la place d'une photo déjà montrée sur la page */
.je-img.is-type, .jg-img.is-type { display: flex; align-items: flex-end; padding: clamp(18px, 2vw, 32px); background: var(--n-bg-3); box-shadow: inset 0 0 0 1px var(--n-line-2); }
.jt { display: block; font-stretch: 116%; font-weight: 480; font-size: clamp(24px, 2.3vw, 40px); line-height: 1.05; color: var(--n-fg); text-wrap: balance; }
.jt-a, .jt-b { display: block; }
.jt-b { font-family: var(--read); font-stretch: normal; font-style: italic; font-weight: 400; color: var(--n-fg-2); }
.jt--q { font-family: var(--read); font-stretch: normal; font-style: italic; font-weight: 400; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.38; color: var(--n-fg-2); }

/* une grande image et son texte */
.je--xl { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: end; }
.je--xl .je-img { grid-column: 1 / 9; grid-row: 1; aspect-ratio: 4 / 3; }
.je--xl .je-txt { grid-column: 9 / -1; grid-row: 1; gap: 16px; padding: 0 0 4px; }
.je--xl .je-t, .je--wide .je-t { font-stretch: 118%; font-weight: 460; line-height: 1.02; }
.je--xl .je-t { font-size: clamp(28px, 2.8vw, 50px); }
.je--xl .jt { font-size: clamp(34px, 3.6vw, 64px); }
.jr--xl.is-flip .je-img { grid-column: 5 / -1; }
.jr--xl.is-flip .je-txt { grid-column: 1 / 5; }
/* deux images décalées */
.je--port { grid-column: 2 / 6; grid-row: 1; }
.je--port .je-img { aspect-ratio: 4 / 5; }
.je--land { grid-column: 7 / -1; grid-row: 1; margin-top: clamp(90px, 15vw, 270px); }
.je--land .je-img { aspect-ratio: 3 / 2; }
.jr--pair.is-flip .je--port { grid-column: 8 / 12; }
.jr--pair.is-flip .je--land { grid-column: 1 / 7; }
/* trois en escalier */
.je--tri { grid-column: span 4; }
.je--tri .je-img { aspect-ratio: 4 / 5; }
.je--tri:nth-child(2) { margin-top: clamp(60px, 8vw, 150px); }
.je--tri:nth-child(3) { margin-top: clamp(24px, 3.5vw, 64px); }
.je--tri .jt { font-size: clamp(22px, 1.9vw, 32px); }
/* plein cadre, le titre sur l'image */
.jr--wide { display: block; margin-inline: calc(var(--gut) * -1); }
.je--wide .je-img { aspect-ratio: 21 / 9; max-height: 92vh; border-radius: 0; }
.je--wide .je-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.1) 35%, rgba(10,10,11,.88) 100%), linear-gradient(90deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 60%); pointer-events: none; }
.je--wide .je-txt { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(30px, 4.4vw, 70px); padding: 0; gap: 16px; pointer-events: none; }
.je--wide .je-txt a { pointer-events: auto; }
.je--wide .je-t { max-width: 17em; font-size: clamp(30px, 3.6vw, 64px); }
.je--wide .je-l { max-width: 36em; }
.je--wide .je-go { display: none; }
/* sans photo : une ligne de titre */
.jr--quote { display: block; }
.jq { position: relative; display: grid; gap: 18px; justify-items: start; max-width: 1160px; margin-left: calc((100% + var(--cg)) / 12); padding: clamp(36px, 4vw, 64px) 90px clamp(36px, 4vw, 64px) 0; border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); }
.jq-t { max-width: 18em; font-stretch: 118%; font-weight: 460; font-size: clamp(28px, 3.3vw, 56px); line-height: 1.03; text-wrap: balance; }
.jq-t a { transition: opacity .4s; }
.jq-t a:hover { opacity: .8; }
.jq-l { margin: 0; max-width: 32em; font-family: var(--read); font-size: clamp(18px, 1.5vw, 24px); line-height: 1.4; color: var(--n-fg-2); }
.jq-l em { font-style: italic; color: var(--n-fg); }
.jq-go { position: absolute; right: 0; top: clamp(36px, 4vw, 64px); }

/* ---------- la bande épinglée : guides pratiques, articles liés ---------- */
.jst .n-strip-head .n-lead { font-size: clamp(15px, 1.1vw, 17px); }
.jst .n-strip-track > * { width: clamp(250px, min(27vw, 46vh), 430px); }
.jg { display: block; color: var(--n-fg); }
.jg-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; overflow: clip; border-radius: 3px; background: var(--n-bg-3); }
.jg-img img { position: absolute; top: 0; left: -9%; width: 118%; height: 100%; max-width: none; object-fit: cover; filter: brightness(.86) saturate(.86); transition: scale 1.4s var(--n-ease), filter 1s var(--n-ease); }
.jg:hover .jg-img img { filter: none; }
.jg:hover .jg-img img { scale: 1.045; }
.jg-img.is-type { transition: background .5s; }
.jg:hover .jg-img.is-type { background: var(--n-bg-4); }
.jg-img .jt { font-size: clamp(22px, 1.9vw, 32px); }
.jg-m { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; font-size: 12.5px; color: var(--n-fg-3); }
.jg-m .jg-t { margin-left: auto; white-space: nowrap; }
.jg-h { display: block; margin-top: 8px; font-stretch: 112%; font-size: clamp(17px, 1.25vw, 20px); font-weight: 520; line-height: 1.24; text-wrap: balance; }
/* sans script ou mouvement réduit : la bande défile à la main, rien n'est caché */
@media (min-width: 900px) {
  .no-js .jst .n-strip-pin, .reduce .jst .n-strip-pin { display: block; min-height: 0; padding: clamp(80px, 9vw, 140px) 0; }
  .no-js .jst .n-strip-rail, .reduce .jst .n-strip-rail { display: block; }
  .no-js .jst .n-strip-head, .reduce .jst .n-strip-head { width: auto; padding: 0 var(--gut) 40px; }
  .no-js .jst .n-strip-track, .reduce .jst .n-strip-track { overflow-x: auto; padding: 0 var(--gut) 24px; }
  .no-js .jst .n-strip-prog, .reduce .jst .n-strip-prog { display: none; }
}

/* ---------- l'index des rubriques ---------- */
.jx-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n-line); }
.jx-l > li { border-bottom: 1px solid var(--n-line); }
.jx-a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 24em) 96px 64px; align-items: center; gap: 24px; padding: clamp(22px, 2.4vw, 36px) 0; transition: opacity .6s var(--n-ease); }
.jx-n { font-size: 13px; font-weight: 560; color: var(--n-fg-3); }
.jx-t { font-size: clamp(30px, 3.7vw, 66px); line-height: 1; text-wrap: balance; -webkit-hyphens: auto; hyphens: auto; transition: transform 1s var(--n-ease); }
.jx-p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 14.5px; line-height: 1.5; color: var(--n-fg-2); }
.jx-c { font-size: 13px; color: var(--n-fg-3); white-space: nowrap; text-align: right; }
.jx-im { display: none; }
.jx-l:hover .jx-a { opacity: .34; }
.jx-l .jx-a:hover, .jx-l .jx-a:focus-visible { opacity: 1; }
.jx-a:hover .jx-t { transform: translate3d(18px, 0, 0); }

/* l'image qui suit la souris (index des rubriques, sommaire) */
.jfl { position: fixed; left: 0; top: 0; z-index: 45; pointer-events: none; will-change: transform; }
.jfl-in { position: absolute; left: 48px; top: 0; width: 300px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--n-bg-3); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); opacity: 0; transform: translate3d(0, -50%, 0) scale(.82); transition: opacity .35s, transform .7s var(--n-ease); }
.jfl.is-s .jfl-in { width: 240px; aspect-ratio: 3 / 2; }
.jfl.on .jfl-in { opacity: 1; transform: translate3d(0, -50%, 0); }
.jfl img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- le sommaire de tous les articles ---------- */
.ja-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 26px 40px; margin-bottom: clamp(34px, 4vw, 60px); }
.ja-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.ja-q { position: relative; display: flex; align-items: center; width: min(380px, 100%); height: 50px; border-bottom: 1px solid var(--n-line); transition: border-color .4s; }
.ja-q:focus-within { border-color: var(--n-fg); }
.ja-q label { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; height: 100%; cursor: text; }
.ja-q .ic { width: 18px; height: 18px; color: var(--n-fg-3); }
.ja-q input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; outline: none; color: var(--n-fg); font-size: 16px; -webkit-appearance: none; appearance: none; }
.ja-q input::placeholder { color: var(--n-fg-3); opacity: 1; }
.ja-q input::-webkit-search-cancel-button { display: none; }
.ja-x { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--n-fg-3); transition: color .3s, background .3s; }
.ja-x:hover { color: var(--n-fg); background: rgba(255,255,255,.06); }
.ja-x .ic { width: 16px; height: 16px; }
.ja-n-all { margin: 0; font-size: 13px; color: var(--n-fg-3); white-space: nowrap; }
.ja-n-all b { font-weight: 560; color: var(--n-fg); }
.no-js .ja-q { display: none; }
.ja-l { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n-line); }
.ja-row { border-bottom: 1px solid var(--n-line-2); }
.ja-row[hidden] { display: none !important; }
.js .ja-row.is-more { display: none; }
.js .ja.is-all .ja-row.is-more, .js .ja.is-q .ja-row.is-more { display: block; }
.ja-row a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 200px) 84px 64px; align-items: baseline; gap: 20px; padding: 20px 0; transition: opacity .5s var(--n-ease), transform .8s var(--n-ease); }
.ja-n { font-size: 12.5px; color: var(--n-fg-3); }
.ja-t { font-stretch: 110%; font-size: clamp(16px, 1.2vw, 19px); font-weight: 500; line-height: 1.3; text-wrap: pretty; }
.ja-r, .ja-k, .ja-m { font-size: 13.5px; color: var(--n-fg-3); }
.ja-m { text-align: right; white-space: nowrap; }
.ja-l:hover .ja-row a { opacity: .42; }
.ja-l .ja-row a:hover, .ja-l .ja-row a:focus-visible { opacity: 1; transform: translate3d(12px, 0, 0); }
.ja-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 66px; border-bottom: 1px solid var(--n-line); font-size: 14.5px; font-weight: 540; color: var(--n-fg-2); transition: color .3s, background .3s; }
.ja-more:hover { color: var(--n-fg); background: rgba(255,255,255,.03); }
.ja-more .ic { width: 18px; height: 18px; }
.no-js .ja-more, .ja-more[hidden] { display: none; }
.ja-none { display: grid; justify-items: start; gap: 18px; padding: 40px 0; border-bottom: 1px solid var(--n-line); }
.ja-none[hidden] { display: none; }
.ja-none p { margin: 0; font-stretch: 112%; font-size: 20px; font-weight: 500; }

/* ---------- fin des pages de liste : un conseiller ---------- */
.jend { position: relative; display: flex; align-items: flex-end; min-height: 88vh; min-height: 88svh; overflow: hidden; overflow: clip; isolation: isolate; color: var(--n-fg); }
.jend-img { position: absolute; inset: 0; z-index: -2; }
.jend-img img { width: 100%; height: 100%; object-fit: cover; }
.jend-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,10,11,.94) 0%, rgba(10,10,11,.35) 30%, rgba(10,10,11,.42) 55%, rgba(10,10,11,.95) 100%),
  linear-gradient(90deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,0) 66%); }
.jend-in { display: grid; gap: clamp(18px, 2vw, 28px); justify-items: start; max-width: 1040px; padding: clamp(90px, 10vw, 160px) var(--gut) clamp(60px, 8vw, 120px); }
.jend-in .n-lead { max-width: 32em; }

/* ---------- rubrique : une ouverture plus sombre à gauche pour le texte ---------- */
.jr-hero .n-hero-shade { background:
  linear-gradient(180deg, rgba(10,10,11,.66) 0%, rgba(10,10,11,.16) 24%, rgba(10,10,11,.3) 50%, rgba(10,10,11,.82) 80%, rgba(10,10,11,.97) 100%),
  linear-gradient(90deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,.2) 50%, rgba(10,10,11,0) 75%); }
.jr-hero .n-lead { max-width: 34em; color: rgba(244,241,234,.8); }
.jr-hero .n-hero-in { grid-template-columns: minmax(0, 1fr); }
.jr-hero .n-h1 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

/* ---------- article : l'ouverture ---------- */
.ah .n-hero-shade { background:
  linear-gradient(180deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.26) 24%, rgba(10,10,11,.36) 48%, rgba(10,10,11,.84) 76%, rgba(10,10,11,.97) 100%),
  linear-gradient(90deg, rgba(10,10,11,.5) 0%, rgba(10,10,11,0) 64%); }
.ah-in { gap: clamp(14px, 1.6vw, 22px); }
.ah-t { max-width: 16em; margin-left: -.03em; font-size: clamp(36px, 4.6vw, 84px); line-height: 1.01; text-wrap: balance; }
.ah-t.is-long { max-width: 18em; font-size: clamp(32px, 3.9vw, 70px); }
.ah-sub { margin: 0; max-width: 30em; font-family: var(--read); font-size: clamp(19px, 1.6vw, 26px); line-height: 1.35; color: var(--n-fg-2); }
.ah-sub em { font-style: italic; color: var(--n-fg); }
.ah-fb { margin: 0; font-size: 13px; color: var(--n-fg-3); }
/* la ligne de lecture */
.ab-prog { position: fixed; left: 0; right: 0; top: var(--hd); z-index: 58; height: 2px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.ab-prog.on { opacity: 1; }
.ab-prog i { display: block; height: 100%; background: rgba(244,241,234,.82); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- article : la colonne de lecture (64 à 70 signes par ligne) ---------- */
.ab { --fs: clamp(18px, calc(.9vw + 6px), 21px); --col: calc(var(--fs) * 30); --gap: clamp(44px, 5vw, 90px); position: relative; padding: clamp(70px, 8vw, 130px) var(--gut) clamp(70px, 8vw, 130px); }
.ab-col { max-width: var(--col); margin-inline: auto; font-size: var(--fs); }
.ab-col p { margin: 0 0 1.1em; text-wrap: pretty; }
.ab-col li { margin: 0; }
.ab-col h2 { margin: 0 0 .7em; text-wrap: balance; }
.ab-col em { font-style: italic; }
.ab-lead { margin: 0 0 1.5em !important; font-size: 1.3em; line-height: 1.42; color: var(--n-fg); }
.ab-k { margin: 0 0 .9em !important; font: 560 13px/1.3 var(--sans); color: var(--n-fg-3); }
/* chapitres */
.ab-ch { position: relative; padding-top: clamp(44px, 4.4vw, 72px); scroll-margin-top: calc(var(--hd) + 24px); }
.ab-ch-n { display: flex; align-items: center; gap: 14px; margin: 0 0 16px !important; font: 560 13px/1 var(--sans); color: var(--n-fg-3); }
.ab-ch-n::after { content: ""; width: 44px; height: 1px; background: var(--n-line); }
.ab-ch:first-of-type h2 + p::first-letter { float: left; margin: .05em .09em 0 0; font-family: var(--sans); font-stretch: 118%; font-weight: 460; font-size: 3.5em; line-height: .8; color: var(--n-fg); }
/* les points numérotés */
.ab-pts { list-style: none; margin: 1.5em 0 .6em; padding: 0; border-top: 1px solid var(--n-line); }
.ab-pts li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); padding: 1.05em 0 1.1em; border-bottom: 1px solid var(--n-line-2); }
.ab-pts-n { font: 560 13px/2 var(--sans); color: var(--n-fg-3); }
.ab-pts h3 { margin: 0 0 .35em; font-family: var(--sans); font-stretch: 110%; font-size: .92em; font-weight: 540; line-height: 1.35; color: var(--n-fg); }
.ab-pts p { margin: 0 !important; font-size: .95em; color: var(--n-fg-2); }
/* le conseil : un encadré tenu par un filet ; en marge sur grand écran */
.ab-tip { max-width: 27em; margin: 1.9em 0 .6em; padding: 1.15em 0 0; border-top: 1px solid var(--n-fg); }
.ab-tip-k { margin: 0 0 .55em !important; font: 560 13px/1.3 var(--sans); color: var(--n-fg); }
.ab-tip-t { margin: 0 !important; font-style: italic; font-size: 1.06em; line-height: 1.52; color: var(--n-fg); }
/* l'exemple : un cas en encadré sombre, plus large que la colonne */
.ab-ex { margin: clamp(56px, 5vw, 84px) calc(clamp(0px, 4vw, 64px) * -1) 0; padding: clamp(28px, 3.2vw, 50px) clamp(22px, 4vw, 64px) clamp(14px, 1.8vw, 26px); border-radius: 3px; background: var(--n-bg-2); box-shadow: inset 0 0 0 1px var(--n-line-2); scroll-margin-top: calc(var(--hd) + 24px); }
.ab-ex h2 { font-size: clamp(22px, 1.8vw, 29px) !important; }
.ab-ex p { font-size: .96em; }

/* la fiche pratique : une feuille ivoire, à cocher et à imprimer */
.ab-sheet { margin: clamp(56px, 5vw, 84px) calc(clamp(0px, 5vw, 80px) * -1) 0; padding: clamp(28px, 3.4vw, 56px) clamp(22px, 4.4vw, 72px) clamp(24px, 3vw, 44px); border-radius: 3px; font-family: var(--sans); font-size: 16px; color: var(--n-ink); box-shadow: 0 50px 100px -50px rgba(0,0,0,.9); scroll-margin-top: calc(var(--hd) + 24px); }
.ab-print { display: none; }
.ab-sheet-hd { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
.ab-sheet h2 { margin: 0 0 .45em !important; font-stretch: 116%; font-weight: 480; font-size: clamp(26px, 2.4vw, 40px); line-height: 1.06; color: var(--n-ink); }
.ab-sheet-hint { max-width: 30em; margin: 0 !important; font-family: var(--read); font-size: 17px; line-height: 1.5; color: var(--n-ink-2); }
.ab-sheet-n { margin: 0 !important; font-size: 14px; color: var(--n-ink-3); white-space: nowrap; }
.ab-sheet-n b { margin-right: 6px; font-stretch: 118%; font-weight: 460; font-size: clamp(46px, 4vw, 66px); line-height: 1; color: var(--n-ink); }
.ab-bar { height: 2px; margin: 26px 0 6px; background: rgba(22,19,15,.1); overflow: hidden; }
.ab-bar i { display: block; height: 100%; background: var(--n-ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--n-ease); }
.ab-sheet-l { list-style: none; margin: 0; padding: 0; }
.ab-sheet-l li { border-bottom: 1px solid rgba(22,19,15,.1); }
.ab-sheet-l label { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 18px; padding: 18px 0; cursor: pointer; }
.ab-sheet-l input { position: absolute; opacity: 0; pointer-events: none; }
.ab-box { width: 24px; height: 24px; margin-top: 1px; display: grid; place-items: center; border-radius: 3px; color: transparent; box-shadow: inset 0 0 0 1.5px rgba(22,19,15,.42); transition: background .3s, box-shadow .3s, color .3s; }
.ab-box .ic { width: 16px; height: 16px; stroke-width: 2; }
.ab-sheet-l label:hover .ab-box { box-shadow: inset 0 0 0 1.5px var(--n-ink); }
.ab-sheet-l input:checked + .ab-box { background: var(--n-ink); color: var(--n-ivory); box-shadow: none; }
.ab-sheet-l input:focus-visible + .ab-box { outline: 2px solid var(--n-ink); outline-offset: 3px; }
.ab-sheet-t { display: grid; gap: 4px; }
.ab-sheet-t b { font-size: 16.5px; font-weight: 560; line-height: 1.4; color: var(--n-ink); transition: color .3s; }
.ab-sheet-t span { font-family: var(--read); font-size: 16.5px; line-height: 1.5; color: var(--n-ink-2); }
.ab-sheet-l input:checked ~ .ab-sheet-t b { color: var(--n-ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.ab-sheet-ft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 30px; margin-top: 28px; }
.ab-sheet-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.ab-sheet .n-btn { height: 50px; }
.ab-sheet .n-btn .ic { order: -1; }
.ab-sheet .n-btn:hover .ic { transform: none; }
.ab-sheet .n-link { font-size: 14.5px; }
.ab-sheet-s { margin: 0 !important; font-size: 13.5px; line-height: 1.5; color: var(--n-ink-3); }
.ab-sheet-ok { font-weight: 560; color: var(--n-ink); }
.ab-reset { margin-left: 8px; font-size: 13.5px; font-weight: 560; color: var(--n-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(22,19,15,.35); }
.ab-reset[hidden] { display: none; }
/* sources */
.ab-src { margin-top: clamp(56px, 5vw, 84px); font-family: var(--sans); scroll-margin-top: calc(var(--hd) + 24px); }
.ab-src h2 { margin: 0 0 14px !important; font-size: 15px !important; font-stretch: 110% !important; font-weight: 560 !important; }
.ab-src ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n-line); counter-reset: s; }
.ab-src li { border-bottom: 1px solid var(--n-line-2); counter-increment: s; }
.ab-src a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 10px; padding: 14px 0; font-size: 15px; line-height: 1.45; color: var(--n-fg-2); text-decoration: none; transition: color .3s; }
.ab-src a::before { content: counter(s, decimal-leading-zero); padding-top: 2px; font-size: 12.5px; color: var(--n-fg-3); }
.ab-src small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--n-fg-3); }
.ab-src .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--n-fg-3); }
.ab-src a:hover { color: var(--n-fg); }

/* le sommaire : collant à gauche sur ordinateur, repliable ailleurs */
.ab-side { display: none; }
.ab-toc ol, .ab-tocm ol { list-style: none; margin: 0; padding: 0; }
.ab-toc a, .ab-tocm a { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px; padding: 9px 0 9px 16px; font-family: var(--sans); font-size: 14px; line-height: 1.38; color: var(--n-fg-3); text-decoration: none; transition: color .4s; }
.ab-toc a span, .ab-tocm a span { padding-top: 1px; font-size: 12px; }
.ab-toc a b, .ab-tocm a b { font-weight: 480; }
.ab-toc a::before, .ab-toc a::after { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--n-line); }
.ab-toc a::after { background: var(--n-fg); transform: scaleY(0); transform-origin: 50% 0; transition: transform .7s var(--n-ease); }
.ab-toc a:hover, .ab-toc a[aria-current], .ab-tocm a:hover, .ab-tocm a[aria-current] { color: var(--n-fg); }
.ab-toc a[aria-current]::after { transform: scaleY(1); }
.ab-toc-k { margin: 0 0 14px 16px; font-size: 13px; font-weight: 560; color: var(--n-fg); }
.ab-toc-m { margin: 18px 0 0 16px; font-size: 12.5px; color: var(--n-fg-3); }
.ab-tocm { margin: 0 0 .6em; border-top: 1px solid var(--n-line); border-bottom: 1px solid var(--n-line); font-family: var(--sans); }
.ab-tocm summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 15px; font-weight: 560; color: var(--n-fg); cursor: pointer; }
.ab-tocm summary::-webkit-details-marker { display: none; }
.ab-tocm summary .ic { width: 18px; height: 18px; transition: transform .5s var(--n-ease); }
.ab-tocm[open] summary .ic { transform: rotate(45deg); }
.ab-tocm ol { padding-bottom: 12px; }
.ab-tocm a { padding-left: 0; }

@media (min-width: 1200px) {
  .ab-side { display: block; position: absolute; left: var(--gut); top: clamp(70px, 8vw, 130px); bottom: clamp(70px, 8vw, 130px); width: calc((100% - var(--col)) / 2 - var(--gut) - var(--gap)); }
  .ab-toc { position: sticky; top: calc(var(--hd) + 40px); max-width: 270px; max-height: calc(100vh - var(--hd) - 80px); overflow-y: auto; scrollbar-width: none; }
  .ab-toc::-webkit-scrollbar { display: none; }
  .ab-tocm { display: none; }
}
@media (min-width: 1360px) {
  .ab-tip { position: absolute; top: calc(clamp(44px, 4.4vw, 72px) + 2px); left: calc(100% + var(--gap)); width: calc((100vw - var(--col)) / 2 - var(--gut) - var(--gap) - 24px); max-width: 280px; margin: 0; font-size: 17px; }
}

/* ---------- article : à lire ensuite, une question ---------- */
.acta-g { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: 44px clamp(40px, 7vw, 130px); max-width: var(--max); margin-inline: auto; }
.acta-t { display: grid; gap: clamp(18px, 2vw, 26px); justify-items: start; }
.acta-fig { width: 100%; aspect-ratio: 3 / 2; margin-top: 8px; }
.acta-alt { margin: 0; }
.acta-f { padding-top: 8px; }

/* ---------- tablette ---------- */
@media (max-width: 1100px) {
  .jx-a { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 18em) 64px; }
  .jx-c { display: none; }
  .ja-row a { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 170px) 64px; }
  .ja-k { display: none; }
}

/* ---------- téléphone ---------- */
@media (max-width: 899px) {
  .jh .n-hero-in { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .jh-mast { margin-top: 10px; font-stretch: 118%; }
  .jh-low { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .jh-t { font-size: clamp(30px, 8.6vw, 46px); line-height: 1.04; }
  .jh-l { font-size: 16.5px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .jh-aside { display: none; }

  .jn-l a { height: 48px; font-size: 14px; }

  .jm { padding-top: 70px; }
  .jm > .n-sec-h { margin-bottom: 44px; }
  .jr, .je--xl { display: block; }
  .jr + .jr, .jm--tight .jr + .jr { margin-top: 64px; }
  .je + .je { margin-top: 56px; }
  .je--land, .je--tri:nth-child(n) { margin-top: 0; }
  .je--xl .je-img, .je--port .je-img, .je--tri .je-img { aspect-ratio: 4 / 5; }
  .je--port .je-img.is-type, .je--land .je-img.is-type, .je--tri .je-img.is-type { aspect-ratio: 5 / 3; }
  .je--xl .je-txt { padding-top: 22px; }
  .je--xl .je-t { font-size: clamp(27px, 7.6vw, 38px); }
  .je-t { font-size: 21px; }
  .jt, .je--xl .jt, .je--tri .jt { font-size: clamp(26px, 7.4vw, 36px); }
  .jr--wide { margin-inline: calc(var(--gut) * -1); }
  .je--wide .je-img { aspect-ratio: 4 / 5; max-height: none; }
  .je--wide .je-t { font-size: clamp(28px, 8vw, 40px); }
  .je--wide .je-l { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 16px; }
  .jq { margin-left: 0; padding: 32px 0; }
  .jq-t { font-size: clamp(26px, 7.4vw, 36px); }
  .jq-l { font-size: 18px; }
  .jq-go { display: none; }
  /* rubriques : les paires et les trios deviennent des lignes compactes */
  .jm--tight .je--port, .jm--tight .je--land, .jm--tight .je--tri { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
  .jm--tight .je--port + .je, .jm--tight .je--tri + .je { margin-top: 0; padding-top: 22px; border-top: 1px solid var(--n-line-2); }
  .jm--tight .je--port, .jm--tight .je--tri:first-child { padding-bottom: 22px; }
  .jm--tight .je--tri:nth-child(2) { padding-bottom: 22px; }
  .jm--tight .je--port .je-img, .jm--tight .je--land .je-img, .jm--tight .je--tri .je-img { aspect-ratio: 1; }
  .jm--tight .je--port .je-txt, .jm--tight .je--land .je-txt, .jm--tight .je--tri .je-txt { padding-top: 0; gap: 8px; }
  .jm--tight .je--port .je-t, .jm--tight .je--land .je-t, .jm--tight .je--tri .je-t { font-size: 17px; line-height: 1.24; }
  .jm--tight .je-img.is-type { padding: 10px; }
  .jm--tight .je--port .jt, .jm--tight .je--land .jt, .jm--tight .je--tri .jt { font-size: 13px; line-height: 1.12; }
  .jm--tight .je--port .jt--q, .jm--tight .je--land .jt--q, .jm--tight .je--tri .jt--q { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; font-size: 11.5px; line-height: 1.3; }
  .jm--tight .jk { font-size: 12px; }

  .jst { padding: 84px 0 64px; }
  .jst .n-strip-track > * { width: 74vw; }

  .jx-a { grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 6px 16px; align-items: center; padding: 20px 0; }
  .jx-n, .jx-go { display: none; }
  .jx-im { display: block; grid-row: 1 / 3; width: 72px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--n-bg-3); }
  .jx-im img { width: 100%; height: 100%; object-fit: cover; }
  .jx-t { grid-column: 2 / -1; font-size: clamp(24px, 7vw, 34px); }
  .jx-p { grid-column: 2; -webkit-line-clamp: 2; font-size: 13.5px; }
  .jx-c { display: block; grid-column: 3; grid-row: 2; align-self: end; font-size: 12.5px; }
  .jx-a:hover .jx-t { transform: none; }

  .ja-h { display: grid; gap: 20px; }
  .ja-tools { display: grid; gap: 12px; }
  .ja-q { width: 100%; }
  .ja-row a { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 6px 10px; padding: 16px 0; }
  .ja-t { grid-column: 2 / -1; font-size: 16.5px; }
  .ja-n { grid-row: 1; }
  .ja-r { grid-column: 2; font-size: 12.5px; }
  .ja-m { grid-column: 3; font-size: 12.5px; }
  .ja-l .ja-row a:hover { transform: none; }

  .jend { min-height: 82svh; }

  .ah-t { font-size: clamp(32px, 9vw, 48px); line-height: 1.04; }
  .ah-t.is-long { font-size: clamp(29px, 8.1vw, 42px); }
  .ah-sub { font-size: 19px; }
  .ab { padding-top: 56px; padding-bottom: 72px; }
  .ab-lead { font-size: 1.2em; }
  .ab-ex { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); border-radius: 0; box-shadow: none; }
  .ab-sheet { margin-inline: calc(var(--gut) * -1); padding: 30px var(--gut) 26px; border-radius: 0; }
  .ab-sheet-hd { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ab-sheet-n b { font-size: 46px; }
  .ab-sheet-l label { gap: 14px; padding: 16px 0; }
  .ab-sheet-t b, .ab-sheet-t span { font-size: 16px; }
  .ab-sheet-ft { display: grid; justify-items: start; }

  .acta-g { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- impression : l'article proprement, ou la fiche seule (bouton « Imprimer la fiche ») ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  .hd, .mm-wrap, .mm-veil, .mob, .pal, .ft, .toast, .curtain, .skip, .na-cur, .na-cur-dot, .ab-prog, .ab-side, .ab-tocm, .jst, .acta, .n-hero-media, .n-hero-shade, .n-grain, .n-hero-foot, .jcr, .ab-sheet-ft, .ab-bar { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font-size: 11pt; }
  .n-hero { min-height: 0 !important; display: block; background: none; color: #000; }
  .n-hero-in { padding: 0 0 6mm !important; }
  .jk, .jk a, .ah-sub, .ah-sub em { color: #333 !important; }
  .ah-t { font-size: 22pt !important; max-width: none; color: #000; }
  .ah-t .ln, .ah-t [style] { transform: none !important; }
  .ah-sub { font-size: 13pt; }
  .ab { padding: 0; }
  .ab-col { max-width: none; font-size: 11pt; color: #000; }
  .ab-col p, .ab-col li, .ab-col h2, .ab-col h3, .ab-lead, .ab-pts p, .ab-tip-t, .ab-tip-k, .ab-ch-n, .ab-k { color: #000 !important; }
  .ab-lead { font-size: 13pt; }
  .ab-ch { padding-top: 6mm; break-inside: auto; }
  .ab-ch h2, .ab-ex h2, .ab-sheet h2 { font-size: 15pt !important; break-after: avoid; }
  .ab-ch:first-of-type h2 + p::first-letter { float: none; font: inherit; margin: 0; color: inherit; }
  .ab-tip { position: static !important; width: auto !important; max-width: none; margin: 4mm 0; padding: 3mm 0 0; border-top: 1px solid #000; break-inside: avoid; }
  .ab-pts li { break-inside: avoid; border-color: #bbb; }
  .ab-ex { margin: 6mm 0; padding: 5mm; background: none; border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .ab-sheet { margin: 6mm 0; padding: 5mm; background: none !important; border: 1px solid #999; box-shadow: none; break-inside: avoid; color: #000; }
  .ab-sheet-l li { break-inside: avoid; }
  .ab-box { box-shadow: inset 0 0 0 1px #000 !important; background: #fff !important; }
  .ab-sheet-l input:checked + .ab-box { color: #000; }
  .ab-sheet-l input:checked ~ .ab-sheet-t b { color: #000; }
  .ab-src a { color: #000; }
  .ab-src a::after { content: " " attr(href); grid-column: 2; font-size: 8pt; color: #555; }
  .ab-src .ic { display: none; }
  [data-r], [data-wipe], [data-lines] { opacity: 1 !important; transform: none !important; clip-path: none !important; visibility: visible !important; }
  .print-sheet main > :not(.art), .print-sheet .ah, .print-sheet .ab-col > :not(.ab-sheet) { display: none !important; }
  .print-sheet .ab-sheet { margin: 0; border: 0; padding: 0; }
  .print-sheet .ab-print { display: block; margin: 0 0 6mm; padding-bottom: 3mm; border-bottom: 1px solid #999; font-size: 9pt; color: #555; }
}
