/* Resell Manager · pages du site (guides, tarifs, blog, aide…), style A « Vitrine » choisi par Hugo le 02/11/2026.
   Mêmes couleurs, polices et boutons que la landing : mode sombre par défaut, une seule couleur d'accent (l'ambre). */
:root {
  --bg: #080b1c; --panel: #0e1226; --panel-2: #121734; --line: #1c2240; --line-2: #262d52;
  --ink: #eceef5; --ink-2: #b7bccb; --muted: #7a8094;
  --amber: #f59e0b; --amber-soft: rgba(245, 158, 11, .12); --amber-ink: #f59e0b; --amber-tint: #17140d; --on-amber: #160f02;
  --green: #34d399; --green-soft: rgba(52, 211, 153, .12); --red: #f87171; --blue: #8f98ff;
  --grid: rgba(143, 152, 255, .07); --nav-bg: rgba(8, 11, 28, .86); --bar: #0b0f22; --chip-bg: rgba(8, 11, 28, .85);
  --shadow: rgba(0, 0, 0, .9);
  --display: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fafafa; --panel: #ffffff; --panel-2: #f1f2f6; --line: #ececef; --line-2: #dfe1ea;
  --ink: #0b0d17; --ink-2: #3f4352; --muted: #696e82;
  --amber-soft: rgba(245, 158, 11, .14); --amber-ink: #b45309; --amber-tint: #fff6e5;
  --green: #16a34a; --green-soft: rgba(22, 163, 74, .1); --red: #dc2626; --blue: #4f5bd5;
  --grid: rgba(79, 91, 213, .08); --nav-bg: rgba(250, 250, 250, .88); --bar: #f3f4f8; --chip-bg: rgba(255, 255, 255, .92);
  --shadow: rgba(15, 20, 50, .16);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--amber); color: var(--on-amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.w { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.label { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label.amber { color: var(--amber-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; color: var(--ink); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 0; cursor: pointer; text-decoration: none; font: 600 15px/1 var(--body); white-space: nowrap; transition: background .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--amber); color: var(--on-amber); }
.btn-main:hover { background: #fbb32e; }
.btn-line { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.btn-line:hover { background: var(--panel); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.badge { font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 6px 8px; border-radius: 6px; white-space: nowrap; background: var(--amber-soft); color: var(--amber-ink); }
.badge.gray { background: var(--panel-2); color: var(--muted); }
.soon { font: 500 10.5px/1 var(--mono); letter-spacing: .04em; padding: 3px 6px; border-radius: 5px; background: var(--panel-2); color: var(--muted); margin-left: 6px; white-space: nowrap; vertical-align: 2px; }

/* Menu du haut */
.s-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--bg); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 16px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; color: var(--ink); }
.logo img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.login { text-decoration: none; font-size: 14.5px; color: var(--ink-2); padding: 0 8px; }
.iconbtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; border: 0; background: none; cursor: pointer; color: var(--ink-2); }
.iconbtn:hover { background: var(--panel); color: var(--ink); }
.iconbtn .ico { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
:root[data-theme="light"] .theme .moon { display: none; }
.burger { display: none; }
.menu { border-top: 1px solid var(--line); padding-block: 10px 18px; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 11px 0; text-decoration: none; color: var(--ink-2); border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; font-size: 15.5px; }
@media (max-width: 900px) {
  .nav-links, .login { display: none; }
  .burger { display: inline-grid; }
  .nav-in { gap: 12px; }
}
@media (max-width: 520px) { .nav-end .theme { display: none; } }
@media (max-width: 359px) { .s-nav .logo span { display: none; } }

/* Haut de page */
.hero { position: relative; padding-block: 52px 60px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 80% 90% at 30% 0%, #000 25%, transparent 75%); }
.hero-in { position: relative; display: grid; gap: 40px; }
.hero-txt { display: grid; gap: 18px; align-content: start; min-width: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -.035em; }
.lead { margin: 0; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-2); max-width: 60ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.author { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.author img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.author b { color: var(--ink); font-weight: 600; }
.hero-vis { min-width: 0; }
.proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-2); }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof .ico { width: 15px; height: 15px; color: var(--green); }
@media (min-width: 960px) {
  .hero-in.duo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; }
}

/* Corps des pages */
.doc { padding-block: 48px 24px; }
.doc-body { min-width: 0; }
.brief { display: grid; gap: 8px; padding: 20px 22px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 8px; }
.brief p { margin: 0; color: var(--ink-2); }
.brief strong { color: var(--ink); font-weight: 600; }
.part { display: grid; gap: 28px; padding-block: 48px; border-top: 1px solid var(--line); }
.brief + .part { border-top: 0; }
.part-txt { display: grid; gap: 14px; align-content: start; min-width: 0; }
.part h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.03em; }
.part p { margin: 0; color: var(--ink-2); max-width: 62ch; }
.part p a, .faq p a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.part-vis { min-width: 0; }
@media (min-width: 960px) {
  .part.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
  .part.duo.inv .part-vis { order: -1; }
}
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--ink-2); }
.checks .ico { width: 17px; height: 17px; color: var(--amber); margin-top: 4px; }

/* Écrans de l'appli, dessinés */
.screen { border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset, 0 30px 80px -40px var(--shadow); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bar); font-size: 13px; color: var(--ink-2); }
.screen-bar .badge { margin-left: auto; }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.screen-body { padding: 16px; display: grid; gap: 14px; }
.screen-foot { padding: 9px 14px; border-top: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 10px; border-radius: 999px; font-size: 12.5px; color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; white-space: nowrap; text-decoration: none; }
.chip b { font: 600 12px/1 var(--mono); margin-left: 4px; color: var(--muted); }
.chip.on { background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(245, 158, 11, .5) inset; color: var(--ink); }
.chip.on b { color: var(--amber-ink); }
a.chip:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--muted) inset; }
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.it { display: grid; gap: 3px; font-size: 12.5px; min-width: 0; }
.it b { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it span { color: var(--muted); }
.ph { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; background: var(--c); color: var(--g); display: grid; place-items: center; margin-bottom: 4px; }
.ph svg { width: 58%; height: 58%; }
.st { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 5px; font: 500 10px/1 var(--mono); padding: 5px 6px; border-radius: 5px; background: var(--chip-bg); color: var(--ink); }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot, var(--muted)); }
.st.on { --dot: var(--green); } .st.route { --dot: var(--blue); } .st.sold { --dot: var(--amber); } .st.lit { --dot: var(--red); }
.new { position: absolute; top: 6px; right: 6px; font: 600 10px/1 var(--mono); padding: 5px 6px; border-radius: 5px; background: var(--amber); color: var(--on-amber); }
.js .arrive { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .6s var(--ease) 1.1s, transform .6s var(--ease) 1.1s; }
.js .in .arrive { opacity: 1; transform: none; }
.rows { display: grid; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line) inset; }
.rows > div { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.rows > div:last-child { border-bottom: 0; }
.rows.flat > div { grid-template-columns: minmax(0, 1fr) auto; }
.rows .t { min-width: 0; display: grid; }
.rows .t b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rows .t small { color: var(--muted); font-size: 12px; }
.rows .thumb { width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center; background: var(--c); color: var(--g); }
.rows .thumb svg { width: 70%; height: 70%; }
.pill { font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; white-space: nowrap; background: var(--panel-2); color: var(--ink-2); }
.pill.warn { background: var(--amber-soft); color: var(--amber-ink); }
.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.bad { background: rgba(248, 113, 113, .12); color: var(--red); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { padding: 12px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 2px; min-width: 0; }
.kpi small { font-size: 11.5px; color: var(--muted); }
.kpi b { font: 600 22px/1.2 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi span { font-size: 11.5px; color: var(--muted); }
.kpi .pos { color: var(--green); }
.q { display: grid; gap: 12px; }
.q > b { font: 600 16px/1.35 var(--display); }
.q-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.q-it { padding: 10px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 4px; font-size: 12.5px; color: var(--ink-2); min-width: 0; }
.q-it .label { font-size: 10.5px; }
.ans { display: grid; gap: 6px; }
.ans div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-2) inset; font-size: 13.5px; }
.ans div.on { box-shadow: 0 0 0 1.5px var(--amber) inset; background: var(--amber-soft); }
.ans small { font-size: 12px; color: var(--muted); }
.q-foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: 13.5px; color: var(--muted); }
.msg { display: grid; gap: 8px; }
.msg p { margin: 0; max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; color: var(--ink-2); }
.msg p.me { justify-self: end; background: var(--amber-soft); box-shadow: none; color: var(--ink); }
.msg small { font: 500 10.5px/1 var(--mono); color: var(--muted); }
.msg small.me { justify-self: end; }
.lim { display: grid; gap: 10px; }
.lim > div { display: grid; grid-template-columns: 76px minmax(0, 1fr) 64px; align-items: center; gap: 10px; font-size: 13.5px; }
.lim .bar { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; }
.lim .bar i { display: block; height: 100%; width: var(--w); background: var(--amber); border-radius: inherit; transform-origin: left; }
.js .lim .bar i { transform: scaleX(0); transition: transform 1.2s var(--ease) .3s; }
.js .in .lim .bar i { transform: none; }
.lim .v { font: 500 12.5px/1 var(--mono); text-align: right; color: var(--ink-2); }

/* Questions fréquentes */
.faq { display: grid; gap: 0; }
.faq h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 500; font-size: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); max-width: 66ch; }
.part.faq { max-width: 820px; }

/* Fin de page */
.end { padding-block: 72px; border-top: 1px solid var(--line); }
.end-in { display: grid; gap: 18px; justify-items: start; padding: 40px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; position: relative; overflow: hidden; }
.end-in::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.end-in > * { position: relative; }
.end h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1.1; max-width: 22ch; }
.related { padding-block: 0 72px; }
.related h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rcard { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; transition: box-shadow .2s, transform .25s var(--ease); min-width: 0; }
.rcard:hover { box-shadow: 0 0 0 1px var(--line-2) inset; transform: translateY(-2px); }
.rcard b { font: 600 17px/1.3 var(--display); letter-spacing: -.01em; }
.rcard span { font-size: 14px; color: var(--ink-2); }
.rcard small { font-size: 12.5px; color: var(--muted); }
.mini-cover { aspect-ratio: 1200 / 630; border-radius: 9px; margin-bottom: 6px; padding: 12px; display: grid; align-content: start; gap: 4px; position: relative; overflow: hidden;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 22px 22px, var(--bg); box-shadow: 0 0 0 1px var(--line) inset; }
.mini-cover > * { position: relative; }
.mini-cover em { font: normal 600 14.5px/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); max-width: 15ch; }
.mini-cover .label { font-size: 9.5px; }
.mini-cover > svg { position: absolute; right: 0; bottom: 0; width: 55%; height: 55%; }
.mini-cover .ln { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linecap: round; opacity: .9; }

/* Pied de page */
.s-foot { border-top: 1px solid var(--line); padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 40px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand p { margin: 0; max-width: 30ch; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot-cols div { display: grid; gap: 9px; align-content: start; min-width: 0; }
.foot-cols b { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.foot-cols a { text-decoration: none; } .foot-cols a:hover { color: var(--ink); }
.foot-bot { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }

/* Texte courant (articles, pages simples) */
.lecture .doc-body { max-width: 740px; margin: 0 auto; }
.toc { max-width: 740px; margin: 0 auto 8px; padding: 18px 20px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.toc b { display: block; margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--muted); font-size: 14.5px; line-height: 1.4; text-decoration: none; transition: color .2s; }
.toc a:hover { color: var(--ink); }
.lecture .brief { margin-bottom: 28px; }
.prose { font-size: 17px; line-height: 1.72; color: var(--ink-2); }
.prose > * { margin: 0 0 18px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 31px); line-height: 1.15; letter-spacing: -.025em; margin: 52px 0 16px; scroll-margin-top: 90px; }
.prose h3 { font-size: 19px; letter-spacing: -.01em; margin: 30px 0 10px; scroll-margin-top: 90px; }
.prose h4 { font-size: 17px; color: var(--ink); margin: 24px 0 8px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--amber-ink); }
.prose a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
/* L'encadré d'inscription dans un article (règle 12 de l'agent du blog, Hugo 30/10/2026 ; style du site le 16/11/2026) :
   <div class="encart"><p><strong>Accroche</strong></p><p>Une phrase.</p><p><a class="btn btn-main" href="/signup">Texte →</a></p></div> */
.prose .encart { display: grid; gap: 8px; justify-items: center; text-align: center; margin: 32px 0; padding: 22px 24px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--amber) inset; }
.prose .encart p { margin: 0; }
.prose .encart p:last-child { margin-top: 8px; }
.prose .encart a.btn { color: var(--on-amber); text-decoration: none; }
.prose blockquote { margin-left: 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--amber); color: var(--ink); }
.prose img { border-radius: 12px; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bar); }
.prose tr:last-child td { border-bottom: 0; }
.formula { display: grid; gap: 8px; padding: 18px 20px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; font: 500 14.5px/1.6 var(--mono); color: var(--ink); }
.formula > *, .formula p { margin: 0; }
.formula span { color: var(--muted); }
.callout { display: grid; gap: 6px; padding: 16px 18px; border-radius: 12px; background: var(--amber-tint); box-shadow: 0 0 0 1px rgba(245, 158, 11, .35) inset; font-size: 16px; }
.callout > * { margin: 0; }
.callout > b:first-child, .callout > strong:first-child { color: var(--amber-ink); font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.tbl { overflow-x: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; }
.tbl table { margin: 0; }
.tbl td.n, .prose td.n { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; color: var(--ink); }
.tbl tr.tot td { background: var(--amber-tint); color: var(--ink); font-weight: 600; }
.rm { display: grid; gap: 14px; padding: 22px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.rm > * { margin: 0; }
.rm-h { display: flex; align-items: center; gap: 10px; }
.rm-h img { width: 26px; height: 26px; border-radius: 6px; }
.rm-h b { font: 600 17px/1.2 var(--display); color: var(--ink); }
.rm ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.rm li { position: relative; padding-left: 30px; font-size: 15.5px; }
.rm li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.rm .not { font-size: 14.5px; color: var(--muted); }
.cover { position: relative; aspect-ratio: 1200 / 630; border-radius: 16px; overflow: hidden; padding: clamp(18px, 4vw, 44px); display: grid; align-content: center; justify-items: start; text-align: left; gap: 12px;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 44px 44px, var(--panel);
  box-shadow: 0 0 0 1px var(--line) inset, 0 30px 80px -40px var(--shadow); }
.cover b { font: 600 clamp(24px, 3.4vw, 44px)/1.04 var(--display); letter-spacing: -.035em; color: var(--ink); max-width: 15ch; }
.cover .sub { font-size: clamp(13px, 1.3vw, 17px); color: var(--ink-2); }
.cover .brand { position: absolute; left: clamp(18px, 4vw, 44px); bottom: clamp(14px, 3vw, 30px); display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); color: var(--muted); }
.cover .brand img { width: 18px; height: 18px; border-radius: 4px; }
.cover svg.curve { position: absolute; right: 0; bottom: 0; width: 55%; height: 60%; }
.curve .ln { fill: none; stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; }
.js .curve .ln { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 2s var(--ease) .3s; }
.js .in .curve .ln { stroke-dashoffset: 0; }
.bio { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; margin-top: 36px; color: var(--ink-2); }
.bio img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.bio b { color: var(--ink); font-weight: 600; }
.bio p { margin: 2px 0 0; font-size: 14.5px; }
.bio a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }

/* Tarifs */
.toggle { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; justify-self: start; }
.toggle button { border: 0; background: none; cursor: pointer; padding: 9px 16px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s; }
.toggle button[aria-pressed="true"] { background: var(--panel-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
.toggle em { font-style: normal; font: 500 11px/1 var(--mono); margin-left: 6px; color: var(--green); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-block: 48px 8px; }
.plan { position: relative; padding: 24px 20px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.plan.star { box-shadow: 0 0 0 1px rgba(245, 158, 11, .7) inset, 0 20px 60px -30px rgba(245, 158, 11, .35); }
.plan h3 { font-size: 20px; }
.plan .for { margin: -6px 0 0; font-size: 14px; color: var(--muted); }
.amount { display: flex; align-items: baseline; gap: 6px; min-height: 46px; flex-wrap: wrap; }
.amount b { font: 600 38px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: opacity .18s; }
.amount b.fade { opacity: 0; }
.amount span { font-size: 14px; color: var(--muted); }
.yearly { margin: -8px 0 0; min-height: 20px; font-size: 13px; color: var(--green); }
.trial { margin: 0; font-size: 13px; color: var(--ink-2); }
.plan ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.plan li .ico { width: 16px; height: 16px; color: var(--amber); margin-top: 3px; }
.plan > .btn { width: 100%; margin-top: auto; }
.plan-tag { position: absolute; top: -11px; left: 20px; padding: 5px 9px; border-radius: 6px; font: 600 11px/1 var(--mono); letter-spacing: .04em; background: var(--amber); color: var(--on-amber); }
.p-tarifs .doc { padding-top: 16px; }
.price-foot { margin: 14px 0 48px; font-size: 14px; color: var(--muted); }
.tsec { padding-block: 56px; border-top: 1px solid var(--line); display: grid; gap: 22px; }
.tsec h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.03em; line-height: 1.12; }
.tsec > p { margin: 0; color: var(--ink-2); max-width: 64ch; }
.common { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.common li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: 15px; }
.common .ico { width: 17px; height: 17px; color: var(--amber); margin-top: 4px; }
.cmp table { min-width: 720px; width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.cmp th, .cmp td { padding: 11px 14px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.cmp th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bar); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th:first-child, .cmp td:first-child { text-align: left; position: sticky; left: 0; z-index: 1; background: var(--panel); min-width: 160px; color: var(--ink); }
.cmp th:first-child { background: var(--bar); }
.cmp .hl { background: var(--amber-tint); }
.cmp .no { color: var(--muted); }
.cmp .note { font-size: 12.5px; color: var(--muted); }
.petit { margin: 0; font-size: 13px; color: var(--muted); }
.over { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.over div { padding: 20px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; display: grid; gap: 8px; align-content: start; }
.over b { font: 600 17px/1.25 var(--display); }
.over p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Parrainage (17/11/2026) : le simulateur et les 3 étapes */
.simu { display: grid; gap: 16px; max-width: 620px; padding: 22px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; }
.simu-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.simu-h label { font-weight: 600; font-size: 15px; color: var(--ink); }
.simu-h b { font: 600 16px/1.2 var(--display); color: var(--amber-ink); font-variant-numeric: tabular-nums; }
.simu input[type="range"] { width: 100%; margin: 4px 0; accent-color: var(--amber); cursor: pointer; }
.simu .kpi b { font-size: clamp(22px, 6vw, 28px); }
.simu .petit { line-height: 1.5; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps li { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; }
.steps b { font: 600 17px/1.25 var(--display); color: var(--ink); }
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--amber-soft); color: var(--amber-ink); font: 600 14px/1 var(--mono); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } .simu { padding: 18px 16px; } }
/* Calculateur de marge (17/11/2026) */
.calc-champs { display: grid; gap: 12px; }
.calc-champs[hidden] { display: none; }
.calc-champ { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; font-weight: 600; font-size: 15px; color: var(--ink); }
.calc-champ small { flex: 1 1 100%; order: 3; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.calc-champ span { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); }
.calc-champ input { width: 96px; height: 42px; border: 0; border-radius: 10px; padding: 0 10px; background: var(--bg); color: var(--ink); font: 600 16px var(--body); text-align: right; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 1px var(--line-2) inset; }
.calc-champ input:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }

/* Accueil du blog */
.feat { display: grid; gap: 4px; padding: 12px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset, 0 30px 80px -40px var(--shadow); text-decoration: none; transition: transform .25s var(--ease), box-shadow .2s; }
.feat:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line-2) inset, 0 30px 80px -40px var(--shadow); }
.feat .cover { border-radius: 12px; box-shadow: 0 0 0 1px var(--line) inset; }
.feat .cover b { font-size: clamp(22px, 2.6vw, 34px); }
.feat-txt { display: grid; gap: 8px; padding: 12px 8px 6px; }
.feat-txt b { font: 600 clamp(19px, 1.8vw, 23px)/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); }
.feat-txt p { margin: 0; color: var(--ink-2); font-size: 15px; }
.feat-txt small { font-size: 13px; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 40px 8px; }
.cats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; padding: 2px; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; border: 0; cursor: pointer; padding: 8px 12px; border-radius: 999px; background: none; font: 500 13.5px/1 var(--body); color: var(--ink-2); box-shadow: 0 0 0 1px var(--line-2) inset; white-space: nowrap; }
.cats button b { font: 600 12px/1 var(--mono); margin-left: 5px; color: var(--muted); }
.cats button[aria-pressed="true"] { background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(245, 158, 11, .55) inset; color: var(--ink); }
.cats button[aria-pressed="true"] b { color: var(--amber-ink); }
.search { position: relative; flex: none; }
.search .ico { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 260px; max-width: 100%; height: 40px; border: 0; border-radius: 10px; padding: 0 12px 0 36px; background: var(--panel); color: var(--ink); font: 14.5px var(--body); box-shadow: 0 0 0 1px var(--line-2) inset; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; box-shadow: 0 0 0 1.5px var(--amber) inset; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; padding-block: 24px 72px; }
.post { display: grid; gap: 10px; align-content: start; text-decoration: none; min-width: 0; }
.post .mini-cover { margin: 0; border-radius: 12px; padding: 16px; transition: box-shadow .2s; }
.post .mini-cover em { font-size: clamp(16px, 1.5vw, 19px); }
.post:hover .mini-cover { box-shadow: 0 0 0 1px var(--line-2) inset; }
.post .pt { display: grid; gap: 7px; min-width: 0; }
.post .pt b { font: 600 18px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.post:hover .pt b { color: var(--amber-ink); }
.post .pt p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.post .pt small { font-size: 12.5px; color: var(--muted); }
.no-post { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }
.guides-strip { display: grid; gap: 14px; padding: 26px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line) inset; margin-bottom: 8px; }
.guides-strip b { font: 600 18px/1.3 var(--display); }
.guides-strip div { display: flex; flex-wrap: wrap; gap: 8px; }

/* Apparitions */
.js [data-r] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; }
  .common, .over { grid-template-columns: 1fr; }
  .end-in { padding: 26px 20px; }
  .items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .items .it:nth-child(n+5) { display: none; }
  .q-pair, .kpis.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .posts { grid-template-columns: 1fr; gap: 22px; }
  .post { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
  .post .mini-cover { aspect-ratio: 1; padding: 10px; }
  .post .mini-cover em { display: none; }
  .post .mini-cover .label { font-size: 8.5px; }
  .post .pt { gap: 5px; }
  .post .pt b { font-size: 16px; }
  .post .pt p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .feat .cover .brand, .feat .cover .sub, .p-article .cover .brand, .p-article .cover .sub { display: none; }
  .tools { padding-top: 28px; }
  .cats { flex: 1 1 100%; }
  .search, .search input { width: 100%; flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .plans { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .prose { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r], .js .arrive { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .curve .ln { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .lim .bar i { transform: none !important; transition: none !important; }
}

/* ── Menu Ressources (20/11/2026, outils/menu.mjs) : le même bloc dans site.css et landing.css ── */
.nav-links { align-items: center; }
.res { position: relative; }
.res-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.res-btn:hover, .res-btn.on, .res.open .res-btn { color: var(--ink); }
.res-btn .chev { width: 15px; height: 15px; transition: transform .2s; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.res.open .res-btn .chev { transform: rotate(180deg); }
.res-pop { position: absolute; top: 100%; left: 50%; z-index: 60; display: none; grid-template-columns: auto auto auto; gap: 6px 26px; width: max-content; margin-top: 14px; padding: 18px 20px; transform: translateX(-50%); border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(0, 0, 0, .35); }
.res-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.res.open .res-pop, .res:focus-within .res-pop { display: grid; }
@media (hover: hover) { .res:hover .res-pop { display: grid; } .res:hover .res-btn .chev { transform: rotate(180deg); } }
.res-col > b { display: block; margin: 0 0 8px 10px; font: 600 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, var(--ink-2)); }
.res-col > div { display: grid; gap: 2px; }
.res-col.res-2 > div { grid-template-columns: auto auto; column-gap: 6px; }
.nav-links .res-pop a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav-links .res-pop a:hover, .nav-links .res-pop a[aria-current] { background: var(--panel-2); color: var(--ink); }
.res-pop .ico, .menu-sub .ico { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.menu .menu-titre { margin: 14px 0 2px; font: 600 11px/1 var(--mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, var(--ink-2)); }
.menu .menu-sub { display: flex; align-items: center; gap: 10px; padding-left: 4px; }
:root[data-theme="light"] .res-pop { box-shadow: 0 0 0 1px var(--line), 0 18px 50px rgba(15, 20, 40, .12); }
.menu { max-height: calc(100dvh - 64px); overflow-y: auto; }
/* 6 liens en haut depuis le 20/11 : en dessous de 1 180 px, le bouton ☰ prend le relais */
@media (max-width: 1180px) { .nav-links { display: none; } .burger { display: inline-grid; } }

/* ── Ressources (20/11/2026, outils/ressources.mjs) : Nouveautés, Feuille de route, Centre d'aide ── */
:root { --blue-soft: rgba(143, 152, 255, .14); }
:root[data-theme="light"] { --blue-soft: rgba(79, 91, 213, .1); }
.rs-hero { padding-block: 44px 44px; }
.rs-cherche { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--muted); }
.rs-cherche:focus-within { box-shadow: 0 0 0 1px var(--amber) inset, 0 0 0 4px var(--amber-soft); }
.rs-cherche .ico { width: 18px; height: 18px; }
.rs-cherche input { flex: 1; width: 100%; min-width: 0; height: 44px; border: 0; outline: 0; background: none; font: 400 16px/1 var(--body); color: var(--ink); }
.rs-cherche input::placeholder { color: var(--muted); }
.rs-cherche input::-webkit-search-cancel-button { filter: grayscale(1); }
.rs-cherche kbd { font: 500 11px/1 var(--mono); padding: 4px 6px; border-radius: 5px; box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--muted); }
.rs-vide { margin: 0; padding: 28px; border-radius: 14px; text-align: center; color: var(--ink-2); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.rs-bandeau { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 26px 28px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.rs-bandeau > div { display: grid; gap: 6px; max-width: 60ch; }
.rs-bandeau b { font: 600 20px/1.25 var(--display); letter-spacing: -.015em; color: var(--ink); }
.rs-bandeau p { margin: 0; color: var(--ink-2); font-size: 15px; }
.rs-bandeau .btn .ico, .nv-act .btn .ico { width: 16px; height: 16px; }

/* Nouveautés */
.nv-corps { display: grid; gap: 22px; padding-block: 32px 72px; }
.nv-outils { display: grid; gap: 14px; }
.nv-filtres { display: flex; flex-wrap: wrap; gap: 6px; }
.nv-filtres .chip { cursor: pointer; border: 0; background: none; font: 500 13.5px/1 var(--body); padding: 9px 12px; }
.nv-filtres .chip:hover { color: var(--ink); }
.nv-tag { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 6px; white-space: nowrap; }
.nv-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.nv-tag.nouveau { background: var(--amber-soft); color: var(--amber-ink); }
.nv-tag.ameliore { background: var(--blue-soft); color: var(--blue); }
.nv-tag.corrige { background: var(--green-soft); color: var(--green); }
.nv-theme { font: 500 11.5px/1 var(--mono); letter-spacing: .03em; color: var(--muted); white-space: nowrap; }
.nv-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.nv-meta time { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.nv-txt { display: grid; gap: 9px; align-content: start; min-width: 0; }
.nv-txt p { margin: 0; color: var(--ink-2); }
.nv-act { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 6px; }
.nv-route { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.nv-route .ico { width: 15px; height: 15px; color: var(--green); }
.nv-route:hover { color: var(--ink); }
.nv-idee { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); padding: 5px 8px; border-radius: 7px; background: var(--panel-2); }
.nv-idee .ico { width: 14px; height: 14px; color: var(--amber-ink); }
.nv-une { display: grid; border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; scroll-margin-top: 90px; }
.nv-une > .nv-txt { padding: 26px 24px; align-content: center; }
.nv-une h2 { font-size: clamp(25px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.nv-une p { font-size: 16px; }
.nv-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.nv-carte { display: grid; grid-template-rows: auto 1fr; border-radius: 16px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; scroll-margin-top: 90px; }
.nv-carte > .nv-txt { padding: 16px 18px 20px; }
.nv-carte h3 { font-size: 17.5px; line-height: 1.3; letter-spacing: -.015em; }
.nv-carte p { font-size: 14.5px; }
.nv-carte:target, .nv-une:target { box-shadow: 0 0 0 2px var(--amber) inset; }
.js .nv-grille.court [data-loin] { display: none; }
.nv-plus { text-align: center; }
.nv-vis { position: relative; display: grid; place-items: center; min-height: 150px; padding: 18px; overflow: hidden; background: var(--bar); border-bottom: 1px solid var(--line); }
.nv-vis::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 24px 24px; }
.nv-vis > * { position: relative; }
.nv-une .nv-vis { min-height: 250px; border-bottom: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .nv-une { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } .nv-une > .nv-txt { padding: 38px; } .nv-une .nv-vis { border-top: 0; border-left: 1px solid var(--line); } }
.nv-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--amber-ink); }
.nv-ico .ico { width: 28px; height: 28px; stroke-width: 1.6; }
.nv-ecran { width: 100%; max-width: 290px; display: grid; gap: 9px; padding: 12px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px -24px var(--shadow); font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.nv-ecran b { color: var(--ink); font-weight: 600; }
.nv-ecran small { font-size: 11px; color: var(--muted); }
.nv-centre { justify-items: center; text-align: center; }
.nv-rangee { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nv-entre { justify-content: space-between; flex-wrap: nowrap; }
.nv-mono { font: 500 10.5px/1 var(--mono); color: var(--muted); }
.nv-pastille { display: inline-flex; align-items: center; gap: 5px; justify-self: start; font-size: 11.5px; padding: 5px 8px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--ink); white-space: nowrap; }
.nv-pastille .ico { width: 12px; height: 12px; }
.nv-sq { display: block; height: 8px; border-radius: 4px; background: var(--line-2); }
.nv-sq.c { width: 60%; } .nv-sq.cc { width: 60px; } .nv-sq.ccc { width: 44px; } .nv-sq.a { width: 70px; background: var(--amber); }
.nv-lignes { display: grid; gap: 6px; flex: 1; min-width: 0; }
.nv-total { border-top: 1px solid var(--line); padding-top: 8px; }
.nv-barres { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.nv-barres i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--line-2); }
.nv-barres i.a { background: var(--amber); }
.nv-heures { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.nv-heures i { height: 22px; border-radius: 3px; background: var(--amber); opacity: .75; }
.nv-heures i.nuit { background: var(--line-2); opacity: 1; }
.nv-prof { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.nv-rond { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--amber), #b45309); }
.nv-compteurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; font-size: 10.5px; color: var(--muted); }
.nv-compteurs span { display: grid; gap: 4px; justify-items: center; }
.nv-compteurs .nv-sq { width: 22px; height: 7px; background: var(--ink-2); opacity: .5; }
.nv-trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.nv-trois i { aspect-ratio: 1; border-radius: 5px; background: linear-gradient(160deg, var(--line-2), var(--panel-2)); }
.nv-trois i:nth-child(2) { background: linear-gradient(160deg, rgba(245, 158, 11, .35), var(--panel-2)); }
.nv-vign { width: 36px; height: 44px; border-radius: 7px; background: linear-gradient(160deg, var(--line-2), var(--panel-2)); flex: none; }
.nv-alerte { width: 100%; max-width: 290px; display: grid; gap: 5px; padding: 11px 12px; border-radius: 10px; background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(245, 158, 11, .45) inset; font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.nv-alerte small { color: var(--ink-2); font-size: 11.5px; }
.nv-code { font: 600 15px/1 var(--mono); letter-spacing: .1em; padding: 10px 14px; border-radius: 9px; border: 1.5px dashed var(--amber); color: var(--amber-ink); }
.nv-carte svg.nv-carte, .nv-vis svg.nv-carte { width: 100%; max-width: 290px; height: auto; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; display: block; }
.nv-routes { fill: none; stroke: var(--line-2); stroke-width: 1; }
.nv-relais { fill: var(--amber); } .nv-habituels { fill: var(--muted); }
.nv-curseur { position: relative; height: 6px; border-radius: 4px; background: var(--line-2); margin: 6px 0; }
.nv-curseur i { position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: inherit; background: var(--amber); }
.nv-curseur b { position: absolute; left: 38%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ink); }
.nv-duo { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.nv-duo > div { position: relative; width: 74px; height: 92px; border-radius: 9px; background: linear-gradient(170deg, var(--line-2), var(--panel-2)); }
.nv-duo > div.decor { background: linear-gradient(170deg, rgba(143, 152, 255, .35), rgba(245, 158, 11, .25)); }
.nv-duo span { position: absolute; left: 5px; bottom: 5px; font: 600 9px/1 var(--mono); padding: 3px 5px; border-radius: 4px; background: var(--bg); color: var(--ink); }
.nv-duo .ico { width: 18px; height: 18px; }
.nv-cherche { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2) inset; color: var(--muted); }
.nv-cherche .ico { width: 13px; height: 13px; }
.nv-etapes { display: grid; gap: 7px; }
.nv-etapes > span { display: flex; align-items: center; gap: 8px; }
.nv-etapes i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font: 600 10px/1 var(--mono); font-style: normal; flex: none; }

/* Feuille de route */
.fr-corps { display: grid; gap: 8px; padding-block: 38px 72px; }
.fr-etape { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 16px; }
.fr-etape::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: -8px; width: 2px; background: var(--line-2); }
.fr-etape.passe::before { background: var(--green); opacity: .5; }
.fr-point { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--line-2) inset; }
.fr-point .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.passe .fr-point { background: var(--green); box-shadow: none; color: var(--bg); }
.ici .fr-point { background: var(--amber); box-shadow: 0 0 0 6px var(--amber-soft); }
.fr-cont { display: grid; gap: 14px; padding-bottom: 36px; min-width: 0; }
.fr-tete { display: grid; gap: 4px; }
.fr-tete h2 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.fr-tete p { margin: 0; font-size: 14.5px; color: var(--muted); }
.fr-ici { justify-self: start; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 9px 14px; border-radius: 999px; background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(245, 158, 11, .45) inset; font-size: 14px; color: var(--ink); }
.fr-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 12px; }
.fr-carte { display: grid; gap: 8px; align-content: start; min-width: 0; padding: 16px; border-radius: 13px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; scroll-margin-top: 90px; }
.fr-carte h3 { font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; }
.fr-carte p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.fr-pied { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.fr-pied time { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.fr-lire { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.fr-lire .ico { width: 15px; height: 15px; color: var(--green); }
.fr-lire:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.fr-vote { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; margin-top: 2px; padding: 0 12px 0 10px; border: 0; border-radius: 10px; cursor: pointer; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2) inset; font: 500 14px/1 var(--body); color: var(--ink); white-space: nowrap; transition: background .2s, box-shadow .2s; }
.fr-vote .ico { width: 16px; height: 16px; color: var(--amber-ink); stroke-width: 2.4; }
.fr-vote b { font: 600 13.5px/1 var(--mono); min-width: 1ch; }
.fr-vote:hover { box-shadow: 0 0 0 1px var(--muted) inset; }
.fr-vote[aria-pressed="true"] { background: var(--amber-soft); box-shadow: 0 0 0 1px rgba(245, 158, 11, .6) inset; }
.fr-vote:disabled { opacity: .6; cursor: progress; }
.fr-proposer { display: grid; gap: 10px; justify-items: start; margin-left: 42px; padding: 22px 24px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; scroll-margin-top: 90px; }
.fr-proposer > b { font: 600 20px/1.25 var(--display); letter-spacing: -.015em; }
.fr-proposer > p { margin: 0; color: var(--ink-2); font-size: 15px; max-width: 62ch; }
.fr-proposer .btn .ico { width: 16px; height: 16px; }
.fr-form { display: grid; gap: 8px; width: 100%; max-width: 620px; }
.fr-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
.fr-form label span { font-weight: 400; color: var(--muted); }
.fr-form textarea, .fr-form input { width: 100%; padding: 11px 13px; border: 0; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line-2) inset; font: 400 16px/1.5 var(--body); color: var(--ink); resize: vertical; }
.fr-form textarea:focus, .fr-form input:focus { outline: 0; box-shadow: 0 0 0 1px var(--amber) inset, 0 0 0 4px var(--amber-soft); }
.fr-boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.fr-msg, .fr-note { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.fr-msg:empty, .fr-note:empty { display: none; }
.fr-msg.ok { color: var(--green); font-weight: 500; }
.fr-note { margin-left: 42px; }
@media (max-width: 520px) { .fr-proposer, .fr-note { margin-left: 0; } .fr-proposer { padding: 18px; } }

/* Centre d'aide */
.ai-cadre { display: grid; gap: 0 40px; padding-block: 0 72px; }
.ai-cote { display: none; }
.ai-main { min-width: 0; padding-top: 28px; display: grid; gap: 20px; align-content: start; }
.ai-main > .crumbs { margin-bottom: -6px; }
.ai-main h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
.ai-art h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.ai-main .lead { max-width: 64ch; }
.ai-cherche { position: relative; }
.ai-cherche.grand .rs-cherche { min-height: 58px; border-radius: 14px; padding: 0 16px; }
.ai-cherche.grand .rs-cherche input { height: 56px; font-size: 17px; }
.ai-cherche kbd { display: none; }
@media (hover: hover) and (min-width: 900px) { .ai-cherche kbd { display: inline; } }
.ai-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; gap: 2px; max-height: min(460px, 70dvh); overflow-y: auto; padding: 6px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px -20px var(--shadow); }
.ai-res a { display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.ai-res a small { font: 500 11px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.ai-res a b { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ai-res a span { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.ai-res a:hover, .ai-res a.sel { background: var(--amber-soft); }
.ai-res mark { background: none; color: var(--amber-ink); font-weight: 600; }
.ai-res p { margin: 0; padding: 14px; font-size: 14.5px; color: var(--ink-2); }
.ai-pop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.ai-pop .chip { font-size: 13.5px; padding: 8px 12px; white-space: normal; }
.ai-debut { display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.ai-debut-tete { display: flex; gap: 14px; align-items: center; }
.ai-debut-tete h2 { font-size: 21px; letter-spacing: -.015em; }
.ai-debut-tete p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.ai-anneau { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: conic-gradient(var(--amber) calc(var(--p) * 1%), var(--line-2) 0); }
.ai-anneau b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--panel); font: 600 13px/1 var(--mono); color: var(--ink); }
.ai-debut ol { list-style: none; margin: 0; padding: 0; display: grid; }
.ai-debut li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.ai-debut label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; grid-row: span 2; }
.ai-debut input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--amber); flex: none; cursor: pointer; }
.ai-debut label span { display: grid; gap: 2px; }
.ai-debut label b { font-size: 15px; font-weight: 600; color: var(--ink); }
.ai-debut label small { font-size: 13px; color: var(--muted); }
.ai-debut input:checked + span b { color: var(--muted); text-decoration: line-through; }
.ai-debut li > a { display: inline-flex; align-items: center; gap: 5px; justify-self: end; font-size: 13.5px; color: var(--amber-ink); text-decoration: none; white-space: nowrap; }
.ai-debut li > a .ico { width: 14px; height: 14px; }
.ai-debut li > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ai-debut li > em { justify-self: end; font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--muted); }
.ai-debut-pied { margin: 0; font-size: 13px; color: var(--muted); }
.ai-besoin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.ai-besoin > div:first-child { display: grid; gap: 6px; flex: 1 1 340px; }
.ai-besoin b { font: 600 18px/1.3 var(--display); color: var(--ink); }
.ai-besoin p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.ai-besoin-b { display: flex; flex-wrap: wrap; gap: 10px; }
.ai-besoin-b .ico { width: 16px; height: 16px; }
.ai-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ai-titre h2 { font-size: 22px; letter-spacing: -.02em; }
.ai-titre span { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ai-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.ai-carte { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; min-width: 0; scroll-margin-top: 90px; }
.ai-carte:target { box-shadow: 0 0 0 2px var(--amber) inset; }
.ai-carte-tete { display: flex; align-items: center; gap: 10px; }
.ai-carte-tete h3 { flex: 1; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.ai-carte-tete em { font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; }
.ai-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--amber-soft); color: var(--amber-ink); flex: none; }
.ai-ico .ico { width: 17px; height: 17px; }
.ai-carte > p { margin: 0; font-size: 14px; color: var(--ink-2); }
.ai-carte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ai-carte li a { display: block; padding-left: 14px; position: relative; font-size: 14.5px; font-weight: 400; line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.ai-carte li a::before { content: "›"; position: absolute; left: 0; color: var(--muted); }
.ai-carte li a:hover { color: var(--amber-ink); }
.ai-carte details > summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--amber-ink); }
.ai-carte details > summary::-webkit-details-marker { display: none; }
.ai-carte details[open] > summary { margin-bottom: 6px; }
.ai-maj { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
/* Colonne de gauche (ordinateur) */
.ai-compte { margin: 4px 0 0; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ai-themes { display: grid; gap: 1px; }
.ai-themes summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; cursor: pointer; list-style: none; font-size: 14px; color: var(--ink-2); }
.ai-themes summary::-webkit-details-marker { display: none; }
.ai-themes summary .ico { width: 16px; height: 16px; color: var(--muted); }
.ai-themes summary span { flex: 1; line-height: 1.3; }
.ai-themes summary em { font: 500 11.5px/1 var(--mono); font-style: normal; color: var(--muted); }
.ai-themes summary:hover { background: var(--panel); color: var(--ink); }
.ai-themes summary.on, .ai-themes details[open] > summary { color: var(--ink); font-weight: 600; }
.ai-themes details > div { display: grid; gap: 1px; margin: 2px 0 8px 26px; padding-left: 10px; border-left: 1px solid var(--line); }
.ai-themes details > div a { padding: 5px 8px; border-radius: 7px; font-size: 13.5px; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.ai-themes details > div a:hover { color: var(--ink); background: var(--panel); }
.ai-themes details > div a[aria-current] { background: var(--amber-soft); color: var(--amber-ink); font-weight: 600; }
@media (min-width: 1020px) {
  .ai-cadre { grid-template-columns: 250px minmax(0, 1fr); }
  .ai-cote { position: sticky; top: 64px; align-self: start; display: grid; gap: 12px; max-height: calc(100dvh - 64px); overflow-y: auto; overflow-x: hidden; padding: 28px 4px 40px 2px; scrollbar-width: thin; }
  .ai-cote { grid-template-columns: minmax(0, 1fr); }
  .ai-mobile-cherche { display: none; }
}
/* Article */
.ai-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -4px 0 0; font-size: 13.5px; color: var(--muted); }
.ai-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.ai-meta .ico { width: 15px; height: 15px; }
.ai-theme-pastille { padding: 5px 9px; border-radius: 7px; background: var(--amber-soft); color: var(--amber-ink); font-weight: 500; }
.ai-offre { padding: 5px 9px; border-radius: 7px; background: var(--panel-2); color: var(--ink-2); }
.ai-bref { display: grid; gap: 10px; padding: 18px 20px; border-radius: 14px; background: var(--amber-tint); box-shadow: 0 0 0 1px rgba(245, 158, 11, .35) inset; }
.ai-bref ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink); font-size: 15.5px; }
.ai-bref li::marker { font: 600 13px var(--mono); color: var(--amber-ink); }
.ai-corps { counter-reset: etape; display: grid; gap: 18px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.ai-corps p, .ai-corps ul, .ai-corps ol { margin: 0; }
.ai-corps ul, .ai-corps ol { padding-left: 22px; display: grid; gap: 6px; }
.ai-corps b, .ai-corps strong { color: var(--ink); font-weight: 600; }
.ai-corps a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.ai-corps .chapo { font-size: 18px; color: var(--ink-2); }
.ai-corps h2 { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; }
.ai-corps h3 { font-size: 17px; }
.ai-corps .avant { display: grid; gap: 10px; padding: 18px 20px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.ai-corps .avant h2 { font-size: 17px; }
.ai-corps .avant ul { list-style: none; padding: 0; }
.ai-corps .avant li { position: relative; padding-left: 26px; font-size: 15.5px; }
.ai-corps .avant li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border: solid var(--green); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.ai-corps .etape, .ai-corps .part { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.ai-corps .etape { counter-increment: etape; position: relative; padding-left: 46px; }
.ai-corps .etape::before { content: counter(etape); position: absolute; left: 0; top: 20px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--amber); color: var(--on-amber); font: 600 14px/1 var(--mono); }
.ai-corps .ui { display: inline; padding: 1px 7px; border-radius: 6px; background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset; font: 600 .86em/1.6 var(--body); color: var(--ink); white-space: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ai-corps .note { display: grid; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; font-size: 15px; }
.ai-corps .note > b:first-child { font: 600 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.ai-corps .note.attention { background: var(--amber-tint); box-shadow: 0 0 0 1px rgba(245, 158, 11, .35) inset; }
.ai-corps .note.attention > b:first-child { color: var(--amber-ink); }
.ai-corps .tbl { overflow-x: auto; }
.ai-corps table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.ai-corps th, .ai-corps td { padding: 10px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ai-corps th { font: 500 11.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bar); }
.ai-corps tr:last-child td { border-bottom: 0; }
.ai-corps td:first-child { color: var(--ink); font-weight: 500; }
.ai-besoin .ui { display: inline; padding: 1px 6px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-2) inset; font-weight: 600; font-size: .9em; color: var(--ink); white-space: nowrap; }
.ai-utile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 16px 18px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line) inset; }
.ai-utile > b { font-size: 15.5px; color: var(--ink); }
.ai-utile > div { display: flex; gap: 8px; }
.ai-utile p { margin: 0; flex-basis: 100%; font-size: 14.5px; color: var(--ink-2); }
.ai-utile p a { color: var(--ink); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.ai-lies h2 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 12px; }
.ai-lies > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; }
.ai-lies a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; text-decoration: none; }
.ai-lies a:hover { box-shadow: 0 0 0 1px var(--line-2) inset; }
.ai-lies b { font-size: 15px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.ai-lies small { font-size: 13px; color: var(--muted); }
.ai-toc { display: none; }
@media (min-width: 1280px) {
  .ai-cadre-art { grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 0 36px; }
  .ai-toc { position: sticky; top: 64px; align-self: start; display: grid; gap: 10px; padding-top: 36px; font-size: 13px; }
  .ai-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); display: grid; }
  .ai-toc a { display: block; margin-left: -1px; padding: 5px 0 5px 12px; border-left: 2px solid transparent; line-height: 1.35; color: var(--muted); text-decoration: none; }
  .ai-toc a:hover { color: var(--ink); }
  .ai-toc a.on { color: var(--amber-ink); border-left-color: var(--amber); font-weight: 600; }
}
@media (max-width: 560px) {
  .ai-debut, .ai-besoin { padding: 18px 16px; }
  .ai-debut li { grid-template-columns: minmax(0, 1fr); }
  .ai-debut li > a, .ai-debut li > em { justify-self: start; margin-left: 32px; }
  .ai-debut li > em { display: none; }
  .ai-corps .etape { padding-left: 0; padding-top: 62px; }
  .ai-corps .etape::before { top: 22px; }
  .ai-besoin-b, .ai-besoin-b .btn { width: 100%; }
}
/* Nouveautés : « Petites retouches » (20/11/2026), une ligne chacune */
.nv-petites { margin-top: 36px; }
.nv-petites h2 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 10px; }
.nv-petites ul { list-style: none; margin: 0; padding: 0; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.nv-petite { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.nv-petite:first-child { border-top: 0; }
.nv-petite .nv-pt { flex: 1; min-width: 0; font-size: 14.5px; }
.nv-petite time { flex: none; font: 500 12px/1 var(--mono); color: var(--muted); }
@media (max-width: 560px) { .nv-petite { flex-wrap: wrap; gap: 6px 10px; } .nv-petite .nv-pt { flex-basis: 100%; order: 3; } }
