/* SHAU Automation · feuille de style unique (sans framework) */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono.woff2) format("woff2"); }

:root {
  --ink: #141b23;
  --ink-2: #33404e;
  --muted: #55616f;
  --line: #d9dfe6;
  --line-2: #e8ecf0;
  --bg: #f3f5f7;
  --surface: #ffffff;
  --steel: #16212c;
  --steel-2: #1f3346;
  --steel-3: #2b4760;
  --steel-ink: #e6edf3;
  --steel-muted: #a9b7c4;
  --accent: #f26b1d;
  --accent-2: #ff8a3d;
  --accent-ink: #b0450e;
  --accent-soft: #fff1e8;
  --ok: #1d7a4b;
  --ok-soft: #e7f5ed;
  --warn: #9a5b00;
  --warn-soft: #fff4dc;
  --err: #b42318;
  --err-soft: #fdecea;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20, 27, 35, .06), 0 8px 24px -12px rgba(20, 27, 35, .18);
  --shadow-lg: 0 2px 4px rgba(20, 27, 35, .06), 0 24px 48px -20px rgba(20, 27, 35, .35);
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 1rem/1.6 var(--f-body); color: var(--ink); background: var(--surface); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
p, ul, ol, dl, h1, h2, h3 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
sup { font-size: .65em; line-height: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }

h1, h2, h3 { text-wrap: balance; font-family: var(--f-head); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(2.05rem, 1.2rem + 3.9vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.2vw, 2.55rem); }
h3 { font-size: 1.14rem; letter-spacing: -.01em; line-height: 1.3; }

.eyebrow, .num { font-family: var(--f-mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }
.fine { font-size: .82rem; line-height: 1.5; color: var(--muted); }
.fine--center { text-align: center; max-width: 760px; margin: 28px auto 0; }
.unit, .opt { font-weight: 400; color: var(--muted); font-size: .85em; }
.req { color: var(--accent-ink); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s; }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.12), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn--primary:hover { background: var(--accent-2); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 40px; padding: .5em .95em; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: .8em 1.3em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; font-size: .88rem; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.top__in { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo__mark { width: 30px; height: 30px; }
.logo__txt { font-family: var(--f-head); font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.logo__txt b { font-weight: 700; }
.nav { display: none; margin-left: auto; gap: 4px; }
.nav a { padding: 8px 10px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--bg); }
.top__cta { margin-left: auto; display: none; }
.burger { margin-left: auto; width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav.is-open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 64px; padding: 8px var(--gutter) 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav.is-open a { padding: 12px 8px; font-size: 1rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
@media (min-width: 640px) { .top__cta { display: inline-flex; margin-left: auto; } .burger { margin-left: 0; } }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .top__cta { margin-left: 8px; }
  .burger { display: none; }
}

/* Héros */
.hero { position: relative; padding: 40px 0 56px; background:
  linear-gradient(180deg, rgba(243,245,247,0) 0%, var(--bg) 100%),
  repeating-linear-gradient(0deg, transparent 0 31px, rgba(43,71,96,.07) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, rgba(43,71,96,.07) 31px 32px), #fff; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__txt > * + * { margin-top: 20px; }
.hero h1 { max-width: 15ch; }
.hl { position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .06em; height: .26em; background: var(--accent); opacity: .85; z-index: -1; border-radius: 2px; }
.hero h1 { position: relative; z-index: 0; }
.hero .lead { max-width: 58ch; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 28px !important; }
.hero__facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 32px !important; }
.hero__facts li { background: rgba(255,255,255,.96); padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.hero__facts strong { font-family: var(--f-head); font-size: 1.28rem; font-weight: 600; letter-spacing: -.01em; }
.hero__facts span { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.hero .fine { margin-top: 12px; }
@media (min-width: 560px) { .hero__cta { flex-direction: row; flex-wrap: wrap; } .hero__facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .hero { padding: 72px 0 88px; } .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }

/* Console (visuel héros) */
.console { background: var(--steel); color: var(--steel-ink); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 0 0 14px; overflow: hidden; border: 1px solid #0d151d; font-size: .86rem; }
.console__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #0f1821; border-bottom: 1px solid #23313f; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #34475a; }
.console__title { font-family: var(--f-mono); font-size: .74rem; color: var(--steel-muted); letter-spacing: .02em; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.tag--live { background: rgba(242,107,29,.16); color: var(--accent-2); }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
.tag--fict { background: var(--warn-soft); color: var(--warn); border: 1px solid #f1d9a6; }
@keyframes pulse { 50% { opacity: .3; } }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; padding: 18px 16px 10px; }
.flow__step { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .72rem; color: var(--steel-muted); line-height: 1.25; }
.flow__ico { width: 44px; height: 44px; border-radius: 10px; background: var(--steel-2); border: 1px solid #2f4659; display: block; position: relative; }
.flow__ico::after { content: ""; position: absolute; inset: 11px; background: var(--steel-ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.flow__ico--mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 5h18v14H3z M3 6l9 7 9-7'/%3E%3C/svg%3E"); }
.flow__ico--scan { background: var(--accent); border-color: var(--accent); }
.flow__ico--scan::after { background: var(--ink); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M4 8V4h4 M16 4h4v4 M20 16v4h-4 M8 20H4v-4 M7 12h10'/%3E%3C/svg%3E"); }
.flow__ico--erp { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 4h18v16H3z M3 9h18 M9 9v11'/%3E%3C/svg%3E"); }
.flow__arrow { width: 26px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px); background-size: 18px 2px; animation: dash 1s linear infinite; margin-bottom: 26px; }
@keyframes dash { to { background-position: 18px 0; } }
.feed { margin: 8px 16px 0; border: 1px solid #263646; border-radius: 8px; overflow: hidden; }
.feed li { display: grid; grid-template-columns: 44px 1fr auto auto; align-items: center; gap: 10px; padding: 9px 12px; border-top: 1px solid #22313f; font-size: .8rem; animation: rowin .5s both; }
.feed li:first-child { border-top: 0; }
.feed li:nth-child(2) { animation-delay: .25s; } .feed li:nth-child(3) { animation-delay: .5s; } .feed li:nth-child(4) { animation-delay: .75s; } .feed li:nth-child(5) { animation-delay: 1s; }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }
.feed time { font-family: var(--f-mono); color: var(--steel-muted); font-size: .74rem; }
.feed__doc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__n { color: var(--steel-muted); font-size: .74rem; white-space: nowrap; }
.st { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.st--ok { background: rgba(61,190,120,.15); color: #6fe0a2; }
.st--warn { background: rgba(255,186,73,.16); color: #ffc66e; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 14px 16px 0; background: #263646; border-radius: 8px; overflow: hidden; }
.kpis div { background: var(--steel-2); padding: 10px 12px; display: flex; flex-direction: column; }
.kpis b { font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; color: #fff; white-space: nowrap; }
.kpis span { font-size: .7rem; color: var(--steel-muted); line-height: 1.3; }
.console__note { margin: 10px 16px 0; font-family: var(--f-mono); font-size: .66rem; color: #7f91a2; text-align: right; }
@media (max-width: 400px) { .feed__n { display: none; } .feed li { grid-template-columns: 40px 1fr auto; } .kpis b { font-size: 1.05rem; } }

/* Bandeau réforme */
.reforme { background: var(--steel); color: var(--steel-ink); }
.reforme__in { display: grid; gap: 10px; padding-top: 22px; padding-bottom: 22px; align-items: center; }
.reforme__date span { display: inline-block; font-family: var(--f-mono); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: 6px 10px; border-radius: 4px; white-space: nowrap; }
.reforme__txt { font-size: .96rem; line-height: 1.55; color: var(--steel-muted); }
.reforme__txt strong { color: #fff; font-weight: 600; }
@media (min-width: 820px) { .reforme__in { grid-template-columns: auto 1fr; gap: 24px; } }

/* Sections */
.sec { padding: 64px 0; }
.sec--alt { background: var(--bg); }
.sec--dark { background: var(--steel); color: var(--steel-ink); }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .num { color: var(--accent-2); }
.sec--dark .sec__intro { color: var(--steel-muted); }
.sec__head { max-width: 760px; margin-bottom: 36px; }
.sec__head > * + * { margin-top: 12px; }
.sec__intro { color: var(--ink-2); font-size: 1.04rem; }
@media (min-width: 900px) { .sec { padding: 96px 0; } .sec__head { margin-bottom: 48px; } }

/* 01 Tâches */
.tasks { display: grid; gap: 14px; }
.task { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s; }
.task:hover { border-color: #c4ccd6; box-shadow: var(--shadow); }
.task__ico { width: 36px; height: 36px; padding: 7px; border-radius: 8px; background: var(--accent-soft); fill: none; stroke: var(--accent-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.task p { color: var(--ink-2); font-size: .95rem; }
.task__calc { margin-top: auto !important; padding-top: 12px; border-top: 1px dashed var(--line); font-family: var(--f-mono); font-size: .78rem !important; color: var(--muted) !important; }
.task__fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem !important; }
.task__fig b { font-family: var(--f-head); font-size: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.task__fig span { margin-left: auto; font-family: var(--f-mono); font-weight: 600; font-size: .9rem; color: var(--accent-ink); background: var(--accent-soft); padding: 2px 8px; border-radius: 4px; }
.tasks__sum { margin-top: 22px; padding: 20px 22px; border-radius: var(--radius); background: var(--bg); border-left: 4px solid var(--accent); }
.tasks__sum p:first-child { font-size: 1.02rem; color: var(--ink-2); }
.tasks__sum strong { color: var(--ink); }
.tasks__sum .fine { margin-top: 8px; }
@media (min-width: 640px) { .tasks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tasks { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* 02 Onglets secteurs */
.tabs__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 calc(var(--gutter) * -1) 18px; padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x proximity; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] { flex: 0 0 auto; scroll-snap-align: start; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); padding: 10px 16px; border-radius: 99px; font-weight: 600; font-size: .9rem; white-space: nowrap; min-height: 44px; }
.tabs__list [role="tab"]:hover { border-color: var(--ink-2); color: var(--ink); }
.tabs__list [role="tab"][aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 900px) { .tabs__list { margin: 0 0 22px; padding: 4px; flex-wrap: wrap; } }
.tabs__panel:focus-visible { outline-offset: 6px; }
.js .tabs__panel { animation: fadein .35s ease both; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }
.case { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tabs__panel + .tabs__panel { margin-top: 16px; }
.case__col, .case__gain { background: var(--surface); padding: 22px 20px; }
.case h3 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.pill { font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; }
.pill--avant { background: #eef1f4; color: var(--ink-2); }
.pill--auto { background: var(--accent-soft); color: var(--accent-ink); }
.case ul li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .95rem; }
.case ul li + li { margin-top: 10px; }
.case__col--avant li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: #9aa6b2; }
.case__col--auto li::before { content: ""; position: absolute; left: 0; top: .32em; width: 14px; height: 14px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%231d7a4b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.case__gain { background: var(--steel); color: var(--steel-ink); display: flex; flex-direction: column; gap: 10px; }
.case__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.case__big { font-family: var(--f-head); font-size: 1.85rem; font-weight: 600; line-height: 1.1; color: #fff; letter-spacing: -.02em; }
.case__big small { display: block; font-family: var(--f-body); font-size: .88rem; font-weight: 400; color: var(--steel-muted); letter-spacing: 0; margin-top: 6px; }
.case__calc { font-size: .84rem; color: var(--steel-muted); line-height: 1.5; padding-top: 10px; border-top: 1px solid #2c3d4e; margin-top: auto; }
@media (min-width: 900px) { .case { grid-template-columns: 1fr 1fr .85fr; } .case__col, .case__gain { padding: 28px 26px; } }

/* 03 Simulateur */
.sim { display: grid; gap: 20px; }
.sim__form { background: var(--steel-2); border: 1px solid #2c4357; border-radius: 12px; padding: 20px; }
.sim__main { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f label, .f legend { font-size: .9rem; font-weight: 600; color: var(--ink); }
.sim .f label { color: var(--steel-ink); }
.sim .unit { color: var(--steel-muted); }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2333404e' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; }
input:hover, select:hover, textarea:hover { border-color: #b7c1cc; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,107,29,.25); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px rgba(180,35,24,.15); }
.sim input, .sim select { background-color: #0f1923; border-color: #34506a; color: #fff; font-family: var(--f-mono); font-size: .98rem; }
.sim select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e6edf3' stroke-width='1.6'/%3E%3C/svg%3E"); font-family: var(--f-body); }
.sim select option { background: #fff; color: var(--ink); }
.sim input:hover, .sim select:hover { border-color: #4f6f8c; }
.sim__hyp { margin-top: 18px; border-top: 1px solid #2c4357; padding-top: 14px; }
.sim__hyp summary { cursor: pointer; font-weight: 600; font-size: .95rem; color: #fff; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 40px; }
.sim__hyp summary::-webkit-details-marker { display: none; }
.sim__hyp summary::before { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--accent-2); border-bottom: 2px solid var(--accent-2); transform: rotate(-45deg); transition: transform .2s; flex-shrink: 0; }
.sim__hyp[open] summary::before { transform: rotate(45deg); }
.sim__hyp summary span { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--steel-muted); border: 1px solid #3a5268; padding: 2px 6px; border-radius: 4px; font-weight: 500; }
.sim__hypgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.f--sm label { font-size: .8rem !important; font-weight: 500 !important; line-height: 1.3; }
.f--sm input { min-height: 40px; padding: 6px 10px; font-size: .9rem; }
.sim__hyptxt { font-size: .8rem; color: var(--steel-muted); margin-top: 14px; line-height: 1.5; }
.sim .link-btn { color: var(--accent-2); margin-top: 10px; min-height: 32px; }
.sim__res { background: #fff; color: var(--ink); border-radius: 12px; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-lg); align-self: start; }
.res__label { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.res__val { font-family: var(--f-head); font-weight: 600; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.res__val--sm { font-size: 1.22rem; }
.res__sub { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.res--main { background: var(--accent-soft); border: 1px solid #ffd9c2; border-radius: 10px; padding: 16px; }
.res--main .res__label { color: var(--accent-ink); }
.res--main .res__val { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem); color: var(--ink); }
.bar { position: relative; height: 8px; background: #ffe2cf; border-radius: 99px; margin-top: 12px; overflow: hidden; }
.bar__fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: linear-gradient(90deg, var(--accent) 0%, #ffb37f 100%); border-radius: 99px; transition: left .4s ease, width .4s ease; }
.res__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.res__duo .res { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.res__potentiel { font-size: .85rem; color: var(--ink-2); padding: 10px 12px; background: var(--bg); border-radius: 8px; }
.res__warn { font-size: .88rem; color: var(--warn); background: var(--warn-soft); border: 1px solid #f1d9a6; padding: 10px 12px; border-radius: 8px; }
.res__legal { font-size: .78rem; color: var(--muted); text-align: center; }
.res--hours .res__val { font-size: 1.45rem; }
.sim__main { grid-template-columns: 1fr 1fr; gap: 14px 12px; } .sim__main .f:first-of-type { grid-column: 1 / -1; } .sim__main .f, .sim__hypgrid .f { justify-content: flex-end; } .sim__main .f label { line-height: 1.3; }
@media (min-width: 560px) { .sim__hypgrid { grid-template-columns: repeat(4, 1fr); } .sim__main .f:first-of-type { grid-column: auto; } }
@media (min-width: 1000px) { .sim { grid-template-columns: 1.15fr .85fr; gap: 28px; } .sim__form { padding: 28px; } .sim__res { padding: 26px; position: sticky; top: 88px; } }

/* 04 Démonstrateur */
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.demo__pick { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.pick { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--bg); border: 0; padding: 14px 14px; min-height: 64px; color: var(--ink-2); position: relative; transition: background-color .15s; }
.pick:hover { background: #eaeef2; }
.pick b { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pick small { display: none; font-size: .78rem; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.pick.is-on { background: #fff; }
.pick.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); }
.pick__ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; background: #e2e7ec; position: relative; }
.pick.is-on .pick__ico { background: var(--ink); }
.pick__ico::after { content: ""; position: absolute; inset: 8px; background: var(--ink-2); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.pick.is-on .pick__ico::after { background: var(--accent); }
.pick__ico--mail { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M3 5h18v14H3z M3 6l9 7 9-7'/%3E%3C/svg%3E"); }
.pick__ico--pdf { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M6 2h9l4 4v16H6z M14 2v5h5 M9 13h7 M9 17h5'/%3E%3C/svg%3E"); }
.pick__ico--relance { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M20 12a8 8 0 1 1-2.3-5.7 M20 4v4h-4 M12 8v4l3 2'/%3E%3C/svg%3E"); }
.pick__ico--paste { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M8 4h8v3H8z M6 5H4v16h16V5h-2 M8 12h8 M8 16h5'/%3E%3C/svg%3E"); }
@media (min-width: 900px) { .demo__pick { grid-template-columns: repeat(4, 1fr); } .pick small { display: block; } .pick { padding: 16px 18px; } }
.demo__paste { padding: 18px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.demo__paste label { font-weight: 600; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.demo__paste textarea { font-family: var(--f-mono); font-size: .86rem; }
.demo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.steps { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0; counter-reset: st; }
.steps li { counter-increment: st; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 500; color: var(--muted); padding: 5px 10px 5px 6px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line-2); transition: background-color .25s, color .25s, border-color .25s; }
.steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #dfe4ea; color: var(--ink-2); font-family: var(--f-mono); font-size: .68rem; font-weight: 700; }
.steps li.is-active { background: var(--accent-soft); border-color: #ffcfae; color: var(--ink); }
.steps li.is-active::before { background: var(--accent); color: var(--ink); }
.steps li.is-done { color: var(--ok); background: var(--ok-soft); border-color: #c4e6d3; }
.steps li.is-done::before { content: "✓"; background: var(--ok); color: #fff; }
@media (max-width: 640px) { .demo__bar { justify-content: space-between; } .steps { order: 3; flex: 1 1 100%; flex-wrap: nowrap; justify-content: space-between; } .demo__bar .btn { flex: 1 1 auto; } }
@media (max-width: 520px) { .steps li { font-size: 0; padding: 4px; gap: 0; } .steps li::before { font-size: .68rem; width: 22px; height: 22px; } .steps li.is-active { font-size: .78rem; padding: 4px 10px 4px 4px; gap: 6px; } }
.demo__stage { display: grid; }
.pane { padding: 18px 20px 20px; min-width: 0; }
.pane--src { background: #f7f8fa; border-bottom: 1px solid var(--line-2); }
.pane__title { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
@media (min-width: 900px) { .demo__stage { grid-template-columns: .95fr 1.05fr; min-height: 470px; } .pane--src { border-bottom: 0; border-right: 1px solid var(--line-2); } .pane { padding: 22px 24px 24px; } }

/* Document source */
.src { font-size: .88rem; line-height: 1.6; color: var(--ink-2); }
.mail { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.mail__head { padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: .8rem; display: grid; gap: 2px; }
.mail__head span { color: var(--muted); }
.mail__head b { color: var(--ink); font-weight: 600; }
.mail__body { padding: 14px; white-space: pre-wrap; word-break: break-word; font-size: .86rem; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 1px 0 #e8ecf0, 0 6px 18px -10px rgba(0,0,0,.25); padding: 16px; font-size: .78rem; position: relative; }
.paper__att { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted); margin-bottom: 10px; }
.paper__att::before { content: "PDF"; background: var(--err); color: #fff; font-weight: 700; padding: 1px 5px; border-radius: 3px; font-size: .62rem; }
.paper__top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 10px; }
.paper__top b { font-family: var(--f-head); font-size: .95rem; display: block; color: var(--ink); }
.paper__top div:last-child { text-align: right; }
.paper__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-bottom: 10px; }
.paper__meta span { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.paper table { width: 100%; border-collapse: collapse; font-size: .74rem; }
.paper th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding: 4px 4px; font-size: .66rem; text-transform: uppercase; }
.paper td { padding: 5px 4px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.paper td.r, .paper th.r { text-align: right; white-space: nowrap; }
.paper__total { text-align: right; margin-top: 8px; font-weight: 600; color: var(--ink); }
mark.x { background: transparent; color: inherit; border-radius: 3px; padding: 0 1px; transition: background-color .3s, box-shadow .3s; }
mark.x.is-lit { background: #ffe1cc; box-shadow: 0 0 0 1px #ffbf94; }
mark.x.is-done { background: #fff0e5; box-shadow: none; }

/* Résultat */
.out { font-size: .9rem; }
.out__empty { color: var(--muted); padding: 40px 0; text-align: center; border: 1.5px dashed var(--line); border-radius: 10px; }
.out__block { animation: fadein .35s ease both; }
.out__block + .out__block { margin-top: 18px; }
.out__h { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.fields { display: grid; gap: 6px; }
.fld { display: grid; grid-template-columns: minmax(0, 7.2rem) minmax(0, 1fr) 70px; align-items: center; gap: 10px; padding: 7px 10px; background: var(--bg); border-radius: 6px; animation: fadein .3s ease both; }
.fld__k { font-size: .76rem; color: var(--muted); }
.fld__v { font-weight: 600; color: var(--ink); font-size: .86rem; word-break: break-word; }
.conf { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.conf b { font-family: var(--f-mono); font-size: .7rem; font-weight: 600; }
.conf i { display: block; width: 100%; height: 4px; background: #dfe4ea; border-radius: 99px; overflow: hidden; position: relative; }
.conf i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--ok); border-radius: 99px; }
.conf--mid b { color: var(--warn); } .conf--mid i::after { background: #d99a1e; }
.conf--low b { color: var(--err); } .conf--low i::after { background: var(--err); }
.conf--hi b { color: var(--ok); }
.lines { width: 100%; border-collapse: collapse; font-size: .8rem; margin-top: 6px; }
.lines th { text-align: left; font-family: var(--f-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: 4px 6px; border-bottom: 1px solid var(--line); }
.lines td { padding: 6px 6px; border-bottom: 1px solid var(--line-2); }
.lines .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines .ref { font-family: var(--f-mono); font-size: .76rem; white-space: nowrap; }
.checks { display: grid; gap: 6px; }
.chk { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 6px; background: var(--bg); animation: fadein .3s ease both; font-size: .86rem; }
.chk__i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: #9aa6b2; }
.chk--ok .chk__i { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; color: transparent; }
.chk--warn { background: var(--warn-soft); }
.chk--warn .chk__i { background: #c98a12; }
.chk--info .chk__i { background: var(--steel-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 10v6' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='11' cy='6.6' r='1.4' fill='white'/%3E%3C/svg%3E") center / 22px no-repeat; color: transparent; }
.chk b { display: block; color: var(--ink); font-weight: 600; }
.chk span { color: var(--ink-2); font-size: .82rem; }
.erp { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.erp__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--steel); color: var(--steel-ink); padding: 8px 12px; font-family: var(--f-mono); font-size: .7rem; }
.erp__bar b { color: #fff; font-weight: 600; }
.erp__scroll { overflow-x: auto; }
.erp table { width: 100%; border-collapse: collapse; font-size: .74rem; min-width: 420px; }
.erp th { text-align: left; font-weight: 600; color: var(--muted); background: #f1f4f7; padding: 6px 7px; font-size: .68rem; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.erp td { padding: 7px 7px; border-top: 1px solid var(--line-2); white-space: nowrap; }
.erp td.r { text-align: right; font-variant-numeric: tabular-nums; }
.erp tr.is-new td { background: #fff4ea; animation: newrow 1.6s ease both; }
@keyframes newrow { 0% { background: #ffd2b0; } 100% { background: #fff4ea; } }
.badge { display: inline-block; font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--muted { background: #eef1f4; color: var(--ink-2); }
.ack { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ack__head { padding: 8px 12px; background: var(--bg); font-size: .76rem; color: var(--muted); display: grid; gap: 1px; border-bottom: 1px solid var(--line-2); }
.ack__head b { color: var(--ink); font-weight: 600; }
.ack__body { padding: 12px; font-size: .84rem; white-space: pre-wrap; color: var(--ink-2); }
.ack__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-top: 1px solid var(--line-2); font-size: .76rem; color: var(--muted); }
.ack__foot .btn { min-height: 36px; font-size: .82rem; padding: .4em .9em; }
.demo__timer { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.demo__timer div { background: var(--steel); color: var(--steel-muted); padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.demo__timer span { font-size: .74rem; }
.demo__timer b { font-family: var(--f-head); font-size: 1.3rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.demo__timer .demo__timer-gain b { color: var(--accent-2); }
@media (min-width: 760px) { .demo__timer { grid-template-columns: repeat(4, 1fr); } }

/* 05 Méthode */
.method { display: grid; gap: 14px; counter-reset: m; }
.method__step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.method__n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--ink); color: var(--accent); font-family: var(--f-mono); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.method__meta { font-family: var(--f-mono); font-size: .74rem; color: var(--accent-ink); font-weight: 600; margin: 4px 0 10px; letter-spacing: .02em; }
.method__step p:last-child { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 640px) { .method { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .method { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .method__step:not(:last-child)::after { content: ""; position: absolute; top: 41px; right: -19px; width: 20px; height: 2px; background: repeating-linear-gradient(90deg, #9aa6b2 0 4px, transparent 4px 7px); }
}
.integr { margin-top: 28px; display: grid; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; }
.integr__txt h3 { font-size: 1.35rem; margin-bottom: 10px; }
.integr__txt p { color: var(--ink-2); }
.integr__txt p + p { margin-top: 10px; }
.integr__svg { width: 100%; height: auto; max-width: 480px; margin: 0 auto; }
.integr__svg text { font-family: var(--f-body); font-size: 12.5px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.integr__svg .sv-sm { font-size: 10.5px; font-weight: 400; fill: var(--muted); }
.sv-src rect, .sv-dst rect { fill: var(--bg); stroke: var(--line); stroke-width: 1.2; }
.sv-dst rect.sv-human { fill: var(--accent-soft); stroke: #ffcfae; }
.sv-core rect { fill: var(--steel); }
.sv-core text { fill: #fff; }
.sv-core .sv-sm { fill: var(--steel-muted); }
.sv-lines path { fill: none; stroke: #8995a2; stroke-width: 1.4; stroke-dasharray: 4 3; }
@media (min-width: 900px) { .integr { grid-template-columns: 1fr 1fr; padding: 32px 36px; gap: 40px; } }

/* 06 À propos */
.about { display: grid; gap: 32px; }
.about__txt > p { color: var(--ink-2); font-size: 1.02rem; }
.about__txt > p + p { margin-top: 14px; }
.about__txt strong { color: var(--ink); }
.ident { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.ident div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 10px 14px; border-top: 1px solid var(--line-2); }
.ident div:first-child { border-top: 0; }
.ident dt { font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.ident dd { margin: 0; color: var(--ink); }
@media (min-width: 560px) { .ident div { grid-template-columns: 9.5rem 1fr; gap: 12px; align-items: baseline; } }
.about__side { background: var(--bg); border-radius: 12px; padding: 22px 20px; }
.about__h { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.about__h + ul + .about__h { margin-top: 24px; }
.skills li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.skills li:first-child { border-top: 0; padding-top: 0; }
.skills b { font-weight: 600; font-size: .96rem; }
.skills span { font-size: .86rem; color: var(--muted); }
.principles li { position: relative; padding-left: 22px; font-size: .9rem; color: var(--ink-2); }
.principles li + li { margin-top: 8px; }
.principles li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 2px; }
@media (min-width: 960px) { .about { grid-template-columns: 1.15fr .85fr; gap: 48px; } .about__side { padding: 28px; } }

/* 07 FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-family: var(--f-head); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%23141b23' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 11px no-repeat; transition: transform .2s, background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); border-color: #ffcfae; }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding: 0 2px 20px; color: var(--ink-2); max-width: 70ch; }

/* 08 Formulaire */
.sec--form { background:
  radial-gradient(900px 400px at 10% 0%, rgba(242,107,29,.12), transparent 60%),
  repeating-linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.035) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.035) 31px 32px), var(--steel); }
.form-grid { display: grid; gap: 32px; align-items: start; }
.form-pitch > * + * { margin-top: 14px; }
.lead--light { color: var(--steel-muted); }
.next { margin-top: 26px !important; display: grid; gap: 14px; counter-reset: n; }
.next li { counter-increment: n; position: relative; padding-left: 46px; display: flex; flex-direction: column; color: var(--steel-muted); font-size: .95rem; }
.next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--steel-2); border: 1px solid #34506a; color: var(--accent-2); font-family: var(--f-mono); font-weight: 700; font-size: .9rem; }
.next b { color: #fff; font-weight: 600; }
.form-pitch__mail { color: var(--steel-muted); font-size: .92rem; margin-top: 26px !important; }
.form-pitch__mail a { color: #fff; font-weight: 600; }
.form-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 18px; box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 16px; }
.form__req { font-size: .8rem; color: var(--muted); }
.row2, .row3 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1fr 1fr; } .row3 .f:last-child { grid-column: 1 / -1; } .form-card { padding: 28px; } }
@media (min-width: 1000px) { .form-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } .row3 { grid-template-columns: 1fr 1.2fr 1fr; } .row3 .f:last-child { grid-column: auto; } .form-pitch { position: sticky; top: 100px; } }
.f__hint { font-size: .78rem; color: var(--muted); }
.slots { border: 0; padding: 0; margin: 0; }
.slots legend { padding: 0; margin-bottom: 8px; }
.slots__list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
@media (min-width: 560px) { .slots__list { grid-template-columns: repeat(4, 1fr); } }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.slot label { display: flex; flex-direction: column; gap: 0; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: .8rem; font-weight: 500; color: var(--muted); line-height: 1.3; min-height: 50px; justify-content: center; transition: border-color .15s, background-color .15s; }
.slot label b { color: var(--ink); font-weight: 600; font-size: .86rem; }
.slot label:hover { border-color: #b7c1cc; }
.slot input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.slot input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--accent); padding: 0; }
.check a { color: var(--ink); font-weight: 500; }
.form__err { background: var(--err-soft); color: var(--err); border: 1px solid #f5c2bd; border-radius: 8px; padding: 12px 14px; font-size: .9rem; }
.form__err a { color: var(--err); font-weight: 600; }
.form__legal { font-size: .78rem; color: var(--muted); text-align: center; }
.sim-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--accent-soft); border: 1px solid #ffd2b5; border-radius: 8px; padding: 10px 14px; font-size: .86rem; }
.sim-chip p { color: var(--ink-2); }
.sim-chip b { color: var(--ink); }
.form-ok { text-align: center; padding: 28px 8px; outline: none; }
.form-ok svg { width: 64px; height: 64px; margin: 0 auto 16px; fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-ok h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-ok p { color: var(--ink-2); max-width: 44ch; margin: 0 auto; }
.form-ok .fine { margin-top: 14px; }

/* Pied de page */
.foot { background: #0f1821; color: var(--steel-muted); padding: 40px 0; font-size: .88rem; }
.foot__in { display: grid; gap: 24px; }
.logo--light .logo__txt { color: #fff; }
.foot__brand p { margin-top: 12px; max-width: 44ch; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; align-content: start; }
.foot__nav a { color: var(--steel-ink); text-decoration: none; padding: 6px 0; }
.foot__nav a:hover { text-decoration: underline; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 1fr 1fr; align-items: start; } .foot__nav { justify-content: flex-end; } }

/* Pages annexes */
.page { padding: 48px 0 72px; background: var(--surface); }
.page__head { padding: 40px 0 32px; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.page__head h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); margin-top: 10px; }
.page__head p.fine { margin-top: 10px; }
.prose { max-width: 760px; color: var(--ink-2); }
.prose h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li + li { margin-top: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 8px; height: 2px; background: var(--accent); }
.prose a { color: var(--ink); font-weight: 500; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .92rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--bg); color: var(--ink); font-weight: 600; width: 34%; }
@media (max-width: 560px) { .prose table, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: 100%; } .prose tr { margin-bottom: 10px; } .prose td { border-top: 0; } }
.panel { max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; box-shadow: var(--shadow); }
.panel > * + * { margin-top: 14px; }
.panel h2 { font-size: 1.3rem; }
.panel p { color: var(--ink-2); }
.panel .btn { margin-top: 20px; }
.panel .f { margin-top: 18px; }
.msg-ok { background: var(--ok-soft); color: var(--ok); border: 1px solid #c4e6d3; border-radius: 8px; padding: 14px 16px; font-weight: 500; }
.center-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 64px 0; background:
  repeating-linear-gradient(0deg, transparent 0 31px, rgba(43,71,96,.07) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, rgba(43,71,96,.07) 31px 32px), #fff; }
.center-page .big { font-family: var(--f-mono); font-size: clamp(4rem, 3rem + 6vw, 7rem); font-weight: 700; color: var(--accent); line-height: 1; }
.center-page h1 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); margin: 16px 0 12px; }
.center-page p { color: var(--ink-2); max-width: 46ch; margin: 0 auto; }
.center-page .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-delay: 0s !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print { .top, .burger, .hero__viz, .demo, .sim, .foot__nav { display: none !important; } body { color: #000; } }

/* Ajouts pages annexes */
.top__back { margin-left: auto; }
.panel-err { max-width: 560px; margin-top: 16px; }
.d-note { max-width: 560px; margin-top: 18px; }
.prose code { font-family: var(--f-mono); font-size: .88em; background: var(--bg); padding: 1px 5px; border-radius: 4px; }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* Vidéo de présentation : bouton du héros, carte de la démonstration, lecteur modal */
.btn-video { display: inline-flex; align-items: center; gap: .6em; min-height: 54px; padding: .4em .6em; border: 0; background: none; color: var(--ink); font: 600 1rem/1.2 var(--f-body); cursor: pointer; border-radius: var(--radius-sm); }
.btn-video__rond { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); flex: none; transition: background-color .15s, transform .15s; }
.btn-video__rond svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.btn-video:hover .btn-video__rond { background: var(--accent); transform: scale(1.06); }
.btn-video:hover { text-decoration: underline; text-underline-offset: 3px; }
.video-carte { display: flex; align-items: center; gap: 20px; width: 100%; max-width: 640px; margin: 0 0 28px; padding: 10px 20px 10px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.video-carte:hover { border-color: var(--accent); box-shadow: 0 8px 24px rgba(20,27,35,.08); }
.video-carte__img { position: relative; flex: none; width: 176px; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink); }
.video-carte__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-carte__play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.video-carte__play svg { width: 18px; height: 18px; fill: var(--ink); margin-left: 2px; }
.video-carte__txt { display: grid; gap: 4px; }
.video-carte__txt b { font-family: var(--f-head); font-size: 1.08rem; }
.video-carte__txt span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (max-width: 560px) { .video-carte { flex-direction: column; align-items: stretch; padding: 10px; } .video-carte__img { width: 100%; } .video-carte__txt { padding: 4px 6px 6px; } }
.lecteur { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: #0e151d; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lecteur::backdrop { background: rgba(10,15,21,.78); }
.lecteur__tete, .lecteur__pied { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; }
.lecteur__tete h2 { margin: 0; color: #fff; font-size: 1.05rem; }
.lecteur__fermer { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; flex: none; }
.lecteur__fermer:hover { background: rgba(255,255,255,.18); }
.lecteur__fermer svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2; fill: none; }
.lecteur video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.lecteur__pied { flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.7); }
@media (max-width: 560px) { .lecteur__pied .btn { width: 100%; } }
