/* Mosai v2 — système visuel
   Fond blanc, vague signature bleu → violet → lilas, typographie Inter.
   Contrastes vérifiés AA pour tout texte sur fond blanc et sur encre. */

@font-face {
  font-family: Inter;
  src: url('/assets/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b1026;             /* encre indigo : texte, boutons, bandes sombres */
  --ink-2: #252b45;
  --muted: #4d5168;
  --subtle: #6a6e85;
  --line: #e6e7ef;
  --line-strong: #d3d5e2;
  --surface: #f7f7fb;
  --tint: #f4f5f8;            /* fond de section teinté */
  --line-tint: #e3e5ee;

  --blue: #4a5cf0;
  --action: #0b1026;          /* bouton principal sur fond clair, 18,8:1 */
  --action-hover: #252b45;
  --link: #2e4fe0;            /* liens et surtitres, 6,3:1 sur blanc */
  --amber: #ffb020;           /* lumière : aplats et accents sur fond sombre seulement (10,3:1 sur l’encre) */
  --amber-hover: #ffc14d;
  --amber-text: #9c5a00;      /* ambre lisible sur fond clair, 5,4:1 */
  --amber-deep: #7a4600;
  --amber-pale: #fff1d6;
  --lilac: #cf8bee;           /* signature : vague et graphiques */
  --grad: linear-gradient(90deg, #4a5cf0 0%, #8b6cf2 55%, #cf8bee 100%);
  --grad-text: linear-gradient(90deg, #3a4ae0 0%, #6a3fd6 100%);

  --ok: #17734a;
  --ok-bg: #e7f6ee;
  --warn: #8a4b00;
  --warn-bg: #fdf1e2;

  --r: 18px;
  --r-s: 10px;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --space: clamp(72px, 9vw, 128px);
  --shadow: 0 1px 2px rgba(14, 15, 26, .04), 0 8px 28px -12px rgba(14, 15, 26, .14);
  --shadow-lg: 0 2px 4px rgba(14, 15, 26, .04), 0 24px 60px -24px rgba(40, 30, 110, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #ffe2a6; }
:where(a, button, select, input, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { text-wrap: balance; letter-spacing: -.032em; font-weight: 640; }
/* Grands titres légers : la retenue fait le poids, un seul mot porte la couleur */
h1, h2 { font-weight: 330; }
h1 { font-size: clamp(2.7rem, 5.8vw, 4.9rem); line-height: 1.03; letter-spacing: -.048em; }
h2 { font-size: clamp(2.05rem, 3.9vw, 3.4rem); line-height: 1.08; letter-spacing: -.04em; }
h1 .grad-text, h2 .grad-text { font-weight: 400; padding-bottom: .06em; }
h3 { font-size: 1.3rem; line-height: 1.3; letter-spacing: -.02em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--space); }
.section.tight { padding-block: calc(var(--space) * .6); }
.surface { background: var(--surface); }
.lilac { background: var(--tint); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--link); margin-bottom: 20px;
}
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 820px; margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  border: 1.5px solid transparent; transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--action); color: #fff; box-shadow: 0 8px 22px -10px rgba(11, 16, 38, .45); }
.btn-primary:hover { background: var(--action-hover); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn-ink:hover { background: #252b45; }
.btn-on-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-on-dark:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--link);
  border-bottom: 1.5px solid transparent; transition: border-color .18s;
}
.link svg { width: 16px; height: 16px; transition: transform .18s; }
.link:hover { border-color: currentColor; }
.link:hover svg { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { flex-shrink: 0; }
.brand img { width: 118px; height: auto; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 520; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--surface); color: var(--ink); }
.nav-links a[aria-current] { color: var(--ink); background: var(--amber-pale); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-right .wp { font-size: .9375rem; font-weight: 560; color: var(--link); }
.nav-right .wp:hover { text-decoration: underline; text-underline-offset: 4px; }
.lang { font-size: .875rem; font-weight: 600; color: var(--muted); padding: 6px 8px; border-radius: 6px; }
.lang:hover { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .nav-right .wp { display: none; }
}
@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 24px;
    box-shadow: 0 24px 40px -24px rgba(14,15,26,.25);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .nav-links a.mobile-only { display: block; color: var(--link); border: 0; }
  .nav-right .btn-ink { display: none; }
}
.nav-links a.mobile-only { display: none; }

/* ---------- Héros ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -40% -10% auto 40%; height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,176,32,.13), transparent 70%), radial-gradient(closest-side at 70% 60%, rgba(74,92,240,.1), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-sig { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9375rem; }
.hero-sig .bar { width: 36px; height: 3px; border-radius: 3px; background: var(--grad); }

.console {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 18px; position: relative;
}
.console-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 14px; }
.console-title { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.switch { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; position: relative; }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--muted); transition: color .25s; }
.switch button[aria-pressed='true'] { color: #fff; }
.switch .knob { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ink); transition: transform .45s cubic-bezier(.6,0,.2,1), width .45s cubic-bezier(.6,0,.2,1), background .45s; }
.console.mastered .switch .knob { background: var(--action); }
.stage { position: relative; height: 210px; border-radius: 16px; background: linear-gradient(180deg, #fbfbfd, #f3f4f8); overflow: hidden; }
.stage canvas { width: 100%; height: 100%; display: block; }
.stage-label { position: absolute; left: 14px; bottom: 12px; font-size: .8125rem; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 999px; transition: color .3s; }
.console.mastered .stage-label { color: var(--link); }
.dials { margin-top: 14px; display: grid; gap: 2px; }
.dial { display: grid; grid-template-columns: 30px 108px 1fr; align-items: center; gap: 10px; padding: 12px 8px; border-top: 1px solid var(--line); }
.dial:first-child { border-top: 0; }
.dial .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #f1f1f6; color: var(--subtle); transition: background .4s, color .4s; }
.dial .ic svg { width: 17px; height: 17px; }
.console.mastered .dial .ic { background: var(--amber-pale); color: var(--ink); }
.dial b { font-size: .9375rem; font-weight: 620; }
.dial .state { position: relative; font-size: .9375rem; color: var(--muted); min-height: 1.5em; }
.dial .state span { display: block; transition: opacity .35s, transform .35s; }
.dial .state .on { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); color: var(--ink); }
.console.mastered .dial .state .off { opacity: 0; transform: translateY(-6px); }
.console.mastered .dial .state .on { opacity: 1; transform: none; }

/* ---------- Bandeau de confiance ---------- */
.trust { border-block: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 12px; padding: 22px 20px; font-size: .9375rem; font-weight: 540; color: var(--ink-2); border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust svg { width: 20px; height: 20px; color: var(--amber-text); flex-shrink: 0; }

/* ---------- Constructeur de phrase (portes) ---------- */
.builder { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.sentence { padding: clamp(28px, 4vw, 52px); font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.55; font-weight: 560; letter-spacing: -.025em; color: var(--ink); }
.pick { position: relative; display: inline-block; vertical-align: baseline; }
.pick select {
  appearance: none; -webkit-appearance: none; border: 0; background: var(--tint); color: var(--link);
  font-weight: 640; letter-spacing: -.025em; font-size: inherit; line-height: 1.25;
  padding: .06em 1.35em .1em .35em; border-radius: .3em; cursor: pointer; max-width: 100%;
  box-shadow: inset 0 -2px 0 var(--amber); transition: background .15s;
}
.pick select:hover { background: #e7ebfb; }
.pick::after { content: ''; position: absolute; right: .45em; top: 50%; width: .32em; height: .32em; border-right: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.answer { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; }
.answer-main { padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--line); }
.answer-main .q { font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 12px; }
.answer-main h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: 14px; letter-spacing: -.03em; }
.answer-main p { color: var(--muted); margin-bottom: 28px; max-width: 560px; }
.answer-side { padding: clamp(28px, 4vw, 48px); background: var(--surface); }
.answer-side dl { display: grid; gap: 22px; }
.answer-side dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 4px; }
.answer-side dd { font-weight: 560; }
.answer-side dd small { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.answer .fade { animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Cartes ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.card:hover, .card.hoverable:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--amber-pale); color: var(--ink); display: grid; place-items: center; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); }
.card .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.card .who { font-size: .875rem; color: var(--subtle); }
.num { font-feature-settings: 'tnum'; font-size: .875rem; font-weight: 700; color: var(--link); }

.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 620; line-height: 1.3; white-space: nowrap; }
.badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: var(--ok-bg); }
.badge.prog { color: var(--amber-deep); background: var(--amber-pale); }
.badge.neutral { color: var(--ink-2); background: #efeff5; }
.badge.warn { color: var(--warn); background: var(--warn-bg); }

/* Secteurs */
.sector { padding: 0; overflow: hidden; }
.sector .art { position: relative; height: 150px; background: linear-gradient(160deg, #f7f8fa, #eceef4); border-bottom: 1px solid var(--line); }
.sector .art svg.wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.sector .art .glyph { position: absolute; left: 24px; bottom: 22px; width: 52px; height: 52px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--action); box-shadow: var(--shadow); }
.sector .art .glyph svg { width: 24px; height: 24px; }
.sector .art .badge { position: absolute; right: 18px; top: 18px; }
.sector .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sector.featured { grid-column: span 2; flex-direction: row; }
.sector.featured .art { height: auto; flex: 1; border-bottom: 0; border-right: 1px solid var(--line); background: linear-gradient(150deg, #f4f5f8, #e6e9f2); min-height: 260px; }
.sector.featured .body { flex: 1.1; padding: 36px; justify-content: center; }
.sector.featured h3 { font-size: 1.6rem; }

/* ---------- MosFlow (section sombre) ---------- */
.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark p, .dark .muted { color: #b9bcd0; }
.dark .eyebrow { color: var(--amber); }
.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.dark .card p { color: #b9bcd0; }
.dark .link { color: var(--amber); }
.dark-wave { position: absolute; left: 0; right: 0; bottom: -2px; height: 220px; opacity: .55; pointer-events: none; }
.layers { display: grid; gap: 10px; }
.layer { border-radius: 16px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid rgba(255,255,255,.14); }
.layer b { font-weight: 620; }
.layer span { color: #b9bcd0; font-size: .9375rem; }
.layer.core { background: linear-gradient(100deg, rgba(74,92,240,.35), rgba(139,108,242,.35) 55%, rgba(207,139,238,.3)); border-color: rgba(207,139,238,.45); padding: 26px 22px; }
.layer.core .chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.chip { font-size: .8125rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; white-space: nowrap; }
.mod-table { width: 100%; border-collapse: collapse; }
.mod-table th, .mod-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid rgba(255,255,255,.12); vertical-align: top; }
.mod-table th { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9a9db5; }
.mod-table td:first-child { font-weight: 620; white-space: nowrap; padding-left: 0; }
.mod-table td:last-child { padding-right: 0; }
.mod-table td.what { color: #b9bcd0; }
.dark .badge.ok { color: #7fe0b0; background: rgba(127,224,176,.12); }
.dark .badge.prog { color: var(--amber); background: rgba(255,176,32,.14); }
.dark .badge.neutral { color: #e3e4ee; background: rgba(255,255,255,.1); }
.light .mod-table th { color: var(--subtle); }
.light .mod-table th, .light .mod-table td { border-color: var(--line); }
.light .mod-table td.what { color: var(--muted); }

/* ---------- Parcours Maîtrise ---------- */
.path { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-bottom: 28px; }
.path::before { content: ''; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); }
.path::after { content: ''; position: absolute; left: 0; top: 27px; height: 2px; width: var(--progress, 12.5%); background: var(--grad); transition: width .5s cubic-bezier(.6,0,.2,1); }
.step { position: relative; z-index: 1; border: 0; background: none; text-align: left; padding: 0 16px 0 0; }
.step .dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 700; font-size: 1.05rem; color: var(--subtle); transition: all .3s; margin-bottom: 16px; }
.step[aria-selected='true'] .dot, .step.done .dot { border-color: transparent; background: var(--action); color: #fff; box-shadow: 0 8px 20px -8px rgba(11,16,38,.45); }
.step.done .dot { background: #fff; color: var(--action); border-color: var(--action); box-shadow: none; }
.step b { display: block; font-size: 1.15rem; font-weight: 640; letter-spacing: -.02em; }
.step span { display: block; color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.step:hover .dot { border-color: var(--action); }
.step-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.step-panel > div { padding: 28px; border-left: 1px solid var(--line); }
.step-panel > div:first-child { border-left: 0; }
.step-panel h4 { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.step-panel p { font-size: 1.0625rem; }
.step-panel .exit { background: var(--tint); }
.step-panel .exit p { color: var(--ink); font-weight: 520; }

/* ---------- Charte ---------- */
.charter { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.charter-list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line-tint); }
.charter-list li:last-child { border-bottom: 1px solid var(--line-tint); }
.charter-list .n { font-size: 2rem; font-weight: 300; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.charter-list h3 { font-size: 1.25rem; margin-bottom: 6px; }
.charter-list p { color: var(--muted); }
.charter-list .proof { display: block; margin-top: 8px; font-size: .9rem; color: var(--link); font-weight: 560; }
.sticky { position: sticky; top: 120px; }
.seal { margin-top: 32px; display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line-tint); }
.seal svg { width: 34px; height: 34px; }
.seal span { font-size: .9375rem; color: var(--muted); }
.seal b { display: block; color: var(--ink); }

/* ---------- Livre blanc ---------- */
.wp-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.doc {
  position: relative; background: #fff; border-radius: 6px 18px 18px 6px; padding: 36px 36px 32px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); max-width: 460px; margin-inline: auto; width: 100%;
}
.doc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad); border-radius: 6px 0 0 6px; }
.doc .kicker { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.doc h3 { font-size: 1.45rem; margin: 10px 0 6px; letter-spacing: -.03em; }
.doc .for { color: var(--muted); font-size: .9375rem; margin-bottom: 22px; }
.doc ol { counter-reset: c; display: grid; gap: 0; }
.doc li { counter-increment: c; display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.doc li::before { content: counter(c, decimal-leading-zero); color: var(--link); font-weight: 700; font-size: .8125rem; padding-top: 2px; }
.doc li.new { animation: fade .45s ease; }
.doc .foot { margin-top: 18px; display: flex; justify-content: space-between; font-size: .8125rem; color: var(--subtle); }
.stack { position: relative; }
.stack::before, .stack::after { content: ''; position: absolute; inset: 14px -10px -14px 10px; background: #fff; border: 1px solid var(--line); border-radius: 6px 18px 18px 6px; z-index: -1; max-width: 460px; margin-inline: auto; }
.stack::after { inset: 28px -20px -28px 20px; z-index: -2; opacity: .6; }

/* Formulaire */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; }
.field .hint { font-size: .875rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; background: #fff; transition: border-color .15s; font-size: 1rem; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--link); outline: none; box-shadow: 0 0 0 4px rgba(46,79,224,.18); }
fieldset { border: 0; padding: 0; margin: 0; }
.chips-input { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips-input label { cursor: pointer; position: relative; }
.chips-input input { position: absolute; opacity: 0; pointer-events: none; }
.chips-input span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 540; font-size: .9375rem; transition: all .15s; }
.chips-input input:checked + span { background: var(--action); border-color: var(--action); color: #fff; }
.chips-input input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .9375rem; color: var(--muted); align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--action); }
.notice { padding: 16px 18px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); font-weight: 540; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-form { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

/* ---------- Divers ---------- */
.proof-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.proof-band > div { padding: 32px; border-left: 1px solid var(--line); }
.proof-band > div:first-child { border-left: 0; }
.proof-band h3 { margin: 12px 0 8px; }
.proof-band p { color: var(--muted); }

.living { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.ops { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.ops li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 22px; border-top: 1px solid var(--line); }
.ops li:first-child { border-top: 0; }
.ops li span { color: var(--muted); font-size: .9375rem; display: block; }
.ops li b { font-weight: 600; }
.ops .who-tag { font-size: .8125rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.ops .who-tag.h { background: var(--amber-pale); color: var(--amber-deep); }

.final { position: relative; overflow: hidden; text-align: center; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-weight: 300; max-width: 980px; margin: 0 auto 22px; }
.final p { margin: 0 auto 36px; max-width: 560px; }
.final .actions { justify-content: center; }
.final svg.bg-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; z-index: 0; }

.isnot { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.isnot > div { padding: 32px; }
.isnot > div + div { border-left: 1px solid var(--line); background: var(--surface); }
.isnot h3 { margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.isnot li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.isnot li:first-child { border-top: 0; }
.isnot svg { width: 20px; height: 20px; margin-top: 3px; }
.isnot .yes svg { color: var(--ok); }
.isnot .no svg { color: var(--subtle); }

.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; padding: 22px 0; font-weight: 600; font-size: 1.125rem; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--amber-text); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 760px; }

.page-hero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); max-width: 940px; margin-bottom: 24px; }
.page-hero .lead { max-width: 680px; margin-bottom: 32px; }
.page-hero .top { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.page-hero .top .eyebrow { margin: 0; }
.page-hero svg.hero-wave { position: absolute; right: -5%; top: 0; width: 60%; height: 100%; z-index: -1; opacity: .9; }
.crumbs { display: block; font-size: .875rem; color: var(--subtle); margin-bottom: 26px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.facets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.facet { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: #fff; }
.facet .num { display: block; margin-bottom: 14px; }
.facet h3 { margin-bottom: 10px; }
.facet p { color: var(--muted); margin-bottom: 16px; }
.facet ul li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 6px 0; font-size: .9375rem; }
.facet ul li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-text); margin-top: 10px; }

.qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.qa .card h3 { font-size: 1.2rem; }
.qa .card .role { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }

.cta-band { border-radius: 28px; padding: clamp(32px, 5vw, 64px); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band p { color: #b9bcd0; margin-top: 12px; }
.cta-band .actions { justify-content: flex-end; }
.cta-band svg.bg-wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.cta-band > * { position: relative; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 36px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 28px; }
.foot-grid h4, .foot-grid h2.foot-h { font-family: inherit; line-height: 1.4; text-wrap: wrap; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; }
.foot-grid li { padding: 5px 0; }
.foot-grid a { color: var(--ink-2); font-size: .9375rem; }
.foot-grid a:hover { color: var(--link); }
.foot-brand img { width: 120px; margin-bottom: 18px; }
.foot-brand p { color: var(--muted); font-size: .9375rem; max-width: 300px; }
.foot-brand .sig { margin-top: 18px; font-weight: 600; color: var(--ink); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; color: var(--subtle); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-bottom a:hover { color: var(--ink); }

/* ---------- Adaptatif ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .hero-grid, .section-head, .answer, .charter, .wp-block, .living, .split-form, .cta-band { grid-template-columns: 1fr; }
  .section-head { gap: 16px; margin-bottom: 40px; }
  .answer-main { border-right: 0; }
  .grid-3, .proof-band, .step-panel { grid-template-columns: 1fr; }
  .proof-band > div, .step-panel > div { border-left: 0; border-top: 1px solid var(--line); }
  .proof-band > div:first-child, .step-panel > div:first-child { border-top: 0; }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .trust li { border-left: 0; padding-left: 0; }
  .sector.featured { grid-column: auto; flex-direction: column; }
  .sector.featured .art { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-3.sectors { grid-template-columns: repeat(2, 1fr); }
  .sticky { position: static; }
  .cta-band .actions { justify-content: flex-start; }
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step span { display: none; }
  .step b { font-size: .95rem; }
  .facets, .qa { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-2, .grid-3.sectors, .isnot, .form-row { grid-template-columns: 1fr; }
  .isnot > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .trust ul { grid-template-columns: 1fr; }
  .trust li { padding: 14px 0; border-top: 1px solid var(--line); }
  .trust li:first-child { border-top: 0; }
  .dial { grid-template-columns: 30px 1fr; }
  .dial .state { grid-column: 1 / -1; }
  .step .dot { width: 44px; height: 44px; }
  .path::before, .path::after { top: 21px; }
  .mod-table td:first-child { white-space: normal; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .btn { white-space: normal; }
  .console-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Compléments ---------- */
.dark > .wrap, .final > .wrap { position: relative; z-index: 1; }
.dark > .wrap { z-index: 1; }
.dark .actions { margin-top: 24px; }
.proof-band.four { grid-template-columns: repeat(4, 1fr); }
.proof-band .small { margin-top: 14px; font-size: .9rem; }
.proof-band .small b { color: var(--ink); }
.ic-inline { width: 46px; height: 46px; border-radius: 14px; background: var(--amber-pale); color: var(--ink); display: grid; place-items: center; }
.ic-inline svg { width: 22px; height: 22px; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.card .badge { align-self: flex-start; }
.card .ops { margin-top: 8px; box-shadow: none; }
.page-hero .actions { margin-top: 8px; }
.grid-2 > div > h2 + .lead, .grid-2 .lead + .lead { margin-top: 16px; }
.grid-2 .lead + p { margin-top: 24px; }
.living .lead, .charter .lead, .wp-block .lead { margin-top: 20px; }
.wp-block .actions { margin-top: 32px; }
.dark .layers .small { margin-top: 6px; }
.layers { align-content: start; }
/* Charte au centre de confiance */
.charter-table { background: #fff; border: 1px solid var(--line-tint); border-radius: var(--r); overflow: hidden; }
.ct-row { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; border-top: 1px solid var(--line-tint); scroll-margin-top: 110px; }
.ct-row:first-child { border-top: 0; }
.ct-row > span { padding: 22px 24px; color: var(--muted); }
.ct-row > span:first-child { color: var(--ink); display: grid; grid-template-columns: 40px 1fr; gap: 4px; align-items: baseline; }
.ct-row .n { font-weight: 300; font-size: 1.4rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ct-row b { font-weight: 640; }
.ct-row > span:last-child { color: var(--ink-2); background: #f8f9fb; }
.ct-head > span { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle) !important; padding-block: 14px; background: none !important; display: block !important; }
.ct-row:target { box-shadow: inset 4px 0 0 var(--amber-text); }
@media (max-width: 920px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-row > span { padding: 8px 20px; }
  .ct-row > span:first-child { padding-top: 22px; }
  .ct-row > span:last-child { padding-bottom: 22px; background: none; }
  .ct-row > span:last-child::before { content: 'Vérifier : '; font-weight: 600; color: var(--link); }
  :lang(en) .ct-row > span:last-child::before { content: 'Check: '; }
  .ct-head { display: none; }
}
@media (min-width: 921px) {
  :lang(en) .hero h1 { font-size: clamp(2.6rem, 4.6vw, 4rem); }
}
.doors { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.doors span { color: var(--muted); font-size: .9375rem; margin-right: 4px; }
.doors a { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.doors a:hover { border-color: var(--action); color: var(--link); }
.doors a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.cases .card { display: flex; flex-direction: column; }
.cases .uses { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.cases .card > p:not(.uses) { margin-bottom: 18px; }
/* Pages de rôle */
.role-question { position: relative; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; color: var(--muted); margin-bottom: 22px; padding-left: 22px; max-width: 760px; }
.role-question::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 3px; border-radius: 3px; background: var(--grad); }
.args .card .num { font-size: 1rem; }
.args .card h3 { font-size: 1.3rem; }
.role-card { gap: 10px; }
.role-card .role { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
.role-card h3 { font-size: 1.1rem; margin-top: 0; }
.role-card .badge, .role-card .link { margin-top: auto; }
.role-card.current { border-color: var(--action); box-shadow: 0 0 0 1px var(--action) inset; background: #fff; }
.dossier { margin-top: 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.dossier .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--amber-pale); color: var(--ink); display: grid; place-items: center; }
.dossier .ic svg { width: 24px; height: 24px; }
.dossier h3 { margin-bottom: 4px; }
.dossier p { color: var(--muted); max-width: 640px; }
.proof-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-tint); }
.proof-list li:first-child { border-top: 0; padding-top: 0; }
.proof-list svg { width: 22px; height: 22px; color: var(--amber-text); margin-top: 2px; }
.proof-list b { display: block; }
.proof-list span { color: var(--muted); }
@media (max-width: 920px) { .dossier { grid-template-columns: 1fr; } }
.charter-list .proof a { color: inherit; border-bottom: 1.5px solid transparent; }
.charter-list .proof a:hover { border-color: currentColor; }
.split-form > *, .form, .field, .form-row > * { min-width: 0; }
.mod-table .badge { white-space: normal; text-align: left; }
@media (max-width: 640px) { .mod-table td { padding-inline: 0 8px; } }
.page-hero svg.hero-wave { right: 0; top: 14%; width: 46%; height: 76%; opacity: .75; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.page-hero h1, .page-hero .lead { position: relative; }
@media (max-width: 920px) { .page-hero svg.hero-wave { width: 100%; top: auto; bottom: 0; height: 30%; opacity: .35; } }
.final svg.bg-wave { height: 42%; opacity: .7; }
.pick .measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: pre; font-weight: 640; letter-spacing: -.025em; padding: .06em 1.35em .1em .35em; }
@media (max-width: 1080px) { .proof-band.four { grid-template-columns: repeat(2, 1fr); } .proof-band.four > div:nth-child(3) { border-left: 0; } .proof-band.four > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 640px) { .proof-band.four { grid-template-columns: 1fr; } .proof-band.four > div { border-left: 0; } }

/* ---------- Révision : mise en scène (apparitions, vague de particules) ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.dark { isolation: isolate; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }
@media print { .rv { opacity: 1; transform: none; } canvas.rib { display: none; } svg.has-rib { display: block; } }

/* ---------- Révision : grille à filets, bande preuve vivante, orbite MosFlow ---------- */
.lined { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lined > .card { border: 0; border-radius: 0; box-shadow: none; background: #fff; padding: clamp(26px, 2.6vw, 36px); }
.lined > a.card:hover { transform: none; box-shadow: none; background: var(--tint); }
.wrap.lined { padding: 0; width: min(var(--wrap), calc(100% - 2 * var(--gutter))); }
.dark .lined { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.dark .lined > .card { background: var(--ink); }
.pull { margin: clamp(40px, 5vw, 64px) 0 0; padding: 28px 32px 28px 36px; position: relative; background: var(--surface); border-radius: 0 var(--r) var(--r) 0; }
.pull::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); }
.pull p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; font-weight: 400; letter-spacing: -.015em; color: var(--ink); max-width: 980px; }
.orbit { margin: 0; display: grid; gap: 18px; justify-items: center; }
.orbit-svg { width: 100%; max-width: 500px; height: auto; overflow: visible; font-family: Inter, system-ui, sans-serif; }
.orbit-svg .ring { stroke: rgba(255,255,255,.14); stroke-dasharray: 2 7; }
.orbit-svg .spoke { stroke: rgba(201,184,255,.45); stroke-width: 1.2; stroke-dasharray: 3 6; fill: none; animation: flow 1.6s linear infinite; }
.orbit-svg .pulse { fill: var(--amber); }
.orbit-svg .node circle { fill: #191a2b; stroke: rgba(255,255,255,.22); stroke-width: 1.2; transition: stroke .2s; }
.orbit-svg .node text { fill: #e9e9f3; font-size: 13.5px; font-weight: 560; text-anchor: middle; letter-spacing: -.01em; }
.orbit-svg .core text { fill: #fff; font-size: 18px; font-weight: 640; text-anchor: middle; letter-spacing: -.02em; }
.orbit-svg .halo { fill: none; stroke: #cf8bee; stroke-opacity: .55; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: halo 2.8s ease-out infinite; }
.orbit figcaption { display: grid; gap: 12px; justify-items: center; text-align: center; }
.orbit figcaption b { font-size: 1.15rem; font-weight: 500; color: #fff; letter-spacing: -.01em; }
.orbit .chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
@keyframes flow { to { stroke-dashoffset: -18; } }
@keyframes halo { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.32); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .orbit-svg .spoke, .orbit-svg .halo { animation: none; } .orbit-svg .pulse { display: none; } }
@media (max-width: 560px) { .orbit-svg .node text { font-size: 17px; } .orbit-svg .core text { font-size: 22px; } .pull { padding: 22px 22px 22px 26px; } }

/* ---------- Vague vivante et graphiques interactifs ---------- */
svg.has-rib { display: none; }
canvas.rib { position: absolute; display: block; pointer-events: none; }
.hero svg.hero-wave, .hero canvas.rib.hero-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 52%; z-index: -1; opacity: .8;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
.page-hero canvas.rib.hero-wave { right: 0; top: 10%; width: 52%; height: 80%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
@media (max-width: 920px) { .page-hero canvas.rib.hero-wave { width: 100%; top: auto; bottom: 0; height: 32%; opacity: .45; } .hero canvas.rib.hero-wave, .hero svg.hero-wave { height: 30%; opacity: .45; } }
.sector .art canvas.rib { inset: 0; width: 100%; height: 100%; }
.dark canvas.rib.dark-wave { left: 0; right: 0; bottom: 0; width: 100%; height: 66%; z-index: 0; }
.final canvas.rib.bg-wave { left: 0; right: 0; bottom: 0; width: 100%; height: 58%; z-index: 0; }
.cta-band canvas.rib.bg-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .85; }
.stage { cursor: pointer; }
.dial { transition: background .25s; border-radius: 10px; }
.dial.lit { background: var(--surface); }
.dial.lit .ic { background: var(--amber-pale); color: var(--ink); }

.orbit-svg { transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 50%; }
.orbit-svg .node { cursor: pointer; outline: none; }
.orbit-svg .node .hit { fill: transparent; stroke: none; }
.orbit-svg .node circle:not(.hit) { transition: fill .35s, stroke .35s, transform .45s cubic-bezier(.2,.7,.2,1); transform-box: fill-box; transform-origin: center; }
.orbit-svg .node text { transition: fill .35s; }
.orbit-svg .node.on circle:not(.hit) { fill: #2a2452; stroke: var(--amber); stroke-width: 2; transform: scale(1.1); }
.orbit-svg .node:focus-visible circle:not(.hit) { stroke: #fff; stroke-width: 2.5; }
.orbit-svg .spoke, .orbit-svg .pulse { transition: opacity .35s, stroke .35s; }
.orbit-svg.has-on .spoke:not(.on), .orbit-svg.has-on .pulse:not(.on) { opacity: .22; }
.orbit-svg.has-on .node:not(.on) text { fill: #a3a6c2; }
.orbit-svg .spoke.on { stroke: var(--amber); stroke-width: 1.8; animation-duration: .8s; }
.orbit-svg .pulse.on { fill: #fff; }
.orbit-detail { display: grid; gap: 8px; justify-items: center; max-width: 460px; min-height: 7.4em; align-content: start; }
.orbit-detail .od-name { font-size: 1.15rem; font-weight: 560; color: #fff; letter-spacing: -.01em; }
.orbit-detail .od-desc { color: #b9bcd0; font-size: .9375rem; line-height: 1.5; }
.orbit-detail .od-status { font-size: .8125rem; }
.orbit-detail.swap > * { animation: od-in .45s cubic-bezier(.2,.7,.2,1) both; }
.orbit-detail.swap .od-desc { animation-delay: .05s; }
.orbit-detail.swap .od-status { animation-delay: .1s; }
@keyframes od-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .orbit-svg, .orbit-svg * { transition: none !important; } .orbit-detail.swap > * { animation: none; } }
.hero, .page-hero { isolation: isolate; }

/* Pages juridiques : sommaire collant à gauche, texte courant à droite */
.legal { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal-toc { position: sticky; top: 104px; font-size: .9rem; }
.legal-toc b { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); font-weight: 600; margin-bottom: 12px; }
.legal-toc ol { list-style: none; padding: 0; border-left: 1px solid var(--line); }
.legal-toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: inherit; text-decoration: none; opacity: .78; }
.legal-toc a:hover { opacity: 1; border-left-color: currentColor; }
.legal-body { max-width: 70ch; }
.legal-body .updated { color: var(--subtle); font-size: .9rem; }
.legal-body h2 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); font-weight: 500; letter-spacing: -.025em; margin: 56px 0 14px; scroll-margin-top: 110px; }
.legal-body h3 { font-size: 1.05rem; margin: 26px 0 6px; }
.legal-body p, .legal-body li { line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin: 10px 0 16px; }
.legal-body li::marker { color: var(--link); }
.legal-body p a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body p a:hover { text-decoration-thickness: 2px; }
.legal-body li + li { margin-top: 6px; }
@media (max-width: 860px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}
.consent-note { font-size: .875rem; margin-top: -4px; }

/* Nuit et ambre : sur fond sombre, l’action principale prend la lumière */
.dark .btn-primary, .cta-band .btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 28px -12px rgba(255, 176, 32, .55); }
.dark .btn-primary:hover, .cta-band .btn-primary:hover { background: var(--amber-hover); }
.dark :focus-visible, .cta-band :focus-visible { outline-color: var(--amber); }

/* Lot 1 : accueil sans graphique (le graphique vit sur la page MosFlow) */
.hero-solo .wrap > h1, .hero-solo .wrap > .lead { max-width: 820px; }
.hero-solo .lead { max-width: 680px; }

/* Préproduction : notes « à confirmer », retirées au build avec --sans-notes */
.pp-note { margin: 20px 0; padding: 12px 16px; border: 1.5px dashed #9c5a00; border-radius: 12px; background: #fff8ea; color: #4a2e00; font-size: .875rem; line-height: 1.5; max-width: 760px; position: relative; z-index: 1; }
.pp-note b { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: #9c5a00; color: #fff; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.dark .pp-note, .final .pp-note { background: #fff1d6; }
@media print { .pp-note { display: none; } }

/* Lot 2 : philosophie (manifeste), fin du parcours, initiatives */
.manifesto { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.manifesto li { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.manifesto .n { font-feature-settings: 'tnum'; font-size: .875rem; font-weight: 700; color: var(--link); }
.manifesto p { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.3; letter-spacing: -.02em; font-weight: 380; color: var(--ink); max-width: 900px; margin: 0; }
.manifesto li:last-child p { font-weight: 520; }
.manifesto-next { margin-top: 28px; }
.path-end { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 28px 32px; border-radius: var(--r); background: var(--ink); color: #fff; }
.path-end .eyebrow { color: var(--amber); }
.path-end h3 { color: #fff; margin: 6px 0 0; }
.path-end p { color: #c7cbe0; margin: 0; font-size: 1.0625rem; }
#initiatives .grid-3 { margin-bottom: 36px; }
@media (max-width: 760px) {
  .manifesto li { grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 0; }
  .path-end { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
}

/* Lot 3 : bouton du sélecteur, dans la phrase */
.sentence .sentence-go { display: inline-flex; vertical-align: middle; margin-left: .3em; font-size: 1rem; letter-spacing: 0; }
@media (max-width: 760px) { .sentence .sentence-go { display: flex; margin: 18px 0 0; width: 100%; justify-content: center; } }
#s-title:focus { outline: none; }
.nowrap { white-space: nowrap; }

/* Lot 4 : services en deux entrées, encadré Copilot, lien sous le hero */
.hero-more { margin-top: 18px; }
.svc-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-door { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.svc-door-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.svc-door-head .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-pale); color: var(--ink); }
.svc-door-head .ic svg { width: 22px; height: 22px; }
.svc-door-head h3 { margin: 4px 0 0; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li + li { border-top: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 4px; color: var(--ink); text-decoration: none; }
.svc-list a b { font-weight: 600; }
.svc-list a span { grid-column: 1; color: var(--muted); font-size: .9375rem; }
.svc-list a svg { grid-row: 1 / 3; grid-column: 2; align-self: center; width: 18px; height: 18px; color: var(--link); transition: transform .2s; }
.svc-list a:hover b { color: var(--link); }
.svc-list a:hover svg { transform: translateX(3px); }
.svc-list a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 8px; }
.keep-box { margin: 8px 0 24px; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255,176,32,.35); background: rgba(255,176,32,.08); }
.keep-box h3 { color: #fff; font-size: 1.125rem; margin-bottom: 6px; }
.keep-box p { margin: 0; }
@media (max-width: 760px) { .svc-doors { grid-template-columns: 1fr; } .svc-door { padding: 22px; } }
.doors-legend { margin: -18px clamp(28px, 4vw, 52px) 26px; color: var(--muted); font-size: .9375rem; }
.doors-legend b { color: var(--ink); font-weight: 600; }
.section-head .small-note { margin-top: 12px; font-size: .9375rem; color: var(--ink); font-weight: 520; }

/* Témoins : bannière, panneau de préférences, lien du pied de page, inventaire. Refuser et accepter ont le même poids. */
.foot-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.foot-link:hover { color: var(--ink); text-decoration: underline; }
.tm-banner { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 1080px; margin: 0 auto; display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px 24px; background: #fff; border: 1px solid var(--line-strong); border-radius: 18px; box-shadow: 0 18px 50px rgba(11, 16, 38, .18); }
.tm-banner[hidden] { display: none; }
.tm-banner h2 { font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; margin: 0 0 4px; }
.tm-banner p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.55; max-width: 620px; }
.tm-text { flex: 1 1 380px; }
.tm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tm-more { background: none; border: 0; padding: 10px 4px; font: inherit; font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.tm-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 28px; border: 0; border-radius: 20px; color: var(--ink); box-shadow: 0 30px 80px rgba(11, 16, 38, .3); }
.tm-dialog::backdrop { background: rgba(11, 16, 38, .55); }
.tm-dialog > p { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin: 0 0 18px; }
.tm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.tm-head h2 { font-size: 1.375rem; margin: 0; }
.tm-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f2f3f8; color: var(--ink); cursor: pointer; }
.tm-close svg { width: 20px; height: 20px; }
.tm-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: default; }
label.tm-cat { cursor: pointer; }
.tm-cat b { display: block; font-size: 1rem; }
.tm-cat span:not(.badge) { display: block; color: var(--muted); font-size: .875rem; line-height: 1.5; margin-top: 2px; }
.tm-cat input { width: 22px; height: 22px; flex: none; accent-color: var(--ink); }
.tm-inv { border-top: 1px solid var(--line); padding: 12px 0 4px; margin-bottom: 18px; font-size: .9375rem; }
.tm-inv summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.tm-table { overflow-x: auto; margin-top: 10px; }
.tm-table table { width: 100%; border-collapse: collapse; font-size: .8125rem; line-height: 1.45; }
.tm-table th, .tm-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tm-table th { font-weight: 650; color: var(--ink-2); background: #f6f7fb; }
.tm-table code { font-size: .8125rem; white-space: nowrap; }
.legal-body .tm-table table { font-size: .875rem; }
@media (max-width: 640px) {
  .tm-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .tm-actions .btn { flex: 1 1 auto; }
  .tm-dialog { padding: 20px; }
}

/* ---------- Offre d’entrée : le premier gain (amélioration 1) ---------- */
.offer-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.offer-facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 6px; }
.offer-facts dd { font-weight: 600; line-height: 1.35; }
.offer-facts dd small { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; margin-top: 4px; line-height: 1.5; }
.card .num + h3 { margin-top: 10px; }

/* ---------- Réalisations : fiches de cas (amélioration 3) ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.case-card h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .8125rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.case-size { color: var(--muted); font-size: .9375rem; }
.case-card dl { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.case-card dt { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--subtle); margin-bottom: 2px; }
.case-card dd { font-size: .9375rem; line-height: 1.5; }
.case-card .case-ref { margin-top: auto; padding-top: 12px; font-size: .875rem; color: var(--muted); }
.case-card .link { margin-top: auto; }
.pp-fill { color: #7a4a00; font-style: italic; }
@media (max-width: 960px) { .offer-facts { grid-template-columns: repeat(2, 1fr); } .cases-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .offer-facts { grid-template-columns: 1fr; } }
a.case-card { text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
a.case-card:hover { border-color: var(--action); transform: translateY(-2px); }
a.case-card:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
#resultats .actions { margin-top: 28px; }

/* ---------- Améliorations 4 à 8 et 10 (rapport des comparables, préproduction) ---------- */
.hero-more { display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* 4 : fiches de statut */
.status-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.status-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.status-card:target { border-color: var(--amber-text); }
/* 5 : souveraineté */
.axes .card h3 { font-size: 1.1rem; margin: 10px 0 8px; }
.axes .card p + p { margin-top: 8px; }
.charter-list .axes-line { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.charter-list .axes-line a { color: var(--link); font-weight: 560; }
/* 6 : pour votre équipe TI */
.it-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.it-specs > div { background: #fff; padding: 22px 26px; display: grid; gap: 6px; }
.it-specs dt { display: flex; align-items: center; gap: 10px; font-weight: 620; }
.it-specs dt svg { width: 20px; height: 20px; color: var(--amber-text); flex-shrink: 0; }
.it-specs dd { color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.it-specs dd .pp-fill { display: block; margin-top: 4px; }
/* 7 : qui voit quoi */
.who-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.who-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.who-table caption { text-align: left; padding: 18px 22px 0; font-weight: 620; }
.who-table th, .who-table td { text-align: left; vertical-align: top; padding: 14px 22px; border-top: 1px solid var(--line); font-size: .9375rem; }
.who-table thead th { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); border-top: 0; }
.who-table tbody th { font-weight: 620; white-space: nowrap; }
.rps-bottom { margin-top: 28px; }
.never-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.never-list li:first-child { border-top: 0; }
.never-list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--warn); }
.rps-bottom .card h3 { margin-bottom: 12px; }
.rps-bottom .card p + p { margin-top: 10px; }
/* 8 : visite libre */
.tour { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.tour .lead { margin-top: 14px; }
.tour-frame { aspect-ratio: 16 / 9; border: 1.5px dashed var(--amber-text); border-radius: var(--r); background: var(--tint); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.tour-frame .ic svg { width: 40px; height: 40px; color: var(--amber-text); }
/* 10 : l’équipe */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 24px; display: grid; gap: 6px; align-content: start; }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--tint); border: 1.5px dashed var(--amber-text); margin-bottom: 8px; }
.person h3 { font-size: 1.1rem; }
.person .role { font-weight: 600; font-size: .9375rem; }
.partner-levels { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; }
.partner-levels li { display: flex; align-items: center; gap: 10px; }
.partner-levels svg { width: 22px; height: 22px; color: var(--amber-text); }
.partner-levels li > span { display: grid; }
.partner-levels .pp-fill { font-size: .875rem; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .status-grid, .it-specs, .tour { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } .it-specs > div { padding: 18px; } }
@media (max-width: 560px) {
  .who-table { min-width: 0; }
  .who-table thead { display: none; }
  .who-table tr, .who-table th, .who-table td { display: block; }
  .who-table tbody tr { border-top: 1px solid var(--line); padding: 12px 18px; }
  .who-table tbody th, .who-table tbody td { border: 0; padding: 4px 0; }
  .who-table td::before { content: attr(data-label); display: block; font-style: normal; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); }
  .who-table caption { padding: 16px 18px 4px; }
}
/* Validation du 29 nov. : fiches de statut en trois couches, bloc TI à cinq questions, volet RPS */
.status-grid.three { grid-template-columns: repeat(3, 1fr); }
.it-specs > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rps-never { margin-top: 28px; max-width: 760px; }
.rps-never h3 { margin-bottom: 12px; }
@media (max-width: 1080px) { .status-grid.three { grid-template-columns: 1fr; } }

/* ---------- Aiguillage « Où en êtes-vous? » (30 nov.) : tuiles de situation, pastilles de rôle, recommandation ---------- */
.finder { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder-ask { padding: clamp(24px, 3.5vw, 44px); display: grid; gap: 28px; }
.finder-step { display: flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 14px; padding: 0; }
.finder-step span { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .75rem; letter-spacing: 0; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: start; padding: 20px; border: 1.5px solid var(--line-strong); border-radius: 18px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.tile:hover { border-color: var(--ink-2); }
.tile input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.tile .ic { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 13px; background: var(--surface); color: var(--ink); display: grid; place-items: center; transition: background .15s; }
.tile .ic svg { width: 22px; height: 22px; }
.tile b { font-size: 1.0625rem; font-weight: 620; color: var(--ink); line-height: 1.35; padding-right: 22px; }
.tile small { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.tile::after { content: ''; position: absolute; top: 18px; right: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; transition: all .15s; }
.tile:has(input:checked) { border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--ink); }
.tile:has(input:checked) .ic { background: var(--amber-pale); }
.tile:has(input:checked)::after { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px #fff; }
.tile:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 3px solid var(--link); outline-offset: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip span { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; font-weight: 560; color: var(--ink); cursor: pointer; transition: all .15s; }
.chip span:hover { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder .answer-main p#f-text { margin-bottom: 18px; }
.finder-gets { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.finder-gets li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.finder-gets svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
.finder-side { display: flex; flex-direction: column; }
.finder-side .q { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 10px; }
.finder-side h4 { font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: 8px; }
.finder-side p#f-proof-text { color: var(--muted); margin-bottom: 24px; }
.finder-next { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line-strong); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.finder-next:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.finder-next small { display: block; font-size: .8125rem; color: var(--subtle); margin-bottom: 2px; }
.finder-next b { font-weight: 620; }
.finder-next svg { flex: none; width: 22px; height: 22px; color: var(--link); }
.finder-side.fade { animation: fade .45s ease; }
.finder-size { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--muted); font-size: .9375rem; }
@media (max-width: 920px) { .tiles { grid-template-columns: 1fr; } }

/* ==========================================================================
   UI kit v2 (refonte d’ergonomie du 30 nov. 2026)
   Moins de variantes, plus d’air, un seul bouton principal par écran.
   ========================================================================== */
:root { --r: 20px; --r-l: 28px; }

/* Titres : un peu plus de corps pour les h2, plus lisibles sur petit écran */
h2 { font-weight: 360; }
.section-head { margin-bottom: 48px; }
.section-head p { max-width: 520px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); flex-shrink: 0; }
.dark .eyebrow::before, .feature-dark .eyebrow::before { background: var(--amber); }

/* Boutons : deux styles seulement, même gabarit partout */
.btn { min-height: 50px; padding: 13px 24px; }
.btn-secondary { background: transparent; }
.btn-secondary:hover { border-color: var(--ink); background: #fff; }
.btn-ink { min-height: 42px; padding: 9px 18px; }
.nav-links a.mobile-only.cta-m { color: var(--link); font-weight: 600; }

/* Cartes : même rayon, même respiration */
.card { padding: 30px; border-radius: var(--r); }
.grid-3, .grid-4, .grid-2 { gap: 18px; }

/* Pied de page : quatre colonnes */
.foot-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }

/* Trois étapes de l’approche (accueil) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s, transform .2s; }
.steps li::before { content: ''; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad); opacity: .35; transition: opacity .2s; }
.steps li:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.steps li:hover::before { opacity: 1; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); }
.steps .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.steps-n { font-feature-settings: 'tnum'; font-size: 2.4rem; font-weight: 300; line-height: 1; letter-spacing: -.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps-n.big { font-size: clamp(3.4rem, 6vw, 5rem); display: block; margin-bottom: 18px; }
.steps-label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }

/* Cartes de service */
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-cards.two { grid-template-columns: repeat(2, 1fr); }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--amber-pale); color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.svc-card .ic svg { width: 22px; height: 22px; }
.svc-card h3 { font-size: 1.25rem; }
.svc-card p { color: var(--muted); }
.svc-card .link { margin-top: auto; padding-top: 8px; }
.svc-card:hover .link svg { transform: translateX(3px); }
.svc-cards.two .svc-card { padding: 36px; }
.svc-cards.two .svc-card h3 { font-size: 1.5rem; }

/* Bande sombre cliquable (MosFlow) */
.feature-dark { position: relative; overflow: hidden; margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: clamp(32px, 4.5vw, 56px); border-radius: var(--r-l); background: var(--ink); color: #fff; transition: transform .2s, box-shadow .2s; }
.feature-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-dark > div, .feature-dark > .btn { position: relative; z-index: 1; }
.feature-dark .eyebrow { color: var(--amber); }
.feature-dark h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; margin-bottom: 12px; }
.feature-dark p { color: #b9bcd0; max-width: 640px; }
.feature-dark .btn-primary { background: var(--amber); color: var(--ink); }
.feature-dark:hover .btn-primary { background: var(--amber-hover); }
.feature-dark:hover .btn svg { transform: translateX(3px); }
.feature-dark svg.dark-wave { z-index: 0; height: 160px; opacity: .45; }

/* Pourquoi Mosai */
.why { display: grid; gap: 4px; margin: 28px 0 24px; }
.why li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.why li:last-child { border-bottom: 1px solid var(--line); }
.why b { color: var(--ink); font-weight: 600; }
.why svg { width: 20px; height: 20px; margin-top: 3px; color: var(--amber-text); }

/* Engagements de sécurité */
.commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.commit li { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--line-tint); border-radius: var(--r); }
.commit .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--amber-pale); color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.commit .ic svg { width: 20px; height: 20px; }
.commit h3 { font-size: 1.125rem; }
.commit p { color: var(--muted); font-size: .9375rem; }
.commit-more { margin-top: 32px; }
.final-alt { margin-top: 26px !important; color: var(--muted); font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; }

/* Page Approche */
.toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.toc a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.toc a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.toc .steps-n { grid-row: span 2; font-size: 2.2rem; }
.toc b { font-size: 1.1rem; font-weight: 620; letter-spacing: -.01em; }
.toc a > span:last-child { color: var(--muted); font-size: .9375rem; }
.stage-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.stage-side { position: sticky; top: 120px; }
.stage-side h2 { margin-bottom: 18px; }
.stage-side .lead { margin-bottom: 20px; }
.offer-facts.compact { grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; margin-bottom: 28px; }
.offer-facts.compact > div { padding: 22px 24px; border-top: 1px solid var(--line); }
.offer-facts.compact > div:nth-child(-n+2) { border-top: 0; }
.offer-facts.compact > div:nth-child(even) { border-left: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks b { color: var(--ink); font-weight: 600; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--ok); }
.checks.small { margin: 6px 0 4px; }
.checks.small li { padding: 7px 0; border: 0; font-size: .9375rem; }
.checks.small svg { width: 18px; height: 18px; }
.mini-steps { counter-reset: m; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.mini-steps li::before { content: counter(m, decimal-leading-zero); grid-row: span 2; font-feature-settings: 'tnum'; font-weight: 700; font-size: .875rem; color: var(--link); padding-top: 4px; }
.mini-steps b { font-size: 1.15rem; font-weight: 620; letter-spacing: -.01em; }
.mini-steps p { color: var(--muted); margin-top: 4px; }
.tight-grid { gap: 16px; }
.tight-grid .card { padding: 26px; }
.tight-grid .card h3 { font-size: 1.125rem; }
.size-split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.size-split > div { padding: 30px; }
.size-split > div + div { border-left: 1px solid var(--line); background: var(--surface); }
.size-split h3 { margin-bottom: 8px; }
.size-split p { color: var(--muted); }
.charter-list.wide { max-width: 920px; }

/* Secteurs, en liste de liens */
.sector-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.sector-links a:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.sector-links .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); color: var(--ink); display: grid; place-items: center; }
.sector-links .ic svg { width: 20px; height: 20px; }
.sector-links b { display: block; font-weight: 620; }
.sector-links small { display: block; color: var(--muted); font-size: .875rem; }
.sector-links a > svg { width: 18px; height: 18px; color: var(--link); transition: transform .18s; }
.sector-links a:hover > svg { transform: translateX(3px); }

@media (max-width: 1080px) {
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .commit { grid-template-columns: repeat(2, 1fr); }
  .sector-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .steps, .toc, .stage-row, .size-split, .feature-dark { grid-template-columns: 1fr; }
  .stage-side { position: static; }
  .size-split > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .svc-cards, .svc-cards.two, .commit, .sector-links, .offer-facts.compact { grid-template-columns: 1fr; }
  .offer-facts.compact > div:nth-child(even) { border-left: 0; }
  .offer-facts.compact > div:nth-child(2) { border-top: 1px solid var(--line); }
  .feature-dark .btn { justify-self: start; }
}

/* Page de travail du UI kit (préproduction seulement) */
.kit-swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.kit-swatches > div { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.kit-swatches .sw { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); }
.kit-swatches small { color: var(--muted); font-size: .875rem; }
.sw[data-c="ink"] { background: var(--ink); } .sw[data-c="link"] { background: var(--link); } .sw[data-c="amber"] { background: var(--amber); }
.sw[data-c="pale"] { background: var(--amber-pale); } .sw[data-c="surface"] { background: var(--surface); } .sw[data-c="grad"] { background: var(--grad); }
.kit-type { display: grid; grid-template-columns: 140px 1fr; gap: 18px 32px; align-items: baseline; }
.kit-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin: 28px 0 12px; }
.kit-type .kit-label { margin: 0; }
.kit-h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 330; line-height: 1.05; letter-spacing: -.048em; }
.kit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); }
.kit-row + .kit-row { margin-top: 14px; }
.kit-dark { background: var(--ink); border-color: var(--ink); }
.kit-dark .btn-primary { background: var(--amber); color: var(--ink); }
.kit-dark .link { color: var(--amber); }
.kit-split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; align-items: start; }
.sector-links.one { grid-template-columns: 1fr; }
@media (max-width: 920px) { .kit-swatches, .kit-split, .kit-type { grid-template-columns: 1fr; } }

/* ==========================================================================
   UI kit v2.1 : passe visuelle (30 nov. 2026)
   Beige plus contrasté, pastilles d'icônes plus grandes, cartes à bordure
   de signature et halo qui suit le pointeur, mouvements plus fluides.
   ========================================================================== */
:root {
  --amber-pale: #ffe8bd;          /* plus de contraste qu'avant (#fff1d6) */
  --amber-soft: #fff5e2;
  --ease: cubic-bezier(.22, 1, .36, 1);       /* sortie douce, pour tout ce qui bouge */
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-card: 24px;
  --shadow-rest: 0 1px 2px rgba(14, 15, 26, .04), 0 2px 8px -4px rgba(14, 15, 26, .06);
  --shadow-lift: 0 2px 4px rgba(14, 15, 26, .04), 0 22px 44px -20px rgba(40, 30, 110, .28);
  interpolate-size: allow-keywords;
}

/* Navigation : l'onglet actif se lit d'un coup d'œil */
.nav-links a { transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.nav-links a[aria-current] { background: var(--amber-pale); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(156, 90, 0, .2); font-weight: 600; }
@media (max-width: 920px) { .nav-links a[aria-current] { box-shadow: none; background: none; color: var(--amber-text); } .nav-links { transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; } }

/* Pastilles d'icônes : plus grandes, en relief léger, intégrées à la carte */
.card .ic, .svc-card .ic, .commit .ic, .ic-inline, .dossier .ic, .svc-door-head .ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(145deg, var(--amber-soft) 0%, #ffe1a3 100%);
  color: var(--amber-deep);
  box-shadow: inset 0 0 0 1px rgba(156, 90, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px -10px rgba(156, 90, 0, .45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card .ic svg, .svc-card .ic svg, .commit .ic svg, .ic-inline svg, .dossier .ic svg, .svc-door-head .ic svg { width: 27px; height: 27px; stroke-width: 1.75; }
.sector-links .ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #fff 0%, var(--surface) 100%); box-shadow: inset 0 0 0 1px var(--line); color: var(--link); transition: transform .5s var(--ease); }
.sector-links .ic svg { width: 23px; height: 23px; stroke-width: 1.75; }
.dark .card .ic { background: rgba(255, 176, 32, .14); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .25); }

/* Cartes : rayon plus généreux, ombre au repos, bordure de signature au survol */
.svc-card, .steps li, .commit li, a.card, .toc a, .sector-links a, .card.role-card {
  position: relative; isolation: isolate; border-radius: var(--r-card);
  box-shadow: var(--shadow-rest);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.sector-links a { border-radius: 18px; }
.svc-card::before, .steps li::before, a.card::before, .toc a::before, .sector-links a::before {
  content: ''; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, #4a5cf0 0%, #8b6cf2 50%, #cf8bee 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .55s var(--ease);
  left: -1px; right: -1px; top: -1px; height: auto;
}
.svc-card::after, .steps li::after, a.card::after, .toc a::after, .sector-links a::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 108, 242, .09), rgba(255, 176, 32, .05) 40%, transparent 65%);
  opacity: 0; transition: opacity .55s var(--ease);
}
.svc-card:hover, .steps li:hover, a.card:hover, .toc a:hover, .sector-links a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.svc-card:hover::before, .steps li:hover::before, a.card:hover::before, .toc a:hover::before, .sector-links a:hover::before { opacity: .75; }
.svc-card:hover::after, .steps li:hover::after, a.card:hover::after, .toc a:hover::after, .sector-links a:hover::after { opacity: 1; }
.svc-card:hover .ic, a.card:hover .ic, .sector-links a:hover .ic { transform: translateY(-2px) rotate(-4deg) scale(1.05); }
.svc-card:focus-visible, a.card:focus-visible, .toc a:focus-visible, .sector-links a:focus-visible { outline-offset: 4px; border-radius: var(--r-card); }
.steps li { padding: 32px 32px 30px; }
.svc-card { padding: 32px; }
.commit li { border-color: rgba(156, 90, 0, .12); }

/* Boutons et liens : même courbe partout, réaction au clic */
.btn { transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(11, 16, 38, .5); }
.btn svg, .link svg, .sector-links a > svg { transition: transform .45s var(--ease); }
.btn:hover svg, .link:hover svg, a:hover .link svg { transform: translateX(4px); }
.link { transition: border-color .35s var(--ease), color .35s var(--ease); }

/* Apparition au défilement : plus douce, avec un léger zoom */
main .rv.rv { opacity: 0; transform: translateY(22px) scale(.985); transition: opacity .9s var(--ease), transform .9s var(--ease); }
main .rv.rv.in { opacity: 1; transform: none; }

/* Questions fréquentes : la réponse s'ouvre au lieu d'apparaître d'un coup */
.faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary::after { transition: transform .45s var(--ease); }

@media (hover: none) {
  .svc-card:hover, .steps li:hover, a.card:hover, .toc a:hover, .sector-links a:hover, .btn:hover { transform: none; }
}

/* À propos : qui nous sommes (30 nov.) */
.about-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-bottom: 48px; }
.about-intro .lead { margin-bottom: 18px; color: var(--ink-2); }
.about-intro p + p { color: var(--muted); margin-top: 14px; }
.about-why { padding: 18px 20px; border-left: 3px solid; border-image: var(--grad) 1; background: #fff; color: var(--ink-2) !important; }
.about-why b { color: var(--ink); }
/* Bande sombre des faits, avec la vague */
.about-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-l); background: var(--ink); color: #fff; padding: clamp(32px, 4.5vw, 52px); box-shadow: var(--shadow-lg); }
.about-band svg.dark-wave { z-index: -1; height: 200px; opacity: .5; }
.about-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.about-facts > div { padding: 4px 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.about-facts > div:first-child { border-left: 0; padding-left: 0; }
.about-facts dt { display: flex; flex-direction: column; gap: 16px; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.about-facts .ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 176, 32, .14); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .3); }
.about-facts .ic svg { width: 26px; height: 26px; stroke-width: 1.75; }
.about-facts dd { font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; color: #fff; }
.about-facts dd small { display: block; margin-top: 8px; font-size: .9375rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: #b9bcd0; }
@media (max-width: 1080px) { .about-facts { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } .about-facts > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 640px) { .about-facts { grid-template-columns: 1fr; } .about-facts > div { border-left: 0; padding-left: 0; } }
@media (max-width: 920px) { .about-intro { grid-template-columns: 1fr; gap: 20px; } }

/* Pied de page : LinkedIn */
.foot-brand .social { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 14px 8px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .9375rem; font-weight: 560; color: var(--ink-2); transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease); }
.foot-brand .social svg { width: 20px; height: 20px; color: #0a66c2; }
.foot-brand .social:hover { border-color: #0a66c2; color: #0a66c2; background: #f3f8fd; }


/* ==========================================================================
   Plus de contraste et de graphisme (30 nov., Stéphane : « ajouter encore du graphisme et contraste »)
   ========================================================================== */
:root {
  --muted: #41465c;       /* texte secondaire plus foncé : 9,6:1 sur blanc */
  --subtle: #5c6078;      /* libellés : 6,2:1 sur blanc */
  --line: #e0e2ec;
  --line-strong: #c9ccdc;
  --surface: #f2f3f9;     /* sections alternées plus marquées, les cartes blanches ressortent */
  --tint: #edeff8;
  --line-tint: #dcdfed;
}
.lead { color: var(--ink-2); }
.section-head p { color: var(--muted); }

/* Texture : une trame de points dans le coin des sections teintées, qui s'efface vers le centre */
.section.surface, .section.lilac { position: relative; isolation: isolate; }
.section.surface::before, .section.lilac::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(46, 79, 224, .2) 1.1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(48% 70% at 100% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(48% 70% at 100% 0%, #000 0%, transparent 100%);
}
.section.lilac::before { -webkit-mask-image: radial-gradient(48% 70% at 0% 100%, #000 0%, transparent 100%); mask-image: radial-gradient(48% 70% at 0% 100%, #000 0%, transparent 100%); }

/* Un filet de signature sous les titres de section */
.section-head h2::after { content: ''; display: block; width: 56px; height: 3px; border-radius: 3px; margin-top: 22px; background: var(--grad); }
.section-head.center h2::after { margin-inline: auto; }
.stage-side h2::after { content: ''; display: block; width: 56px; height: 3px; border-radius: 3px; margin-top: 20px; background: var(--grad); }

/* Bandeau de preuves : plus présent */
.trust { background: #fff; border-block-color: var(--line); }
.trust li { font-weight: 600; color: var(--ink); }
.trust svg { width: 22px; height: 22px; }

/* ===== Nous joindre : coordonnées et carte ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.contact-list { display: grid; gap: 14px; align-content: start; }
.contact-list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-rest, var(--shadow)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.contact-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift, var(--shadow)); }
.contact-list .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, #fff5e2, #ffe1a3); color: var(--amber-deep); }
.contact-list .ic svg { width: 27px; height: 27px; }
.contact-list b { display: block; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--subtle); margin-bottom: 6px; }
.contact-list address { font-style: normal; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); margin-bottom: 8px; }
.contact-list .contact-val { display: inline-block; font-size: 1.25rem; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.contact-list .contact-val:hover { color: var(--link); }
.contact-list small { display: block; margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.contact-list small a { color: var(--link); }
.map { position: relative; min-height: 440px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line-strong, var(--line)); box-shadow: var(--shadow-rest, var(--shadow)); background:
  radial-gradient(circle at 50% 46%, rgba(255,176,32,.22), transparent 32%),
  repeating-linear-gradient(28deg, transparent 0 46px, rgba(46,79,224,.10) 46px 49px),
  repeating-linear-gradient(-62deg, transparent 0 70px, rgba(46,79,224,.08) 70px 72px),
  linear-gradient(28deg, transparent 47%, rgba(46,79,224,.20) 47% 50.5%, transparent 50.5%),
  linear-gradient(160deg, #f4f5fb, #e9ecf8); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 28px; text-align: center; }
.map-pin { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--amber); box-shadow: 0 0 0 10px rgba(255,176,32,.18), 0 12px 30px rgba(11,16,38,.25); animation: map-pulse 2.8s var(--ease) infinite; }
.map-pin svg { width: 30px; height: 30px; }
.map-cover b { font-size: 1.125rem; font-weight: 600; color: var(--ink); margin-top: 6px; }
.map-cover .actions { justify-content: center; margin-top: 4px; }
.map-cover small { color: var(--muted); font-size: .875rem; max-width: 34ch; }
@keyframes map-pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(255,176,32,.18), 0 12px 30px rgba(11,16,38,.25); } 50% { box-shadow: 0 0 0 18px rgba(255,176,32,.06), 0 12px 30px rgba(11,16,38,.25); } }
@media (prefers-reduced-motion: reduce) { .map-pin { animation: none; } }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map { min-height: 360px; } }

/* ===== 30 nov. : surtitres sans tiret, vague du bloc sombre, accueil ===== */
/* Les surtitres deviennent des pastilles lisibles. Plus de tirets nulle part. */
.eyebrow { gap: 0; padding: 7px 14px; border-radius: 999px; background: #e9edfd; border: 1px solid #d0d8fb; color: #2440c4; font-size: .8125rem; font-weight: 700; letter-spacing: .07em; line-height: 1.25; }
.eyebrow::before { content: none; display: none; }
.dark .eyebrow, .feature-dark .eyebrow, .path-end .eyebrow, .cta-band .eyebrow, .about-band .eyebrow { background: rgba(255,176,32,.14); border-color: rgba(255,176,32,.38); color: var(--amber); }
.section-head h2::after, .stage-side h2::after { content: none; display: none; }
.hero-sig .bar { display: none; }
.hero-sig { font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }

/* La vague des blocs sombres couvre toute la largeur */
.feature-dark canvas.rib.dark-wave { left: 0; right: 0; bottom: 0; width: 100%; height: 190px; opacity: .7; z-index: 0; }
.about-band canvas.rib.dark-wave { left: 0; right: 0; bottom: 0; width: 100%; height: 210px; opacity: .65; z-index: -1; }

/* L'accueil : la fin du titre change d'elle-même */
.h1-rot .rot { display: grid; color: var(--ink); font-weight: 330; }
.h1-rot .rot-w { grid-area: 1 / 1; opacity: 0; transform: translateY(.32em); filter: blur(10px); transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease); }
.h1-rot .rot-w.is-on { opacity: 1; transform: none; filter: none; }
.h1-rot .rot-w.is-out { opacity: 0; transform: translateY(-.32em); filter: blur(10px); }
.h1-rot .rot-w b { font-weight: inherit; background: linear-gradient(transparent 70%, rgba(255,176,32,.5) 70% 90%, transparent 90%); padding-inline: .04em; }
@media (prefers-reduced-motion: reduce) { .h1-rot .rot-w { transition: none; filter: none; } }

/* ===== Nous joindre : demande de rendez-vous, style Mosai ===== */
.rdv { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.rdv-intro { position: sticky; top: 110px; }
.rdv-intro .lead { margin: 18px 0 26px; }
.rdv-intro .checks { margin-bottom: 26px; }
.rdv-alt { color: var(--muted); }
.rdv-card { color-scheme: dark; border-radius: 28px; padding: clamp(28px, 4vw, 48px); gap: 22px; box-shadow: 0 40px 80px -40px rgba(11,16,38,.6); background:
  radial-gradient(120% 80% at 100% 0%, rgba(74,92,240,.28), transparent 55%),
  radial-gradient(90% 60% at 0% 100%, rgba(255,176,32,.10), transparent 60%), var(--ink); }
.rdv-card > :not(canvas):not(svg) { position: relative; z-index: 1; }
.rdv-card canvas.rib.dark-wave { left: 0; right: 0; bottom: 0; width: 100%; height: 34%; opacity: .32; z-index: 0; }
.rdv-head h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.025em; }
.rdv-card .rdv-sub { color: rgba(255,255,255,.68); margin-top: 8px; }
.rdv-card .field label { color: rgba(255,255,255,.94); }
.rdv-card .req { color: var(--amber); margin-left: 2px; }
.rdv-card .field input, .rdv-card .field select, .rdv-card .field textarea { background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.15); color: #fff; border-radius: 14px; padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.rdv-card .field input::placeholder, .rdv-card .field textarea::placeholder { color: rgba(255,255,255,.42); }
.rdv-card .field input:hover, .rdv-card .field select:hover, .rdv-card .field textarea:hover { border-color: rgba(255,255,255,.28); }
.rdv-card .field input:focus, .rdv-card .field select:focus, .rdv-card .field textarea:focus { border-color: var(--amber); background: rgba(255,255,255,.09); box-shadow: 0 0 0 4px rgba(255,176,32,.2); }
.rdv-card .field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%), linear-gradient(-45deg, transparent 50%, rgba(255,255,255,.7) 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.rdv-card .field select option { color: var(--ink); background: #fff; }
.rdv-card .field textarea { min-height: 128px; }
.rdv-card .field.is-bad input, .rdv-card .field.is-bad select, .rdv-card .field.is-bad textarea { border-color: #ff8a7a; box-shadow: 0 0 0 4px rgba(255,138,122,.16); }
.rdv-card .consent { color: rgba(255,255,255,.74); }
.rdv-card .consent input { accent-color: var(--amber); }
.rdv-card .consent-note { color: rgba(255,255,255,.6); margin-top: -8px; }
.rdv-submit { width: 100%; justify-content: center; padding-block: 17px; font-size: 1.0625rem; }
.rdv-card .rdv-error { color: #ffb4a8; font-weight: 540; }
.rdv-card .notice { color: var(--ok); }
@media (max-width: 920px) { .rdv { grid-template-columns: 1fr; } .rdv-intro { position: static; } }

.rdv-card .notice .link { color: var(--ok); text-decoration: underline; }
.rdv-card .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rdv-card.is-sending .rdv-submit { opacity: .75; cursor: progress; }

/* ===== Accueil, 2e passe (30 nov.) ===== */
/* Le mot qui change : en mauve, sans surlignage */
.h1-rot .rot-w b { background: none; padding: 0; font-weight: 400; color: #6a3fd6; }
.h1-rot .rot { perspective: 700px; }
/* Lettre par lettre, une fois le script prêt */
.h1-rot.is-split .rot-w { opacity: 1; transform: none; filter: none; transition: none; visibility: hidden; }
.h1-rot.is-split .rot-w.is-on, .h1-rot.is-split .rot-w.is-out { visibility: visible; }
.h1-rot .ch { display: inline-block; white-space: pre; opacity: 0; transform: translateY(.45em) rotateX(-75deg); transform-origin: 50% 100%; filter: blur(8px);
  transition: opacity .8s var(--ease), transform 1s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 34ms); }
.h1-rot .rot-w b .ch { color: color-mix(in oklab, #3a4ae0, #8b46e0 calc(var(--t, 1) * 100%)); }
.h1-rot .rot-w.is-on .ch { opacity: 1; transform: none; filter: none; }
.h1-rot .rot-w.is-out .ch { opacity: 0; transform: translateY(-.3em); filter: blur(6px); transition-duration: .5s; transition-delay: calc(var(--i) * 16ms); }

/* Les boutons de l'en-tête restent pleins : plus de lignes de la vague derrière */
.hero .btn-secondary, .page-hero .btn-secondary { background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 18px -10px rgba(11,16,38,.25); }
.hero .btn-secondary:hover, .page-hero .btn-secondary:hover { background: #fff; }

/* La signature : un point mauve qui respire, la deuxième phrase en dégradé */
.hero-sig { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid #e3e0f7; box-shadow: 0 6px 18px -12px rgba(74,92,240,.35); font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.hero-sig .grad-text { font-weight: 640; }
.sig-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #4a5cf0, #8b46e0); flex-shrink: 0; }
.sig-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(139,70,224,.35); animation: sig-pulse 2.8s var(--ease) infinite; }
@keyframes sig-pulse { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sig-dot::after { animation: none; opacity: .5; } }
/* Vague des blocs sombres : la toile couvre tout le bloc, pour que la lueur ne soit jamais coupée */
.feature-dark canvas.rib.dark-wave, .about-band canvas.rib.dark-wave, .rdv-card canvas.rib.dark-wave { top: 0; bottom: 0; height: 100%; }
.feature-dark canvas.rib.dark-wave { opacity: .8; }
.rdv-card canvas.rib.dark-wave { opacity: .45; }
/* Le texte reste lisible : la vague naît au milieu et s'épanouit vers la droite */
.feature-dark canvas.rib.dark-wave { -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 62%); mask-image: linear-gradient(90deg, transparent 18%, #000 62%); }

/* ===== Accueil, 3e passe (30 nov.) : plein écran sombre jusqu'au défilement ===== */
.site-header { transition: background-color .45s var(--ease), border-color .45s var(--ease); }
.site-header.on-dark { background: rgba(7,10,28,0); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; }
.site-header.on-dark .brand img { filter: invert(1) hue-rotate(180deg) saturate(1.2); }
.site-header .brand img { transition: filter .45s var(--ease); }
.site-header.on-dark .lang { color: rgba(255,255,255,.72); }
.site-header.on-dark .lang:hover { color: #fff; }
.site-header.on-dark .btn-ink { background: #fff; border-color: #fff; color: var(--ink); }
.site-header.on-dark .menu-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.24); color: #fff; }
.site-header.on-dark :focus-visible { outline-color: #c4a2ff; }
@media (min-width: 921px) {
  .site-header.on-dark .nav-links a { color: rgba(255,255,255,.8); }
  .site-header.on-dark .nav-links a:hover { background: rgba(255,255,255,.08); color: #fff; }
}

.hero-night { margin-top: -76px; padding: 76px 0 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; text-align: center; color: #fff;
  background: radial-gradient(1100px 600px at 50% -10%, rgba(74,92,240,.32), transparent 62%), radial-gradient(900px 520px at 88% 92%, rgba(139,70,224,.22), transparent 62%), linear-gradient(180deg, #060918 0%, #0b1026 60%, #0e1232 100%); }
.hero-night::before { display: none; }
.hero-night canvas.rib.hero-wave, .hero-night svg.hero-wave { top: auto; bottom: 0; height: 64%; opacity: .95; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%); }
.hero-night :focus-visible { outline-color: #c4a2ff; }
.night-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: clamp(40px, 8vh, 96px) 32px;
  opacity: calc(1 - var(--p, 0) * 1.3); transform: translateY(calc(var(--p, 0) * -56px)); }
.night-kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-bottom: clamp(22px, 3.4vh, 34px); }
.night-kicker .sep { color: #a58bff; margin-inline: .55em; }
.hero-night h1 { font-size: clamp(2.6rem, 6.1vw, 5.6rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 300; color: #fff; margin: 0; max-width: none; text-wrap: balance; }
.hero-night h1 .grad-text { display: block; background: linear-gradient(90deg, #8fa0ff 0%, #b9a2ff 55%, #eab6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-night .h1-rot .rot { justify-items: center; color: rgba(255,255,255,.94); font-weight: 300; perspective: none; }
.hero-night .h1-rot .rot-w { opacity: 0; transform: none; filter: blur(3px); transition: opacity 1.1s var(--ease), filter 1.1s var(--ease); }
.hero-night .h1-rot .rot-w.is-on { opacity: 1; filter: none; transition-delay: .3s; }
.hero-night .h1-rot .rot-w b { font-weight: 400; color: #c4a2ff; background: none; padding: 0; }
.rot-line { position: relative; display: block; width: 140px; height: 2px; margin: clamp(20px, 3vh, 30px) auto 0; border-radius: 2px; background: rgba(255,255,255,.12); }
.rot-line span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgba(143,160,255,.15), #c4a2ff); }
.rot-line span::after { content: ''; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(196,162,255,.22), 0 0 16px 5px rgba(196,162,255,.5); }
.rot-line.is-run span { animation: rot-run 5.2s linear forwards; }
.rot-line.is-still span { width: 100%; }
@keyframes rot-run { from { width: 0; } to { width: 100%; } }
.hero-night .lead { max-width: 620px; margin: clamp(24px, 3.6vh, 36px) auto 0; color: rgba(255,255,255,.74); font-size: clamp(1.0625rem, 1.25vw, 1.25rem); }
.hero-night .actions { justify-content: center; align-items: center; gap: 16px 32px; margin-top: clamp(30px, 4.6vh, 44px); }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); box-shadow: 0 12px 34px -14px rgba(170,150,255,.75); }
.btn-light:hover { background: #f1edff; border-color: #f1edff; }
.link-light { color: #fff; font-weight: 600; }
.link-light:hover { color: #c4a2ff; }
.night-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 20px; padding-bottom: 26px; opacity: calc(1 - var(--p, 0) * 2.2); }
.night-sig { justify-self: start; text-align: left; font-size: .9375rem; font-weight: 500; color: rgba(255,255,255,.66); }
.night-sig span { color: #c4a2ff; }
.night-where { justify-self: end; text-align: right; font-size: .875rem; color: rgba(255,255,255,.5); }
.night-scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.58); }
.night-scroll:hover { color: #fff; }
.night-scroll i { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,.18); overflow: hidden; }
.night-scroll i::after { content: ''; position: absolute; left: -1.5px; top: -10px; width: 4px; height: 10px; border-radius: 2px; background: #c4a2ff; animation: night-dot 2.4s var(--ease) infinite; }
@keyframes night-dot { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(58px); opacity: 0; } }
@media (max-width: 920px) {
  .hero-night canvas.rib.hero-wave, .hero-night svg.hero-wave { height: 52%; opacity: .8; }
}
@media (max-width: 640px) {
  .night-kicker { font-size: .6875rem; letter-spacing: .12em; line-height: 1.9; max-width: 300px; }
  .night-kicker .sep { margin-inline: .35em; }
  .hero-night .actions { flex-direction: column; gap: 18px; }
  .night-foot { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .night-sig { justify-self: center; text-align: center; }
  .night-where { display: none; }
}
@media (prefers-reduced-motion: reduce) { .night-scroll i::after { animation: none; opacity: 0; } .hero-night .h1-rot .rot-w { transition: none; } }

/* ===== Revue mobile (30 nov.) ===== */
/* La politique de confidentialité ne déborde plus : la colonne peut rétrécir, le tableau des témoins défile dans son cadre */
@media (max-width: 920px) { .legal { grid-template-columns: minmax(0, 1fr); } }
.legal-body .tm-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* Zones tactiles d'au moins 44 px sur téléphone */
@media (max-width: 920px) {
  .lang { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; }
  .foot-bottom nav a, .foot-bottom .foot-link { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-grid ul a { display: inline-block; padding-block: 6px; }
}
@media (max-width: 640px) { .night-kicker { font-size: .75rem; } }
/* Le menu mobile montre aussi Nous joindre et le bouton de rendez-vous (une règle plus bas les cachait) */
@media (max-width: 920px) {
  .nav-links a.mobile-only { display: block; border-bottom: 1px solid var(--line); color: var(--ink-2); }
  .nav-links a.mobile-only.cta-m { display: flex; justify-content: center; margin-top: 16px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
}

/* ===== Transitions douces entre les pages (30 nov.) =====
   Transitions natives du navigateur (Chrome, Edge, Safari 18.2+). Ailleurs, la page change comme avant.
   L'en-tête reste en place pendant que le contenu glisse en fondu. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: entete; }
::view-transition-old(root) { animation: vt-sortie .32s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vt-entree .62s cubic-bezier(.22, 1, .36, 1) .06s both; }
::view-transition-group(entete) { animation-duration: .45s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(entete), ::view-transition-new(entete) { animation-duration: .45s; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-10px) scale(.995); filter: blur(3px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Titres du pied de page : bien distincts des liens (30 nov., Stéphane : « pas clairs ») */
.foot-grid h2.foot-h { color: #2440c4; font-weight: 700; letter-spacing: .1em; font-size: .8125rem; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #d0d8fb; }
.foot-grid ul a { color: var(--muted); }
.foot-grid ul a:hover { color: var(--link); }
/* Mobile : le surtitre de l'accueil tient sur deux lignes nettes, sans point orphelin en fin de ligne */
@media (max-width: 640px) { .night-kicker .sep:nth-of-type(2) { display: block; height: 0; overflow: hidden; margin: 0; } }

/* ===== Accueil, 4e passe (30 nov.) : grand logo qui rejoint l'en-tête, menu posé dans la vague, une étoile qui scintille ===== */
/* Le grand logo : au défilement, il rapetisse et glisse jusqu'à sa place dans l'en-tête (app.js) */
.night-brand { position: relative; z-index: 2; display: flex; justify-content: center; padding-top: clamp(16px, 4vh, 48px); }
.night-logo { display: block; width: clamp(180px, 19vw, 280px); height: auto; filter: invert(1) hue-rotate(180deg) saturate(1.2); transform-origin: 0 0; will-change: transform; }
.night-logo.is-gone { visibility: hidden; }
.night-inner { padding-block: clamp(20px, 5vh, 64px) 28px; }
/* Tant que le grand logo est là, l'en-tête s'efface : pas de logo en double, pas de bouton en double */
.site-header.is-intro .brand { opacity: 0; visibility: hidden; }
@media (min-width: 921px) {
  .site-header .nav-links, .site-header .nav-right .lang, .site-header .nav-right .btn-ink { transition: opacity .45s var(--ease), visibility .45s; }
  .site-header.is-intro .nav-links, .site-header.is-intro .nav-right .lang, .site-header.is-intro .nav-right .btn-ink { opacity: 0; visibility: hidden; }
}
/* Le menu dans la vague */
.night-foot { align-items: center; padding-bottom: 28px; }
.night-nav { display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(10,14,40,.42); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.night-nav a { padding: 9px 16px; border-radius: 999px; font-size: .9375rem; font-weight: 520; color: rgba(255,255,255,.84); white-space: nowrap; transition: background .2s, color .2s; }
.night-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.night-nav .night-lang { position: relative; margin-left: 8px; font-size: .8125rem; font-weight: 650; letter-spacing: .06em; color: rgba(255,255,255,.62); }
.night-nav .night-lang::before { content: ''; position: absolute; left: -5px; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,.18); }
@media (max-width: 1180px) {
  .night-foot { grid-template-columns: 1fr 1fr; grid-template-areas: "nav nav" "sig where"; row-gap: 18px; }
  .night-nav { grid-area: nav; justify-self: center; }
  .night-sig { grid-area: sig; }
  .night-where { grid-area: where; }
}
@media (max-width: 920px) {
  .night-nav { display: none; }
  .night-foot { grid-template-areas: none; }
  .night-sig, .night-where { grid-area: auto; }
}
@media (max-width: 640px) { .night-foot { grid-template-columns: 1fr; } }
/* L'étoile : elle avance avec la ligne, puis scintille juste avant que le mot change */
.rot-line { width: 160px; }
.rot-line span::after { right: -9px; width: 18px; height: 18px; margin-top: -9px; border-radius: 0; box-shadow: none; background: radial-gradient(circle, #fff 0 24%, #efe6ff 46%, #c4a2ff 100%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); transform: scale(.6); }
.rot-line span::before { content: ''; position: absolute; right: -17px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95) 0, rgba(214,190,255,.55) 22%, rgba(196,162,255,0) 62%); transform: scale(.55); opacity: .55; }
.rot-line.is-run span::after { animation: rot-star 5.2s linear forwards; }
.rot-line.is-run span::before { animation: rot-halo 5.2s linear forwards; }
.rot-line.is-still span::after { transform: scale(.85); }
@keyframes rot-run { 0% { width: 0; } 84% { width: 100%; } 100% { width: 100%; } }
@keyframes rot-star {
  0% { transform: scale(.55) rotate(0); opacity: .9; } 20% { transform: scale(.72) rotate(25deg); opacity: 1; } 40% { transform: scale(.55) rotate(45deg); opacity: .8; }
  60% { transform: scale(.74) rotate(70deg); opacity: 1; } 82% { transform: scale(.6) rotate(90deg); opacity: 1; } 89% { transform: scale(2.2) rotate(135deg); opacity: 1; }
  95% { transform: scale(1) rotate(160deg); opacity: .9; } 100% { transform: scale(.3) rotate(180deg); opacity: 0; } }
@keyframes rot-halo { 0%, 80% { transform: scale(.55); opacity: .55; } 89% { transform: scale(2.8); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }

/* Fin de l'accueil : le rendez-vous, puis les livres blancs en lecture (30 nov. : plus de livre blanc sur mesure) */
.final-read { display: flex; align-items: center; gap: 18px; max-width: 560px; margin: 48px auto 0; padding: 18px 22px; text-align: left; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -28px rgba(36,64,196,.35); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.final-read:hover { transform: translateY(-2px); border-color: #c9d2fb; box-shadow: 0 24px 48px -26px rgba(36,64,196,.45); }
.final-read-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #eef1ff; color: var(--link); }
.final-read-ic svg { width: 24px; height: 24px; }
.final-read-txt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.final-read-k { font-size: .75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.final-read-txt b { font-size: 1.0625rem; font-weight: 620; color: var(--ink); }
.final-read-txt > span:last-child { font-size: .9375rem; color: var(--muted); line-height: 1.45; }
.final-read-go { color: var(--link); display: inline-flex; }
.final-read-go svg { width: 20px; height: 20px; transition: transform .2s; }
.final-read:hover .final-read-go svg { transform: translateX(3px); }
@media (max-width: 640px) { .final-read { gap: 14px; padding: 16px; } .final-read-ic { width: 42px; height: 42px; } }
/* Formulaire de rendez-vous : la façon d'envoyer est dite sous le bouton */
.rdv-card .rdv-how { margin-top: 12px; font-size: .8125rem; line-height: 1.5; color: rgba(255,255,255,.56); text-align: center; }
/* Le bouton de l'en-tête n'apparaît qu'après le héros, pour ne jamais voir « Parlons de votre projet » deux fois */
@media (min-width: 921px) { .site-header.on-dark .nav-right .btn-ink { opacity: 0; visibility: hidden; } }

/* Livres blancs : la bibliothèque, en préparation (30 nov.) */
.wp-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.wp-lib li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: 110px; }
.wp-lib li:target { border-color: #b9a2ff; box-shadow: 0 0 0 3px rgba(185,162,255,.25); }
.wp-lib .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #eef1ff; color: var(--link); }
.wp-lib .ic svg { width: 22px; height: 22px; }
.wp-lib h3 { font-size: 1.125rem; margin: 6px 0 0; }
.wp-lib p { flex: 1; margin: 0; color: var(--muted); font-size: .9375rem; }
.wp-soon { align-self: flex-start; margin-top: 6px; padding: 5px 10px; border-radius: 999px; background: #f3efff; color: #6a4ae0; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

/* Accueil : au défilement, les liens du menu de la vague remontent un à un jusqu'à leur place dans l'en-tête (app.js) */
.night-foot { opacity: 1; }
.night-sig, .night-where { opacity: calc(1 - var(--p, 0) * 2.2); }
.night-nav { background: rgba(10,14,40,calc(.42 * (1 - var(--q, 0)))); border-color: rgba(255,255,255,calc(.14 * (1 - var(--q, 0)))); box-shadow: 0 18px 40px -20px rgba(0,0,0,calc(.6 * (1 - var(--q, 0)))); }
.night-nav a { will-change: transform; }
.night-nav.is-gone { visibility: hidden; }
.night-nav .night-lang::before { opacity: calc(1 - var(--q, 0)); }
/* L'échange avec l'en-tête est instantané, sans clignement */
@media (min-width: 921px) { .site-header .nav-links, .site-header .nav-right .lang { transition: none; } }
/* Une fois le logo et le menu rangés, l'en-tête prend un fond sombre et flou : le contenu qui passe dessous ne se mélange plus au menu */
.site-header.on-dark:not(.is-intro) { background: rgba(7,10,28,.72); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-color: rgba(255,255,255,.08); }

/* Accueil (30 nov., Stéphane) : le menu monte sous le logo, à la place du surtitre; les services descendent au bas du héros.
   Trajet court jusqu'à l'en-tête : l'animation est plus vive. */
.night-menu { position: relative; z-index: 2; display: flex; justify-content: center; margin-top: clamp(16px, 3vh, 28px); }
.night-foot .night-kicker { margin: 0; font-size: .75rem; letter-spacing: .16em; color: rgba(255,255,255,.58); opacity: calc(1 - var(--p, 0) * 2.2); }
@media (max-width: 1180px) {
  .night-foot { grid-template-areas: "kick kick" "sig where"; }
  .night-foot .night-kicker { grid-area: kick; justify-self: center; }
}
@media (max-width: 920px) {
  .night-menu { display: none; }
  .night-foot { grid-template-areas: none; }
  .night-foot .night-kicker { grid-area: auto; grid-column: 1 / -1; order: -1; }
}
@media (max-width: 640px) { .night-foot .night-kicker { font-size: .6875rem; letter-spacing: .12em; justify-self: center; } }
/* Accueil : logo, menu et titre forment un seul bloc, centré dans l'écran; plus de grand vide sous le menu (30 nov.) */
.night-brand { margin-top: auto; }
.night-inner { flex: 0 0 auto; justify-content: flex-start; padding-block: clamp(36px, 6.5vh, 72px) 28px; margin-bottom: auto; }

/* Livres blancs : chaque titre se commande (30 nov.) */
.wp-order { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 600; transition: background .2s, transform .2s var(--ease); }
.wp-order svg { width: 16px; height: 16px; transition: transform .2s; }
.wp-order:hover { background: #2440c4; }
.wp-order:hover svg { transform: translateX(3px); }
.wp-lib li:has(.wp-order:hover) { border-color: #c9d2fb; }
.wp-talk { color: var(--muted); font-size: .9375rem; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
#commande { scroll-margin-top: 76px; }

/* Livres blancs : chaque titre a sa couverture, présentée en 3D comme un livre (30 nov.; images : outils/couvertures.py) */
.wp-book { display: grid; place-items: center; height: 268px; margin: -24px -24px 8px; border-radius: 17px 17px 0 0; perspective: 900px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #e6e9ff 0%, #f4f2ff 45%, #fafaff 100%); }
.book { --w: 150px; --d: 12px; position: relative; display: block; width: var(--w); aspect-ratio: 600 / 776; transform-style: preserve-3d;
  transform: rotateY(-30deg) rotateX(3deg); transition: transform .6s var(--ease); }
.book img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 2px 5px 5px 2px; transform: translateZ(calc(var(--d) / 2)); }
.book::before { content: ""; position: absolute; left: 0; top: 3px; width: var(--d); height: calc(100% - 6px);
  transform: translateX(calc(var(--w) - var(--d) / 2 - 2px)) rotateY(90deg);
  background: linear-gradient(90deg, #fbfbfe, #e6e7f0 35%, #f7f7fc 60%, #dcdee9); }   /* dégradé doux : des rayures de 1 px se cassaient en pointillés vues de biais (1er déc.) */
.book::after { content: ""; position: absolute; inset: 0; border-radius: 2px 5px 5px 2px; background: #0b1026;
  transform: translateZ(calc(var(--d) / -2)); box-shadow: -6px 8px 18px -6px rgba(11,16,38,.45); }
.wp-lib li:hover .book, .wp-book:focus-visible .book { transform: rotateY(-14deg) rotateX(2deg) translateY(-6px); }
.wp-lib li { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .book { transition: none; } }
.wp-book::after { content: ""; position: absolute; left: 50%; bottom: 22px; width: 150px; height: 18px; transform: translateX(-46%); border-radius: 50%; background: radial-gradient(closest-side, rgba(11,16,38,.22), transparent); pointer-events: none; }
.wp-book { position: relative; }

/* Chapitres (30 nov., piste A) : numéro, icône, surtitre et un filet qui traverse la section (build.py, chapitres()) */
.chap { display: flex; align-items: center; gap: 12px; grid-column: 1 / -1; margin-bottom: 18px; }
.chap::after { content: ""; flex: 1; height: 1px; min-width: 24px; background: linear-gradient(90deg, #cfd5f6, rgba(207,213,246,0)); }
.chap-n { font-size: .8125rem; font-weight: 650; letter-spacing: .04em; color: var(--subtle); font-variant-numeric: tabular-nums; }
.chap-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: #eef1ff; color: #2440c4; border: 1px solid #d0d8fb; }
.chap-ic svg { width: 18px; height: 18px; }
.chap .eyebrow { margin: 0; }
.section-head > .chap + * { margin-top: 0; }
.chap + .section-head { margin-top: 0; }
.center .chap, .chap:has(+ h2.center) { justify-content: center; }
.center .chap::after { display: none; }
.dark .chap-n, .feature-dark .chap-n, .path-end .chap-n, .cta-band .chap-n, .about-band .chap-n { color: rgba(255,255,255,.55); }
.dark .chap-ic, .feature-dark .chap-ic, .path-end .chap-ic, .cta-band .chap-ic, .about-band .chap-ic { background: rgba(255,176,32,.12); border-color: rgba(255,176,32,.3); color: var(--amber); }
.dark .chap::after, .feature-dark .chap::after, .path-end .chap::after, .cta-band .chap::after, .about-band .chap::after { background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }
@media (max-width: 640px) { .chap { gap: 10px; margin-bottom: 14px; } .chap-ic { width: 30px; height: 30px; } }

/* Commande : le livre choisi, avec sa couverture, son titre et sa description (30 nov.) */
.book { z-index: 0; }
/* Lissage des bords des livres en 3D (1er déc.) : sans bord transparent, Chrome ne lisse pas les arêtes d'une surface inclinée. */
.book img, .book::before, .book::after { outline: 1px solid transparent; backface-visibility: hidden; }
/* La tranche reste un peu derrière la couverture : au même plan, les deux surfaces se disputaient l'affichage (traits hachés). */
.book::before { width: calc(var(--d) - 1.5px); }
.book::before, .book::after { z-index: -1; }   /* si le navigateur aplatit la 3D, la couverture reste devant */
.wp-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 26px; margin: 26px 0 22px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 40px -28px rgba(11,16,38,.35); }
.wp-sel-book { display: grid; place-items: center; flex: 0 0 170px; height: 214px; perspective: 900px; }
.wp-sel .book { --w: 134px; --d: 10px; grid-area: 1 / 1; transform: rotateY(-24deg) rotateX(3deg); transition: transform .55s var(--ease), opacity .35s; }
.wp-sel.is-empty .b1 { transform: translateX(-26px) rotateZ(-7deg) rotateY(-18deg); }
.wp-sel.is-empty .b3 { transform: translateX(26px) rotateZ(7deg) rotateY(-18deg); }
.wp-sel.is-empty .b2 { transform: translateY(-6px) rotateY(-18deg); z-index: 1; }
.wp-sel:not(.is-empty) .b2, .wp-sel:not(.is-empty) .b3 { opacity: 0; transform: translateX(40px) rotateY(-24deg); }
.wp-sel.is-new .wp-sel-book { animation: wp-new .6s var(--ease) both; }
@keyframes wp-new { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.wp-sel-txt { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wp-sel-k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #2440c4; }
.wp-sel-t { font-size: 1.375rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 600; color: var(--ink); }
.wp-sel-d { margin: 0; color: var(--muted); font-size: .9375rem; }
.wp-sel-change { margin-top: 4px; font-size: .875rem; }
.wp-lead { margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { .wp-sel .book { transition: none; } .wp-sel.is-new .wp-sel-book { animation: none; } }

/* ============ Constellations (1er déc.) : chaque personne est une étoile; le lien dessine la forme ============ */
.sky-dots .tw { animation: sky-tw 6s ease-in-out infinite; }
@keyframes sky-tw { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.sky-links line { opacity: .9; }
.sky-far { animation: sky-drift 70s ease-in-out infinite alternate; }
@keyframes sky-drift { to { transform: translate(-14px, 6px); } }

/* Accueil : un ciel très discret, derrière le titre */
.hero-night .hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: .75;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 80%); mask-image: linear-gradient(180deg, #000 0, #000 45%, transparent 80%); }
.hero-sky .sky-links line { opacity: .85; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sky-draw 2.4s var(--ease) 1.2s forwards; }
.hero-sky .sky-stars { opacity: .9; }
@keyframes sky-draw { to { stroke-dashoffset: 0; } }

/* Section équipe */
.constel-sec { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(70% 60% at 85% 0%, rgba(122,92,242,.32), transparent 70%), radial-gradient(55% 55% at 0% 100%, rgba(255,176,32,.10), transparent 70%),
              radial-gradient(60% 70% at 50% 60%, rgba(74,92,240,.18), transparent 70%), #0b1026; }
.constel-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.constel-head { max-width: 760px; }
.constel-head h2 { color: #fff; }
.constel-head .lead { color: rgba(255,255,255,.76); margin-top: 18px; }
.grad-gold { background: linear-gradient(90deg, #c4b2ff 0%, #ffd98a 70%, #ffb020 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.constel-sec .eyebrow { color: var(--amber); }
.constel-sec .chap-n { color: rgba(255,255,255,.55); }
.constel-sec .chap-ic { background: rgba(255,176,32,.12); border-color: rgba(255,176,32,.3); color: var(--amber); }
.constel-sec .chap::after { background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }

.constel { position: relative; aspect-ratio: 1200 / 520; margin-top: 36px; }
.constel-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.constel-lines.sm { display: none; }
.constel-lines .lns line { stroke-width: .9; stroke-linecap: round; opacity: .95; stroke-dasharray: 1; stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s var(--ease) calc(.5s + var(--i) * .16s), opacity .4s, stroke-width .4s; filter: drop-shadow(0 0 2px rgba(255,200,110,.35)); }
.constel-lines .lns line.faint { opacity: .35; stroke-dasharray: .004 .012; }
.constel-lines .spk line { stroke: #fff6dc; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: .05 .95; stroke-dashoffset: 1; opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255,214,140,.95)); }
.constel.is-on .spk line { animation: cs-spark 7s linear calc(2.4s + var(--i) * .9s) infinite; }
@keyframes cs-spark { 0% { stroke-dashoffset: 1; opacity: 0; } 4% { opacity: .9; } 22% { stroke-dashoffset: -.05; opacity: .9; } 24%, 100% { stroke-dashoffset: -.05; opacity: 0; } }
.constel.pre:not(.is-on) .lns line:not(.faint) { stroke-dashoffset: 1; }
.constel.pre:not(.is-on) .lns line.faint { opacity: 0; }
.constel.is-focus .lns line { opacity: .25; }
.constel.is-focus .lns line.lit { opacity: 1; stroke-width: 1.5; }

.cs-m, .cs { position: absolute; left: var(--x); top: var(--y); }
.cs-m { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #ffe6ad; box-shadow: 0 0 8px 2px rgba(255,207,122,.55);
  transition: transform .6s var(--ease) calc(.4s + var(--i) * .12s), opacity .6s calc(.4s + var(--i) * .12s); }
.constel-stars { list-style: none; margin: 0; padding: 0; }
.cs { width: 0; height: 0; outline: none; }
.star { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle, #fff 0 22%, #ffe2a0 40%, rgba(255,176,32,.0) 72%); box-shadow: 0 0 18px 4px rgba(255,190,80,.45);
  transition: transform .6s var(--ease) calc(.2s + var(--i) * .18s), opacity .6s calc(.2s + var(--i) * .18s), box-shadow .4s; }
.star::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,214,140,.4); animation: cs-halo 4.5s ease-out infinite; animation-delay: calc(var(--i) * -1.1s); }
@keyframes cs-halo { 0% { transform: scale(.4); opacity: .9; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.cs-card { position: absolute; left: 0; width: 240px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; text-align: center;
  border-radius: 16px; background: rgba(16,22,52,.62); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .7s var(--ease) calc(.9s + var(--i) * .18s), transform .7s var(--ease) calc(.9s + var(--i) * .18s), border-color .3s, background .3s; }
.cs.down .cs-card { top: 26px; }
.cs.up .cs-card { bottom: 26px; }
.cs-card b { font-size: 1.0625rem; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.cs-card span { font-size: .875rem; line-height: 1.45; color: rgba(255,255,255,.72); }
.cs.lit .star, .cs:focus-visible .star { transform: scale(1.35); box-shadow: 0 0 26px 8px rgba(255,190,80,.6); }
.cs.lit .cs-card, .cs:focus-visible .cs-card { border-color: rgba(255,207,122,.55); background: rgba(24,28,62,.82); }
.cs:focus-visible .cs-card { outline: 2px solid #ffcf7a; outline-offset: 3px; }
.constel.pre:not(.is-on) .star, .constel.pre:not(.is-on) .cs-m { transform: scale(0); opacity: 0; }
.constel.pre:not(.is-on) .cs-card { opacity: 0; transform: translate(-50%, 10px); }

.constel-hint { margin: 10px 0 0; text-align: center; font-size: .8125rem; color: rgba(255,255,255,.45); }
.constel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.constel-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.constel-foot li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .875rem; color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.constel-foot li svg { width: 16px; height: 16px; color: var(--amber); flex-shrink: 0; }
.constel-foot p { margin: 0; max-width: 460px; color: rgba(255,255,255,.7); }

@media (max-width: 900px) {
  .constel { aspect-ratio: 400 / 920; max-width: 440px; margin-inline: auto; }
  .constel-lines.lg { display: none; }
  .constel-lines.sm { display: block; }
  .cs-m, .cs { left: var(--mx); top: var(--my); }
  .cs-card, .cs.up .cs-card, .cs.down .cs-card { top: 0; bottom: auto; left: 30px; width: min(240px, 58vw); transform: translateY(-50%); text-align: left; }
  .constel.pre:not(.is-on) .cs-card { transform: translate(10px, -50%); }
  .constel-hint { display: none; }
}
@media (hover: none) { .constel-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .sky-dots .tw, .sky-far, .star::after, .constel.is-on .spk line, .hero-sky .sky-links line { animation: none; }
  .hero-sky .sky-links line { stroke-dashoffset: 0; }
  .constel *, .constel-lines .lns line { transition: none !important; }
}

/* ============ Cartes de services : un coin de ciel, une constellation par service (1er déc.) ============ */
.svc-card { padding: 0; overflow: hidden; gap: 0; }
.svc-top { position: relative; height: 118px; display: flex; align-items: flex-end; padding: 0 26px 20px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 120% at 100% 0%, rgba(122,92,242,.45), transparent 60%), radial-gradient(80% 90% at 0% 100%, rgba(74,92,240,.35), transparent 70%), #0b1026; }
.svc-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.svc-sky .sky-links { opacity: .6; transition: opacity .4s; }
.svc-sky .sky-dots { transition: opacity .4s; opacity: .8; }
.svc-card .svc-top .ic { width: 54px; height: 54px; margin: 0; border-radius: 16px; color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 12px 26px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2); transition: transform .35s var(--ease); }
.svc-card .svc-top .ic svg { width: 26px; height: 26px; }
.svc-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 28px 28px; }
.svc-card:hover .svc-sky .sky-links { opacity: 1; }
.svc-card:hover .svc-sky .sky-dots { opacity: 1; }
.svc-card:hover .svc-top .ic { transform: translateY(-3px); }
.svc-cards.two .svc-card { padding: 0; }
.svc-cards.two .svc-body { padding: 30px 34px 34px; }
@media (max-width: 640px) { .svc-top { height: 100px; padding: 0 22px 16px; } .svc-body { padding: 20px 22px 24px; } }

/* Constellation : positions et rythmes en classes (la politique de sécurité refuse les styles en ligne) */
.p-a { --x: 13.33%; --y: 71.54%; --mx: 9.00%; --my: 7.61%; }
.p-b { --x: 35.00%; --y: 28.85%; --mx: 21.00%; --my: 32.61%; }
.p-c { --x: 63.33%; --y: 62.69%; --mx: 9.00%; --my: 57.61%; }
.p-d { --x: 87.50%; --y: 33.85%; --mx: 21.00%; --my: 82.61%; }
.p-m1 { --x: 21.83%; --y: 44.62%; --mx: 19.00%; --my: 19.57%; }
.p-m2 { --x: 48.75%; --y: 41.15%; --mx: 13.50%; --my: 45.43%; }
.p-m3 { --x: 75.42%; --y: 86.92%; --mx: 19.00%; --my: 69.57%; }
.p-m4 { --x: 95.83%; --y: 12.69%; --mx: 12.50%; --my: 95.65%; }
.p-m5 { --x: 3.33%; --y: 57.69%; --mx: 5.00%; --my: 1.96%; }
.p-m6 { --x: 46.67%; --y: 80.77%; --mx: 30.00%; --my: 51.09%; }
.constel .i0 { --i: 0; }
.constel .i1 { --i: 1; }
.constel .i2 { --i: 2; }
.constel .i3 { --i: 3; }
.constel .i4 { --i: 4; }
.constel .i5 { --i: 5; }
.constel .i6 { --i: 6; }
.constel .i7 { --i: 7; }
.constel .i8 { --i: 8; }
.constel .i9 { --i: 9; }
.constel .i10 { --i: 10; }
.sky-dots .tw0 { animation-delay: -0s; animation-duration: 5s; }
.sky-dots .tw1 { animation-delay: -1.3s; animation-duration: 6.5s; }
.sky-dots .tw2 { animation-delay: -2.6s; animation-duration: 4.4s; }
.sky-dots .tw3 { animation-delay: -3.9s; animation-duration: 7.8s; }
.sky-dots .tw4 { animation-delay: -5.2s; animation-duration: 5.6s; }
.sky-dots .tw5 { animation-delay: -6.1s; animation-duration: 8.6s; }

/* Notre approche : l'humain au cœur ressort à chaque étape (1er déc.) */
.fil-humain { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,241,214,.0), #fff1d6 18%, #fff1d6 82%, rgba(255,241,214,0)); }
.fil-humain p { margin: 0; color: var(--ink-2); font-size: 1rem; text-align: center; }
.fil-humain b { color: var(--amber-text); font-weight: 650; }
.fil-ic, .hn-ic { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: #ffcf7a;
  box-shadow: 0 6px 16px -6px rgba(11,16,38,.5), inset 0 1px 0 rgba(255,255,255,.12); }
.fil-ic svg, .hn-ic svg { width: 20px; height: 20px; }
.human-note { position: relative; display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 18px 20px 18px 18px; border-radius: 16px;
  background: linear-gradient(135deg, #fff8ea, #fff1d6); border: 1px solid #f6dca6; overflow: hidden; }
.human-note::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,176,32,.22), rgba(255,176,32,0) 70%); pointer-events: none; }
.human-note b { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-text); margin: 2px 0 6px; }
.human-note p { margin: 0; color: var(--ink-2); font-size: .9688rem; line-height: 1.5; }
.surface .human-note { background: linear-gradient(135deg, #fffaf0, #fff1d6); }
@media (max-width: 640px) { .fil-humain { border-radius: 16px; align-items: flex-start; background: #fff1d6; } .fil-humain p { text-align: left; } }

/* Accueil, v3 : constellations en trame de fond, sans liens, qui respirent chacune à leur rythme */
.hero-night .hero-sky { opacity: .85; }
.sky-ghosts .ghost { animation: ghost 14s ease-in-out infinite; }
.sky-ghosts .g1 { animation-delay: -3s; animation-duration: 17s; }
.sky-ghosts .g2 { animation-delay: -7s; animation-duration: 15s; }
.sky-ghosts .g3 { animation-delay: -10s; animation-duration: 19s; }
.sky-ghosts .g4 { animation-delay: -5s; animation-duration: 13s; }
.sky-ghosts .g5 { animation-delay: -12s; animation-duration: 16s; }
@keyframes ghost { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sky-ghosts .ghost { animation: none; opacity: .8; } }

/* Accueil : une lueur très douce suit la souris dans le ciel; les couches d'étoiles bougent en profondeur (app.js) */
.sky-glow { position: absolute; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(255,214,140,.09) 0%, rgba(139,108,242,.07) 38%, rgba(139,108,242,0) 70%);
  opacity: 0; transition: opacity .8s ease, translate .5s cubic-bezier(.2,.7,.2,1); }
.sky-glow.on { opacity: 1; }
.hero-sky .sky-far, .hero-sky .sky-dots, .hero-sky .sky-ghosts { will-change: translate; }
.hero-sky .sky-far, .hero-sky .sky-dots, .hero-sky .sky-ghosts { transform-box: view-box; transform-origin: 50% 40%; }

/* ============ Accueil : le parcours en constellation (1er déc.) ============
   Un panneau de ciel posé sur le blanc. Trois étoiles qui montent : commencer, livrer, faire durer.
   Les liens sont tracés par app.js, d'après la position réelle des étoiles et des cartes. */
.parcours { --g: 22px; position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; padding: 0 clamp(20px, 3vw, 40px) 30px; color: #fff;
  background: radial-gradient(70% 70% at 90% 0%, rgba(122,92,242,.34), transparent 70%), radial-gradient(55% 60% at 0% 100%, rgba(255,176,32,.09), transparent 70%),
              radial-gradient(60% 60% at 45% 55%, rgba(74,92,240,.16), transparent 70%), #0b1026;
  box-shadow: 0 40px 80px -50px rgba(11,16,38,.75); }
.pc-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.pc-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: visible; }
.pc-lines line { stroke-linecap: round; }
.pc-lines .pl { stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease), opacity .4s, stroke-width .4s;
  transition-delay: calc(.3s + var(--i, 0) * .22s), 0s, 0s; }
.pc-lines .pf { stroke-width: .8; stroke-dasharray: .012 .018; opacity: .7; transition: opacity .8s ease calc(1.6s + var(--i, 0) * .25s), stroke-width .4s; }
.pc-lines .pk { stroke: #fff6dc; stroke-width: 1.6; stroke-dasharray: .07 .93; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 4px rgba(255,214,140,.95)); }
.parcours.is-on .pc-lines .pk { animation: pc-spark 9s linear infinite; animation-delay: calc(2.6s + var(--i, 0) * 1.08s); }
@keyframes pc-spark { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: .95; } 11% { stroke-dashoffset: -.07; opacity: .95; } 12%, 100% { stroke-dashoffset: -.07; opacity: 0; } }
.parcours.pre:not(.is-on) .pl { stroke-dashoffset: 1; }
.parcours.pre:not(.is-on) .pf { opacity: 0; }
.parcours.is-focus .pl, .parcours.is-focus .pf { opacity: .35; }
.parcours.is-focus .lit { opacity: 1; stroke-width: 1.6; }

.pc-band { position: relative; height: 180px; }
.pc-star, .pc-m { position: absolute; }
.pc-star { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 22%, #ffe2a0 40%, rgba(255,176,32,0) 72%); box-shadow: 0 0 18px 4px rgba(255,190,80,.42);
  transition: transform .6s var(--ease), opacity .6s, box-shadow .4s; }
.pc-star::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,214,140,.4); animation: cs-halo 4.5s ease-out infinite; }
.ps2::after { animation-delay: -1.5s; } .ps3::after { animation-delay: -3s; }
.pc-m { width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #ffe6ad; box-shadow: 0 0 8px 2px rgba(255,207,122,.5); transition: transform .6s var(--ease), opacity .6s; }
.ps1 { left: calc((100% - 2 * var(--g)) / 6); top: 76%; }
.ps2 { left: 50%; top: 50%; }
.ps3 { left: calc(100% - (100% - 2 * var(--g)) / 6); top: 24%; }
.pm0 { left: 1.5%; top: 92%; } .pm1 { left: 26%; top: 54%; } .pm2 { left: 37%; top: 70%; }
.pm3 { left: 63%; top: 30%; } .pm4 { left: 74%; top: 46%; } .pm5 { left: 98%; top: 7%; }
.ps1, .pm0, .pm1 { transition-delay: .2s; } .pm2, .ps2, .pm3 { transition-delay: .7s; } .pm4, .ps3, .pm5 { transition-delay: 1.2s; }
.parcours.pre:not(.is-on) .pc-star, .parcours.pre:not(.is-on) .pc-m { transform: scale(0); opacity: 0; }
.pc-star.lit { transform: scale(1.35); box-shadow: 0 0 26px 8px rgba(255,190,80,.6); }

.pc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--g); }
.pc-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 24px; border-radius: 18px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.11); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .3s, background .3s, transform .3s var(--ease), opacity .7s var(--ease); }
.pc-step:hover, .pc-step:focus-within { border-color: rgba(255,207,122,.5); background: rgba(255,255,255,.07); transform: translateY(-3px); }
.parcours.pre:not(.is-on) .pc-step { opacity: 0; transform: translateY(14px); }
.parcours .pc-step.s1 { transition-delay: 0s, 0s, 0s, .5s; } .parcours .pc-step.s2 { transition-delay: 0s, 0s, 0s, 1s; } .parcours .pc-step.s3 { transition-delay: 0s, 0s, 0s, 1.5s; }
.parcours.is-on .pc-step { transition-delay: 0s; }
.parcours .steps-n { font-size: 2.4rem; background: linear-gradient(90deg, #c4b2ff, #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.parcours .steps-label { color: var(--amber); }
.parcours h3 { color: #fff; font-size: 1.3rem; }
.parcours .pc-step p { color: rgba(255,255,255,.72); margin: 0; }
.parcours .link { color: #ffcf7a; margin-top: auto; padding-top: 8px; align-self: flex-start; }
.pc-fil { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.pc-fil p { margin: 0; color: rgba(255,255,255,.8); text-align: center; }
.pc-fil b { color: #ffcf7a; font-weight: 600; }
.pc-fil .fil-ic { background: rgba(255,176,32,.12); border: 1px solid rgba(255,176,32,.3); color: var(--amber); box-shadow: none; }

@media (max-width: 860px) {
  .parcours { padding-top: 28px; }
  .pc-band, .pc-lines { display: none; }
  .pc-steps { grid-template-columns: 1fr; padding-left: 30px; position: relative; }
  .pc-steps::before { content: ""; position: absolute; left: 9px; top: 20px; bottom: 20px; width: 1px;
    background: linear-gradient(180deg, rgba(255,217,138,0), rgba(255,217,138,.7) 15%, rgba(255,217,138,.7) 85%, rgba(255,217,138,0)); }
  .pc-step::before { content: ""; position: absolute; left: -30px; top: 34px; width: 18px; height: 18px; border-radius: 50%;
    background: radial-gradient(circle, #fff 0 22%, #ffe2a0 40%, rgba(255,176,32,0) 72%); box-shadow: 0 0 14px 3px rgba(255,190,80,.42); }
  .pc-fil { justify-content: flex-start; } .pc-fil p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-lines line, .pc-star, .pc-m, .pc-step { transition: none !important; }
  .parcours.is-on .pc-lines .pk, .pc-star::after { animation: none; }
}

/* Cartes de services : un bandeau plus bas, et de l'air avant l'encadré MosFlow (1er déc.) */
.svc-top { height: 84px; align-items: center; padding: 0 24px; }
.svc-card .svc-top .ic { width: 44px; height: 44px; border-radius: 13px; }
.svc-card .svc-top .ic svg { width: 22px; height: 22px; }
.svc-body { padding-top: 22px; }
.svc-cards + .feature-dark { margin-top: clamp(36px, 5vw, 56px); }
@media (max-width: 640px) { .svc-top { height: 72px; padding: 0 20px; } }
.svc-cards.two .svc-body { padding-top: 24px; }

/* Livres blancs : chaque livre flotte dans un coin de ciel étoilé (1er déc.) */
.wp-book { isolation: isolate;
  background: radial-gradient(70% 70% at 50% 45%, rgba(122,92,242,.38), transparent 70%), radial-gradient(60% 40% at 50% 100%, rgba(255,176,32,.12), transparent 70%), #0b1026; }
.wp-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; transition: opacity .5s; opacity: .85; }
.wp-book::after { background: radial-gradient(closest-side, rgba(255,200,120,.32), rgba(139,108,242,.12) 60%, transparent); bottom: 18px; height: 22px; width: 170px; }
.wp-lib li:hover .wp-sky { opacity: 1; }
.wp-lib li:hover .wp-book::after { background: radial-gradient(closest-side, rgba(255,200,120,.45), rgba(139,108,242,.16) 60%, transparent); }
/* Un bouton sous un paragraphe, dans une section en deux colonnes : de l’air au-dessus (1er déc.) */
.grid-2 .lead + .actions { margin-top: 28px; }

/* Livres blancs, retour au fond pâle (1er déc.) : un dégradé clair et un ciel inversé, des points d'encre et de lilas très discrets */
.wp-book { background: radial-gradient(120% 90% at 50% 100%, #e3e6ff 0%, #f1efff 45%, #fafaff 100%); }
.wp-sky { opacity: .9; }
.wp-sky .sky-far circle { fill: #6a5cd8; }
.wp-sky .sky-dots circle:not([fill^="url"]) { fill: #4a4fc4; }
.wp-sky .sky-dots circle[fill="#ffd98a"], .wp-sky .sky-dots circle[fill="#ffe6ad"] { fill: #c98a1a; }
.wp-sky circle[fill^="url"] { display: none; }
.wp-sky ellipse { opacity: .7; }
.wp-book::after { background: radial-gradient(closest-side, rgba(11,16,38,.24), transparent); bottom: 20px; height: 18px; width: 150px; }
.wp-lib li:hover .wp-sky { opacity: 1; }
.wp-lib li:hover .wp-book::after { background: radial-gradient(closest-side, rgba(11,16,38,.18), transparent); }

/* Nous joindre : la carte du quartier, dessinée dans le style du site (1er déc.).
   Un clic charge la carte Google sur place ; le petit bouton la met en plein écran. */
.map { background: #eef0fa; isolation: isolate; }
.map-load { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; display: block; }
.map-load:focus-visible { outline: 3px solid var(--blue, #2e4fe0); outline-offset: -3px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: 50% 50%; transition: transform 1.2s var(--ease); }
.map-load:hover .map-art, .map-load:focus-visible .map-art { transform: scale(1.04); }
.map-art .mq-bat { fill: #dfe3f6; }
.map-art .mq-parc { fill: #d8efe6; }
.map-art .mq-eau { fill: #d6defa; stroke: #c3cdf6; stroke-width: 6; }
.map-art .mq-voie { fill: none; stroke: #c9cde3; stroke-width: 2; stroke-dasharray: 8 6; }
.map-art .mq-rues path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map-art .mq-min { stroke: #fff; stroke-width: 6; }
.map-art .mq-moy { stroke: #fff; stroke-width: 10; }
.map-art .mq-maj-b { stroke: #fff; stroke-width: 18; }
.map-art .mq-maj { stroke: url(#mq-sig); stroke-width: 8; stroke-opacity: .55; }
.map-art .mq-noms text { font-size: 23px; font-weight: 600; letter-spacing: .02em; fill: #5a6188; paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; dominant-baseline: middle; }
.map-art .mq-osm { font-size: 16px; fill: #8a90b0; }
.map .map-pin { position: absolute; left: 50%; top: 50%; translate: -50% -100%; width: 56px; height: 56px; border-radius: 50% 50% 50% 6px; rotate: -45deg; }
.map .map-pin svg { rotate: 45deg; width: 26px; height: 26px; }
.map-addr { position: absolute; left: 18px; bottom: 18px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line);
  box-shadow: 0 6px 18px -8px rgba(11,16,38,.25); font-size: .875rem; font-weight: 600; color: var(--ink); backdrop-filter: blur(6px); }
.map-full { position: absolute; right: 14px; top: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.94); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(11,16,38,.3); transition: background .2s, color .2s, transform .2s var(--ease); }
.map-full:hover, .map-full:focus-visible { background: var(--ink); color: #ffcf7a; transform: scale(1.05); }
.map-full svg { width: 18px; height: 18px; }
.map.is-loaded { background: #e9ecf8; }
.map:fullscreen { border-radius: 0; border: 0; }
@media (prefers-reduced-motion: reduce) { .map-art { transition: none; } .map-load:hover .map-art { transform: none; } }

/* Accueil, fin de page : l'appel aux livres blancs montre les couvertures en éventail (1er déc.) */
.final-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; gap: 0; max-width: 940px; margin: 64px auto 0; padding: 0;
  overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -34px rgba(36,64,196,.45); text-align: left; }
.final-read:hover { transform: translateY(-3px); border-color: #c9d2fb; box-shadow: 0 36px 70px -32px rgba(36,64,196,.55); }
.fr-stage { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 320px; overflow: hidden; perspective: 1000px;
  background: radial-gradient(120% 90% at 50% 100%, #e3e6ff 0%, #f1efff 45%, #fafaff 100%); }
.fr-stage::after { content: ""; position: absolute; left: 50%; bottom: 38px; width: 260px; height: 22px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11,16,38,.22), transparent); z-index: -1; }
.fr-fan { position: relative; width: 150px; aspect-ratio: 600 / 776; translate: 0 6px; }
.fan-i { position: absolute; inset: 0; transform-origin: 50% 120%; transition: transform .7s var(--ease); }
.fan-i .book { --w: 150px; }
.fan-i.f0 { transform: translateX(-74px) rotate(-11deg) scale(.92); }
.fan-i.f2 { transform: translateX(74px) rotate(11deg) scale(.92); }
.fan-i.f1 { z-index: 2; transform: translateY(-6px); }
.fan-i.f0 .book { transform: rotateY(-18deg); } .fan-i.f2 .book { transform: rotateY(-26deg); } .fan-i.f1 .book { transform: rotateY(-22deg) rotateX(2deg); }
.final-read:hover .fan-i.f0, .final-read:focus-visible .fan-i.f0 { transform: translateX(-104px) rotate(-15deg) scale(.92); }
.final-read:hover .fan-i.f2, .final-read:focus-visible .fan-i.f2 { transform: translateX(104px) rotate(15deg) scale(.92); }
.final-read:hover .fan-i.f1, .final-read:focus-visible .fan-i.f1 { transform: translateY(-16px); }
.final-read:hover .fan-i .book { transform: rotateY(-10deg); }
.final-read .final-read-txt { justify-content: center; gap: 8px; padding: 40px 44px; }
.final-read .final-read-k { color: var(--amber-text); }
.final-read .final-read-txt b { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.final-read .final-read-txt > span:not(.final-read-k):not(.fr-cta) { font-size: 1rem; color: var(--ink-2); line-height: 1.5; }
.final-read .fr-cta { align-self: flex-start; margin-top: 14px; pointer-events: none; }
@media (max-width: 760px) {
  .final-read { grid-template-columns: 1fr; border-radius: 22px; }
  .fr-stage { min-height: 260px; }
  .fan-i .book, .fr-fan { --w: 128px; width: 128px; }
  .fan-i.f0 { transform: translateX(-62px) rotate(-11deg) scale(.92); } .fan-i.f2 { transform: translateX(62px) rotate(11deg) scale(.92); }
  .final-read .final-read-txt { padding: 28px 24px 30px; }
}
@media (prefers-reduced-motion: reduce) { .fan-i { transition: none; } }
.final-read .final-read-txt > .fr-cta { color: #fff; font-size: 1rem; line-height: 1.2; }
.final-read:hover .fr-cta { background: var(--ink-2, #1c2340); }

/* Appels à l'action du haut de page (1er déc.) : une seule rangée, trois niveaux.
   Bouton plein (l'action), bouton contour (l'autre chemin), bouton texte (pour en savoir plus). */
.btn-secondary { border-color: rgba(11,16,38,.16); }
.btn-text { min-height: 52px; padding: 14px 8px; border: 0; background: none; box-shadow: none; color: var(--link); }
.btn-text:hover { color: var(--ink); background: none; }
.btn-text svg { width: 16px; height: 16px; }
.actions .btn-secondary + .btn-text, .actions .btn-primary + .btn-text { margin-left: 6px; }
.dark .btn-text, .btn-on-dark.btn-text { color: #ffcf7a; }
.dark .btn-text:hover { color: #fff; }
@media (max-width: 560px) {
  .hero .actions, .page-hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn-text, .page-hero .actions .btn-text { align-self: flex-start; margin-left: 0; padding-left: 4px; }
}

/* Cartes en rangée (.lined), refaites le 1er déc. : plus de filets gris entre elles.
   Des cartes séparées, en relief doux, avec un trait de la signature en haut qui s'allonge au survol,
   et un grand numéro en filigrane quand la carte n'a ni étape ni icône. */
.lined { gap: 18px; background: none; border: 0; border-radius: 0; overflow: visible; counter-reset: lc; }
.lined > .card { counter-increment: lc; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(28px, 2.6vw, 34px) clamp(24px, 2.2vw, 30px) clamp(28px, 2.6vw, 32px);
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #fbfaff 100%);
  border: 1px solid rgba(11, 16, 38, .07); border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(11, 16, 38, .04), 0 22px 44px -30px rgba(36, 64, 196, .32);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); }
.lined > .card::before { content: ""; position: absolute; left: clamp(24px, 2.2vw, 30px); top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #8b6cf2, #2e4fe0); transition: width .6s var(--ease); }
.lined > .card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(139, 108, 242, .10), rgba(139, 108, 242, 0)); transition: transform .8s var(--ease), opacity .6s; opacity: .8; }
.lined > .card:not(:has(.ic, .num))::after { content: counter(lc, decimal-leading-zero) / ""; display: grid; place-items: start end; padding: 0; width: auto; height: auto;
  right: 22px; top: 16px; border-radius: 0; background: none; opacity: 1;
  font-size: 3.25rem; font-weight: 300; letter-spacing: -.04em; line-height: 1; font-feature-settings: 'tnum';
  background-image: linear-gradient(160deg, rgba(139, 108, 242, .22), rgba(46, 79, 224, .08)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lined > .card:hover { transform: translateY(-4px); border-color: rgba(46, 79, 224, .16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 4px rgba(11, 16, 38, .04), 0 30px 54px -30px rgba(36, 64, 196, .45); }
.lined > .card:hover::before { width: calc(100% - 2 * clamp(24px, 2.2vw, 30px)); }
.lined > .card:hover::after { transform: scale(1.15); opacity: 1; }
.lined > .card:not(:has(.ic, .num)):hover::after { transform: translateY(-2px); }
.lined > a.card:hover { background: linear-gradient(180deg, #fff 0%, #fff 55%, #fbfaff 100%); }
.lined > .card h3 { margin: 0; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.012em; }
.lined > .card:not(:has(.ic, .num)) h3 { margin-top: 30px; padding-right: 54px; }
.lined > .card p { margin: 0; color: var(--ink-2); line-height: 1.55; }
.lined > .card .ic { margin-bottom: 8px; }
.lined > .card .num { align-self: flex-start; margin-bottom: 6px; padding: 5px 11px; border-radius: 999px; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  background: #eef1ff; color: var(--link); box-shadow: inset 0 0 0 1px rgba(46, 79, 224, .14); }
.lined > .card .num + h3 { margin-top: 0; }
.dark .lined { background: none; border: 0; }
.dark .lined > .card { background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border-color: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 48px -32px rgba(0, 0, 0, .6); }
.dark .lined > .card p { color: #c4c8e0; }
.dark .lined > .card .num { background: rgba(255, 176, 32, .12); color: #ffcf7a; box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .25); }
@media (prefers-reduced-motion: reduce) { .lined > .card, .lined > .card::before, .lined > .card::after { transition: none; } .lined > .card:hover { transform: none; } }
/* Le numéro en filigrane prend la place de l'icône, en haut à gauche, pour laisser toute la largeur au titre */
.lined > .card:not(:has(.ic, .num))::after { position: static; order: -1; display: block; z-index: 0; margin: 0 0 6px; font-size: 2.75rem;
  background-image: linear-gradient(150deg, rgba(139, 108, 242, .55), rgba(46, 79, 224, .22)); }
.lined > .card:not(:has(.ic, .num)) h3 { margin-top: 0; padding-right: 0; }
