/* Vigie. Thème clair uniquement.
   Ni halo, ni flou, ni dégradé décoratif, ni ombre, ni pilule, ni soulèvement au survol.
   La structure vient des filets et de la typographie. */

@font-face { font-family: 'Schibsted Grotesk'; src: url('/assets/fonts/Schibsted-Grotesk-400-900.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/IBM-Plex-Mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fonts/IBM-Plex-Mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --ink: #111114;
  --mute: #55555F;
  --line: #E4E4DF;
  --wash: #F6F6F2;
  --violet: #5B3BE8;
  --lime: #D7F24B;
  --red: #C8290F;
  --green: #067A52;
  --out: cubic-bezier(.16, 1, .3, 1);
  --sans: 'Schibsted Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.5 var(--sans); overflow-x: clip; }
h1, h2, h3, p, ul, ol, pre, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--violet); }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 64px, 1320px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { top: 10px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; font-style: normal; }
.c-bad { color: var(--red); }
.c-good { color: var(--green); }

/* Surligneur : un aplat qui se pose sur le texte */
.hl {
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 84% / 100% var(--hl-h, 42%);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  padding-inline: .04em;
}
html.js .hl { background-size: 0% var(--hl-h, 42%); transition: background-size .9s var(--out); }
html.js .hl.on { background-size: 100% var(--hl-h, 42%); }

/* ─ Première section : un aplat franc qui la sépare de tout le reste ─ */
.hero { position: relative; overflow: clip; background: #fff; }
.hero-in { position: relative; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; bottom: var(--fleet-h, 124px); background: var(--violet); }
.hero-mark { position: absolute; z-index: 0; width: min(92vw, 1120px); aspect-ratio: 1; left: -16vw; top: -220px; fill: #6A4CF0; pointer-events: none; transform: rotate(var(--turn, 0deg)); will-change: transform, rotate; animation: hero-spin 110s linear infinite; }
/* Rotation lente et sans fin. La propriété rotate se compose avec le transform lié au défilement. */
@keyframes hero-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
html.paused .hero-mark { animation-play-state: paused; }
.hero-in { z-index: 1; min-height: min(860px, calc(100svh - 192px)); align-items: center; }
.fleet { position: relative; z-index: 1; background: #fff; }
.hero h1, .hero .lede, .hero .probe label, .hero .probe-note, .hero .samples { color: #fff; }
.hero .lede { color: #F1EEFF; }
.hero .probe-note, .hero .samples { color: #E6E1FF; }
.hero .samples button { color: #fff; }
.hero .samples button:hover { color: var(--lime); }
.hero .probe-box { border-color: #fff; }
.hero .probe-box:focus-within { border-color: var(--lime); box-shadow: none; }
.hero .probe-box button { background: var(--lime); color: var(--ink); }
.hero .probe-box button:hover { background: #fff; }
.hero .probe-box button:disabled { background: #E6E1FF; }
.hero .probe-err { color: #fff; background: var(--ink); padding: 8px 12px; border-radius: 4px; }
.hero :focus-visible { outline-color: var(--lime); }
.hero .board :focus-visible, .hero .probe-box :focus-visible { outline-color: var(--ink); }
.hero .board { border-color: var(--ink); }
.hero .hl { --hl-h: 76%; color: var(--ink); background-position: 0 78%; padding-inline: .1em; margin-left: -.1em; }
.tile { display: inline-grid; place-items: center; width: .94em; height: .94em; background: #fff; border-radius: .16em; flex: none; }
.tile svg { width: .66em !important; height: .66em !important; }
.fleet-track img { filter: grayscale(1) contrast(1.2); border-radius: 4px; }
.fleet-track .wordmark svg { width: 92px; height: 26px; }

/* ─ En-tête ─ */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.brand { display: block; line-height: 0; }
.brand svg { height: 30px; width: auto; display: block; }
/* Le logo d’en-tête : l’anneau pivote autour du point, le mot ne bouge jamais.
   128 px est le centre du symbole dans sa grille de 256, dans le repère local du groupe. */
.brand .logo-ring, .brand .logo-dot { transform-origin: 128px 128px; }
.brand .logo-ring { transition: transform .8s var(--out); }
.brand:focus-visible .logo-ring { transform: rotate(90deg); }
@media (hover: hover) { .brand:hover .logo-ring { transform: rotate(90deg); } }
html.is-busy .brand .logo-ring { animation: turn 1.8s linear infinite; }
html.is-busy .brand .logo-dot { animation: vigie-breathe 1.8s ease-in-out infinite; }
@keyframes vigie-breathe { 50% { transform: scale(.78); } }
/* Le petit symbole d’attente, à côté d’un texte d’état. */
.vmark { display: inline-block; flex: none; fill: currentColor; vertical-align: -.22em; margin-block: -.3em; margin-inline-end: .2em; }
.vmark-ring, .vmark-dot { transform-origin: 128px 128px; }
.vmark-ring { animation: turn 1.8s linear infinite; }
.vmark-dot { animation: vigie-breathe 1.8s ease-in-out infinite; }
.top nav { display: flex; flex: 1; align-items: center; gap: 30px; font-size: .95rem; font-weight: 500; }
.top nav a { text-decoration: none; padding: 10px 0; }
.top nav a:not(.nav-cta) { color: var(--mute); }
.top nav a:not(.nav-cta):hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.top nav .nav-actions a:not(.nav-cta) { color: var(--ink); }
.top nav .nav-actions a:not(.nav-cta):hover { color: var(--violet); }
.top nav .nav-cta, .top-cta { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; text-decoration: none; border-radius: 6px; transition: background-color .15s; }
.top nav .nav-cta:hover, .top-cta:hover { background: var(--violet); color: #fff; }
.top-cta { display: none; }

/* ─ Première section ─ */
.hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start; padding-block: clamp(40px, 5vw, 72px) clamp(40px, 4.4vw, 64px); }

h1 { font-size: clamp(3.1rem, 6.5vw, 6.5rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
.ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.ln > span { display: block; }
html.js .ln > span { transform: translateY(112%); }
html.js .ready .ln > span { transform: none; transition: transform 1s var(--out); }
html.js .ready .ln:nth-child(2) > span { transition-delay: .08s; }
html.js .ready .ln:nth-child(3) > span { transition-delay: .16s; }

/* Le nom de l'IA qui change, logo compris */
.roller { display: inline-block; height: 1.04em; overflow: hidden; vertical-align: top; transition: width .7s var(--out); }
.roll-track { display: flex; flex-direction: column; align-items: flex-start; transition: transform .7s var(--out); }
.roll-track.jump { transition: none; }
.roll-item { display: inline-flex; align-items: center; gap: .17em; height: 1.04em; white-space: nowrap; flex: none; }
.roll-item svg { width: .8em; height: .8em; fill: currentColor; flex: none; }

.lede { max-width: 33em; margin-top: 30px; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.48; color: var(--mute); text-wrap: pretty; }

.probe { margin-top: 32px; max-width: 640px; }
.probe label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 9px; }
.probe-box { display: flex; border: 2px solid var(--ink); border-radius: 6px; background: #fff; transition: border-color .15s; }
.probe-box:focus-within { box-shadow: inset 0 0 0 1px var(--ink); }
.probe-box input { flex: 1; min-width: 0; width: 100%; height: 62px; padding: 0 18px; border: 0; outline: 0; background: none; color: var(--ink); font-size: 1.1rem; }
.probe-box input::placeholder { color: #71717A; }
.probe-box button {
  display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; margin: -2px -2px -2px 0;
  background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; border-radius: 0 6px 6px 0;
  transition-property: background-color; transition-duration: .15s;
}
.probe-box button svg { width: 18px; height: 18px; transition: transform .25s var(--out); }
.probe-box button:hover { background: var(--violet); }
.probe-box button:hover svg { transform: translateX(4px); }
.probe-box button:active span { opacity: .75; }
.probe-box button:disabled { background: #55555F; cursor: progress; }
.probe-box button:disabled svg { transform: none; }
.probe-box button .vmark { margin: 0; }
.probe-note { margin-top: 10px; font-size: .9rem; color: var(--mute); }
.probe-err { margin-top: 10px; font-size: .95rem; font-weight: 500; color: var(--red); }

.samples { margin-top: 18px; font-size: .95rem; color: var(--mute); }
.samples button, .link { font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; min-height: 32px; }
.samples button:hover, .link:hover { color: var(--violet); }

/* ─ Le tableau de relevé ─ */
.board { border: 2px solid var(--ink); border-radius: 8px; background: #fff; position: relative; }
.board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; }
.board-kicker { font-size: .84rem; color: var(--mute); }
.board-host { font: 500 clamp(1.05rem, 1.7vw, 1.4rem)/1.2 var(--mono); letter-spacing: -.03em; margin-top: 3px; overflow-wrap: anywhere; }
.board-score { display: flex; align-items: baseline; flex: none; font-weight: 800; }
.board-of { font-size: .95rem; font-weight: 500; color: var(--mute); margin-left: 3px; }
.ring { display: none; width: 44px; height: 44px; align-self: center; color: var(--violet); }
.ring svg { width: 100%; height: 100%; fill: currentColor; display: block; animation: turn 1.8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.board.scanning .ring { display: block; }
.board.scanning .odo, .board.scanning .board-of { display: none; }

.odo { display: inline-flex; align-items: flex-start; font-size: clamp(2.9rem, 4.3vw, 4rem); line-height: 1; height: 1em; overflow: hidden; letter-spacing: -.05em; font-variant-numeric: tabular-nums; transition: color .3s; }
.odo .col { display: flex; flex-direction: column; width: .6em; overflow: hidden; transition: transform .9s var(--out), width .3s; }
.odo .col.off { width: 0; }
.odo .col span { display: block; height: 1em; flex: none; text-align: center; }

.board-verdict { padding: 0 22px 14px; font-size: 1.02rem; font-weight: 600; line-height: 1.3; min-height: 2.6em; text-wrap: balance; }
.board-rows { position: relative; border-top: 1px solid var(--ink); overflow: hidden; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--violet); z-index: 2; opacity: 0; }
.board.scanning .beam { opacity: 1; animation: beam 1.1s linear infinite; }
@keyframes beam { from { transform: translateY(0); } to { transform: translateY(405px); } }

.brow { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 76px; align-items: center; gap: 11px; height: 45px; padding: 0 22px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.brow:last-of-type { border-bottom: 0; }
.brow svg { width: 17px; height: 17px; fill: currentColor; }
.brow code { font-size: .87rem; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow small { font-size: .82rem; color: var(--mute); white-space: nowrap; }

/* Le statut roule comme un compteur : 26 px par position */
.st { height: 26px; overflow: hidden; font-weight: 700; font-size: .86rem; text-align: right; }
.st > span { display: block; transition: transform .6s var(--out); transition-delay: calc(var(--i) * 45ms); transform: translateY(calc(var(--pos, 0) * -26px)); }
.st b { display: block; height: 26px; line-height: 26px; font-weight: 700; }
.st .s0 { color: var(--mute); font-weight: 500; }
.st .s1 { color: var(--green); }
.st .s2 { color: var(--red); }
.st .s3 { color: var(--mute); }

.board-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 6px 22px; border-top: 1px solid var(--ink); font-size: .84rem; color: var(--mute); }
.board-foot button { min-height: 36px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; flex: none; }
.board-foot a { font-weight: 600; color: var(--violet); }

/* Bandeau des éditeurs */
.fleet { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 18px 22px; }
.fleet-t { font-size: .88rem; color: var(--mute); margin-bottom: 14px; }
.fleet-view { overflow: hidden; }
.fleet-track { display: flex; width: max-content; }
.fleet-track ul { display: flex; align-items: center; gap: 46px; padding-right: 46px; flex: none; }
.fleet-track li { display: inline-flex; align-items: center; gap: 10px; font-size: 1.14rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.fleet-track svg { width: 22px; height: 22px; fill: currentColor; }
.fleet-track.run { animation: fleet 62s linear infinite; }
.paused .fleet-track.run { animation-play-state: paused; }
.fleet-view:hover .fleet-track.run { animation-play-state: paused; }
@keyframes fleet { to { transform: translateX(-50%); } }

/* ─ Rapport ─ */
.report { padding-block: 64px 24px; outline: 0; }
.rep-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: end; border-bottom: 2px solid var(--ink); padding-bottom: 22px; }
.rep-head h2 { font: 500 clamp(1.5rem, 3.2vw, 2.7rem)/1.1 var(--mono); letter-spacing: -.05em; overflow-wrap: anywhere; }
.rep-head p { margin-top: 10px; color: var(--mute); max-width: 42em; text-wrap: pretty; }
.rep-score { font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 800; line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.rep-score small { font-size: .2em; letter-spacing: 0; color: var(--mute); font-weight: 500; }
.rep-sec { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr); gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.rep-sec > h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.rep-sec > h3 span { display: block; margin-top: 4px; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.rep-note { color: var(--mute); margin-bottom: 14px; text-wrap: pretty; }
.bots { border-top: 1px solid var(--line); }
.bot { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bot:last-child { border-bottom: 0; }
.bot code { font-weight: 500; font-size: .94rem; }
.bot p { font-size: .96rem; }
.bot small { font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--mute); display: block; }
.bot .rule { grid-column: 2; font-family: var(--mono); font-size: .8rem; color: var(--red); }
.bots.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 22px; border: 0; }
.bots.mini .bot { display: block; border: 0; padding: 0; }
.bots.mini .bot code { font-size: .86rem; font-weight: 400; }
.code { position: relative; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; }
.code pre { padding: 18px; overflow: auto; font-size: .85rem; line-height: 1.6; max-height: 420px; }
.code:has(.copy) pre { padding-top: 56px; }
.code .cm { color: var(--mute); }
.code .kw { font-weight: 500; color: var(--violet); }
.copy { position: absolute; top: 10px; right: 10px; min-height: 36px; padding: 0 14px; background: var(--ink); color: #fff; border-radius: 4px; font-size: .85rem; font-weight: 600; transition: background-color .15s; }
.copy:hover { background: var(--violet); }
.rep-sec details summary { cursor: pointer; font-weight: 500; min-height: 32px; }
.rep-sec details .code { margin-top: 10px; }

/* ─ Sections ─ */
.sec { padding-block: clamp(70px, 9vw, 130px); }
.sec-line { border-top: 1px solid var(--line); }
.big { font-size: clamp(2.3rem, 4.9vw, 4.7rem); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; max-width: 16.5em; text-wrap: balance; }
.intro { margin-top: 22px; max-width: 37em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--mute); text-wrap: pretty; }

.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 80px); padding-top: 54px; margin-top: 54px; border-top: 2px solid var(--ink); }
.case-side { position: sticky; top: 100px; align-self: start; }
.case-side h3 { font: 500 clamp(1.7rem, 3vw, 2.8rem)/1.05 var(--mono); letter-spacing: -.06em; }
.case-score { display: flex; align-items: baseline; gap: 8px; margin-top: 20px; color: var(--mute); font-size: .95rem; }
.case-score b { font-size: clamp(4rem, 7vw, 6.6rem); line-height: .9; font-weight: 800; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.case-side > p:not(.case-score) { margin-top: 22px; max-width: 28em; text-wrap: pretty; }
.case-side code { font-size: .88em; }
.case-side .link { margin-top: 14px; }

.file { background: var(--wash); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.file-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .86rem; color: var(--mute); }
.file-head a { font: 500 .86rem var(--mono); color: var(--ink); }
.lines { padding: 14px 0; font-size: clamp(.8rem, 1vw, .93rem); line-height: 1.75; overflow-x: auto; }
.fl { display: grid; grid-template-columns: 56px 1fr; }
.fl i { font-style: normal; text-align: right; padding-right: 16px; color: #66666F; user-select: none; }
.fl > span { white-space: pre; padding-right: 18px; width: fit-content; }
.ln-gap { display: block; padding-left: 40px; color: #66666F; }
.is-cm > span { color: var(--mute); }
.is-allow > span { color: var(--green); }
.is-dis > span { color: var(--red); font-weight: 500; }
.is-cite > span { background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 100% 100%; }
html.js .is-cite > span { background-size: 0% 100%; transition: background-size .55s var(--out); }
html.js .is-cite.on > span { background-size: 100% 100%; }
html.js .is-dis > span { background: linear-gradient(var(--red), var(--red)) no-repeat 0 92% / 0% 1.5px; transition: background-size .55s var(--out); }
html.js .is-dis.on > span { background-size: 100% 1.5px; }

.method { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.diff { border: 2px solid var(--ink); border-radius: 8px; padding: 18px 20px; background: #fff; }
.diff figcaption { font-size: .86rem; color: var(--mute); margin-bottom: 12px; }
.diff pre { font-size: clamp(.84rem, 1.2vw, 1rem); line-height: 1.8; overflow-x: auto; }
.diff pre code { display: block; white-space: normal; }
.d-l { display: block; position: relative; padding-left: 22px; white-space: pre; }
.d-blank { height: .9em; }
.d-del::before, .d-add::before { position: absolute; left: 0; font-weight: 500; }
.d-del::before { content: '-'; color: var(--red); }
.d-add::before { content: '+'; color: var(--green); }
.d-del { color: var(--red); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.d-add { color: var(--green); font-weight: 500; }
html.js .diff .d-del { text-decoration-color: transparent; transition: text-decoration-color .3s .5s; }
html.js .diff.on .d-del { text-decoration-color: var(--red); }
html.js .diff .d-add { clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--out) .9s; }
html.js .diff .d-add:last-child { transition-delay: 1.1s; }
html.js .diff.on .d-add { clip-path: inset(0 0 0 0); }
.diff p { margin-top: 14px; font-weight: 600; }

.trades { margin-top: clamp(50px, 6vw, 84px); border-top: 2px solid var(--ink); }
.trade { display: grid; grid-template-columns: 1.1fr 1.5fr 1.6fr 1.7fr; gap: 26px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.trade-h { padding: 10px 0; font-size: .86rem; color: var(--mute); }
.trade b { font-size: 1.28rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.trade b small { display: block; margin-top: 5px; font-size: .86rem; font-weight: 400; letter-spacing: 0; color: var(--mute); }
.trade code { font-size: .84rem; line-height: 1.6; color: var(--mute); }
.limits { display: grid; grid-template-columns: 1.1fr 4.8fr; gap: 26px; margin-top: 54px; }
.limits h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.limits ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.limits li { color: var(--mute); font-size: .98rem; text-wrap: pretty; }

.ledger { margin-top: 54px; border-top: 2px solid var(--ink); }
.ledger li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 26px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ledger b { font-size: clamp(2.3rem, 4.2vw, 4rem); line-height: 1; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; }
.ledger a { font-size: .9rem; color: var(--mute); }
.lever { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); margin-top: 58px; align-items: start; }
.lever p:first-child { font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.2; letter-spacing: -.028em; text-wrap: pretty; }
.fair { color: var(--mute); font-size: .98rem; text-wrap: pretty; }

/* ─ Audit : aplat franc ─ */
.audit { background: var(--violet); color: #fff; padding-block: clamp(64px, 8vw, 110px); }
.audit-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.audit :focus-visible { outline-color: var(--lime); }
.audit .lead :focus-visible { outline-color: var(--ink); }
.audit p.rv { margin-top: 20px; max-width: 32em; font-size: 1.15rem; text-wrap: pretty; }
.lead { display: grid; gap: 7px; background: #fff; color: var(--ink); padding: 22px; border-radius: 8px; }
.lead label { font-size: .9rem; font-weight: 600; margin-top: 8px; }
.lead label:first-child { margin-top: 0; }
.lead input:not(.trap) { height: 52px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 5px; outline: 0; background: #fff; }
.lead input:not(.trap):focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lead input::placeholder { color: #71717A; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.lead button { height: 54px; margin-top: 12px; background: var(--ink); color: #fff; font-weight: 600; border-radius: 5px; transition: background-color .15s; }
.lead button:hover { background: var(--violet); }
.lead button:disabled { background: #55555F; cursor: progress; }
.lead-note { margin-top: 6px; font-size: .87rem; color: var(--mute); }

/* ─ Pied ─ */
.foot { padding-block: 42px 50px; font-size: .95rem; color: var(--mute); }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.foot b { color: var(--ink); }
.brand-foot { line-height: 0; margin-bottom: 14px; }
.brand-foot svg { height: 26px; width: auto; color: var(--ink); }
.legal { grid-column: 1 / -1; font-size: .84rem; border-top: 1px solid var(--line); padding-top: 18px; }

/* ─ Diagnostic de citations ─ */
.cite { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cite-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); margin-top: 44px; align-items: start; }
.cite-form { display: grid; gap: 6px; }
.cite-form label { font-size: .92rem; font-weight: 600; margin-top: 10px; }
.cite-form label:first-child { margin-top: 0; }
.cite-form label span { font-weight: 400; color: var(--mute); }
.cite-form input:not(.trap) { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 5px; background: #fff; outline: 0; }
.cite-form input:not(.trap):focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cite-form input::placeholder { color: #71717A; }
.cite-form button { height: 54px; margin-top: 14px; background: var(--ink); color: #fff; font-weight: 600; border-radius: 5px; transition: background-color .15s; }
.cite-form button:hover { background: var(--violet); }
.cite-form button:disabled { background: #55555F; cursor: progress; }
.cite-note { margin-top: 8px; font-size: .86rem; color: var(--mute); text-wrap: pretty; }
.cite-err { margin-top: 6px; font-size: .94rem; font-weight: 500; color: var(--red); }
.cite-panel { background: #fff; border: 2px solid var(--ink); border-radius: 8px; position: relative; overflow: hidden; }
.cite-panel.running::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--violet); transform-origin: 0 50%; transform: scaleX(var(--done, .03)); transition: transform .8s var(--out); z-index: 2; }
.cite-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px solid var(--ink); }
.cite-title { font-size: 1.28rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-top: 3px; text-wrap: balance; overflow-wrap: anywhere; }
.cite-count { flex: none; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cite-count small { font-size: .3em; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.cite-row { display: grid; grid-template-columns: minmax(120px, 1.1fr) 1fr 1fr; gap: 14px; align-items: center; min-height: 54px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.cite-row-h { min-height: 38px; font-size: .84rem; color: var(--mute); }
.cite-row > b { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.cite-row svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.ci { height: 26px; overflow: hidden; font-size: .9rem; font-weight: 600; }
.ci > span { display: block; transition: transform .6s var(--out); transform: translateY(calc(var(--pos, 0) * -26px)); }
.ci b { display: block; height: 26px; line-height: 26px; font-weight: 600; white-space: nowrap; }
.ci .k0 { color: #6B6B75; font-weight: 400; }
.ci .k1, .ci .k2 { color: var(--green); }
.ci .k3 { color: var(--ink); }
.ci .k4 { color: var(--red); }
.ci .k5 { color: var(--mute); font-weight: 400; }
.cite-body { padding: 20px 22px 22px; }
.cite-say { font-size: 1.04rem; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.cite-sub { margin: 20px 0 8px; font-size: .92rem; font-weight: 600; }
.hosts li { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font: 500 .86rem var(--mono); }
.hosts li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hosts li span:last-child { text-align: right; font-family: var(--sans); color: var(--mute); }
.cite-body details { border-bottom: 1px solid var(--line); }
.cite-body summary { cursor: pointer; padding: 11px 0; font-size: .92rem; font-weight: 500; }
.cite-body details p { padding-bottom: 12px; font-size: .92rem; color: var(--mute); white-space: pre-line; overflow-wrap: anywhere; }
.cite-caveat { margin-top: 16px; font-size: .86rem; color: var(--mute); text-wrap: pretty; }
.cite-next { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--violet); }
.rep-next { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; padding: 20px 22px; background: var(--ink); color: #fff; border-radius: 8px; }
.rep-next p { font-size: 1.14rem; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.rep-next a { flex: none; padding: 13px 18px; background: var(--lime); color: var(--ink); border-radius: 5px; font-weight: 700; text-decoration: none; }
.rep-next a:hover { background: #fff; color: var(--ink); }

/* ─ Apparition : discrète, et seulement si le script tourne ─ */
html.js .rv { opacity: 0; transform: translateY(14px); }
html.js .rv.in { opacity: 1; transform: none; transition: opacity .7s var(--out), transform .7s var(--out); }

@media (max-width: 1060px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(3.1rem, 10.5vw, 6.5rem); }
  .board { max-width: 720px; }
  .case, .method, .lever, .audit-in, .cite-grid { grid-template-columns: minmax(0, 1fr); }
  .case-side { position: static; }
  .trade { grid-template-columns: 1fr 1fr; }
  .trade-h { display: none; }
  .limits { grid-template-columns: minmax(0, 1fr); }
  .ledger li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ledger a { grid-column: 2; }
}

@media (max-width: 640px) {
  .brand { display: flex; align-items: center; min-height: 44px; }
  .samples button, .board-foot button { min-height: 44px; }
  .foot-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; }
  .file-head a { display: inline-flex; align-items: center; min-height: 44px; }
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .brand svg { height: 26px; }
  h1 { font-size: clamp(2.65rem, 13.6vw, 4rem); }
  .probe-box { flex-direction: column; border-radius: 6px; }
  .probe-box input { height: 56px; flex: none; }
  .probe-box button { justify-content: center; height: 56px; margin: 0 -2px -2px; border-radius: 0 0 5px 5px; }
  .brow { grid-template-columns: 20px minmax(0, 1fr) 70px; padding: 0 16px; }
  .hero-in { min-height: 0; }
  .hero-mark { width: 150vw; left: -48vw; top: -80px; }
  .brow small { display: none; }
  .board-head, .board-verdict { padding-inline: 16px; }
  .board-foot { padding-inline: 16px; }
  .rep-head, .rep-sec { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bot { grid-template-columns: minmax(0, 1fr); }
  .bot .rule { grid-column: 1; }
  .trade { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .limits ul { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ledger li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ledger a { grid-column: 1; }
  .ledger b { white-space: normal; }
  .fl { grid-template-columns: 42px 1fr; }
  .cite-row { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr) minmax(0, 1fr); gap: 6px; padding: 0 10px; }
  .cite-row > b { gap: 6px; font-size: .86rem; }
  .cite-row svg { width: 16px; height: 16px; }
  .ci { font-size: .76rem; }
  .cite-head, .cite-body { padding-inline: 14px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .rv, html.js .ln > span { opacity: 1; transform: none; }
  html.js .hl { background-size: 100% var(--hl-h, 42%); }
  html.js .is-cite > span { background-size: 100% 100%; }
  html.js .is-dis > span { background-size: 100% 1.5px; }
  html.js .diff .d-add { clip-path: none; }
  html.js .diff .d-del { text-decoration-color: var(--red); }
}

/* Sans JavaScript, le tableau n'a rien à montrer. */
html:not(.js) .board { display: none; }

/* Pages légales et 404 */
.page { padding-block: clamp(48px, 7vw, 90px); }
.page h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; }
.page h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-top: 36px; }
.page p, .page ul { margin-top: 12px; max-width: 42em; text-wrap: pretty; }
.page ul { list-style: disc; padding-left: 20px; }
.page li { margin-top: 6px; }
.todo { background: var(--lime); padding: 0 .25em; font-weight: 600; }

/* ─────────────────────────────────────────────────────────
   Site complet : navigation, pages intérieures, outils, offre.
   Mêmes règles : filets, aplats, surligneur. Ni ombre, ni pilule.
   ───────────────────────────────────────────────────────── */

@view-transition { navigation: auto; }
.top { view-transition-name: entete; }
::view-transition-old(root) { animation: vt-out .18s ease both; }
::view-transition-new(root) { animation: vt-in .42s var(--out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Navigation */
.top nav { gap: 26px; }
.nv { position: static; display: flex; align-items: center; height: 68px; }
.top nav .nv > a { display: inline-flex; align-items: center; height: 100%; padding: 0; }
.top nav .nv:hover > a, .top nav .nv:focus-within > a { color: var(--ink); }
.nv-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 2px solid var(--ink); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .32s var(--out), visibility 0s .32s; }
.nv:hover .nv-panel, .nv:focus-within .nv-panel { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .32s var(--out), visibility 0s; }
.nv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; padding-block: 18px 26px; }
.top nav .nv-grid a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0 100%; transition: background-size .35s var(--out); }
.top nav .nv-grid a:hover { background-size: 100% 100%; color: var(--ink); }
.nv-grid b { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -.015em; padding-inline: 8px; }
.nv-grid span { display: block; font-size: .86rem; font-weight: 400; color: var(--mute); padding-inline: 8px; }
.menu-btn { display: none; min-height: 44px; font-weight: 600; font-size: .95rem; border-bottom: 2px solid var(--ink); padding: 0; }
.crumbs { font-size: .86rem; color: #E6E1FF; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.crumbs a { color: #fff; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .7; }

/* Première section des pages intérieures */
.phero { position: relative; overflow: clip; background: var(--violet); color: #fff; }
.phero .hero-mark { top: auto; bottom: -46%; left: auto; right: -14vw; width: min(70vw, 860px); }
.phero-in { position: relative; z-index: 1; padding-block: clamp(36px, 5vw, 72px) clamp(44px, 6vw, 84px); }
.phero h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.02; }
.phero .hl { --hl-h: 76%; color: var(--ink); background-position: 0 78%; padding-inline: .1em; margin-left: -.1em; }
.phero .lede { color: #F1EEFF; margin-top: 24px; max-width: 38em; }
.phero :focus-visible { outline-color: var(--lime); }
.phero .probe label, .phero .probe-note { color: #fff; }
.phero .probe-note { color: #E6E1FF; }
.phero .probe-box { border-color: #fff; }
.phero .probe-box:focus-within { border-color: var(--lime); box-shadow: none; }
.phero .probe-box :focus-visible { outline-color: var(--ink); }
.phero .probe-box button { background: var(--lime); color: var(--ink); }
.phero .probe-box button:hover { background: #fff; }
/* Au doigt, le survol reste collé après le toucher : le bouton ne doit pas se fondre dans le champ blanc. */
@media (hover: none) { .hero .probe-box button:hover, .phero .probe-box button:hover { background: var(--lime); } }
.phero .probe-box button:disabled { background: #E6E1FF; }
.phero .probe-err { color: #fff; background: var(--ink); padding: 8px 12px; border-radius: 4px; }
.phero .samples, .phero .samples button { color: #fff; }
.phero .samples button:hover { color: var(--lime); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 88px); align-items: start; }
.phero .board, .phero .cite-panel { color: var(--ink); }
.phero .board :focus-visible { outline-color: var(--ink); }
.ln > span.hl-line { display: block; }

/* Liste des outils : une rangée par outil, le surligneur passe au survol */
.tools { margin-top: 48px; border-top: 2px solid var(--ink); }
.tools a { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 6fr) 28px; gap: 8px 24px; align-items: baseline; padding: 24px 8px; border-bottom: 1px solid var(--line); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0 100%; transition: background-size .5s var(--out); }
.tools a:hover, .tools a:focus-visible { background-size: 100% 100%; color: var(--ink); }
.tools i { font: 500 .9rem var(--mono); color: var(--mute); font-style: normal; }
.tools b { font-size: clamp(1.45rem, 2.6vw, 2.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.tools span { color: var(--mute); text-wrap: pretty; }
.tools a:hover span, .tools a:hover i { color: var(--ink); }
.tools svg { width: 22px; height: 22px; align-self: center; transition: transform .3s var(--out); }
.tools a:hover svg { transform: translateX(6px); }

/* Rapports des outils */
.tool-out { padding-block: clamp(44px, 6vw, 72px) 12px; outline: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.stats div { padding: 16px 18px 18px 0; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 18px; }
.stats b { display: block; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; }
.stats span { display: block; margin-top: 6px; font-size: .88rem; color: var(--mute); }
.edit { width: 100%; min-height: 420px; padding: 56px 18px 18px; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; font: 400 .86rem/1.6 var(--mono); color: var(--ink); resize: vertical; outline: 0; white-space: pre; overflow: auto; }
.edit:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.edit-box { position: relative; }
.edit-actions { position: absolute; top: 10px; right: 10px; display: flex; gap: 8px; }
.edit-actions .copy { position: static; }
.checks li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.checks b { font-weight: 600; }
.checks small { display: block; color: var(--mute); font-size: .9rem; overflow-wrap: anywhere; }
.lv { font-size: .86rem; font-weight: 700; }
.lv-ok { color: var(--green); }
.lv-warn { color: #8A5A00; }
.lv-error { color: var(--red); }
.drops li { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.drops li > span:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.drops small { display: block; font: 400 .78rem/1.5 var(--mono); color: var(--mute); overflow-wrap: anywhere; }
.mono-table { width: 100%; border-collapse: collapse; }
.tbl-wrap { overflow-x: auto; }
.mono-table th, .mono-table td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.mono-table thead th { font-size: .86rem; font-weight: 500; color: var(--mute); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.mono-table code { font-size: .88rem; font-weight: 500; }
.mono-table tbody th { font-weight: 600; }
.excerpt { padding: 18px; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; font-size: .96rem; overflow-wrap: anywhere; }
.verdict { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; text-wrap: pretty; max-width: 30em; }
.note-next { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; padding: 20px 22px; background: var(--ink); color: #fff; border-radius: 8px; }
.note-next p { font-size: 1.14rem; font-weight: 600; letter-spacing: -.015em; text-wrap: balance; }
.note-next a { flex: none; padding: 13px 18px; background: var(--lime); color: var(--ink); border-radius: 5px; font-weight: 700; text-decoration: none; }
.note-next a:hover { background: #fff; color: var(--ink); }

/* Sections de contenu */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split > :first-child { position: sticky; top: 100px; }
.mid { font-size: clamp(1.8rem, 3.5vw, 3.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.steps { counter-reset: st; border-top: 2px solid var(--ink); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st, decimal-leading-zero); font: 500 .9rem/1.9 var(--mono); color: var(--mute); }
.steps b { display: block; font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; }
.steps p { grid-column: 2; color: var(--mute); margin-top: 4px; text-wrap: pretty; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: 40px; border-top: 2px solid var(--ink); }
.points li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.points b { display: block; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.points span { display: block; color: var(--mute); margin-top: 4px; text-wrap: pretty; }

/* Questions */
.faq { margin-top: 40px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; padding: 18px 0; font-size: clamp(1.08rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.018em; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 500 1.3rem/1.1 var(--mono); flex: none; transition: transform .3s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 46em; color: var(--mute); text-wrap: pretty; }
.faq details > div p + p { margin-top: 10px; }
.faq details > div a { color: var(--ink); }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.plan { display: flex; flex-direction: column; padding: 24px 22px 26px; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan.main { background: var(--violet); color: #fff; }
.plan.main :focus-visible { outline-color: var(--lime); }
.plan h2 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; }
.plan .price { margin-top: 14px; font-size: clamp(2.5rem, 4.2vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: inherit; }
.plan .price small { display: block; margin-top: 8px; font-size: .9rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--mute); }
.plan.main .price small, .plan.main p:not(.price), .plan.main li { color: #F1EEFF; }
.plan p { margin-top: 14px; font-size: .98rem; color: var(--mute); text-wrap: pretty; }
.plan ul { margin-top: 16px; flex: 1; border-top: 1px solid var(--line); }
.plan.main ul { border-color: #8370EE; }
.plan li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .94rem; text-wrap: pretty; }
.plan.main li { border-color: #8370EE; }
.plan-cta { display: block; margin-top: 20px; padding: 14px 16px; text-align: center; font-weight: 700; text-decoration: none; background: var(--ink); color: #fff; border-radius: 5px; transition: background-color .15s; }
.plan-cta:hover { background: var(--violet); color: #fff; }
.plan.main .plan-cta { background: var(--lime); color: var(--ink); }
.plan.main .plan-cta:hover { background: #fff; color: var(--ink); }
.temp { margin-top: 18px; font-size: .92rem; color: var(--mute); max-width: 52em; text-wrap: pretty; }

/* Annuaire */
.filter { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; align-items: center; }
.filter button { min-height: 40px; font-weight: 500; color: var(--mute); border-bottom: 2px solid transparent; }
.filter button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.filter input { height: 44px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 5px; min-width: 240px; outline: 0; }
.filter input:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* Générateur de robots.txt */
.gen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); margin-top: 8px; }
.gen-col h3 { font-size: 1.1rem; font-weight: 700; margin-top: 24px; letter-spacing: -.015em; }
.gen-col h3:first-child { margin-top: 0; }
.presets { display: grid; gap: 0; border-top: 2px solid var(--ink); margin-top: 10px; }
.presets label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.presets input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.presets b { font-weight: 600; }
.presets small { grid-column: 2; color: var(--mute); font-size: .88rem; }
.bot-picks { columns: 2; column-gap: 24px; margin-top: 10px; }
.bot-picks label { display: flex; gap: 8px; align-items: center; padding: 5px 0; break-inside: avoid; cursor: pointer; font: 500 .84rem var(--mono); }
.bot-picks input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); flex: none; }
.gen-field { display: block; margin-top: 10px; }
.gen-field span { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 6px; }
.gen-field input, .contact-area { width: 100%; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 5px; background: #fff; outline: 0; font: inherit; }
.gen-field input:focus, .contact-area:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.contact-area { min-height: 140px; resize: vertical; }

/* Articles */
.doc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(44px, 6vw, 80px) clamp(60px, 7vw, 100px); }
.toc { position: sticky; top: 92px; align-self: start; font-size: .92rem; }
.toc p { font-weight: 600; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.toc a { display: block; padding: 8px 0; color: var(--mute); text-decoration: none; border-bottom: 1px solid var(--line); text-wrap: pretty; }
.toc a:hover { color: var(--ink); }
.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; margin-top: 54px; scroll-margin-top: 90px; text-wrap: balance; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.02em; margin-top: 30px; }
.prose p { margin-top: 14px; text-wrap: pretty; }
.prose ul, .prose ol { margin-top: 12px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 7px; text-wrap: pretty; }
.prose code { font-size: .88em; background: var(--wash); padding: .08em .3em; border-radius: 3px; }
.prose pre { margin-top: 16px; padding: 18px; background: var(--wash); border: 1px solid var(--line); border-radius: 6px; overflow-x: auto; font-size: .86rem; line-height: 1.65; }
.prose pre code { background: none; padding: 0; font-size: inherit; }
.prose .tbl-wrap { margin-top: 18px; }
.prose .key { margin-top: 26px; padding-left: 16px; border-left: 4px solid var(--lime); font-size: 1.14rem; font-weight: 600; line-height: 1.32; letter-spacing: -.012em; }
.prose a { color: var(--ink); }
.prose a:hover { color: var(--violet); }
.sources { margin-top: 44px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: .92rem; color: var(--mute); }
.sources h2 { font-size: 1.05rem; letter-spacing: -.01em; margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.sources li { margin-top: 6px; }
.dated { margin-top: 14px; font-size: .9rem; color: #E6E1FF; }

/* Cartes de renvoi, simples rangées */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin-top: 36px; border-top: 2px solid var(--ink); }
.more a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.more b { display: block; font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em; }
.more span { display: block; margin-top: 4px; color: var(--mute); font-size: .95rem; text-wrap: pretty; }
.more a:hover b { color: var(--violet); }

/* Pied */
.foot-cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
.foot-cols h2 { font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.foot-cols li { margin-top: 7px; }
.foot-cols li a { text-decoration: none; }
.foot-cols li a:hover { text-decoration: underline; }
.foot .legal { margin-top: 28px; }

.price-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.price-strip a { display: block; padding: 22px 22px 24px 0; text-decoration: none; }
.price-strip a + a { border-left: 1px solid var(--line); padding-left: 22px; }
.price-strip b { display: block; font-size: 1.1rem; font-weight: 700; }
.price-strip strong { display: block; margin-top: 8px; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.price-strip span { display: block; margin-top: 8px; color: var(--mute); font-size: .95rem; text-wrap: pretty; }
.price-strip a:hover strong { color: var(--violet); }

.foot-link { display: inline-block; margin-top: 26px; font-weight: 600; }
.lead .contact-area { border: 1.5px solid var(--ink); }

@media (max-width: 1060px) {
  .phero-grid, .split, .gen, .doc { grid-template-columns: minmax(0, 1fr); }
  .split > :first-child, .toc { position: static; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan:nth-child(3) { border-left: 0; }
  .plan:nth-child(n+3) { border-top: 1px solid var(--line); }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols > :first-child { grid-column: 1 / -1; }
  .toc { display: none; }
}

@media (max-width: 900px) {
  .top-in { gap: 14px; }
  .top-cta { display: inline-flex; height: 44px; padding: 0 14px; margin-left: auto; font-size: .95rem; }
  .menu-btn { display: block; }
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 68px); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 0; border-top: 1px solid var(--line); }
  .top nav.open { display: flex; }
  .top nav a:not(.nav-cta) { display: block; }
  .nv { display: block; height: auto; }
  .top nav .nv > a { display: block; height: auto; color: var(--ink); font-size: 1.3rem; font-weight: 700; padding: 14px 0 6px; }
  .nv-panel { position: static; visibility: visible; clip-path: none; border: 0; transition: none; }
  .nv-panel .wrap { width: 100%; }
  .nv-grid { grid-template-columns: minmax(0, 1fr); padding-block: 0 10px; }
  .top nav > a:not(.nav-cta) { color: var(--ink); font-size: 1.3rem; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--line); }
  /* Les trois actions restent visibles en bas du menu, quelle que soit sa longueur. */
  .nav-actions { position: sticky; bottom: 0; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 20px 0 0; padding: 12px 0 max(16px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .top nav .nav-actions a:not(.nav-cta) { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px; font-size: 1.05rem; font-weight: 600; border: 1px solid var(--line); border-radius: 6px; }
  .top nav .nav-cta { grid-column: 1 / -1; justify-content: center; width: 100%; height: 48px; font-size: 1.05rem; }
}

@media (max-width: 640px) {
  .tools a { grid-template-columns: 34px minmax(0, 1fr) 22px; }
  .tools span { grid-column: 2 / -1; grid-row: 2; }
  .phero .hero-mark { width: 130vw; right: -50vw; }
  .phero h1 { font-size: clamp(2.3rem, 11.4vw, 3.6rem); }
  .plans, .more, .points, .price-strip { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .price-strip a { padding-inline: 0; }
  .price-strip a + a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .bot-picks { columns: 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats div + div { border-left: 0; padding-left: 0; }
  .stats div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 14px; }
  .edit { min-height: 340px; padding-top: 58px; }
  .filter input { min-width: 0; width: 100%; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Étapes de lecture du générateur */
.suivi { margin-top: 18px; max-width: 640px; }
.suivi li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding: 5px 0; border-bottom: 1px solid #8370EE; font-size: .95rem; color: #E6E1FF; }
.suivi li span { font-size: .84rem; font-weight: 600; white-space: nowrap; }
.suivi li.fait { color: #fff; }
.suivi li.fait span { color: var(--lime); }
.suivi li.encours { color: #fff; font-weight: 600; }
.paste-zone { margin-top: 28px; }
.paste-zone textarea { width: 100%; min-height: 150px; padding: 12px 14px; border: 2px solid #fff; border-radius: 6px; font: 400 .86rem/1.5 var(--mono); outline: 0; background: #fff; color: var(--ink); }
.paste-zone textarea:focus { border-color: var(--lime); }
.paste-zone label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 9px; color: #fff; }
.paste-zone button { margin-top: 10px; min-height: 46px; padding: 0 18px; background: #fff; color: var(--ink); font-weight: 600; border-radius: 5px; }
.paste-zone button:hover { background: var(--lime); }

/* Tarifs : facturation, prix qui roule, logos par offre */
.sec-plans { padding-top: clamp(44px, 5vw, 72px); }
.bill { display: inline-flex; border: 2px solid var(--ink); border-radius: 6px; margin-bottom: 26px; }
.bill[hidden] { display: none; }
.bill button { min-height: 44px; padding: 9px 18px; font: inherit; font-weight: 700; color: var(--ink); background: #fff; border: 0; border-radius: 3px; cursor: pointer; transition: background-color .15s, color .15s; }
.bill button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.bill button span { margin-left: 6px; padding: 2px 6px; font-size: .84rem; color: var(--ink); background: var(--lime); border-radius: 3px; }
.plans.plans-suivi { margin-top: 0; }
.plans-suivi .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
.plan .plan-for { margin-top: 10px; }
.plan .price { display: flex; flex-wrap: wrap; align-items: baseline; }
.plan .price small { flex-basis: 100%; min-height: 2.8em; }
.plan .price-text { font-size: clamp(2rem, 3vw, 2.7rem); }
.roll { display: inline-flex; }
.dg { display: inline-block; height: 1em; overflow: hidden; line-height: 1; font-variant-numeric: tabular-nums; }
.dg > span { display: block; transform: translateY(calc(var(--v) * -1em)); transition: transform .75s var(--out); }
.dg:nth-child(2) > span { transition-delay: .05s; }
.dg:nth-child(3) > span { transition-delay: .1s; }
.dg i { display: block; height: 1em; font-style: normal; line-height: 1; }
.cur { margin-left: .1em; font-size: .62em; letter-spacing: 0; }
.plan .plan-eng p { margin-top: 18px; font-size: .9rem; font-weight: 600; }
.plan .engs, .engs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; border: 0; flex: none; list-style: none; padding: 0; }
.plan .eng, .eng { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.eng svg { width: 20px; height: 20px; }
.eng svg, .row-eng svg, .eng-mark svg, .rot-row svg, .tb-logo { fill: currentColor; }
.plan .plan-eng .eng-names { margin-top: 10px; font-size: .86rem; font-weight: 400; text-wrap: pretty; }
.plan .eng-next, .eng-next { background: transparent; border-style: dashed; border-color: #B9B9B2; }
.plan.main .eng { border-color: #fff; }
.plan.main .eng-next { background: transparent; border-color: #B7AAF5; }
.plan.main .eng-next svg { color: #fff !important; }
.engs-hero { margin-top: 22px; }
.engs-hero .eng { border-color: #fff; }
.plan .plan-list { margin-top: 18px; }
.plan-list b { font-weight: 800; }
.plan.main .plan-list b { color: #fff; }

.alt-rows { border-bottom: 1px solid var(--line); }
.alt-row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px 12px; text-decoration: none; border-top: 1px solid var(--line); background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 0 / 0 100%; transition: background-size .38s var(--out); }
.alt-rows .alt-row:first-child { border-top: 0; }
.alt-row:hover { background-size: 100% 100%; }
.alt-row b { font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em; }
.alt-row span { color: var(--mute); text-wrap: pretty; }
.alt-row:hover span { color: var(--ink); }
.alt-row strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.alt-row small { font-size: .9rem; font-weight: 500; letter-spacing: 0; }

.sec-lede { margin-top: 18px; max-width: 44em; font-size: 1.1rem; color: var(--mute); text-wrap: pretty; }
.rot { margin: 36px 0 0; padding: 18px 0 16px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.rot-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.rot-head b { font-weight: 800; }
.rot-head button { min-height: 44px; padding: 8px 16px; font: inherit; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 5px; cursor: pointer; }
.rot-row { display: grid; grid-template-columns: 30px repeat(30, minmax(0, 1fr)); gap: 3px; align-items: center; margin-top: 6px; }
.rot-row svg { width: 20px; height: 20px; }
.rot-row i { display: block; height: 30px; background: var(--line); border-radius: 2px; transition: background-color .35s; }
.rot-row i.now { background: var(--violet); }
.rot-row i.done { background: #CFC8F6; }
.rot-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: .9rem; color: var(--mute); }
.rot-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rot-legend i { width: 14px; height: 14px; border-radius: 2px; }
.k-now { background: var(--violet); }
.k-done { background: #CFC8F6; }
.k-wait { background: var(--line); }

.eng-rows { margin-top: 36px; border-top: 2px solid var(--ink); }
.eng-row { display: grid; grid-template-columns: 40px minmax(120px, 200px) 1fr auto; gap: 6px 16px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.eng-mark svg { display: block; width: 26px; height: 26px; }
.eng-row b { font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; }
.eng-how { color: var(--mute); font-size: .96rem; text-wrap: pretty; }
.eng-state { font-size: .88rem; font-weight: 700; padding: 3px 8px; background: var(--lime); border-radius: 3px; white-space: nowrap; }
.is-next .eng-state { background: none; padding-inline: 0; font-weight: 500; color: var(--mute); }
.is-next b { color: var(--mute); }

.tbl-compare .mono-table { min-width: 780px; }
.tbl-compare thead th { color: var(--ink); font-size: 1.02rem; font-weight: 700; white-space: normal; }
.tbl-compare thead small { display: block; margin-top: 3px; font-size: .84rem; font-weight: 500; color: var(--mute); }
.tbl-compare tbody th { font-weight: 500; max-width: 19em; text-wrap: pretty; }
.tb-group th { padding-top: 28px; font-weight: 700 !important; font-size: 1.04rem; border-bottom: 2px solid var(--ink); max-width: none !important; }
.mono-table td.off { color: var(--mute); }
.row-eng { display: inline-flex; align-items: center; gap: 10px; }
.row-eng svg { width: 18px; height: 18px; flex: none; }

/* Tableau de bord du suivi */
.tb .wrap { min-width: 0; }
.tb-notice { margin-bottom: 14px; padding: 12px 14px; background: var(--lime); border-radius: 5px; font-weight: 500; text-wrap: pretty; }
.tb-empty { font-size: 1.15rem; max-width: 40em; text-wrap: pretty; }
.tb-key label { display: block; font-weight: 700; margin-bottom: 10px; }
.tb-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.tb-kpi { padding: 20px 22px 22px 0; }
.tb-kpi + .tb-kpi { padding-left: 22px; border-left: 1px solid var(--line); }
.tb-kpi b { display: block; font-size: 1.02rem; font-weight: 700; }
.tb-kpi strong { display: block; margin-top: 8px; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.tb-delta { display: block; margin-top: 8px; color: var(--mute); font-size: .92rem; text-wrap: pretty; }
.tb-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; margin-top: 36px; }
.tb-charts h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; text-wrap: balance; }
.c-wrap { position: relative; }
.c-wrap svg { display: block; width: 100%; height: auto; touch-action: pan-y; }
.c-grid { stroke: var(--line); stroke-width: 1; }
.c-txt { fill: var(--mute); font-size: 12px; font-family: var(--sans); }
.c-val { fill: var(--ink); font-size: 14px; font-weight: 700; font-family: var(--sans); }
.c-line { fill: none; stroke: var(--violet); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-dot { fill: var(--violet); stroke: #fff; stroke-width: 2; }
.c-cross { stroke: var(--ink); stroke-width: 1; }
.c-hover[hidden] { display: none; }
.c-tip { position: absolute; top: 0; transform: translateX(-50%); padding: 6px 9px; font-size: .84rem; line-height: 1.35; white-space: nowrap; color: #fff; background: var(--ink); border-radius: 4px; pointer-events: none; }
.c-tip b { display: block; font-weight: 700; }
.tb-data { margin-top: 18px; }
.tb-data summary, .tb-arts summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.tb-data .tbl-wrap { max-height: 340px; overflow-y: auto; margin-top: 8px; }
.tb-sec { margin-top: clamp(48px, 6vw, 80px); }
.tb-sec .temp { margin-top: 12px; }
.tb-bars { margin-top: 22px; border-top: 2px solid var(--ink); }
.tb-bar { display: grid; grid-template-columns: 26px minmax(90px, 130px) minmax(80px, 1fr) minmax(150px, 280px); gap: 6px 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tb-bars-src .tb-bar { grid-template-columns: minmax(150px, 280px) minmax(80px, 1fr) 96px; }
.tb-bar b { font-weight: 600; overflow-wrap: anywhere; }
.tb-logo { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.tb-track { display: block; height: 8px; background: var(--wash); }
.tb-track i { display: block; height: 100%; background: var(--violet); border-radius: 0 4px 4px 0; }
.tb-val { font-size: .92rem; color: var(--mute); text-wrap: pretty; }
.tb-matrix { min-width: 720px; margin-top: 8px; }
.tb-matrix tbody th { font-weight: 500; min-width: 15em; text-wrap: pretty; }
.tb-eh { display: inline-flex; align-items: center; gap: 6px; }
.tb-c { padding-right: 8px !important; vertical-align: middle !important; }
.tb-c button { min-width: 52px; min-height: 36px; padding: 4px 8px; font: inherit; font-size: .86rem; font-weight: 700; border: 2px solid transparent; border-radius: 4px; cursor: pointer; }
.tb-c button.on { border-color: var(--ink); }
.c-both { color: #fff; background: var(--violet); }
.c-named { color: var(--ink); background: #CFC8F6; }
.c-cited { color: var(--ink); background: var(--lime); }
.c-absent { color: var(--mute); background: var(--wash); }
.c-none { font-size: .84rem; color: var(--mute); }
.tb-excerpt { margin-top: 18px; padding: 16px 18px; background: var(--wash); border-radius: 5px; }
.tb-ex-q { font-weight: 700; text-wrap: pretty; }
.tb-ex-m { margin-top: 6px; color: var(--mute); font-size: .94rem; }
.tb-ex-m .tb-logo { margin-right: 6px; }
.tb-ex-a { margin-top: 12px; white-space: pre-line; overflow-wrap: anywhere; }
.tb-arts { margin-top: 18px; border-top: 2px solid var(--ink); }
.tb-arts details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tb-arts summary b { font-weight: 700; }
.tb-arts summary span { display: block; color: var(--mute); font-size: .92rem; font-weight: 400; }
.tb-copy { margin-top: 12px; min-height: 40px; padding: 6px 14px; font: inherit; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--ink); border-radius: 5px; cursor: pointer; }
.tb-arts pre { margin-top: 12px; padding: 14px; font-family: var(--mono); font-size: .88rem; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--wash); border-radius: 5px; }

@media (max-width: 720px) {
  .alt-row { grid-template-columns: 1fr auto; }
  .alt-row span { grid-column: 1 / -1; grid-row: 2; }
  .rot-row { gap: 2px; grid-template-columns: 24px repeat(30, minmax(0, 1fr)); }
  .rot-row i { height: 24px; }
  .eng-row { grid-template-columns: 34px 1fr auto; }
  .eng-how { grid-column: 2 / -1; grid-row: 2; }
  .tb-kpis, .tb-charts { grid-template-columns: minmax(0, 1fr); }
  .tb-kpi { padding-inline: 0; }
  .tb-kpi + .tb-kpi { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .tb-bar { grid-template-columns: 26px 1fr; }
  .tb-track, .tb-val { grid-column: 1 / -1; }
  .tb-bars-src .tb-bar { grid-template-columns: 1fr; }
  .tbl-compare tbody th, .tb-matrix tbody th { position: sticky; left: 0; background: #fff; z-index: 1; }
  .tbl-compare tbody th, .tb-matrix tbody th { min-width: 9.5em; max-width: 9.5em; font-size: .88rem; overflow-wrap: anywhere; padding-right: 10px; }
  .tb-group th { position: static !important; max-width: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dg > span, .alt-row, .rot-row i { transition: none; }
}

/* Accueil : le lien vers le rapport, sous le formulaire */
.hero-more { margin-top: 14px; }
.hero-more a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.hero-more span { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--lime); text-underline-offset: .22em; }
.hero-more svg { flex: none; width: 18px; height: 18px; color: var(--lime); transition: transform .25s var(--out); }
.hero-more a:hover { color: var(--lime); }
.hero-more a:hover svg { transform: translateX(4px); }

/* Connexion */
.login-sec { padding-block: clamp(44px, 6vw, 80px); }
.phero .login-sent { color: #fff; font-weight: 600; }
.login-intro { margin-top: 12px; max-width: 40em; color: var(--mute); }
.login-list { margin-top: 24px; max-width: 760px; border-top: 1px solid var(--line); }
.login-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 16px; align-items: center; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.login-list b { display: block; font-weight: 700; letter-spacing: -.01em; }
.login-list code { display: block; font-size: .86rem; color: var(--mute); overflow-wrap: anywhere; }
.login-list time { font-size: .86rem; color: var(--mute); white-space: nowrap; }
.login-list svg { width: 18px; height: 18px; }
.login-empty { margin-top: 20px; color: var(--mute); }
.login-next { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; }
.login-next a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .hero-mark, .vmark-ring, .vmark-dot, html.is-busy .brand .logo-ring, html.is-busy .brand .logo-dot { animation: none; }
  .brand:hover .logo-ring, .brand:focus-visible .logo-ring { transform: none; }
}

/* Accueil : aujourd'hui, puis avec Vigie */
.shift-band { background: var(--wash); padding-block: clamp(40px, 5vw, 72px); }
.shift-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.shift-row-b { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.shift-tag { font-size: 1rem; font-weight: 700; color: var(--mute); }
.shift-tag-on { color: var(--ink); }
.shift-tag-on span { padding: 2px 8px; background: var(--lime); border-radius: 3px; }
.shift-text h2 { margin-top: 14px; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.shift-text > p:not(.shift-tag):not(.shift-note) { margin-top: 16px; font-size: 1.08rem; color: var(--mute); max-width: 36em; text-wrap: pretty; }
.shift-fig { position: relative; margin: 0; }
.shift-fig img { display: block; width: 100%; height: auto; border-radius: 8px; }
.scs { list-style: none; margin: 0; padding: 0; }
.sc { position: absolute; display: block; width: 34%; min-width: 172px; padding: 9px 11px 10px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: .78rem; line-height: 1.32; rotate: var(--r, 0deg); }
.sc1 { left: 3%; top: 5%; --r: -2.2deg; }
.sc2 { left: 38%; top: 3%; --r: 1.6deg; }
.sc3 { left: 3%; top: 41%; --r: 1.4deg; }
.sc4 { right: 3%; top: 7%; --r: -1.4deg; width: 25%; min-width: 150px; }
.sc-e { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.sc-e svg { width: 15px; height: 15px; flex: none; }
.sc-q { display: block; margin-top: 4px; color: var(--mute); }
.sc b { display: block; margin-top: 4px; font-weight: 700; }
.shift-fig.rv .sc { opacity: 0; translate: 0 14px; transition: opacity .5s var(--out), translate .7s var(--out); }
.shift-fig.rv.in .sc { opacity: 1; translate: 0 0; }
.shift-fig.rv.in .sc2 { transition-delay: .12s; }
.shift-fig.rv.in .sc3 { transition-delay: .24s; }
.shift-fig.rv.in .sc4 { transition-delay: .36s; }
.sw { position: absolute; right: 3%; top: 5%; width: 41%; min-width: 210px; padding: 12px 14px 11px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; line-height: 1.34; }
.sw p + p { margin-top: 7px; }
.sw-h { font-weight: 800; letter-spacing: -.01em; }
.sw strong { font-weight: 800; color: var(--violet); }
.sw-todo { padding-top: 7px; border-top: 1px solid var(--line); font-weight: 600; }
.sw small { display: block; margin-top: 7px; font-size: .72rem; color: var(--mute); }
.shift-arrow { display: block; width: 96px; height: 120px; margin: 14px auto; fill: none; stroke: var(--violet); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: 1 !important; transform: none !important; }
.shift-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--out); }
.shift-arrow.in path { stroke-dashoffset: 0; }
.shift-arrow.in path + path { transition-delay: .55s; transition-duration: .4s; }
.shift-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.shift-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; font-weight: 700; color: #fff; background: var(--ink); border-radius: 6px; text-decoration: none; transition: background-color .15s; }
.shift-btn:hover { background: var(--violet); color: #fff; }
.shift-link { font-weight: 600; }
.shift-note { margin-top: 12px; font-size: .86rem; color: var(--mute); }
@media (max-width: 900px) {
  .shift-row, .shift-row-b { grid-template-columns: minmax(0, 1fr); }
  .shift-row-b .shift-fig { order: 2; }
  .scs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  .sc, .sc4 { position: static; width: auto; min-width: 0; rotate: none; }
  .sw { position: static; width: auto; min-width: 0; margin-top: 10px; }
  .shift-arrow { width: 72px; height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .shift-fig.rv .sc { opacity: 1; translate: none; transition: none; }
  .shift-arrow path { stroke-dashoffset: 0; transition: none; }
}
