/* BIMCheck Audit — landing. Même identité que l'application (platform/apps/workbench) : jetons de
   tokens.css, police DM Sans (/platform/apps/workbench/ui/fonts/dm-sans.css, copie unique partagée avec l'app), BRAND_MARK. Aucun framework.
   Clair par défaut (identité primaire RC1.3), sombre selon le système ou le bouton. */

/* ── Jetons de l'app, copiés à l'identique de platform/apps/workbench/ui/styles/tokens.css ──
   (tests/test-landing-audit.cjs compare les valeurs). La landing est claire par défaut, comme
   l'identité primaire RC1.3 « BIMCheck-QC » ; le bloc sombre reprend le :root de l'app. */
:root {
    color-scheme: light;
    --bg-0: #f3f8fc;
    --bg-1: #ffffff;
    --bg-2: #f6fbff;
    --bg-3: #e9f2f9;
    --line: #d8e8f2;
    --line-2: #c3d9e8;
    --text-1: #172437;
    --text-2: #3a4c61;
    --text-3: #566a7f;
    --text-inverse: #ffffff;
    --accent: #0e7490;
    --accent-strong: #088079;
    --accent-hover: #066a65;
    --on-accent: #ffffff;
    --brand-a: #088079;
    --brand-b: #2563c9;
    --shadow-tabs: 0 18px 50px -42px #1724376b;
    --sel-bg: #e2f4f6;
    --sel-line: #0a6f7a;
    --focus: #2563c9;
    --sev-blocking: #b3261e;
    --sev-review: #8a5a00;
    --sev-info: #4a5c70;
    --ok: #1a6b47;
    --sev-blocking-bg: #fdecec;
    --sev-review-bg: #fdf3df;
    --sev-info-bg: #eaf1f7;
    --stage-bg: #e6edf4;
    --stage-grid: #cfdde9;
    --stage-chrome: #ffffffee;
    --stage-chrome-line: #d3e2ee;
    --stage-text: #172437;
    --stage-text-2: #4d5f73;
    --stage-hover: #e9f2f9;
    --stage-on: #cfe3ef;
    --card-line: #d8e8f2;
    --viz-structure: #2a78d6;
    --viz-architecture: #d9602b;
    --viz-mep: #0f9a78;
    --viz-furniture: #4a3aa7;
    --viz-site: #b07a00;
    --viz-proxy: #6b7785;
    --viz-other: #7f8a99;
    --viz-root: #3a4c61;
    --s-0: 2px;
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-8: 32px;
    --s-10: 40px;
    --font-ui: "DM Sans", Inter, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --t-caption: 12px;
    --t-body: 14.5px;
    --t-body-strong: 15.5px;
    --t-section-title: 18px;
    --t-page-title: 28px;
    --t-metric: 34px;
    --t-hero: 46px;
    --t-micro: var(--t-caption);
    --t-xs: 12.5px;
    --t-sm: var(--t-body);
    --t-md: var(--t-body-strong);
    --t-lg: var(--t-section-title);
    --t-xl: var(--t-page-title);
    --lh-tight: 1.2;
    --lh: 1.5;
    --w-regular: 400;
    --w-medium: 500;
    --w-semibold: 600;
    --r-1: 8px;
    --r-2: 11px;
    --r-3: 14px;
    --r-4: 18px;
    --shadow-1: 0 1px 2px #0d1b2a0f, 0 6px 16px -8px #0d1b2a29;
    --shadow-2: 0 2px 6px #0d1b2a14, 0 18px 40px -14px #17243747;
    --shadow-float: 0 6px 18px -8px #17243738, 0 1px 3px #0d1b2a14;
    --ease: cubic-bezier(.2, 0, 0, 1);
    --dur-1: 120ms;
    --dur-2: 200ms;
    --sidebar-w: 240px;
    --topbar-h: 52px;
    --panel-w: 280px;
    --inspector-w: 340px;
    --drawer-h: 232px;
    --drawer-head-h: 36px;
    --row-h: 30px;
    --control-h: 34px;
    --header-h: var(--topbar-h);
    --side-w: var(--sidebar-w);
    --tabbar-h: 0px;
    --status-h: 0px;
}
/* Sombre : suit le système, ou le bouton (data-theme="dark"). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg-0: #0c0e11;
        --bg-1: #13161a;
        --bg-2: #1a1e23;
        --bg-3: #22272e;
        --line: #242a31;
        --line-2: #323941;
        --text-1: #e8ebef;
        --text-2: #b3bbc5;
        --text-3: #8e97a2;
        --text-inverse: #0c0e11;
        --accent: #4f8cff;
        --accent-strong: #2c6be0;
        --accent-hover: #2360d2;
        --on-accent: #ffffff;
        --brand-a: #0f9d94;
        --brand-b: #3b82f6;
        --shadow-tabs: 0 18px 50px -42px #000000a0;
        --sel-bg: #1c2836;
        --sel-line: #8fb0d8;
        --focus: #d7e3f6;
        --sev-blocking: #f26b6f;
        --sev-review: #e3a83f;
        --sev-info: #93a3b8;
        --ok: #45b98f;
        --sev-blocking-bg: #3a1c1f;
        --sev-review-bg: #372a14;
        --sev-info-bg: #232a33;
        --stage-bg: #161b22;
        --stage-grid: #232a33;
        --stage-chrome: #14181dee;
        --stage-chrome-line: #2d343d;
        --stage-text: #e3e7ec;
        --stage-text-2: #a6afba;
        --stage-hover: #252c35;
        --stage-on: #34404e;
        --card-line: #242a31;
        --viz-structure: #3987e5;
        --viz-architecture: #d95926;
        --viz-mep: #199e70;
        --viz-furniture: #9085e9;
        --viz-site: #c98500;
        --viz-proxy: #8e97a2;
        --viz-other: #5d6773;
        --viz-root: #b3bbc5;
        --shadow-1: 0 1px 2px #00000033, 0 4px 14px #00000026;
        --shadow-2: 0 2px 6px #00000040, 0 18px 48px #00000059;
        --shadow-float: 0 4px 14px #00000038, 0 1px 3px #00000022;
    }
}
:root[data-theme="dark"] {
    color-scheme: dark;
    --bg-0: #0c0e11;
    --bg-1: #13161a;
    --bg-2: #1a1e23;
    --bg-3: #22272e;
    --line: #242a31;
    --line-2: #323941;
    --text-1: #e8ebef;
    --text-2: #b3bbc5;
    --text-3: #8e97a2;
    --text-inverse: #0c0e11;
    --accent: #4f8cff;
    --accent-strong: #2c6be0;
    --accent-hover: #2360d2;
    --on-accent: #ffffff;
    --brand-a: #0f9d94;
    --brand-b: #3b82f6;
    --shadow-tabs: 0 18px 50px -42px #000000a0;
    --sel-bg: #1c2836;
    --sel-line: #8fb0d8;
    --focus: #d7e3f6;
    --sev-blocking: #f26b6f;
    --sev-review: #e3a83f;
    --sev-info: #93a3b8;
    --ok: #45b98f;
    --sev-blocking-bg: #3a1c1f;
    --sev-review-bg: #372a14;
    --sev-info-bg: #232a33;
    --stage-bg: #161b22;
    --stage-grid: #232a33;
    --stage-chrome: #14181dee;
    --stage-chrome-line: #2d343d;
    --stage-text: #e3e7ec;
    --stage-text-2: #a6afba;
    --stage-hover: #252c35;
    --stage-on: #34404e;
    --card-line: #242a31;
    --viz-structure: #3987e5;
    --viz-architecture: #d95926;
    --viz-mep: #199e70;
    --viz-furniture: #9085e9;
    --viz-site: #c98500;
    --viz-proxy: #8e97a2;
    --viz-other: #5d6773;
    --viz-root: #b3bbc5;
    --shadow-1: 0 1px 2px #00000033, 0 4px 14px #00000026;
    --shadow-2: 0 2px 6px #00000040, 0 18px 48px #00000059;
    --shadow-float: 0 4px 14px #00000038, 0 1px 3px #00000022;
}
@media (prefers-reduced-motion: reduce) {
    :root { --dur-1: 0ms; --dur-2: 0ms; }
}

/* ── Valeurs propres à la landing, toutes dérivées des jetons ci-dessus ────────────────── */
:root {
    --gutter: clamp(16px, 4vw, 48px);                                   /* marge latérale de page */
    --wash-a: color-mix(in srgb, var(--brand-b) 10%, transparent);       /* lavis bleu (app : #2f80ed1a) */
    --wash-b: color-mix(in srgb, var(--brand-a) 10%, transparent);       /* lavis teal (app : #0fafa41a) */
    --brand-gradient: linear-gradient(135deg, var(--brand-a), var(--brand-b)); /* = .welcome-cta de l'app */
    --cta-glow: 0 14px 34px -22px var(--brand-b);                        /* app : 0 14px 34px -22px #2f80ed */
    --t-display: clamp(36px, 5vw, calc(var(--t-hero) * 1.35));          /* titre de landing, ancré sur --t-hero */
    --t-h2: clamp(var(--t-page-title), 3.4vw, calc(var(--t-page-title) * 1.35));
    --t-lead: var(--t-section-title);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font-ui); line-height: var(--lh); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    color: var(--text-1);
    font-size: var(--t-body-strong);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* Le lavis de l'app (layout.css : deux radiaux bleu et teal sur --bg-0). */
    background:
        radial-gradient(820px 420px at 86% 0%, var(--wash-a), transparent 64%),
        radial-gradient(680px 360px at 4% 8%, var(--wash-b), transparent 62%),
        var(--bg-0);
    background-repeat: no-repeat;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: var(--w-semibold); }
::selection { background: var(--sel-bg); color: var(--text-1); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-1); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.skip {
    position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px;
    color: var(--on-accent); background: var(--accent-strong); border-radius: var(--r-2); font-weight: var(--w-semibold); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ───────────── Barre (topbar de l'app) ───────────── */
.bar {
    position: sticky; top: 0; z-index: 30;
    background: color-mix(in srgb, var(--bg-1) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color var(--dur-2) var(--ease);
}
.bar.is-scrolled { border-bottom-color: var(--line); }
.bar-in { display: flex; align-items: center; gap: var(--s-6); max-width: 1200px; min-height: 60px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-name { font-size: var(--t-section-title); font-weight: 700; letter-spacing: -.01em; }
.brand-name b, .foot-brand b { font-weight: var(--w-medium); color: var(--text-2); }
.nav { display: flex; gap: var(--s-6); margin-left: auto; }
.nav a { padding: 6px 2px; font-size: var(--t-body); font-weight: var(--w-medium); color: var(--text-2); text-decoration: none; border-radius: var(--r-1); transition: color var(--dur-1) var(--ease); }
.nav a:hover { color: var(--text-1); }
.tools { display: flex; align-items: center; gap: var(--s-2); }
.lang { display: inline-flex; padding: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; }
.lang button {
    min-width: 40px; min-height: 32px; padding: 0 8px; font: var(--w-semibold) var(--t-caption)/1 var(--font-ui); letter-spacing: .04em;
    color: var(--text-2); background: none; border: 0; border-radius: 999px; cursor: pointer;
}
.lang button:hover { color: var(--text-1); }
.lang button[aria-pressed="true"] { color: var(--text-1); background: var(--bg-1); box-shadow: var(--shadow-1); }
.theme {
    display: grid; place-items: center; width: var(--control-h); height: var(--control-h);
    color: var(--text-2); background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-2); cursor: pointer;
}
.theme:hover { color: var(--text-1); border-color: var(--line-2); }
.theme svg { width: 18px; height: 18px; }

/* ───────────── Héros ───────────── */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 0; overflow: hidden; }
.hero::before {
    /* Grille fine façon plan, comme --stage-grid de la vue 3D. */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(var(--stage-grid) 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(90deg, var(--stage-grid) 1px, transparent 1px) 0 0 / 24px 24px;
    opacity: .55;
    -webkit-mask-image: radial-gradient(110% 90% at 80% 10%, #000 15%, transparent 68%);
    mask-image: radial-gradient(110% 90% at 80% 10%, #000 15%, transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.kicker {
    display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-6); padding: 6px 12px;
    font-size: var(--t-caption); font-weight: var(--w-semibold); letter-spacing: .04em; text-transform: uppercase;
    color: var(--text-1); background: var(--sel-bg); border-radius: 999px; /* paire vérifiée text-1 / sel-bg */
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-gradient); }
h1 { font-size: var(--t-display); line-height: 1.06; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); } /* grand texte : ≥ 3:1 sur --bg-0 dans les deux thèmes */
.lead { max-width: 34em; margin-top: var(--s-6); font-size: var(--t-lead); line-height: var(--lh); color: var(--text-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); margin-top: var(--s-8); }
/* L'action principale : le seul endroit (avec le logo) qui porte le dégradé de marque. */
.cta {
    display: inline-flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: 0 28px;
    font-size: var(--t-body-strong); font-weight: 700; text-decoration: none; color: var(--on-accent);
    background: var(--brand-gradient); border: 0; border-radius: var(--r-2); box-shadow: var(--cta-glow);
    transition: transform var(--dur-1) var(--ease), filter var(--dur-1) var(--ease);
}
.cta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.cta:active { transform: translateY(0); filter: brightness(.98); }
.cta-arrow { transition: transform var(--dur-2) var(--ease); }
.cta:hover .cta-arrow { transform: translateX(3px); }
.link-quiet {
    padding: 8px 2px; font-weight: var(--w-semibold); color: var(--accent); text-decoration: underline;
    text-decoration-thickness: 1.5px; text-underline-offset: 5px; border-radius: var(--r-1);
}
.link-quiet:hover { color: var(--accent-hover); }
.hero-note { margin-top: var(--s-5); font-size: var(--t-caption); color: var(--text-3); }
.privacy-line {
    display: flex; align-items: flex-start; gap: var(--s-3); max-width: 32em; margin-top: var(--s-4); padding: var(--s-3) var(--s-4);
    font-size: var(--t-body); color: var(--text-2); background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-3); box-shadow: var(--shadow-1);
}
.privacy-line svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--ok); }

/* Planche : la vue 3D claire de l'app (--stage-*), dans une carte blanche. */
.sheet { margin: 0; }
.sheet-frame { padding: var(--s-3); background: var(--bg-1); border: 1px solid var(--card-line); border-radius: var(--r-4); box-shadow: var(--shadow-2); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); padding: 2px 4px 10px; }
.sheet-no { font: var(--w-medium) var(--t-caption)/1.2 var(--font-mono); color: var(--text-3); }
.sheet-tag { padding: 4px 10px; font-size: var(--t-caption); font-weight: var(--w-semibold); color: var(--sev-info); background: var(--sev-info-bg); border-radius: 999px; }
.drawing {
    width: 100%; height: auto; border-radius: var(--r-3);
    background:
        linear-gradient(var(--stage-grid) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(90deg, var(--stage-grid) 1px, transparent 1px) 0 0 / 20px 20px,
        var(--stage-bg);
}
.axes line { stroke: var(--stage-text-2); stroke-opacity: .55; stroke-width: 1; stroke-dasharray: 12 4 2 4; }
.bubbles circle { fill: var(--stage-chrome); stroke: var(--stage-text-2); stroke-width: 1.1; }
.bubbles text { font: var(--w-semibold) 11px var(--font-ui); fill: var(--stage-text); text-anchor: middle; }
.model polygon { stroke: var(--stage-text); stroke-opacity: .7; stroke-width: 1.1; stroke-linejoin: round; }
/* Faces de la maison : neutres de la vue 3D, toit et vitrages teintés par la marque. */
.f-slab { fill: var(--line-2); }
.f-edge { fill: var(--text-3); }
.f-front { fill: var(--bg-1); }
.f-side { fill: var(--bg-3); }
.f-roof { fill: color-mix(in srgb, var(--brand-a) 26%, var(--bg-1)); }     /* toit, teal clair */
.f-roof-b { fill: color-mix(in srgb, var(--brand-a) 40%, var(--bg-1)); }   /* versant arrière, plus soutenu */
.openings polygon { fill: color-mix(in srgb, var(--brand-b) 22%, var(--bg-1)); } /* vitrages, bleu clair */
.openings .flagged { fill: var(--sev-review-bg); stroke: var(--sev-review); stroke-opacity: 1; }
.proxy polygon { fill: var(--sev-blocking-bg); stroke: var(--sev-blocking); stroke-opacity: 1; stroke-dasharray: 3 2; }
.storey { stroke: var(--stage-text-2); stroke-width: .9; stroke-dasharray: 2 3; }
/* Annotations = pastilles de sévérité de l'app. */
.mark ellipse, .mark polyline { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mark-1 ellipse, .mark-1 polyline { stroke: var(--sev-review); }
.mark-2 ellipse, .mark-2 polyline { stroke: var(--sev-blocking); }
.mark-3 polyline { stroke: var(--ok); }
.mark circle { fill: var(--ok); }
.mark-label { font: var(--w-semibold) 12px var(--font-ui); }
.mark-1 .mark-label { fill: var(--sev-review); }
.mark-2 .mark-label { fill: var(--sev-blocking); }
.mark-3 .mark-label { fill: var(--ok); }
.mark-sub { font-weight: var(--w-regular); font-size: 11.5px; }
.mark-label.end { text-anchor: end; }
.cartouche { display: grid; grid-template-columns: 1.6fr .8fr .9fr 1.5fr; margin: var(--s-3) 0 0; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; }
.cartouche div { min-width: 0; padding: 8px 12px; border-left: 1px solid var(--line); }
.cartouche div:first-child { border-left: 0; }
.cartouche dt { font-size: var(--t-caption); font-weight: var(--w-medium); color: var(--text-3); }
.cartouche dd { margin: 3px 0 0; font: var(--w-medium) var(--t-xs)/1.3 var(--font-mono); color: var(--text-1); overflow-wrap: anywhere; }
.c-num { font: 700 var(--t-section-title)/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.c-score small { color: var(--text-3); }
.c-score em { display: block; margin-top: 2px; font: italic var(--w-regular) var(--t-caption)/1.2 var(--font-ui); color: var(--text-2); }

@media (prefers-reduced-motion: no-preference) {
    .model { animation: rise .6s var(--ease) both; }
    .mark ellipse, .mark polyline { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s var(--ease) forwards; }
    .mark-label, .mark circle { opacity: 0; animation: fade .35s ease forwards; }
    .mark-1 ellipse { animation-delay: .5s; } .mark-1 polyline { animation-delay: .75s; } .mark-1 .mark-label { animation-delay: .95s; }
    .mark-2 ellipse { animation-delay: .7s; } .mark-2 polyline { animation-delay: .95s; } .mark-2 .mark-label { animation-delay: 1.15s; }
    .mark-3 circle { animation-delay: .9s; } .mark-3 polyline { animation-delay: 1s; } .mark-3 .mark-label { animation-delay: 1.25s; }
    .hero-copy > * { animation: rise .6s var(--ease) both; }
    .hero-copy > :nth-child(2) { animation-delay: .05s; }
    .hero-copy > :nth-child(3) { animation-delay: .1s; }
    .hero-copy > :nth-child(n+4) { animation-delay: .15s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.audience { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); margin-top: clamp(40px, 6vw, 72px); padding-top: var(--s-5); padding-bottom: var(--s-5); }
.aud-label { font-size: var(--t-caption); font-weight: var(--w-semibold); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.audience ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.audience li { padding: 6px 14px; font-size: var(--t-body); font-weight: var(--w-medium); color: var(--text-2); background: var(--bg-1); border: 1px solid var(--line); border-radius: 999px; }

/* ───────────── Sections ───────────── */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.sec-head { display: grid; grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-3) var(--s-8); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-code {
    align-self: start; justify-self: start; margin-top: .35em; padding: 4px 9px;
    font: var(--w-semibold) var(--t-caption)/1.2 var(--font-mono); color: var(--text-1); background: var(--sel-bg); border-radius: var(--r-1);
}
h2 { font-size: var(--t-h2); line-height: var(--lh-tight); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.sec-lead { max-width: 34em; color: var(--text-2); text-wrap: pretty; }
h3 { font-size: var(--t-section-title); line-height: var(--lh-tight); font-weight: var(--w-semibold); letter-spacing: -.01em; }
.card-base, .cell, .item, .country, .plan, .score-note, .facts div, .waitlist, .qa details {
    background: var(--bg-1); border: 1px solid var(--card-line); border-radius: var(--r-3); box-shadow: var(--shadow-1);
}

/* Méthode */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.steps::before { content: ""; position: absolute; left: 20px; right: 0; top: 20px; border-top: 1px dashed var(--line-2); }
.step { position: relative; padding-right: var(--s-3); }
.axis {
    position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-5);
    font-weight: 700; color: var(--text-1); background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 50%; box-shadow: var(--shadow-1);
}
.step h3 { margin-bottom: var(--s-2); font-size: calc(var(--t-section-title) * 1.2); }
.step p { color: var(--text-2); }

/* Contrôles */
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.cell { padding: var(--s-6); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); border-color: var(--line-2); }
.cell-code { display: inline-block; margin-bottom: var(--s-4); padding: 3px 8px; font: var(--w-semibold) var(--t-caption)/1.2 var(--font-mono); color: var(--text-2); background: var(--bg-3); border-radius: var(--r-1); }
.cell h3 { margin-bottom: var(--s-2); }
.cell p:last-child { font-size: var(--t-body); color: var(--text-2); }
.score-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-6); align-items: center; margin-top: var(--s-6); padding: var(--s-6); background: var(--sev-info-bg); border-color: var(--line); box-shadow: none; }
.score-dial { display: grid; place-items: center; width: 96px; height: 96px; text-align: center; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 50%; box-shadow: var(--shadow-1); }
.score-dial span { font-size: var(--t-metric); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.score-dial small { margin-top: -14px; font-size: var(--t-caption); color: var(--text-3); }
.score-note h3 { margin-bottom: var(--s-1); }
.score-note p { max-width: 48em; color: var(--text-2); }

/* Conflits : une scène 3D claire dans une carte, comme l'écran Coordination. */
.clash { padding: clamp(56px, 8vw, 104px) 0; }
.clash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--bg-1); border: 1px solid var(--card-line); border-radius: var(--r-4); box-shadow: var(--shadow-2); }
.clash h2 { margin: var(--s-4) 0 var(--s-4); }
.clash .sec-lead { color: var(--text-2); }
.badge { display: inline-block; margin-left: var(--s-2); padding: 4px 10px; font-size: var(--t-caption); font-weight: var(--w-semibold); color: var(--sev-review); background: var(--sev-review-bg); border-radius: 999px; }
.badge-on { color: var(--ok); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--ok); } /* paire vérifiée ok / bg-2 */
.clash-status { margin-top: var(--s-4); padding: var(--s-3) var(--s-4); font-size: var(--t-body); color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-2); }
.clash-art {
    width: 100%; max-width: 520px; justify-self: center; border-radius: var(--r-3);
    background:
        linear-gradient(var(--stage-grid) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(90deg, var(--stage-grid) 1px, transparent 1px) 0 0 / 20px 20px,
        var(--stage-bg);
}
.beam polygon { fill: var(--bg-3); stroke: var(--stage-text); stroke-opacity: .7; stroke-width: 1.1; stroke-linejoin: round; }
.beam polygon:nth-child(2) { fill: var(--line-2); }
.duct polygon { fill: color-mix(in srgb, var(--brand-b) 18%, transparent); stroke: var(--stage-text); stroke-opacity: .7; stroke-width: 1.1; stroke-linejoin: round; }
.hit { fill: color-mix(in srgb, var(--sev-blocking) 28%, transparent); stroke: var(--sev-blocking); stroke-width: 1.8; }
.clash-dim line { stroke: var(--stage-text-2); stroke-width: 1; }
.clash-dim text { font: var(--w-semibold) 12px var(--font-ui); fill: var(--stage-text); text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) { .hit { animation: pulse 2.6s ease-in-out infinite; } }
@keyframes pulse { 50% { fill: color-mix(in srgb, var(--sev-blocking) 10%, transparent); } }


/* Livrables */
.shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-4); }
.item { padding: var(--s-5); transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease); }
.item:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.item svg { width: 100%; max-width: 112px; height: auto; margin-bottom: var(--s-4); padding: var(--s-2); background: var(--bg-2); border-radius: var(--r-2); }
.item svg * { fill: none; stroke: var(--text-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.item svg .fill { fill: var(--sel-bg); stroke: var(--accent-strong); }
.item svg .sig { stroke: var(--ok); stroke-width: 2.2; }
.item svg .dash { stroke-dasharray: 2 3; }
.item h3 { margin-bottom: var(--s-1); font-size: var(--t-body-strong); }
.item p { font-size: var(--t-body); color: var(--text-2); }
.foot-note { margin-top: var(--s-6); font-size: var(--t-body); color: var(--text-3); }

/* Pays */
.countries .sec-head, .offer .sec-head, .trust .sec-head { grid-template-columns: 64px minmax(0, 1fr); }
.duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.country { padding: var(--s-6); }
.country h3 { margin: var(--s-4) 0 var(--s-2); }
.country p:last-child { color: var(--text-2); }
.country-mark { display: flex; width: 32px; height: 32px; margin: 0; border-radius: var(--r-1); overflow: hidden; }
.country-mark.ch { position: relative; background: #d52b1e; } /* couleur officielle du drapeau suisse */
.country-mark.ch span, .country-mark.ch::after { content: ""; position: absolute; left: 50%; top: 50%; background: #ffffff; transform: translate(-50%, -50%); }
.country-mark.ch span { width: 19px; height: 6px; }
.country-mark.ch::after { width: 6px; height: 19px; }
.country-mark.fr { width: 48px; box-shadow: inset 0 0 0 1px var(--line); }
.country-mark.fr span { flex: 1; }
.country-mark.fr span:nth-child(1) { background: #002395; } /* couleurs officielles du drapeau français */
.country-mark.fr span:nth-child(2) { background: #ffffff; }
.country-mark.fr span:nth-child(3) { background: #ed2939; }
.country-mark.lock { align-items: center; justify-content: center; color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--bg-1)); }
.country-mark.lock svg { width: 20px; height: 20px; }

/* Offre */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.plan { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 3vw, 36px); }
/* Carte expert : le bandeau d'en-tête de l'app (.head : filet teal à gauche et lavis léger). */
.plan-expert { border-left: 4px solid var(--brand-a); background: linear-gradient(100deg, color-mix(in srgb, var(--brand-a) 6%, var(--bg-1)), var(--bg-1) 55%); }
.plan-kind { font-size: var(--t-caption); font-weight: var(--w-semibold); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); }
.plan-price { font-size: calc(var(--t-page-title) * 1.15); line-height: var(--lh-tight); font-weight: 700; letter-spacing: -.02em; color: var(--text-1); }
.plan p:not(.plan-kind):not(.plan-price) { color: var(--text-2); }
.plan-fine { font-size: var(--t-caption); color: var(--text-3) !important; }
.ticks { display: grid; gap: var(--s-2); margin: var(--s-1) 0 var(--s-2); }
.ticks li { position: relative; padding-left: 26px; color: var(--text-1); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan-links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); margin-top: auto; }
.plan-link {
    align-self: flex-start; margin-top: auto; padding: 10px 2px 4px; font-weight: var(--w-semibold); color: var(--accent);
    text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; border-radius: var(--r-1);
}
.plan-link:hover { color: var(--accent-hover); }
.plan-link-quiet { font-weight: var(--w-medium); }
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6) var(--s-10); align-items: end; margin-top: var(--s-6); padding: var(--s-6); }
.waitlist h3 { margin-bottom: var(--s-1); }
.waitlist p { color: var(--text-2); }
.waitlist label { display: block; margin-bottom: var(--s-2); font-size: var(--t-caption); font-weight: var(--w-semibold); color: var(--text-2); }
.wl-row { display: flex; gap: var(--s-2); }
.wl-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--s-4); font: inherit; color: var(--text-1); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-2); }
.wl-row input::placeholder { color: var(--text-3); }
.wl-row input:focus-visible { border-color: var(--sel-line); }
.wl-row button { min-height: 44px; padding: 0 var(--s-5); font: var(--w-semibold) var(--t-body)/1 var(--font-ui); color: var(--text-1); background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-2); box-shadow: var(--shadow-1); cursor: pointer; }
.wl-row button:hover { background: var(--bg-3); }
.wl-msg { min-height: 1.5em; margin-top: var(--s-2); font-size: var(--t-body); color: var(--text-2); }
.wl-msg.is-error { color: var(--sev-blocking); }

/* Confiance */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin: 0; }
.facts div { padding: var(--s-5); }
.facts dt { margin-bottom: var(--s-2); font-weight: var(--w-semibold); }
.facts dd { margin: 0; font-size: var(--t-body); color: var(--text-2); }
.facts a { color: var(--accent); text-underline-offset: 3px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s-8) clamp(32px, 5vw, 80px); align-items: start; }
.faq .sec-head { grid-template-columns: 64px minmax(0, 1fr); margin-bottom: 0; position: sticky; top: 96px; }
.qa { display: grid; gap: var(--s-2); }
.qa details { padding: 0 var(--s-5); }
.qa summary { position: relative; display: block; padding: var(--s-4) 40px var(--s-4) 0; font-weight: var(--w-semibold); cursor: pointer; list-style: none; border-radius: var(--r-1); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 26px; height: 26px;
    font-size: 18px; line-height: 1; color: var(--text-1); background: var(--sel-bg); border-radius: 50%;
    transform: translateY(-50%); transition: transform var(--dur-2) var(--ease);
}
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa summary:hover { color: var(--accent); }
.qa details p { padding: 0 40px var(--s-4) 0; color: var(--text-2); }

/* Appel final : la carte d'accueil de l'app (.welcome), CTA secondaire (le primaire reste unique). */
.closing { padding: 0 0 clamp(56px, 8vw, 104px); }
.closing-in {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6);
    padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 22px; /* rayon de .welcome dans l'app */
    background: linear-gradient(180deg, color-mix(in srgb, var(--brand-a) 5%, var(--bg-1)), var(--bg-1) 60%); box-shadow: var(--shadow-2);
}
.closing h2 { font-size: var(--t-h2); }
.closing h2 em { font-style: normal; color: var(--accent); }
.cta-invert { color: var(--text-1); background: var(--bg-1); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
.cta-invert:hover { filter: none; background: var(--bg-3); }

/* Pied de page */
.foot { padding: var(--s-8) 0 var(--s-10); border-top: 1px solid var(--line); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6) var(--s-10); align-items: start; }
.foot-brand { font-weight: 700; font-size: var(--t-section-title); }
.foot-tag { margin-top: var(--s-1); font-size: var(--t-body); color: var(--text-3); }
.foot ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s-2) var(--s-5); }
.foot a { font-size: var(--t-body); color: var(--text-2); text-decoration: none; border-radius: var(--r-1); }
.foot a:hover { color: var(--text-1); text-decoration: underline; }
.foot-copy { grid-column: 1 / -1; font-size: var(--t-caption); color: var(--text-3); }

/* Apparitions au défilement : visibles par défaut, masquées seulement si le JS est prêt. */
@media (prefers-reduced-motion: no-preference) {
    .js-reveal .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
    .js-reveal .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ───────────── Responsive ───────────── */
@media (max-width: 1080px) {
    .nav { display: none; }
    .tools { margin-left: auto; }
    .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero-grid, .clash-grid, .faq-grid, .waitlist { grid-template-columns: 1fr; }
    .sec-head, .countries .sec-head, .offer .sec-head, .trust .sec-head, .faq .sec-head { grid-template-columns: 1fr; gap: var(--s-3); }
    .faq .sec-head { position: static; }
    .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .duo, .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .bar-in { gap: var(--s-3); min-height: 56px; }
    .brand-name { font-size: var(--t-body-strong); }
    .lang button { min-width: 36px; }
    .steps { grid-template-columns: 1fr; gap: var(--s-6); }
    .steps::before { left: 20px; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 1px dashed var(--line-2); }
    .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s-4); }
    .step .axis { grid-row: span 2; margin: 0; }
    .index { grid-template-columns: 1fr; }
    .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
    .item { padding: var(--s-4); }
    .facts { grid-template-columns: 1fr; }
    .score-note { grid-template-columns: 1fr; gap: var(--s-4); }
    .cartouche { grid-template-columns: 1fr 1fr; }
    .cartouche div:nth-child(3) { border-left: 0; }
    .cartouche div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .wl-row { flex-direction: column; }
    .foot-in { grid-template-columns: 1fr; }
    .foot ul { justify-content: flex-start; }
}
