/* =========================================================================
   CloudCenter · design system (piste C « Signal »)
   Tokens → base → layout → components → pages → utilities
   ========================================================================= */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* couleur */
  --bg: #ffffff;
  --surface: #f3f6f4;
  --surface-2: #e8eee9;
  --ink: #0e1a14;
  --ink-2: #2a3a31;
  --sub: #4f5d55;
  --line: #dde5df;
  --green: #1d7a43;
  --green-ink: #145c31;
  --lime: #c9f26b;
  --amber: #fcd777;
  --night: #0e1a14;
  --night-2: #16271d;
  --night-line: #26392e;
  --night-sub: #9db3a6;
  --night-fg: #e8f1eb;

  /* type */
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --t-hero: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem);
  --t-h1: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);
  --t-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem);
  --t-h3: 1.2rem;
  --t-lead: clamp(1.1rem, 1rem + .35vw, 1.3rem);

  /* espace et forme */
  --wrap: 1200px;
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --pill: 999px;
  --shadow: 0 1px 2px rgb(14 26 20 / .05), 0 10px 30px rgb(14 26 20 / .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;

  /* familles de services */
  --ops: #1d7a43; --ops-tint: #e7f3ec; --ops-glow: #c9f26b;
  --sec: #c42b37; --sec-tint: #fcebec; --sec-glow: #ff8a8f;
  --evo: #2558d9; --evo-tint: #eaf0fc; --evo-glow: #8fb0ff;
}

/* La famille fixe la teinte d'accent locale --f / --f-tint */
[data-fam] { --f: var(--green); --f-tint: var(--surface); }
[data-fam="ops"] { --f: var(--ops); --f-tint: var(--ops-tint); --f-glow: var(--ops-glow); }
[data-fam="sec"] { --f: var(--sec); --f-tint: var(--sec-tint); --f-glow: var(--sec-glow); }
[data-fam="evo"] { --f: var(--evo); --f-tint: var(--evo-tint); --f-glow: var(--evo-glow); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p a, li a, dd a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
p a:hover, li a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
h3 { font-size: var(--t-h3); letter-spacing: -.015em; font-weight: 600; line-height: 1.3; }
p, li { text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section:not(.tint):not(.night) + .section:not(.tint):not(.night) { padding-top: 0; }
.tint { background: var(--surface); }
.night { background: var(--night); color: var(--night-fg); }
.night .eyebrow { color: var(--lime); }
.night .sub, .night .lead { color: var(--night-sub); }

.eyebrow { font: 500 .8125rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lead { font-size: var(--t-lead); color: var(--sub); line-height: 1.5; max-width: 60ch; }
.sub { color: var(--sub); }
.head { max-width: 760px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.head h2 { font-size: var(--t-h2); }
.head .lead { margin-top: 1.1rem; }

/* ---------- boutons ---------- */
.btn { --b: var(--ink); --f: #fff; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: var(--pill); background: var(--b); color: var(--f); font: 600 1rem/1.2 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgb(14 26 20 / .18); }
.btn:active { transform: translateY(1px) scale(.98); box-shadow: none; }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { --b: transparent; --f: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { --b: var(--ink); --f: #fff; }
.btn.lime { --b: var(--lime); --f: var(--ink); }
.night .btn.ghost { --f: var(--night-fg); box-shadow: inset 0 0 0 1.5px var(--night-line); }
.night .btn.ghost:hover { --b: var(--night-fg); --f: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--green-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); padding-bottom: 2px; }
.link:hover { background-size: 100% 1.5px; }
.link svg { width: 16px; height: 16px; }

/* ---------- en-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand { gap: .6rem; min-height: 44px; }
.brand svg { height: 26px; width: auto; }
.brand .word { font-weight: 700; font-size: 1.32rem; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.site-footer .brand .word { color: var(--night-fg); }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; }
.nav a.top, .nav button.top { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .5rem .8rem; border-radius: var(--pill); font: 500 .975rem/1 var(--font); color: var(--ink-2); text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color .15s; }
.nav a.top:hover, .nav button.top:hover, .nav button.top[aria-expanded="true"] { background: var(--surface); }
.nav a.top[aria-current="page"], .nav a.top.active, .nav button.top.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }
.nav button.top svg { width: 14px; height: 14px; transition: transform .2s; }
.nav button.top[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .btn { margin-left: .75rem; min-height: 44px; padding: .65rem 1.1rem; font-size: .95rem; }
.has-menu { position: relative; }
.mega { position: absolute; left: 50%; top: calc(100% + 10px); translate: -50% 0; width: min(760px, 92vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px rgb(14 26 20 / .14); padding: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
.has-menu.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: grid; grid-template-columns: 40px 1fr; gap: .2rem .85rem; align-items: start; padding: .8rem; border-radius: var(--r); text-decoration: none; transition: background-color .15s; }
.mega a:hover { background: var(--surface); }
.mega .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); display: grid; place-items: center; color: var(--green); transition: background-color .15s; }
.mega a:hover .ico { background: var(--lime); color: var(--ink); }
.mega .ico svg { width: 22px; height: 22px; }
.mega strong { font-size: .975rem; line-height: 1.3; }
.mega span:last-child { font-size: .875rem; color: var(--sub); line-height: 1.35; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--pill); border: 0; background: var(--surface); cursor: pointer; place-items: center; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: background-color .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero (accueil) ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 5vw, 7.5rem); min-height: min(calc(100svh - var(--header-h)), 860px); display: grid; align-items: center; }
.hero > .wrap:first-of-type { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
.hero h1 { font-size: var(--t-hero); letter-spacing: -.045em; line-height: 1.02; }
.hero h1 mark { background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% .38em no-repeat; color: inherit; padding: 0 .04em; }
.hero .lead { margin-top: 1.6rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.4rem; padding: 0; list-style: none; font: 500 .875rem/1.3 var(--mono); color: var(--sub); }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* panneau d'état (fragment d'interface) */
.status { background: var(--night); color: var(--night-fg); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: 0 30px 80px rgb(14 26 20 / .25); font-size: .95rem; position: relative; }
.status::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgb(201 242 107 / .5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.status-top { display: flex; justify-content: space-between; align-items: center; font: 500 .8rem/1 var(--mono); color: var(--night-sub); padding: .2rem .2rem 1.1rem; border-bottom: 1px solid var(--night-line); }
.status-top .live { display: inline-flex; align-items: center; gap: .5rem; color: var(--lime); }
.status-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgb(201 242 107 / .6); animation: ping 2.6s infinite; }
.status ul { list-style: none; padding: 0; }
.status li { display: grid; grid-template-columns: 34px 1fr auto; gap: .9rem; align-items: center; padding: .95rem .2rem; border-bottom: 1px solid var(--night-line); }
.status li:last-child { border-bottom: 0; padding-bottom: .4rem; }
.status .svc { width: 34px; height: 34px; border-radius: 9px; background: var(--night-2); display: grid; place-items: center; color: var(--night-sub); }
.status .svc svg { width: 18px; height: 18px; }
.status small { display: block; color: var(--night-sub); font-size: .82rem; margin-top: .1rem; }
.state { font: 500 .75rem/1 var(--mono); padding: .4rem .6rem; border-radius: var(--pill); background: #24452f; color: var(--lime); white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.state.warn { background: #4a3a12; color: var(--amber); }
.status-foot { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding: .9rem 1rem; background: var(--night-2); border-radius: var(--r); font: 500 .8rem/1.3 var(--mono); color: var(--night-sub); }
.status-foot b { color: var(--night-fg); font-weight: 500; }
.status-foot > span { display: block; flex: 1; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--night-line); margin-top: .5rem; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v, 70%); background: var(--lime); border-radius: inherit; transform-origin: left; animation: grow 1.6s var(--ease) both .6s; }

/* ---------- risques ---------- */
.risks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.risk { background: #fff; padding: 2rem 1.6rem 2.2rem; display: flex; flex-direction: column; gap: .9rem; }
.risk .num { font: 500 .8rem/1 var(--mono); color: var(--green); }
.risk h3 { font-size: 1.35rem; }
.risk p { color: var(--sub); font-size: 1rem; }

/* ---------- cartes offres ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.6rem 1.5rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.tint .card { border-color: transparent; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); color: var(--green); display: grid; place-items: center; margin-bottom: .6rem; transition: background-color .2s, color .2s; }
.tint .card .ico { background: var(--surface); }
.card:hover .ico { background: var(--lime); color: var(--ink); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--sub); font-size: .975rem; flex: 1; }
.card .more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-weight: 600; font-size: .95rem; color: var(--green-ink); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card:hover .more svg { transform: translateX(3px); }

/* ---------- méthode (frise) ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 21px; left: 22px; height: 2px; width: calc(100% - 44px); background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 1.6s var(--ease); }
.steps.in::after { --p: 1; }
.steps li { counter-increment: s; position: relative; padding-right: 1.2rem; }
.steps li::before { content: counter(s, decimal-leading-zero); position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--green); font: 600 .85rem/1 var(--mono); color: var(--green); margin-bottom: 1.2rem; transition: background-color .3s, color .3s; }
.steps.in li::before { background: var(--green); color: #fff; }
.steps li:nth-child(2)::before { transition-delay: .25s; } .steps li:nth-child(3)::before { transition-delay: .5s; } .steps li:nth-child(4)::before { transition-delay: .75s; } .steps li:nth-child(5)::before { transition-delay: 1s; } .steps li:nth-child(6)::before { transition-delay: 1.25s; }
.steps h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.steps p { color: var(--sub); font-size: .95rem; }
.tint .steps li::before { background: var(--surface); }

/* ---------- expertises (schéma) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.duo-list { list-style: none; padding: 0; display: grid; gap: 1.6rem; margin-top: 2rem; }
.duo-list li { display: grid; grid-template-columns: 12px 1fr; gap: 1rem; }
.duo-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; margin-top: .45rem; background: var(--k, var(--green)); }
.duo-list strong { display: block; font-size: 1.1rem; margin-bottom: .2rem; }
.duo-list p { color: var(--sub); }
.night .duo-list p { color: var(--night-sub); }
.diagram { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: clamp(1rem, .5rem + 2vw, 2rem); }
.diagram svg { width: 100%; height: auto; }
.diagram text { font-family: var(--font); }
.flow { stroke-dasharray: 4 8; animation: dash 1.6s linear infinite; }

/* ---------- bandeau NIS2 ---------- */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fact { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: 1.5rem; }
.fact b { display: block; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.8rem); letter-spacing: -.04em; line-height: 1; color: var(--lime); margin-bottom: .6rem; }
.fact span { color: var(--night-sub); font-size: .95rem; }
.tint .fact, .section:not(.night) .fact { background: #fff; border-color: var(--line); }
.section:not(.night) .fact b { color: var(--green); }
.section:not(.night) .fact span { color: var(--sub); }

/* ---------- engagements ---------- */
.commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.commit div { padding: 1.8rem; border-radius: var(--r-lg); background: var(--surface); }
.commit h3 { margin: 1rem 0 .5rem; }
.commit p { color: var(--sub); }
.commit .ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--green); display: grid; place-items: center; }
.commit .ico svg { width: 22px; height: 22px; }

/* ---------- appel final ---------- */
.cta { background: var(--night); color: var(--night-fg); border-radius: calc(var(--r-lg) + 6px); padding: clamp(2.5rem, 1.5rem + 4vw, 5rem); display: grid; grid-template-columns: 1.3fr auto; gap: 2rem 3rem; align-items: end; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgb(201 242 107 / .16), transparent); pointer-events: none; }
.cta h2 { font-size: var(--t-h2); }
.cta p { color: var(--night-sub); margin-top: 1rem; max-width: 52ch; font-size: var(--t-lead); }
.cta .actions { margin-top: 0; position: relative; z-index: 1; }
.cta .mail { display: block; margin-top: 1.2rem; font: 500 .95rem/1 var(--mono); color: var(--night-sub); }
.cta .mail a { color: var(--night-fg); display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- pages intérieures ---------- */
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), #fff 85%); }
.page-hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: end; }
.page-hero h1 { font-size: var(--t-h1); max-width: 20ch; }
.page-hero .lead { margin-top: 1.3rem; }
.page-hero .side { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.page-hero .side .chips { margin-bottom: .5rem; }
.crumbs { margin-bottom: 1.8rem; font: 500 .82rem/1.3 var(--mono); color: var(--sub); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { text-decoration: none; color: var(--sub); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.chips li { font: 500 .8rem/1 var(--mono); padding: .5rem .7rem; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

.block { display: grid; grid-template-columns: 4fr 7fr; gap: 2rem clamp(2rem, 1rem + 4vw, 6rem); padding-block: clamp(3rem, 2rem + 3vw, 5rem); border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.prose > * + * { margin-top: 1rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose .lead { color: var(--sub); }

.items { list-style: none; padding: 0; display: grid; gap: 0; }
.items li { padding: 1.15rem 0 1.15rem 2.2rem; border-top: 1px solid var(--line); position: relative; }
.items li:last-child { border-bottom: 1px solid var(--line); }
.items li::before { content: ""; position: absolute; left: .2rem; top: 1.55rem; width: 12px; height: 12px; border-radius: 3px; border: 2px solid var(--green); }
.items li strong { color: var(--ink); }

.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 1rem; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.2rem; border-radius: var(--r); background: var(--surface); }
.numbered li::before { content: counter(n, decimal-leading-zero); font: 600 .9rem/1 var(--mono); color: var(--green); width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.numbered strong { display: block; margin-bottom: .2rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tile { padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line); }
.tile h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.tile p { color: var(--sub); font-size: 1rem; }
.tile .ico { color: var(--green); margin-bottom: .8rem; }
.tile .ico svg { width: 26px; height: 26px; }

.note { padding: 1.2rem 1.4rem; border-left: 3px solid var(--green); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }
.note.warn { border-left-color: #b7791f; }

/* FAQ */
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s; }
.faq details[open] { border-color: var(--green); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 1.3rem; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 1.3rem 1.3rem; color: var(--ink-2); }

/* hub offres */
.offer-list { display: grid; gap: 1rem; }
.offer-row { display: grid; grid-template-columns: 56px 1fr 1.4fr auto; gap: 1.5rem; align-items: center; padding: 1.6rem 1.8rem; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; background: #fff; }
.offer-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.offer-row .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--surface); color: var(--green); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.offer-row:hover .ico { background: var(--lime); color: var(--ink); }
.offer-row .ico svg { width: 26px; height: 26px; }
.offer-row h2, .offer-row h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.offer-row p { color: var(--sub); }
.offer-row .go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.offer-row:hover .go { background: var(--ink); border-color: var(--ink); color: #fff; }
.offer-row .go svg { width: 18px; height: 18px; }

/* liens connexes */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* ---------- formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--sub); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #c9d4cc; border-radius: var(--r-sm); padding: .8rem .9rem; min-height: 50px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sub); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(29 122 67 / .2); }
.field [aria-invalid="true"] { border-color: #b42318; }
.field .err { color: #b42318; font-size: .9rem; display: none; }
.field .err:not(:empty) { display: block; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .legal { grid-column: 1 / -1; font-size: .9rem; color: var(--sub); }
.form .submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-status { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: var(--r-sm); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { background: #e7f6ec; color: var(--green-ink); }
.form-status.ko { background: #fdecea; color: #8a1c12; }
.aside-card { padding: 1.8rem; border-radius: var(--r-lg); background: var(--surface); display: grid; gap: 1.2rem; }
.aside-card h2 { font-size: 1.2rem; letter-spacing: -.015em; }
.aside-card dl { display: grid; gap: 1rem; }
.aside-card dt { font: 500 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--sub); margin-bottom: .35rem; }
.aside-card dd { font-weight: 500; }

/* ---------- pied de page ---------- */
.site-footer { background: var(--night); color: var(--night-fg); padding-block: 4.5rem 2rem; }
main > .wrap:last-child { padding-bottom: var(--section); }
.page-hero + .section { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.site-footer .top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--night-line); }
.site-footer .brand svg { height: 26px; }
.site-footer p { color: var(--night-sub); margin-top: 1.2rem; max-width: 34ch; font-size: .975rem; }
.site-footer h2 { font: 500 .8rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-sub); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.site-footer ul a { display: inline-block; padding: .35rem 0; text-decoration: none; color: var(--night-fg); font-size: .975rem; opacity: .9; }
.site-footer ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .2em; }
.site-footer .mail + .mail { margin-top: .2rem; }
.site-footer .addr { margin-top: .8rem; font-size: .9rem; }
.site-footer .mail { display: flex; width: fit-content; align-items: center; min-height: 44px; margin-top: 1rem; font: 500 1rem/1 var(--mono); color: var(--lime); text-decoration: none; padding: .4rem 0; }
.site-footer .mail:hover { text-decoration: underline; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.8rem; font-size: .875rem; color: var(--night-sub); }
.site-footer .bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; }
.site-footer .bottom a { color: var(--night-sub); font-size: .875rem; }
.site-footer .marks { margin-top: 1.4rem; font-size: .8rem; color: #7d9286; max-width: 90ch; }

/* ---------- teintes par famille ---------- */
.brand .word span { font-weight: 450; }
.card[data-fam] .ico, .offer-row .ico, .mega-col .ico { background: var(--f-tint); color: var(--f); }
.card[data-fam] .more { color: var(--f); }
.card[data-fam]::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--f); opacity: 0; transition: opacity .25s; }
.card[data-fam]:hover::before { opacity: 1; }
.card[data-fam]:hover .ico, .offer-row:hover .ico, .mega-col a:hover .ico { background: var(--f); color: #fff; }
.offer-row:hover .go { background: var(--f); border-color: var(--f); }
[data-fam] .eyebrow.fam-eyebrow, .fam-eyebrow { color: var(--f, var(--green)); }
.fam-label { font: 600 .78rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--f); display: flex; align-items: center; gap: .5rem; }
.fam-label::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--f); }

.fam-groups { display: grid; gap: 2.5rem; }
.fam-group { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.fam-head p:not(.fam-label) { color: var(--sub); font-size: .975rem; margin-top: .8rem; }
.fam-group .cards { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

.site-header .wrap { position: relative; }
.has-menu { position: static; }
.mega { width: min(980px, 100%); left: auto; right: 0; translate: none; top: calc(100% - 4px); grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mega-col { display: grid; align-content: start; gap: .1rem; }
.mega-col .fam-label { padding: .7rem .8rem .5rem; }

body[data-fam] .items li::before { border-color: var(--f); }
body[data-fam] .numbered li::before { color: var(--f); }
body[data-fam] .faq details[open] { border-color: var(--f); }
body[data-fam] .faq summary::after { border-color: var(--f); }
body[data-fam] .section:not(.night) .fact b { color: var(--f); }

/* duo (accueil) */
.duo-list li.k-blue { --k: var(--evo-glow); }
.duo-list li.k-red { --k: var(--sec-glow); }
.duo-list li.k-lime { --k: var(--lime); }

/* certifications */
.cert-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cert-cols.single { grid-template-columns: 1fr; }
.cert-cols > div[data-fam] { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: 1.6rem; }
.cert-cols h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.25rem; margin-bottom: 1.1rem; }
.cert-cols h3 small { margin-left: auto; font: 500 .8rem/1 var(--mono); color: var(--night-sub); }
.cert-cols .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--f-glow); }
.certs { list-style: none; padding: 0; display: grid; gap: .5rem; }
.certs li { display: grid; grid-template-columns: 96px 1fr; gap: .9rem; align-items: center; padding: .7rem .9rem; border-radius: var(--r-sm); background: rgb(255 255 255 / .04); font-size: .975rem; }
.certs .code { font: 600 .8rem/1 var(--mono); color: var(--f-glow); }
.cert-cols.single .certs { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.cert-cols.single .certs li { background: #fff; border: 1px solid var(--line); }
.cert-cols.single .certs .code { color: var(--f); }

/* badges partenaires */
.partners { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.partners li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1.2rem; display: grid; place-items: center; }
.partners { align-items: center; }
.partners li { height: 96px; }
.partners img { height: 64px; width: auto; }
.partners li.framed { padding: 0; background: none; border: 0; }
.partners li.framed img { height: 96px; }
@media (max-width: 640px) { .partners li { height: 80px; } .partners img { height: 52px; } .partners li.framed img { height: 80px; } }
.partners.on-dark li { border-color: transparent; }

/* utilitaires (remplacent les styles en ligne, CSP stricte) */
.h2xl { font-size: var(--t-h2); }
.h1xl { font-size: var(--t-h1); }
.mt { margin-top: 1.1rem; }
.mt-lg { margin-top: 1.5rem; }
.facts-gap { margin-bottom: 1.5rem; }
.tile.white { background: #fff; }
.span-all { grid-column: 1 / -1; }
.narrow { max-width: 760px; }
.bar i.v100 { --v: 100%; } .bar i.v82 { --v: 82%; }
.flow.d2 { animation-delay: -.8s; }

/* ---------- scène sombre (en-têtes de page) ---------- */
.stage { position: relative; isolation: isolate; overflow: hidden; color: var(--night-fg); border-bottom: 0;
  background:
    radial-gradient(55% 70% at 88% 8%, rgb(201 242 107 / .16), transparent 62%),
    radial-gradient(45% 65% at 4% 100%, rgb(37 88 217 / .28), transparent 62%),
    radial-gradient(35% 55% at 58% 110%, rgb(196 43 55 / .18), transparent 60%),
    linear-gradient(180deg, #0b1611, var(--night)); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .055) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .055) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 65% 35%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 80% at 65% 35%, #000 25%, transparent 78%); }
.stage::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 720px; height: 720px; right: -180px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--f-glow, var(--lime)) 30%, transparent), transparent); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-160px, 120px) scale(1.15); } }
.stage h1, .stage h2 { color: #fff; }
.stage .lead, .stage .sub { color: var(--night-sub); }
.stage .eyebrow { color: var(--lime); }
.stage .btn:not(.ghost) { --b: var(--lime); --f: var(--ink); }
.stage .btn:not(.ghost):hover { box-shadow: 0 8px 28px rgb(201 242 107 / .25); }
.stage .btn.ghost { --f: var(--night-fg); box-shadow: inset 0 0 0 1.5px rgb(232 241 235 / .3); }
.stage .btn.ghost:hover { --b: var(--night-fg); --f: var(--ink); }
.stage .hero-facts { color: var(--night-sub); }
.stage .hero-facts li::before { background: var(--lime); }
.stage h1 mark { background: none; color: var(--lime); padding: 0; }
.stage .status { background: rgb(19 34 26 / .72); border: 1px solid var(--night-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 40px 100px rgb(0 0 0 / .45); }

.page-hero.stage { background:
    radial-gradient(50% 90% at 92% 0%, color-mix(in srgb, var(--f-glow, var(--lime)) 22%, transparent), transparent 65%),
    radial-gradient(40% 70% at 0% 100%, rgb(37 88 217 / .2), transparent 65%),
    linear-gradient(180deg, #0b1611, var(--night)); }
body[data-fam] .page-hero.stage { background:
    radial-gradient(55% 95% at 92% 0%, color-mix(in srgb, var(--f-glow) 30%, transparent), transparent 65%),
    radial-gradient(40% 70% at 0% 100%, color-mix(in srgb, var(--f) 22%, transparent), transparent 65%),
    linear-gradient(180deg, #0b1611, var(--night)); }
.stage .crumbs, .stage .crumbs a { color: var(--night-sub); }
.stage .crumbs a:hover { color: #fff; }
.stage .crumbs li + li::before { color: var(--night-line); }
.stage .chips li { background: rgb(255 255 255 / .06); border-color: var(--night-line); color: var(--night-fg); }
body[data-fam] .stage .chips li { border-color: color-mix(in srgb, var(--f-glow) 30%, var(--night-line)); }
.stage .fam-eyebrow, body[data-fam] .stage .eyebrow.fam-eyebrow { color: var(--f-glow, var(--lime)); }

/* bandeau des technologies */
.tech { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-top: 1.8rem; border-top: 1px solid rgb(232 241 235 / .1); display: grid; grid-template-columns: auto 1fr; gap: 1rem 2.5rem; align-items: center; }
.tech p { font: 500 .78rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-sub); max-width: 16ch; }
.tech ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; }
.tech li { display: inline-flex; align-items: center; gap: .55rem; font: 600 1.05rem/1 var(--font); letter-spacing: -.02em; color: rgb(232 241 235 / .82); white-space: nowrap; }
.tech li i { width: 9px; height: 9px; border-radius: 2px; background: var(--k); }
.tech .ms { --k: var(--evo-glow); } .tech .ft { --k: var(--sec-glow); } .tech .vm { --k: var(--lime); }
.hero.stage { grid-template-rows: 1fr auto; }

/* éléments à compléter (visibles en relecture) */
.todo { background: #fff3c4; color: #6b4e00; border-radius: 4px; padding: 0 .3em; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- mouvement ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(201 242 107 / .55); } 70%, 100% { box-shadow: 0 0 0 9px rgb(201 242 107 / 0); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes dash { to { stroke-dashoffset: -24; } }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } }
[data-enter] > * { animation: enter .8s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; }
[data-enter] > *:nth-child(3) { animation-delay: .24s; }
[data-enter] > *:nth-child(4) { animation-delay: .36s; }
[data-enter] > *:nth-child(5) { animation-delay: .48s; }
.status li { animation: enter .6s var(--ease) both; }
.status li:nth-child(1) { animation-delay: .5s; } .status li:nth-child(2) { animation-delay: .62s; } .status li:nth-child(3) { animation-delay: .74s; } .status li:nth-child(4) { animation-delay: .86s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .steps::after { transform: none; }
  .steps li::before { background: var(--green); color: #fff; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .risks { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem var(--gutter) 2rem; overflow-y: auto; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a.top, .nav button.top { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.15rem; border-radius: 0; padding-inline: 0; }
  .nav a.top:hover, .nav button.top:hover, .nav button.top[aria-expanded="true"] { background: none; }
  .nav a.top[aria-current="page"], .nav a.top.active, .nav button.top.active { box-shadow: none; color: var(--green-ink); }
  .mega { position: static; translate: none; width: auto; box-shadow: none; border: 0; padding: 0 0 1rem; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-menu.open .mega { display: grid; }
  .nav .btn { margin: 1.5rem 0 0; width: 100%; min-height: 52px; }
  .menu-toggle { display: grid; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: 0; }
  .hero > .wrap:first-of-type, .duo, .feature, .page-hero .wrap, .contact-grid, .cta { grid-template-columns: 1fr; }
  .block { grid-template-columns: 1fr; gap: 1.5rem; }
  .block > h2 { position: static; }
  .related { grid-template-columns: 1fr 1fr; }
  .offer-row { grid-template-columns: 56px 1fr auto; }
  .offer-row p { grid-column: 2 / 3; }
  .offer-row .go { grid-row: 1 / 3; grid-column: 3; }
  .commit { grid-template-columns: 1fr; }
  .fam-group, .cert-cols { grid-template-columns: 1fr; }
  .cert-cols.single .certs { grid-template-columns: 1fr; }
  .mega-col .fam-label { padding-inline: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .cards, .risks, .grid-2, .related, .facts, .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .offer-row { grid-template-columns: 1fr auto; padding: 1.3rem; gap: .8rem 1rem; }
  .offer-row .ico { display: none; }
  .offer-row h2, .offer-row p { grid-column: 1; }
  .offer-row .go { grid-column: 2; grid-row: 1 / 3; }
  .status { padding: 1rem; }
  .status li { grid-template-columns: 1fr auto; }
  .status .svc { display: none; }
  .status-foot { flex-direction: column; }
  .site-footer .top { grid-template-columns: 1fr; }
  .cta .actions .btn { width: 100%; }
  .tech { grid-template-columns: 1fr; }
  .tech p { max-width: none; }
  .tech ul { gap: .7rem 1.4rem; }
  .tech li { font-size: .95rem; }
}
