/* 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;
  /* Interface produit : fond de page, filet des blocs, sélection, champs, rayons */
  --page: #FAFAF8;
  --rule: #E9E9E4;
  --lav: #F4F1FF;
  --field: #8C8C94;
  --r-blk: 12px;
  --r-ctl: 8px;
  --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: var(--lime); opacity: .82; }
.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: var(--r-ctl); 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 var(--r-ctl) var(--r-ctl) 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: var(--ink); opacity: .78; 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: var(--r-blk); 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: var(--r-ctl); 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: 6px; background: #fff; color: var(--ink); padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-blk); }
.lead label { font-size: .9rem; font-weight: 600; margin-top: 12px; }
.lead label:first-child { margin-top: 0; }
.lead label span { font-weight: 400; color: var(--mute); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.lead button { height: 48px; margin-top: 16px; }
.lead-note { margin-top: 6px; font-size: .87rem; color: var(--mute); text-wrap: pretty; }
.lead > p:only-child { font-size: 1.02rem; text-wrap: pretty; }

/* ─ 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 button { height: 48px; margin-top: 16px; }
.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: var(--r-blk); 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-head > div { min-width: 0; }
.cite-title { display: flex; align-items: center; gap: 10px; min-height: 32px; 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 .slogo { margin-right: 8px; }
.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: var(--r-blk); }
.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: var(--r-ctl); 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: var(--r-ctl); }
  .probe-box input { height: 56px; flex: none; }
  .probe-box button { justify-content: center; height: 56px; margin: 0 -2px -2px; border-radius: 0 0 var(--r-ctl) var(--r-ctl); }
  .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: var(--lime); opacity: .82; }
.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: var(--r-blk); }
.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: var(--r-ctl); 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: 600 .9rem/1.9 var(--sans); font-variant-numeric: tabular-nums; 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: var(--r-ctl); 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; min-width: 240px; }

/* 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 12px 12px 10px; border-bottom: 1px solid var(--line); border-left: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; }
.presets label:hover { background: var(--page); }
.presets label:has(input:checked) { background: var(--lav); border-left-color: var(--violet); }
.presets input { width: 18px; height: 18px; margin: 3px 0 0; }
.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; 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 { height: 48px; }
.contact-area { min-height: 140px; padding-block: 12px; resize: vertical; line-height: 1.5; }

/* 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; }

@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: var(--r-ctl); 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: var(--r-ctl); transition: background-color .15s; }
.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 #B9B9B2; border-radius: var(--r-ctl); cursor: pointer; transition: border-color .15s; }
.rot-head button:hover { border-color: var(--ink); }
.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 #B9B9B2; border-radius: var(--r-ctl); cursor: pointer; transition: border-color .15s; }
.tb-copy:hover { border-color: var(--ink); }
.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); background: var(--page); border-bottom: 1px solid var(--rule); }
.phero .login-sent { color: #fff; font-weight: 600; }
.login-intro { margin-top: 12px; max-width: 40em; color: var(--mute); }
.login-card { max-width: 760px; margin-top: 24px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-blk); overflow: hidden; }
.login-list a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 18px; gap: 16px; align-items: center; min-height: 64px; padding: 12px 18px; border-bottom: 1px solid var(--rule); text-decoration: none; transition: background-color .15s; }
.login-list li:last-child a { border-bottom: 0; }
.login-list a:hover { background: var(--page); color: var(--ink); }
.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; color: var(--mute); transition: transform .2s var(--out), color .15s; }
.login-list a:hover svg { color: var(--ink); transform: translateX(3px); }
.login-empty { padding: 22px 18px; color: var(--mute); }
.login-next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@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: var(--r-ctl); 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; }
}

/* Logo du site analysé : l'initiale dessous, l'image par-dessus dès qu'elle est chargée */
.slogo { position: relative; display: inline-grid; place-items: center; flex: none; width: var(--s, 24px); height: var(--s, 24px); overflow: hidden; color: var(--mute); background: #fff; border: 1px solid var(--rule); border-radius: max(4px, calc(var(--s, 24px) * .22)); vertical-align: middle; }
.slogo b { font-family: var(--sans); font-size: calc(var(--s, 24px) * .44); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.slogo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 14%; object-fit: contain; background: #fff; opacity: 0; transition: opacity .2s; }
.slogo.has img { opacity: 1; }

/* Le logo à côté du nom, dans les en-têtes de résultat */
.rep-name { display: flex; align-items: center; gap: 14px; }
.rep-name > span:last-child { min-width: 0; }
.cite-logo { flex: none; display: block; line-height: 0; }
.cite-logo:empty { display: none; }
.cite-title > span:last-child { min-width: 0; }
.gen-for { position: absolute; top: 10px; left: 10px; right: 212px; display: flex; align-items: center; gap: 8px; min-height: 36px; font: 500 .84rem/1.2 var(--mono); pointer-events: none; }
.gen-for[hidden] { display: none; }
.gen-for span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Carte du relevé */
.board-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.board-id > div { min-width: 0; }
.board-logo { display: block; flex: none; line-height: 0; }
.board-logo:empty { display: none; }
.board-tally { display: flex; align-items: center; gap: 12px; padding: 0 22px 14px; font-size: .82rem; font-weight: 600; color: var(--mute); white-space: nowrap; }
.tally-bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; flex: 1; }
.tally-bar i { display: block; height: 6px; border-radius: 2px; background: var(--line); transition: background-color .4s; }
.tally-bar i.t1 { background: var(--green); }
.tally-bar i.t2 { background: var(--red); }
.board-foot a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px; font-weight: 700; color: #fff; background: var(--ink); border-radius: var(--r-ctl); text-decoration: none; transition: background-color .15s; }
.board-foot a:hover { background: var(--violet); color: #fff; }
@media (max-width: 720px) {
  .board-tally { padding-inline: 16px; }
  .board-logo .slogo { --s: 40px !important; }
  .rep-name { gap: 10px; }
  .rep-name .slogo { --s: 36px !important; }
  .login-list a { gap: 10px; padding-inline: 14px; }
  .login-list .slogo { --s: 32px !important; }
  .board-foot a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .slogo img, .tally-bar i { transition: none; }
}

/* En-tête : voir la démo (contour), demander une démo (plein) */
.top nav .nav-actions { gap: 10px; }
.top nav .nav-actions a.nav-ghost { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; color: var(--ink); font-weight: 600; white-space: nowrap; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 6px; transition: color .15s, border-color .15s; }
.top nav .nav-actions a.nav-ghost:hover { color: var(--violet); border-color: var(--violet); }
@media (max-width: 1060px) {
  .top nav .nav-actions a.nav-ghost { grid-column: 1 / -1; justify-content: center; width: 100%; height: 48px; font-size: 1.05rem; }
}

/* ─────────────────────────────────────────────────────────
   Styles communs des formulaires et des boutons.
   Champs : filet gris, rayon 8, contour encre au focus (jamais violet).
   Boutons : plein encre, ou contour ; désactivé, le bouton garde sa couleur
   et s'efface à peine, le petit symbole animé dit qu'un travail tourne.
   ───────────────────────────────────────────────────────── */

/* Champs */
.lead input:not(.trap), .lead textarea, .lead select,
.cite-form input:not(.trap), .cite-form select,
.gen-field input, .contact-area, .filter input, .field {
  display: block; width: 100%; height: 48px; padding: 0 14px;
  font: inherit; font-size: 1rem; line-height: 1.4; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: var(--r-ctl); outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.lead textarea, .contact-area { height: auto; min-height: 140px; padding-block: 12px; line-height: 1.5; resize: vertical; }
.filter input { display: inline-block; width: auto; height: 44px; }
.lead input:not(.trap):hover, .lead textarea:hover, .lead select:hover,
.cite-form input:not(.trap):hover, .cite-form select:hover,
.gen-field input:hover, .contact-area:hover, .filter input:hover, .field:hover { border-color: var(--mute); }
.lead input:not(.trap):focus, .lead textarea:focus, .lead select:focus,
.cite-form input:not(.trap):focus, .cite-form select:focus,
.gen-field input:focus, .contact-area:focus, .filter input:focus, .field:focus { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.lead [aria-invalid="true"], .cite-form [aria-invalid="true"], .field[aria-invalid="true"] { border-color: var(--red); }
.lead ::placeholder, .cite-form ::placeholder, .gen-field ::placeholder, .contact-area::placeholder, .filter ::placeholder, .field::placeholder { color: #71717A; }

/* Sélecteurs : la flèche dessinée, la même partout */
.lead select, .cite-form select, select.field {
  appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23111114' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
}

/* Cases et boutons radio : case violette, la ligne choisie en lavande */
input[type="checkbox"], input[type="radio"] { accent-color: var(--violet); cursor: pointer; }

/* Boutons */
.btn, .lead button, .cite-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; font: inherit; font-weight: 600; line-height: 1.2;
  color: #fff; background: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-ctl);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, opacity .15s;
}
.btn:hover, .lead button:hover, .cite-form button:hover { color: #fff; background: var(--violet); border-color: var(--violet); }
.btn-ghost { color: var(--ink); background: #fff; border-color: #B9B9B2; }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .vmark, .lead button .vmark, .cite-form button .vmark { margin: 0; }
.btn:disabled, .btn[aria-disabled="true"], .lead button:disabled, .cite-form button:disabled { opacity: .78; cursor: progress; }
.btn:disabled:hover, .btn[aria-disabled="true"]:hover, .lead button:disabled:hover, .cite-form button:disabled:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.btn-ghost:disabled:hover, .btn-ghost[aria-disabled="true"]:hover { color: var(--ink); background: #fff; border-color: #B9B9B2; }
.probe-box button { transition-property: background-color, opacity; }
.probe-box button:disabled:hover { background: var(--ink); }
.hero .probe-box button:disabled:hover, .phero .probe-box button:disabled:hover { background: var(--lime); }
.copy:disabled, .tb-copy:disabled, .paste-zone button:disabled { opacity: .6; cursor: default; }

/* Demande de démo et contact : le formulaire est un bloc blanc sur le fond de page.
   !important l’emporte sur l’ancien filet écrit dans la balise de /contact. */
.sec:has(> .split > form.lead) { background: var(--page); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.split > form.lead { border: 1px solid var(--rule) !important; }
.split > form.lead button { margin-top: 18px; }
@media (max-width: 640px) { .filter input { width: 100%; } }

/* Diagnostic en cours : chaque case en attente vit, la ligne du moteur est balayée */
.cite-panel.running::before { height: 4px; }
.cite-panel.running .ci[data-pos="0"] .k0 { color: var(--violet); font-weight: 600; }
.cite-panel.running .ci[data-pos="0"] .k0::after { content: ''; display: inline-block; width: 1.2em; text-align: left; animation: ci-dots 1.2s steps(4, end) infinite; }
@keyframes ci-dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.cite-panel.running .cite-row:not(.cite-row-h) { position: relative; }
.cite-panel.running .cite-row:has(.ci[data-pos="0"])::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 28%; height: 2px; background: var(--violet); animation: ci-sweep 1.8s cubic-bezier(.5, 0, .5, 1) infinite; }
.cite-panel.running .cite-row:nth-of-type(3)::after { animation-delay: .3s; }
.cite-panel.running .cite-row:nth-of-type(4)::after { animation-delay: .6s; }
.cite-panel.running .cite-row:nth-of-type(5)::after { animation-delay: .9s; }
@keyframes ci-sweep { from { transform: translateX(-100%); } to { transform: translateX(360%); } }
.ci { transition: background-color .3s; }
.cite-panel .ci > span { transition: transform .5s var(--out); }
html.paused .cite-panel.running .cite-row::after, html.paused .cite-panel.running .ci .k0::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .cite-panel.running .cite-row::after { display: none; }
  .cite-panel.running .ci[data-pos="0"] .k0::after { animation: none; content: '...'; }
}

/* Après le diagnostic : la suite, et le rapport PDF */
.ci-cta { display: grid; gap: 14px; margin-top: 22px; padding: 18px 20px; background: #F4F1FF; border: 1px solid #D9D1FB; border-radius: 10px; }
.ci-cta b { display: block; font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; }
.ci-cta p { margin-top: 6px; color: var(--mute); text-wrap: pretty; }
.ci-cta-act { display: flex; flex-wrap: wrap; gap: 10px; }
.ci-btn, .ci-pdf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; font: inherit; font-weight: 700; border-radius: 6px; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.ci-btn { color: #fff; background: var(--ink); }
.ci-btn:hover { color: #fff; background: var(--violet); }
.ci-pdf { color: var(--ink); background: #fff; border: 1.5px solid var(--ink); }
.ci-pdf:hover { color: var(--violet); border-color: var(--violet); }
.ci-alt { font-size: .92rem; }
#printReport { display: none; }
@media print {
  @page { margin: 16mm; }
  body:has(#printReport) > *:not(#printReport) { display: none !important; }
  #printReport { display: block; color: #111114; font: 11pt/1.45 var(--sans); }
  .pr-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 2px solid #111114; }
  .pr-head svg { height: 30px; width: auto; }
  .pr-head span { text-align: right; font-size: 9.5pt; color: #55555F; }
  .pr-site { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
  .pr-site .slogo img { opacity: 1; }
  .pr-site h1 { font-size: 20pt; font-weight: 800; line-height: 1.1; }
  .pr-site p { color: #55555F; font-family: var(--mono); font-size: 9.5pt; }
  .pr-score { margin-left: auto; text-align: right; font-size: 10pt; color: #55555F; }
  .pr-score b { font-size: 26pt; font-weight: 800; color: #C8290F; }
  .pr-say { margin-top: 14px; font-weight: 700; }
  #printReport h2 { margin-top: 16px; font-size: 12pt; font-weight: 800; }
  #printReport ol { margin: 6px 0 0 18px; }
  #printReport table { width: 100%; margin-top: 8px; border-collapse: collapse; }
  #printReport th, #printReport td { padding: 6px 8px 6px 0; text-align: left; border-bottom: 1px solid #E4E4DF; font-size: 10pt; }
  .pr-hosts { list-style: none; margin-top: 6px; padding: 0; columns: 2; }
  .pr-hosts li { display: flex; align-items: center; gap: 6px; padding: 3px 0; break-inside: avoid; }
  .pr-hosts .slogo img { opacity: 1; }
  .pr-hosts span { margin-left: auto; color: #55555F; }
  .pr-note { margin-top: 14px; font-size: 9pt; color: #55555F; }
  .pr-cta { margin-top: 16px; padding: 12px 14px; border: 1.5px solid #5B3BE8; border-radius: 8px; }
  .pr-cta span { font-weight: 700; color: #5B3BE8; }
  #printReport footer { margin-top: 18px; padding-top: 8px; border-top: 1px solid #E4E4DF; font-size: 8.5pt; color: #55555F; }
}

/* Accueil : chiffres clés */
.kf { border-bottom: 1px solid var(--line); background: #fff; }
.kf-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kf-item { padding: 30px 24px 30px 0; }
.kf-item + .kf-item { padding-left: 24px; border-left: 1px solid var(--line); }
.kf-item strong { display: block; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.kf-item span { display: block; margin-top: 10px; color: var(--mute); font-size: .98rem; text-wrap: pretty; }
@media (max-width: 760px) {
  .kf-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-item, .kf-item + .kf-item { padding: 22px 12px 22px 0; border-left: 0; }
  .kf-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .kf-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ═ Listes déroulantes : un seul dessin sur tout le site ═
   Bouton blanc, filet gris, flèche maison, contour encre au focus.
   Dans les navigateurs qui le permettent, le menu ouvert prend aussi le style Vigie. */
select:not([multiple]) {
  appearance: none; -webkit-appearance: none;
  height: 44px; padding: 0 40px 0 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23111114' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
  border: 1px solid var(--line); border-radius: 10px; outline: 0; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
select:not([multiple]):hover { border-color: var(--mute); }
select:not([multiple]):focus-visible, select:not([multiple]):open { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@supports (appearance: base-select) {
  select:not([multiple]), select:not([multiple])::picker(select) { appearance: base-select; }
  select:not([multiple]) { display: inline-flex; align-items: center; }
  select:not([multiple])::picker-icon { display: none; }
  select:not([multiple])::picker(select) {
    margin-top: 6px; padding: 6px; min-width: anchor-size(width);
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15, 15, 19, .06), 0 12px 28px -10px rgba(15, 15, 19, .2);
  }
  select:not([multiple]) option {
    display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 8px 12px;
    border-radius: 8px; font-size: 14.5px; color: var(--ink); cursor: pointer;
  }
  select:not([multiple]) option::checkmark { order: 2; margin-left: auto; content: ""; width: 14px; height: 14px; background: var(--violet); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5 5.5 10.5 11.5 3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5 5.5 10.5 11.5 3.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
  select:not([multiple]) option:hover, select:not([multiple]) option:focus-visible { background: #F4F1FF; outline: 0; }
  select:not([multiple]) option:checked { font-weight: 650; }
}
/* Bas du pied de page : les mentions à gauche, la signature à droite, sur une seule ligne */
.foot-base { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--mute); }
.foot-base .credit { white-space: nowrap; }
.foot-base .credit a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 1px; text-underline-offset: .25em; transition: text-decoration-color .15s; }
.foot-base .credit a:hover { text-decoration-color: currentColor; }
/* Le mot Vigie en contour dégradé, qui s'efface vers le bas et se dessine à l'arrivée */
.foot { overflow: hidden; }
.foot-word { display: block; width: 100%; height: auto; margin: 48px 0 -50px; }
.fw-line { fill: none; stroke: url(#fwStroke); stroke-width: .32; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fw-fill { fill: url(#fwFill); }
html.js .foot-word.rv { opacity: 1; transform: none; }
html.js .foot-word.rv .fw-line { stroke-dashoffset: 1; }
html.js .foot-word.rv .fw-fill { opacity: 0; }
html.js .foot-word.rv.in .fw-line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s cubic-bezier(.65, 0, .35, 1); }
html.js .foot-word.rv.in .fw-fill { opacity: 1; transition: opacity 1.2s ease 1.8s; }
@media (max-width: 640px) { .foot-word { margin-top: 32px; } .fw-line { stroke-width: .8; } }

/* ═ Accueil : le radar Vigie ═
   Dégradé violet profond, trame de points, l'anneau qui balaie les IA en orbite,
   et une carte qui rejoue un relevé : question, réponse, rang. */
.hx {
  position: relative; overflow: clip; color: #fff;
  background:
    radial-gradient(60% 70% at 78% 38%, rgba(140, 110, 255, .55) 0%, rgba(140, 110, 255, 0) 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(215, 242, 75, .14) 0%, rgba(215, 242, 75, 0) 70%),
    linear-gradient(155deg, #1C0F6B 0%, #3A20B8 48%, #5B3BE8 100%);
}
.hx::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .25) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .25) 100%); pointer-events: none; }
.hx-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 80px); min-height: min(820px, calc(100svh - 72px)); padding-block: clamp(48px, 6vw, 88px); }
.hx-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .88rem; font-weight: 600; color: #EDE8FF; }
.hx-live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(215, 242, 75, .7); animation: hx-live 2s ease-out infinite; }
@keyframes hx-live { 70% { box-shadow: 0 0 0 9px rgba(215, 242, 75, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 242, 75, 0); } }
.hx h1 { margin-top: 22px; font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.hx-hl { position: relative; white-space: nowrap; background: linear-gradient(90deg, #E9FF7A, var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .08em; border-radius: 1em; background: var(--lime); transform-origin: left; animation: hx-under 1.1s .5s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes hx-under { from { transform: scaleX(0); } }
.hx-lede { max-width: 34em; margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.55; color: #E3DDFF; text-wrap: pretty; }
.hx-form { margin-top: 30px; max-width: 560px; }
.hx-label { display: block; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: #EDE8FF; }
.hx-box { display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(10, 4, 60, .6); }
.hx-box input { flex: 1; min-width: 0; height: 50px; padding: 0 14px; border: 0; border-radius: 10px; font: inherit; font-size: 1.05rem; color: var(--ink); background: transparent; outline: 0; }
.hx-box input:focus-visible { box-shadow: inset 0 0 0 2px var(--violet); }
.hx-box button { display: inline-flex; align-items: center; gap: 10px; flex: none; height: 50px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .15s; }
.hx-box button:hover { background: var(--violet); }
.hx-box button:active { transform: scale(.97); }
.hx-box button svg { width: 18px; height: 18px; transition: transform .2s var(--out); }
.hx-box button:hover svg { transform: translateX(3px); }
.hx-note { margin-top: 14px; font-size: .92rem; color: #D6CEFF; }
.hx-note a { margin-left: 6px; color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: .25em; }
.hx-note a:hover { color: var(--lime); }

/* Le radar */
.hx-scene { position: relative; justify-self: center; width: min(100%, 560px); aspect-ratio: 1; }
.hx-radar { --R: 44%; position: absolute; inset: 0; }
.hx-ring { position: absolute; inset: var(--in); border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; }
.hx-r1 { --in: 6%; } .hx-r2 { --in: 22%; border-style: dashed; border-color: rgba(255, 255, 255, .12); } .hx-r3 { --in: 37%; }
.hx-sweep { position: absolute; inset: 6%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(215, 242, 75, 0) 0deg, rgba(215, 242, 75, 0) 280deg, rgba(215, 242, 75, .28) 358deg, rgba(215, 242, 75, .6) 360deg); animation: hx-turn 8s linear infinite; }
@keyframes hx-turn { to { transform: rotate(360deg); } }
.hx-core { position: absolute; left: 50%; top: 50%; width: 22%; height: 22%; translate: -50% -50%; fill: #fff; filter: drop-shadow(0 8px 24px rgba(20, 8, 90, .5)); animation: hx-turn 40s linear infinite reverse; }
.hx-node { position: absolute; left: 50%; top: 50%; width: 13%; aspect-ratio: 1; margin: -6.5% 0 0 -6.5%; transform: rotate(var(--a)) translateY(-338%) rotate(calc(-1 * var(--a))); }
.hx-node i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 28%; background: #fff; box-shadow: 0 10px 24px -10px rgba(10, 4, 60, .55); animation: hx-ping 8s linear infinite; animation-delay: calc(var(--a) / 360deg * 8s - 8s); transition: transform .35s var(--out), box-shadow .35s; }
.hx-node svg { width: 52%; height: 52%; fill: currentColor; }
@keyframes hx-ping { 0% { box-shadow: 0 0 0 0 rgba(215, 242, 75, .85), 0 10px 24px -10px rgba(10, 4, 60, .55); } 9% { box-shadow: 0 0 0 16px rgba(215, 242, 75, 0), 0 10px 24px -10px rgba(10, 4, 60, .55); } 100% { box-shadow: 0 0 0 0 rgba(215, 242, 75, 0), 0 10px 24px -10px rgba(10, 4, 60, .55); } }
.hx-node.is-on i { transform: scale(1.22); outline: 3px solid var(--lime); outline-offset: 3px; }

/* La carte du relevé */
.hx-card { position: absolute; left: -6%; right: 8%; bottom: -2%; padding: 18px 20px 16px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 1px 2px rgba(10, 4, 60, .12), 0 28px 60px -24px rgba(10, 4, 60, .7); transition: opacity .35s, transform .35s var(--out); }
.hx-card.is-out { opacity: 0; transform: translateY(8px); }
.hx-card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hx-eng { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; }
.hx-eng i { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 8px; }
.hx-eng svg { width: 15px; height: 15px; fill: currentColor; }
.hx-tag { font-size: .74rem; font-weight: 600; color: var(--mute); }
.hx-q { min-height: 2.6em; margin-top: 12px; padding: 10px 12px; background: #F4F1FF; border-radius: 10px; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.hx-q::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--violet); animation: hx-caret 1s steps(1) infinite; }
.is-answer .hx-q::after { display: none; }
@keyframes hx-caret { 50% { opacity: 0; } }
.hx-a { min-height: 3.1em; margin-top: 12px; font-size: .95rem; line-height: 1.55; color: #33333B; }
.hx-w { display: inline-block; opacity: 0; transform: translateY(4px); }
.is-answer .hx-w { opacity: 1; transform: none; transition: opacity .3s, transform .3s var(--out); transition-delay: calc(var(--i) * 32ms); }
.hx-you { padding: 0 6px; border-radius: 6px; background: var(--violet); color: #fff; font-weight: 700; }
.hx-rival { font-weight: 650; color: var(--ink); text-decoration: underline; text-decoration-color: #C9C9D1; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.hx-rank { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 10px; border-radius: 8px; background: #F3FCCB; font-size: .82rem; color: #3D4A00; opacity: 0; transform: scale(.94); transform-origin: left; }
.hx-rank b { font-weight: 750; }
.is-ranked .hx-rank { opacity: 1; transform: none; transition: opacity .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1); }

/* Outil robots, sous le radar */
.rbx { padding-block: clamp(56px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.rbx-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.rbx-kicker { font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.rbx h2 { margin-top: 10px; font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.rbx-lede { margin: 16px 0 26px; max-width: 34em; color: var(--mute); text-wrap: pretty; }

@media (max-width: 960px) {
  .hx-in, .rbx-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hx-scene { width: min(100%, 460px); margin-bottom: 40px; }
  .hx-card { left: 0; right: 0; bottom: -8%; }
}
@media (max-width: 520px) {
  .hx-box { flex-direction: column; }
  .hx-box button { justify-content: center; }
  .hx-card { padding: 14px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-sweep, .hx-core, .hx-node i, .hx-live { animation: none; }
}
.hx-you { display: inline-block; }
.hx-rank { gap: 8px; }
.hx-rank span::before { content: "·"; margin-right: 8px; color: #8A9A2A; }
/* Téléphone et tablette : le radar entier, la carte juste en dessous */
@media (max-width: 960px) {
  .hx-scene { aspect-ratio: auto; width: min(100%, 460px); margin-bottom: 8px; }
  .hx-radar { position: relative; inset: auto; width: 100%; aspect-ratio: 1; }
  .hx-card { position: relative; left: auto; right: auto; bottom: auto; margin-top: -10%; }
}

/* ═ Fin de page : la bande Vigie ═
   Dégradé violet profond, trame de points, une lueur qui suit la souris,
   le mot en contour clair et deux traits de lumière qui courent sur les lettres. */
.foot { padding-bottom: 0; }
.foot-stage { position: relative; isolation: isolate; overflow: hidden; margin-top: 40px; color: #CFC6FF;
  background:
    radial-gradient(70% 110% at 50% 115%, rgba(150, 120, 255, .55) 0%, rgba(150, 120, 255, 0) 70%),
    linear-gradient(160deg, #1C0F6B 0%, #3A20B8 55%, #5B3BE8 100%); }
.foot-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2)); }
.foot-stage .foot-base { margin-top: 0; padding-top: 22px; border-top: 0; color: #CFC6FF; }
.foot-stage .credit a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.foot-stage .credit a:hover { color: var(--lime); text-decoration-color: currentColor; }
.foot-stage :focus-visible { outline-color: var(--lime); }
.foot-stage .foot-word { margin: 36px 0 0; }
.foot-stage .fw-line { stroke-width: .34; }
.fw-comet { fill: none; stroke: var(--lime); stroke-width: .7; stroke-linecap: round; stroke-dasharray: .03 .97; opacity: 0; filter: drop-shadow(0 0 1.4px rgba(215, 242, 75, .95)); animation: fw-run 9s linear infinite; }
.fw-comet2 { stroke: #fff; filter: drop-shadow(0 0 1.4px rgba(255, 255, 255, .9)); animation-delay: -4.5s; }
@keyframes fw-run { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
html.js .foot-word.rv.in .fw-comet { opacity: 1; transition: opacity .8s ease 2.4s; }
html:not(.js) .fw-comet { opacity: 1; }
@media (max-width: 640px) { .foot-stage .fw-line { stroke-width: .8; } .fw-comet { stroke-width: 1.2; } }
@media (prefers-reduced-motion: reduce) { .fw-comet { animation: none; display: none; } }

/* ═ Bas de page en deux temps : l'encart audit sur fond clair, puis un seul bloc sombre ═ */
.audit { background: #F3F0FF; color: var(--ink); border-top: 1px solid #E4DEFF; }
.audit a { color: var(--violet); }
.audit :focus-visible { outline-color: var(--violet); }
.audit .lead { border: 1px solid #E4DEFF; box-shadow: 0 18px 40px -24px rgba(40, 20, 140, .35); }
.foot { position: relative; isolation: isolate; color: #CFC6FF;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(150, 120, 255, .5) 0%, rgba(150, 120, 255, 0) 70%),
    linear-gradient(170deg, #160B57 0%, #2A1696 50%, #4A2DD6 100%); }
.foot b, .foot-cols h2 { color: #fff; }
.foot-cols li a { color: #D9D2FF; transition: color .15s; }
.foot-cols li a:hover { color: var(--lime); text-decoration: none; }
.foot :focus-visible { outline-color: var(--lime); }
.brand-foot svg { color: #fff; }
.brand-foot svg [fill="#5B3BE8"] { fill: var(--lime); }
.foot-stage { margin-top: 36px; background: none; }
.foot-stage .foot-base { border-top: 1px solid rgba(255, 255, 255, .14); }
.audit .foot-link, .audit .foot-link a { color: var(--violet); text-decoration-color: currentColor; }
.audit .foot-link:hover, .audit .foot-link a:hover { color: var(--ink); }
/* La croix pour effacer l'adresse, dans le champ */
.probe-box .probe-clear, .hero .probe-box .probe-clear { display: inline-grid; place-items: center; flex: none; width: 44px; min-height: 0; padding: 0; background: transparent; border: 0; color: var(--mute); cursor: pointer; transition: color .15s; }
.probe-box .probe-clear[hidden] { display: none; }
.probe-box .probe-clear:hover, .hero .probe-box .probe-clear:hover { background: transparent; color: var(--ink); }
.probe-clear svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ═ Diagnostic de citations : attente et résultats ═
   Pendant le relevé : le logo du moteur respire et trois points pulsent dans chaque case.
   Au résultat : une étiquette colorée avec son icône apparaît en douceur. */
.cite-panel.running .cite-row:has(.ci[data-pos="0"])::after { display: none; }
.cite-panel.running .cite-row:has(.ci[data-pos="0"]) > b svg { animation: ci-breathe 1.6s ease-in-out infinite; }
@keyframes ci-breathe { 50% { transform: scale(1.18); opacity: .7; } }
.ci { position: relative; height: 30px; display: block; overflow: hidden; }
.ci > span { width: 100%; }
.cite-panel.running .ci[data-pos="0"] > span { visibility: hidden; }
.cite-panel.running .ci[data-pos="0"]::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--violet); box-shadow: 13px 0 0 rgba(91, 59, 232, .35), 26px 0 0 rgba(91, 59, 232, .15); animation: ci-wave 1.1s linear infinite; }
@keyframes ci-wave {
  0% { background: var(--violet); box-shadow: 13px 0 0 rgba(91, 59, 232, .35), 26px 0 0 rgba(91, 59, 232, .15); }
  33% { background: rgba(91, 59, 232, .15); box-shadow: 13px 0 0 var(--violet), 26px 0 0 rgba(91, 59, 232, .35); }
  66% { background: rgba(91, 59, 232, .35); box-shadow: 13px 0 0 rgba(91, 59, 232, .15), 26px 0 0 var(--violet); }
  100% { background: var(--violet); box-shadow: 13px 0 0 rgba(91, 59, 232, .35), 26px 0 0 rgba(91, 59, 232, .15); }
}
.cite-panel .ci > span { transition: none; }
.ci b { height: 30px; line-height: 30px; }
.ci b.k1, .ci b.k2, .ci b.k3, .ci b.k4 { display: flex; align-items: center; gap: 6px; width: fit-content; padding: 0 10px; border-radius: 6px; font-size: .86rem; font-weight: 650; line-height: 26px; height: 30px; margin: 0; box-sizing: border-box; border-block: 2px solid transparent; background-clip: padding-box; }
.ci b.k1, .ci b.k2 { background: #E6F5EC; color: #146C3E; }
.ci b.k3 { background: #F4F1FF; color: var(--violet); }
.ci b.k4 { background: #FDECEC; color: #B42318; }
.ci b.k1::before, .ci b.k2::before { content: "✓"; }
.ci b.k3::before { content: "↗"; }
.ci b.k4::before { content: "✕"; font-size: .8em; }
.ci:not([data-pos="0"]) > span { animation: ci-pop .45s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes ci-pop { from { opacity: 0; transform: translateY(calc(var(--pos, 0) * -30px)) scale(.85); } }
.cite-panel .ci > span { transform: translateY(calc(var(--pos, 0) * -30px)); }
.cite-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 22px 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--mute); }
.cite-soon span { display: inline-flex; align-items: center; gap: 6px; opacity: .75; }
.cite-soon svg { width: 15px; height: 15px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .cite-panel .cite-row > b svg, .ci::before, .ci > span { animation: none !important; } }

/* Diagnostic, animation « Radar Vigie » : l'anneau tourne dans chaque case en attente,
   une barre avance sous le moteur à chaque réponse, puis le verdict arrive. */
.cite-panel.running .cite-row:has(.ci[data-pos="0"]) > b svg { animation: none; }
.cite-panel.running .ci[data-pos="0"]::before { left: 2px; width: 18px; height: 18px; margin-top: -9px; box-sizing: border-box; background: none; box-shadow: none; border: 2.5px solid var(--line); border-top-color: var(--violet); border-right-color: var(--violet); animation: ci-spin .85s linear infinite; }
@keyframes ci-spin { to { transform: rotate(360deg); } }
.cite-panel.running .cite-row:not(.cite-row-h)::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 6%; background: var(--violet); transition: width .6s var(--out), opacity .4s; }
.cite-panel.running .cite-row:has(.ci:not([data-pos="0"]))::before { width: 55%; }
.cite-panel.running .cite-row:not(.cite-row-h):not(:has(.ci[data-pos="0"]))::before { width: 100%; opacity: 0; transition: width .6s var(--out), opacity .4s .7s; }
@media (prefers-reduced-motion: reduce) { .cite-panel.running .ci[data-pos="0"]::before { animation: none; } }

/* ─ Boutons partagés (accueil, FAQ) : la forme d'un bouton, toujours ─ */
.a-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 20px; font-weight: 700; color: #fff; text-decoration: none; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--r-ctl); transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.a-btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--out); }
.a-btn:hover { color: #fff; background: var(--violet); border-color: var(--violet); }
.a-btn:hover svg { transform: translateX(3px); }
.a-btn:active { transform: scale(.98); }
.a-btn-line { color: var(--ink); background: #fff; }
.a-btn-line:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.a-btn-sm { min-height: 38px; padding: 6px 14px; gap: 8px; font-size: .9rem; }
.a-btn-sm svg { width: 15px; height: 15px; }

/* ─ FAQ par thèmes ─ */
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.faq-group { scroll-margin-top: 96px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-g { margin-bottom: 14px; font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.faq-g + .faq { margin-top: 0; }
.faq .fq-go { margin-top: 14px; }
.faq details > div a.a-btn-line { color: var(--ink); text-decoration: none; }
.faq details > div a.a-btn-line:hover { color: #fff; }

/* ─ Fenêtre macOS : les trois boutons, l'adresse centrée, des coins doux et une ombre posée ─ */
.mac-win { position: relative; overflow: hidden; text-align: left; background: #fff; border: 1px solid rgba(17, 17, 20, .16); border-radius: 12px; box-shadow: 0 1px 2px rgba(17, 17, 20, .06), 0 28px 50px -28px rgba(17, 17, 20, .45); }
.mac-bar { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 16px; height: 42px; padding: 0 14px; background: #F2F1EE; border-bottom: 1px solid #DEDCD6; }
.mac-dots { display: flex; gap: 8px; }
.mac-dots i { width: 12px; height: 12px; background: #FF5F57; border-radius: 50%; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .2); }
.mac-dots i:nth-child(2) { background: #FEBC2E; }
.mac-dots i:nth-child(3) { background: #28C840; }
.mac-nav { display: flex; gap: 12px; color: #A5A3AB; }
.mac-nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mac-url { justify-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: min(100%, 420px); height: 27px; padding: 0 14px; overflow: hidden; font: 500 .8rem var(--sans); color: #3F3F48; white-space: nowrap; background: #fff; border: 1px solid #E0DED8; border-radius: 7px; }
.mac-url svg { flex: none; width: 11px; height: 11px; color: #8C8C94; }
.mac-url span { overflow: hidden; text-overflow: ellipsis; }
.mac-sp { width: 90px; }

/* ─ Relevé : le tableau du haut de page (refonte du 20 nov. 2026) ─ */
.board .brow { transition: background-color .35s; }
.board .brow:hover { background: var(--page); }
.board .brow[data-pos="2"] { background: #FFF6F4; }
.board .st b { width: fit-content; margin-left: auto; }
.board .st .s1, .board .st .s2 { height: 22px; margin-block: 2px; padding: 0 10px; font-size: .8rem; line-height: 22px; border-radius: 99px; }
.board .st .s1 { background: #E3F4EC; }
.board .st .s2 { background: #FDECE8; }
.board .board-foot button { min-height: 34px; padding: 0 14px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 6px; transition: background-color .15s, color .15s; }
.board .board-foot button:hover { color: #fff; background: var(--ink); }

/* ─ Relevé : le rapport complet ─ */
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.rp-id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rp-k { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.rp-host { margin-top: 6px; font: 500 clamp(1.6rem, 3.4vw, 2.6rem)/1.1 var(--mono); letter-spacing: -.04em; overflow-wrap: anywhere; }
.rp-gauge { position: relative; flex: none; display: grid; justify-items: center; gap: 8px; width: 150px; }
.rp-gauge svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.rp-gauge circle { fill: none; stroke-width: 10; }
.rp-gauge .g-bg { stroke: #EEEDE8; }
.rp-gauge .g-fg { stroke: var(--g); stroke-linecap: round; }
.rp-gauge p { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: center; height: 132px; line-height: 1; }
.rp-gauge b { font-size: 2.7rem; font-weight: 800; letter-spacing: -.05em; color: var(--g); font-variant-numeric: tabular-nums; }
.rp-gauge small { margin: 14px 0 0 2px; font-size: .85rem; font-weight: 500; color: var(--mute); }
.rp-gauge > span { padding: 3px 10px; font-size: .78rem; font-weight: 700; color: var(--g); background: var(--gb); border-radius: 99px; white-space: nowrap; }
.rp-gauge[data-level="good"] { --g: var(--green); --gb: #E3F4EC; }
.rp-gauge[data-level="mid"] { --g: #B45309; --gb: #FEF3E2; }
.rp-gauge[data-level="bad"] { --g: var(--red); --gb: #FDECE8; }
.rp-gauge[data-level="na"] { --g: var(--mute); --gb: var(--wash); }

.rp-verdict { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; font-size: 1.04rem; line-height: 1.55; border: 1px solid; border-radius: 12px; }
.rp-verdict::before { content: '!'; flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; font-weight: 800; color: #fff; background: var(--red); border-radius: 50%; }
.rp-verdict.bad { background: #FFF6F4; border-color: #F6C9BE; }
.rp-verdict.good { background: #F1FAF5; border-color: #BFE3CF; }
.rp-verdict.good::before { content: '✓'; background: var(--green); }

.rp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.rp-kpi { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 44px 16px 18px; color: var(--ink); text-decoration: none; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, transform .2s var(--out); }
a.rp-kpi:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.rp-kpi b { grid-row: 1 / 3; font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.rp-kpi span { font-weight: 700; line-height: 1.25; }
.rp-kpi small { font-size: .86rem; color: var(--mute); }
.rp-kpi.bad b { color: var(--red); }
.rp-kpi.good b { color: var(--green); }
.rp-kpi i { position: absolute; right: 14px; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -12px; border: 1.5px solid var(--line); border-radius: 50%; }
.rp-kpi i svg { width: 12px; height: 12px; transform: rotate(90deg); }

.rp-sec { margin-top: 48px; scroll-margin-top: 96px; }
.rp-sec > h3, .rp-box > h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.rp-n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; font-size: .95rem; font-weight: 800; letter-spacing: 0; background: var(--wash); border-radius: 99px; }
.rp-n.bad { color: var(--red); background: #FDECE8; }
.rp-n.good { color: var(--green); background: #E3F4EC; }
.rp-lead { margin-top: 8px; max-width: 46em; color: var(--mute); text-wrap: pretty; }
.rp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.rp-card { padding: 18px 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s; }
.rp-card:hover { border-color: #F2B8AC; }
.rp-card-h { display: flex; align-items: center; gap: 12px; }
.rp-card-h > div { flex: 1; min-width: 0; }
.rp-tok { display: block; overflow: hidden; font: 500 1rem var(--mono); letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.rp-card-h small { display: block; font-size: .82rem; color: var(--mute); }
.rp-op { display: grid; place-items: center; flex: none; width: 36px; height: 36px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.rp-op svg { width: 20px; height: 20px; fill: currentColor; }
.rp-op img { width: 20px; height: 20px; object-fit: contain; }
.rp-op-l { font-size: .85rem; font-weight: 700; color: var(--mute); }
.rp-tag { flex: none; padding: 4px 10px; font-size: .78rem; font-weight: 700; color: var(--red); background: #FDECE8; border-radius: 99px; }
.rp-eff { margin-top: 12px; font-size: 1rem; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.rp-meta { margin-top: 4px; font-size: .86rem; color: var(--mute); }
.rp-meta em { font-style: normal; font-weight: 600; }
.rp-meta em.hi { color: var(--red); }
.rp-rule { margin-top: 10px; font-size: .8rem; line-height: 1.8; color: var(--mute); }
.rp-rule code { padding: 2px 6px; font-size: .78rem; color: var(--red); background: #FFF6F4; border-radius: 5px; }

.rp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; counter-reset: rp; }
.rp-steps li { position: relative; padding: 14px 16px 14px 52px; font-size: .95rem; line-height: 1.45; background: var(--page); border: 1px solid var(--line); border-radius: 12px; counter-increment: rp; }
.rp-steps li::before { content: counter(rp); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 26px; height: 26px; font: 600 .82rem var(--mono); color: #fff; background: var(--violet); border-radius: 7px 7px 7px 2px; }
.rp-steps code { font-size: .85rem; }
.rp-code { margin-top: 16px; }
.rp-code .mac-bar { grid-template-columns: auto minmax(0, 1fr) auto; }
.rp-copy { min-height: 30px; padding: 0 14px; font-size: .8rem; font-weight: 600; color: #fff; background: var(--ink); border-radius: 7px; transition: background-color .2s; }
.rp-copy:hover { background: var(--violet); }
.rp-copy.done { background: var(--green); }
.rp-code pre { max-height: 420px; padding: 18px 20px; overflow: auto; font-size: .84rem; line-height: 1.7; background: #fff; }
.rp-code .cm { color: #8C8C94; }
.rp-code .kw { font-weight: 500; color: var(--violet); }
.rp-note { margin-top: 10px; font-size: .9rem; color: var(--mute); }

.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; background: #fff; border: 1px solid var(--line); border-radius: 99px; }
.rp-chip .rp-op { width: 26px; height: 26px; border: 0; border-radius: 99px; background: var(--page); }
.rp-chip .rp-op svg, .rp-chip .rp-op img { width: 15px; height: 15px; }
.rp-chip code { font-size: .84rem; }
.rp-chips.ok .rp-chip { border-color: #BFE3CF; }

.rp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.rp-box { padding: 20px 22px; background: var(--page); border: 1px solid var(--line); border-radius: 12px; }
.rp-box > h3 { font-size: 1.15rem; }
.rp-box p { margin-top: 8px; font-size: .94rem; color: var(--mute); text-wrap: pretty; }
.rp-box p a:not(.a-btn) { color: var(--ink); overflow-wrap: anywhere; }
.rp-box .rp-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rp-box details { margin-top: 14px; }
.rp-box summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; font-size: .88rem; font-weight: 600; list-style: none; cursor: pointer; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; }
.rp-box summary::-webkit-details-marker { display: none; }
.rp-box details pre { max-height: 320px; margin-top: 12px; padding: 14px; overflow: auto; font-size: .8rem; line-height: 1.6; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.rp .rep-next { margin-top: 48px; }

/* Parcours unique de l'accueil (20 nov. 2026) : l'analyse en trois blocs, puis l'e-mail du rapport gratuit */
.rp-steps li.is-done::before { content: '✓'; background: var(--green); }
.pc-wait { display: flex; gap: 10px; align-items: center; }
.pc-wait .vmark { flex: none; }
.pc-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.rp-box .q-in { color: var(--ink); }
.pc-gpt .q-rows { margin-top: 8px; }
.pc-gpt .q-rows svg { width: 22px; height: 22px; fill: currentColor; }
.pc-gpt .rp-chips { margin-top: 10px; }
.pc-label { align-self: center; margin-right: 2px; font-weight: 700; }
.pc-mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 28px; align-items: center; margin-top: 28px; padding: 26px 28px; border: 2px solid var(--ink); }
.pc-mail[hidden] { display: none; }
.pc-mail > div > h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--ink); }
.pc-mail .probe { margin: 0; max-width: none; }
.pc-mail .probe-note, .pc-mail .probe-err { margin-top: 10px; }
.pc-detail { margin-top: 56px; }

@media (max-width: 860px) {
  .rp-head { flex-direction: column; align-items: flex-start; }
  .rp-cards, .rp-steps, .rp-duo, .rp-kpis, .pc-mail { grid-template-columns: minmax(0, 1fr); }
  .pc-mail { gap: 18px; padding: 20px; }
}

/* Le rapport s'anime bloc par bloc quand il arrive à l'écran ; rien ne bouge si le visiteur a demandé moins d'animations. */
@keyframes rp-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes rp-ring { from { stroke-dasharray: 0 100; } }
@media (prefers-reduced-motion: no-preference) {
  html.js .rp > :not(.in) { opacity: 0; }
  html.js .rp > .in { animation: rp-in .7s var(--out) backwards; }
  html.js .rp-head.in .g-fg { animation: rp-ring 1.4s var(--out) .25s backwards; }
  html.js .rp-kpis.in .rp-kpi { animation: rp-in .6s var(--out) backwards; animation-delay: calc(.12s + var(--i, 0) * 90ms); }
  html.js .rp-sec.in .rp-card, html.js .rp-sec.in .rp-chip, html.js .rp-sec.in .rp-steps li { animation: rp-in .6s var(--out) backwards; animation-delay: calc(.15s + var(--i, 0) * 60ms); }
  html.js .rp-sec.in .rp-code { animation: rp-in .7s var(--out) .35s backwards; }
}

/* Boutons dans le texte des guides */
.prose .g-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.prose a.a-btn { text-decoration: none; }
.prose a.a-btn-line { color: var(--ink); }
.prose a.a-btn:not(.a-btn-line), .prose a.a-btn:hover { color: #fff; }
