/* ==========================================================================
   Expando Cyberdefense — système de design
   Parti pris : un cabinet de confiance. Fond clair et lumineux, encre bleu nuit,
   bandeaux sombres pour les moments forts (accueil, en-têtes de page, pied de page).
   Le rouge est réservé au CERT. Le mouvement reste discret : apparitions douces,
   réseau animé lent dans le hero, frises qui avancent avec la lecture.
   Lisibilité d'abord : texte courant en 18 px, contrastes élevés, contenu toujours visible.
   ========================================================================== */

/* Polices hébergées sur le site (pas d'appel à un service tiers). */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("/fonts/inter-tight-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 900; font-display: swap; src: url("/fonts/inter-tight-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #EEF2F7;
  --line: #DCE2EA;
  --line-2: #C3CCD9;
  --ink: #0B1730;
  --muted: #475467;
  --dim: #667085;
  --accent: #1F4FD1;
  --accent-hi: #1A44B8;
  --accent-soft: #E9EFFD;
  --alert: #C8102E;
  --alert-hi: #B00E28;
  --alert-soft: #FDECEF;
  --ok: #12805A;
  --ok-soft: #E6F4EE;
  --warn: #B7791F;
  --navy: #0B1730;
  --navy-2: #13234A;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

  --r: 14px;
  --r-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(11, 23, 48, .06), 0 8px 24px -12px rgba(11, 23, 48, .12);
  --shadow-lg: 0 2px 4px rgba(11, 23, 48, .05), 0 24px 48px -24px rgba(11, 23, 48, .25);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

/* Zones sombres : les mêmes composants y basculent en clair sur foncé. */
.hero, .page-hero, .site-footer, .cta-band, .dark {
  --ink: #F2F5FA;
  --muted: #B4BFD2;
  --dim: #8F9BB3;
  --line: rgba(255, 255, 255, 0.14);
  --line-2: rgba(255, 255, 255, 0.3);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.1);
  --accent-hi: #A8BDFF;
  --accent-soft: rgba(168, 189, 255, 0.14);
  color: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--accent-hi); text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-wrap: balance; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

.only-md, .only-lg, .only-xl { display: none; }
@media (min-width: 720px) { .only-md { display: inline; } }
@media (min-width: 1000px) { .only-lg { display: inline; } }
@media (min-width: 1200px) { .only-xl { display: block; } }

[data-d="1"] { --d: 100ms; } [data-d="2"] { --d: 200ms; } [data-d="3"] { --d: 300ms; } [data-d="4"] { --d: 400ms; }
[data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; }
.stack { display: grid; gap: 20px; align-content: start; }
.stack--s { gap: 12px; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 40px; } .mt-xl { margin-top: clamp(56px, 7vw, 88px); }

/* ---------- Typographie ---------- */
.display {
  font-weight: 700;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.08; letter-spacing: 0;
}
.display em, .h-page em, .h2 em { font-style: normal; color: var(--accent-hi); }
.h-page {
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.1; letter-spacing: 0;
}
.h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.14; letter-spacing: 0;
}
.h3 { font-weight: 650; font-size: 1.3rem; line-height: 1.3; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 62ch; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 0.85rem/1.3 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-hi);
}
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--alert { color: var(--alert-hi); }

/* ---------- Boutons ---------- */
.btn {
  --bg-btn: transparent; --fg-btn: var(--ink); --bd-btn: var(--line-2); --bg-hover: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--r-sm);
  font: 600 1rem/1.2 var(--font-body);
  color: var(--fg-btn); background: var(--bg-btn); border: 1px solid var(--bd-btn);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.btn:hover { background: var(--bg-hover); }
.btn:active { transform: translateY(1px); }
.btn__arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { --bg-btn: var(--accent); --fg-btn: #fff; --bd-btn: var(--accent); --bg-hover: #1942B3; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--alert { --bg-btn: var(--alert); --fg-btn: #fff; --bd-btn: var(--alert); --bg-hover: #A80D26; }
.btn--light { --bg-btn: #fff; --fg-btn: var(--navy); --bd-btn: #fff; --bg-hover: #E9EEF6; }
.btn--ghost-light { --fg-btn: #fff; --bd-btn: rgba(255,255,255,.55); --bg-hover: rgba(255,255,255,.12); }
.btn--ghost-dark { --fg-btn: var(--navy); --bd-btn: #C3CCD9; --bg-hover: #EEF2F7; }
.btn--sm { padding: 10px 16px; font-size: 0.94rem; }
.btn--lg { padding: 16px 26px; font-size: 1.04rem; }
.hero .btn--primary, .page-hero .btn--primary { --bg-hover: #2F5DE0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-hi); text-decoration: none; }
.link-arrow span { transition: transform .25s var(--ease-out); }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- Bandeau CERT + en-tête ---------- */
.masthead { position: sticky; top: 0; z-index: 50; view-transition-name: masthead; }
.cert-bar { background: var(--alert); color: #fff; font-size: 0.95rem; }
.cert-bar__in { display: flex; align-items: center; gap: 10px 22px; min-height: 44px; }
.cert-bar__status { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.cert-bar__status b { font-weight: 600; letter-spacing: 0.02em; }
.cert-bar__tel { margin-left: auto; color: #fff; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.cert-bar__tel b { font: 700 1.1rem var(--font-display); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; background: rgba(0,0,0,.16); padding: 4px 12px; border-radius: 6px; transition: background .2s; }
.cert-bar__tel:hover b { background: rgba(0,0,0,.3); }
.cert-bar__more { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); white-space: nowrap; }
.cert-bar__more:hover { text-decoration-color: #fff; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; display: inline-block; box-shadow: 0 0 0 3px rgba(255,255,255,.28); }

.site-header { background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.masthead.is-scrolled .site-header { box-shadow: 0 6px 20px -12px rgba(11, 23, 48, .25); }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: 74px; transition: min-height .3s var(--ease-out); }
.masthead.is-scrolled .site-header__in { min-height: 62px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; flex: none; }
.brand__mark { width: auto; height: 34px; }
.brand__word { display: flex; flex-direction: column; gap: 6px; line-height: 1; }
.brand__wordmark { width: auto; height: 15px; }
.brand__word span { font: 600 0.58rem var(--font-body); letter-spacing: 0.32em; color: var(--dim); }
.site-footer .brand { color: #fff; }

.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.site-nav__list a {
  position: relative; display: inline-flex; align-items: baseline; gap: 6px;
  padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem;
  border-radius: 8px; transition: background .2s, color .2s;
}
.site-nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: none; }
.site-nav__list a[aria-current="page"] { color: var(--accent-hi); }
.site-nav__idx { display: none; }
.site-nav__extra { display: none; }
.site-header__cta { flex: none; }
.menu-btn { display: none; }

@media (max-width: 1080px) { .site-header__cta { display: none; } }
@media (max-width: 960px) {
  .menu-btn {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 48px; height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; cursor: pointer;
  }
  .menu-btn__bars { display: grid; gap: 6px; width: 20px; }
  .menu-btn__bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out); }
  .menu-open .menu-btn__bars span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-btn__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--mast-h, 118px) 0 0 0; margin: 0;
    background: #fff; padding: 12px var(--gutter) 40px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 28px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease-out), visibility 0s; }
  .menu-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { display: flex; padding: 18px 0; border-radius: 0; font: 600 1.3rem/1.2 var(--font-display); }
  .site-nav__list a::after { display: none; }
  .site-nav__extra { display: grid; gap: 12px; }
  .site-nav__cert { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: var(--alert); color: #fff; text-decoration: none; }
  .site-nav__cert span { font-weight: 600; font-size: 0.9rem; }
  .site-nav__cert b { font: 700 1.7rem var(--font-display); font-variant-numeric: tabular-nums; }
}

/* ---------- Apparitions au défilement (discrètes) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms));
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: translate3d(0, 12px, 0); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--line { border-top: 1px solid var(--line); }
.sec-head { display: grid; gap: 18px; max-width: 820px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head--split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 20px 64px; }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 150px; }
@media (max-width: 900px) { .sticky { position: static; } }
.fineprint { font-size: 0.92rem; color: var(--dim); margin-top: 20px; }

/* ---------- Hero accueil (bandeau bleu nuit) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 100px) 0 0;
  background: radial-gradient(90% 80% at 85% 20%, #1B2F66 0%, var(--navy) 60%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: grid; gap: 24px; align-content: start; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__side { display: grid; gap: 16px; }
@media (max-width: 960px) { .hero__in { grid-template-columns: 1fr; } .hero__canvas { opacity: .45; } }

.sla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.sla__item { padding: 24px 24px 32px 0; display: grid; gap: 4px; }
.sla__item + .sla__item { padding-left: 24px; border-left: 1px solid var(--line); }
.sla__item b { font: 700 clamp(1.9rem, 3.2vw, 2.6rem)/1.1 var(--font-display); }
.sla__item > span { color: var(--muted); font-size: 1rem; }
@media (max-width: 600px) {
  .sla { grid-template-columns: 1fr; }
  .sla__item + .sla__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .sla__item { padding: 16px 0; display: flex; align-items: baseline; gap: 14px; }
  .sla__item b { min-width: 3.6em; }
}

/* Carte CERT (hero) */
.cert-card {
  display: grid; gap: 12px; padding: 28px;
  border-radius: var(--r); color: #fff; text-decoration: none;
  background: var(--alert);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55);
  transition: transform .3s var(--ease-out), background .2s;
}
.cert-card:hover { background: #B40F2A; transform: translateY(-2px); }
.cert-card__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.cert-card__q { font: 700 1.45rem/1.2 var(--font-display); }
.cert-card__num { font: 700 clamp(2rem, 3.2vw, 2.6rem)/1.05 var(--font-display); letter-spacing: 0.01em; }
.cert-card__meta { font-size: 1rem; line-height: 1.5; color: #FFE4E8; }
.cert-card__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 13px 18px; border-radius: var(--r-sm); background: #fff; color: #8E0A22; font-weight: 600; }

.tag { display: inline-block; font: 600 0.74rem/1 var(--font-body); letter-spacing: 0.03em; padding: 5px 8px; border-radius: 5px; text-align: center; text-transform: uppercase; }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--alert { background: var(--alert-soft); color: var(--alert-hi); }
.tag--riposte { background: var(--accent-soft); color: var(--accent-hi); }
.tag--audit { background: #FBF3E3; color: #8A5A12; }
.tag--comm { background: #F1ECFB; color: #5B3BA8; }

/* ---------- Secteurs ---------- */
.sectors { background: var(--surface); border-bottom: 1px solid var(--line); padding: 36px 0; }
.sectors__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 48px; align-items: center; }
.sectors__title { font: 600 1.15rem/1.4 var(--font-display); color: var(--ink); max-width: 30ch; }
.sectors__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.sectors__list li { padding: 8px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: 0.96rem; font-weight: 500; }
@media (max-width: 900px) { .sectors__in { grid-template-columns: 1fr; } }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.stat { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.stat__num { font: 700 clamp(2.6rem, 4.6vw, 3.8rem)/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.stat p { color: var(--ink); font-size: 1.05rem; }
.stat small { color: var(--dim); font-size: 0.88rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Trois métiers (contenu toujours visible) ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc {
  position: relative; display: flex; flex-direction: column; gap: 20px;
  padding: 32px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow); transition: box-shadow .3s, transform .3s var(--ease-out), border-color .3s;
}
.svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-2); }
.svc__top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.06em; color: var(--dim); }
.svc__top b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-hi); font: 700 0.95rem var(--font-display); }
.svc__body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc__kicker { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-hi); }
.svc h3 { font: 700 1.45rem/1.25 var(--font-display); }
.svc__more { display: grid; gap: 14px; }
.svc__more ul { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.svc__more li { position: relative; padding-left: 22px; }
.svc__more li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.svc__price { font-weight: 600; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line); }
.svc__link { margin-top: auto; font-weight: 600; color: var(--accent-hi); text-decoration: none; display: inline-flex; gap: 8px; }
.svc__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc__link span { transition: transform .25s var(--ease-out); }
.svc:hover .svc__link span { transform: translateX(4px); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* ---------- Étapes avec frise liée au défilement ---------- */
.steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 60px; --p: 0; }
.steps__rail { position: absolute; top: 19px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps__rail i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p)); transform-origin: left; }
.step { display: grid; gap: 10px; align-content: start; position: relative; }
.step__dot { position: absolute; top: -60px; left: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); display: grid; place-items: center; font: 700 0.9rem var(--font-display); color: var(--dim); transition: border-color .4s, color .4s, background .4s; }
.step.on .step__dot { border-color: var(--accent); color: #fff; background: var(--accent); }
.step h3 { font: 700 1.3rem/1.25 var(--font-display); }
.step p { color: var(--muted); }
html:not(.js) .step__dot { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 64px; gap: 36px; }
  .steps__rail { top: 0; bottom: 0; left: 19px; right: auto; width: 2px; height: auto; }
  .steps__rail i { transform: scaleY(var(--p)); transform-origin: top; }
  .step__dot { top: 0; left: -64px; }
}

/* ---------- Formules ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan > .btn { margin-top: auto; align-self: flex-start; }
.plan--reco { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 0.75rem var(--font-body); letter-spacing: 0.05em; }
.plan__eyebrow { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.plan h3 { font: 700 1.6rem/1.15 var(--font-display); }
.plan__price { font: 700 clamp(2.4rem, 3.8vw, 3.1rem)/1 var(--font-display); }
.plan__price small { display: block; margin-top: 8px; font: 500 0.95rem var(--font-body); color: var(--muted); }
.plan__list { list-style: none; display: grid; gap: 10px; }
.plan__list li { position: relative; padding-left: 26px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan--alert { border-top: 4px solid var(--alert); }
.plan--alert .plan__price { color: var(--alert-hi); }
@media (max-width: 960px) { .plans, .plans--2 { grid-template-columns: 1fr; } }

/* ---------- Grille d'arguments ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bento__item { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.bento__item h3 { font: 700 1.2rem/1.3 var(--font-display); }
.bento__item p { color: var(--muted); }
.bento__item--wide { grid-column: span 2; }
.icon { width: 40px; height: 40px; stroke: var(--accent); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__item--wide { grid-column: auto; } }

/* ---------- Bande NIS2 ---------- */
.nis2-band { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: calc(var(--r) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nis2-band__copy { display: grid; gap: 20px; align-content: start; }
.dots { display: grid; grid-template-columns: repeat(25, 1fr); gap: 5px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: var(--line); transition: background .6s; }
.dots i.lit { background: var(--accent); }
.dots i.lit-first { background: var(--warn); }
.dots-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-top: 16px; font-size: 0.92rem; color: var(--muted); }
.dots-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dots-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); }
.dots-legend span + span::before { background: var(--accent); }
.page-hero .dots i { background: rgba(255,255,255,.14); }
.page-hero .dots i.lit { background: #A8BDFF; }
.page-hero .dots i.lit-first { background: #F2C46D; }
.page-hero .dots-legend span::before { background: #F2C46D; }
.page-hero .dots-legend span + span::before { background: #A8BDFF; }
@media (max-width: 900px) { .nis2-band { grid-template-columns: 1fr; } }

/* ---------- Études de cas ---------- */
.case-card {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  border-radius: calc(var(--r) + 2px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease-out);
}
a.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-card__main { padding: clamp(28px, 4vw, 44px); display: grid; gap: 16px; align-content: start; }
.case-card__side { padding: clamp(28px, 4vw, 44px); border-left: 1px solid var(--line); background: var(--surface-2); display: grid; gap: 24px; align-content: space-between; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.case-card__tags span { font-weight: 600; font-size: 0.8rem; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hi); }
.case-card h3 { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--font-display); }
.case-card p { color: var(--muted); }
.case-card__figures { display: grid; gap: 16px; }
.case-card__figures div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.case-card__figures div:last-child { border-bottom: 0; }
.case-card__figures b { font: 700 1.8rem/1.1 var(--font-display); }
.case-card__figures span { color: var(--muted); font-size: 0.95rem; }
.case-card__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-hi); }
.case-card__go span { transition: transform .25s var(--ease-out); }
a.case-card:hover .case-card__go span { transform: translateX(4px); }
@media (max-width: 860px) { .case-card { grid-template-columns: 1fr; } .case-card__side { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Contact ---------- */
.contact { background: var(--surface-2); border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 120px) 0; }
.contact__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact__info { display: grid; gap: 22px; align-content: start; position: sticky; top: 150px; }
@media (max-width: 960px) { .contact__in { grid-template-columns: 1fr; } .contact__info { position: static; } }
.coord-cert { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--r); background: var(--alert); color: #fff !important; text-decoration: none; transition: background .2s; }
.coord-cert:hover { background: #B40F2A; }
.coord-cert__label { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; }
.coord-cert b { font: 700 clamp(1.9rem, 3vw, 2.3rem)/1.15 var(--font-display); font-variant-numeric: tabular-nums; }
.coord-cert__meta { font-size: 0.98rem; color: #FFE4E8; }
.coords { display: grid; margin: 0; }
.coords div { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.coords dt { font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.coords dd { margin: 0; font-weight: 500; }
@media (max-width: 480px) { .coords div { grid-template-columns: 1fr; gap: 2px; } }
.contact__note { font-size: 0.98rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 14px; }
.contact__forms { background: var(--surface); border-radius: calc(var(--r) + 4px); padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

.tabs { position: relative; display: none; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 28px; border-radius: var(--r-sm); background: var(--surface-2); }
.js .tabs { display: flex; }
.tab { position: relative; z-index: 1; flex: 1 1 auto; padding: 11px 14px; border: 0; border-radius: 7px; background: none; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--muted); transition: color .25s; white-space: nowrap; }
.tab[aria-selected="true"] { color: #fff; }
.tab--alert { color: var(--alert-hi); }
.tabs__ink { position: absolute; z-index: 0; top: 5px; left: 0; width: 0; border-radius: 7px; background: var(--navy); transition: transform .4s var(--ease-out), width .4s var(--ease-out), background .25s; }
.tabs[data-active="urgence-cert"] .tabs__ink { background: var(--alert); }
@media (max-width: 560px) { .js .tabs { display: grid; grid-template-columns: 1fr 1fr; } .tab { white-space: normal; } }
.js .tabpanel[hidden] { display: none; }
.js .tabpanel { animation: panel-in .4s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }
html:not(.js) .tabpanel + .tabpanel { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }

.form { display: grid; gap: 20px; }
.form__title { font: 700 1.5rem/1.2 var(--font-display); }
.form__intro { color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: grid; gap: 8px; font-weight: 600; font-size: 0.96rem; color: var(--ink); }
.field--full { grid-column: 1 / -1; }
.field em { font-style: normal; font-weight: 400; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1.02rem var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #98A4B6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 79, 209, .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--alert); }
.form .btn { justify-self: start; }
.form__status { display: none; padding: 14px 16px; border-radius: var(--r-sm); background: var(--ok-soft); color: #0B5A3F; font-size: 1rem; border-left: 3px solid var(--ok); }
.form__status.show { display: block; }
.form__status.error { background: var(--alert-soft); color: #8E0A22; border-left-color: var(--alert); }
.form__note { font-size: 0.94rem; color: var(--dim); }
.form__legal { font-size: 0.86rem; color: var(--dim); margin-top: -8px; }
.form__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: .6; cursor: progress; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

.urgent-panel { display: grid; gap: 18px; padding: clamp(24px, 4vw, 32px); border-radius: var(--r); background: var(--alert-soft); border: 1px solid #F3B5C0; }
.urgent-panel__num { font: 700 clamp(2.1rem, 4.4vw, 3rem)/1 var(--font-display); color: var(--alert-hi) !important; text-decoration: none; font-variant-numeric: tabular-nums; }
.urgent-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); padding: clamp(56px, 7vw, 88px) 0 28px; }
.site-footer a { color: #E6ECF7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand { display: grid; gap: 12px; align-content: start; color: var(--muted); }
.footer__brand .brand { margin-bottom: 8px; }
.footer__tel { font: 700 1.6rem var(--font-display); color: #fff !important; font-variant-numeric: tabular-nums; }
.footer__h { font: 600 0.85rem var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--dim); }
.footer__legal a { color: var(--muted); }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* ---------- En-tête des pages intérieures (bandeau bleu nuit) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px);
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(80% 90% at 90% 0%, #1B2F66 0%, var(--navy) 65%);
}
.page-hero__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; }
.page-hero__in:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.page-hero__copy { display: grid; gap: 22px; align-content: start; max-width: 860px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.page-hero .note { color: var(--ink); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.crumb { font-size: 0.92rem; color: var(--dim); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 900px) { .page-hero__in { grid-template-columns: 1fr; } }

/* En-tête CERT (urgence) */
.page-hero--alert { background: linear-gradient(135deg, #D3163A 0%, var(--alert) 50%, #8E0A22 100%); --muted: #FFE1E6; --dim: #FFD0D8; --accent-hi: #fff; }
.page-hero--alert .kicker { color: #fff; }
.page-hero--alert .kicker::before { display: none; }
.bignum { display: inline-block; justify-self: start; font: 700 clamp(2.4rem, 5.6vw, 4.6rem)/1 var(--font-display); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; color: #fff; text-decoration: none; }
.bignum:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.pulse-rings { position: relative; width: 100%; max-width: 260px; aspect-ratio: 1; justify-self: end; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); box-shadow: 0 0 0 24px rgba(255,255,255,.06), 0 0 0 48px rgba(255,255,255,.04); }
.pulse-rings span { display: none; }
.pulse-rings svg { width: 38%; height: auto; stroke: #fff; stroke-width: 1.6; fill: none; }
a.on-alert { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .pulse-rings { display: none; } }

/* ---------- Liste de prix ---------- */
.pricelist { list-style: none; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.pricelist li { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: baseline; padding: 24px 28px; border-bottom: 1px solid var(--line); transition: background .2s; }
.pricelist li:last-child { border-bottom: 0; }
.pricelist li:hover { background: var(--surface-2); }
.pricelist h3 { font: 700 1.2rem/1.3 var(--font-display); }
.pricelist p { color: var(--muted); }
.pricelist .price { font-weight: 700; white-space: nowrap; text-align: right; color: var(--ink); }
.pricelist .price--free { color: var(--ok); }
@media (max-width: 760px) { .pricelist li { grid-template-columns: 1fr auto; padding: 20px; } .pricelist p { grid-column: 1 / -1; grid-row: 2; } }

/* ---------- Cartes génériques ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card__kicker { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-hi); }
.card h3 { font: 700 1.25rem/1.3 var(--font-display); }
.card p { color: var(--muted); }
.card__price { font-weight: 600; color: var(--ink) !important; }
.card__quote { font: 700 1.25rem/1.35 var(--font-display); color: var(--ink) !important; }
.card__quote::before { content: "«"; display: block; font-size: 2.6rem; line-height: .7; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 960px) { .cards, .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 640px; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 700; font-size: 0.92rem; color: var(--ink); background: var(--surface-2); }
.compare thead th.reco { color: #fff; background: var(--accent); }
.compare td.c, .compare th.c { text-align: center; }
.compare td.reco { background: rgba(31, 79, 209, .05); }
.compare tbody tr:hover { background: rgba(11, 23, 48, .02); }
.compare tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--line-2); }
.compare .total td { font-weight: 700; font-size: 1.05rem; }

/* ---------- Calculateur ---------- */
.calc { display: grid; gap: 26px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.calc legend, .calc__label { font-weight: 600; font-size: 0.96rem; color: var(--ink); padding: 0; margin-bottom: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 11px 18px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__row b { font: 700 1.3rem var(--font-display); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 10%), var(--line) var(--fill, 10%)); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); box-shadow: var(--shadow); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--accent); }
.calc__out { display: grid; gap: 6px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc__out output { font: 700 clamp(2rem, 3.4vw, 2.8rem)/1.1 var(--font-display); }
.calc__out p { color: var(--muted); }

/* ---------- Frise verticale ---------- */
.timeline { position: relative; list-style: none; display: grid; padding-left: 40px; --p: 0; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--accent); transform: scaleY(var(--p)); transform-origin: top; }
.timeline--alert::after { background: var(--alert); }
.timeline li { position: relative; display: grid; grid-template-columns: 6.5em 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -40px; top: 23px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-2); transition: border-color .4s, background .4s; z-index: 1; }
.timeline li.on::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 4px #fff; }
.timeline--alert li.on::before { border-color: var(--alert); background: var(--alert); }
html:not(.js) .timeline li::before { border-color: var(--accent); }
.timeline__when { font: 700 1rem var(--font-display); color: var(--accent-hi); }
.timeline--alert .timeline__when { color: var(--alert-hi); }
.timeline b { color: var(--ink); }
.timeline span { color: var(--muted); }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Divers ---------- */
.list-cards { list-style: none; display: grid; gap: 12px; }
.list-cards li { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.list-cards b { font-size: 1.08rem; }
.list-cards span { color: var(--muted); }

.note { padding: 18px 20px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid #C9D6FA; color: var(--ink); }
.prose { display: grid; gap: 18px; max-width: 68ch; }
.prose p { color: var(--muted); }
.prose p b, .prose p strong { color: var(--ink); }

.reflexes { list-style: none; counter-reset: r; display: grid; }
.reflexes li { counter-increment: r; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.reflexes li::before { content: counter(r); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--alert-soft); color: var(--alert-hi); font: 700 1.2rem var(--font-display); }
.reflexes b { color: var(--ink); font-size: 1.1rem; }
.reflexes span { color: var(--muted); }

.panel-dark { display: grid; gap: 18px; padding: clamp(24px, 4vw, 36px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }

/* Test NIS2 */
.quiz { display: grid; gap: 28px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.quiz legend { font: 700 1.15rem var(--font-display); margin-bottom: 8px; padding: 0; display: flex; gap: 12px; align-items: baseline; }
.quiz legend i { font-style: normal; font-weight: 700; color: var(--accent-hi); }
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card:hover { border-color: #98A4B6; }
.radio-card input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; cursor: pointer; }
.radio-card input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .2s var(--ease-out); }
.radio-card input:checked { border-color: var(--accent); }
.radio-card input:checked::after { transform: scale(1); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card span { color: var(--ink); font-size: 1rem; }
.verdict { display: none; gap: 12px; padding: 26px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid #C9D6FA; border-left: 4px solid var(--accent); }
.verdict.show { display: grid; animation: panel-in .4s var(--ease-out); }
.verdict__title { font: 700 1.5rem/1.2 var(--font-display); }
.verdict .btn { justify-self: start; }
.quiz__missing { color: var(--alert-hi); font-size: 0.98rem; }

/* Fiche étude de cas */
.fiche { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.fiche div { padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.fiche div + div { border-left: 1px solid var(--line); }
.fiche dt { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); }
.fiche dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .fiche { grid-template-columns: 1fr 1fr; } .fiche div:nth-child(3) { border-left: 0; } .fiche div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .fiche { grid-template-columns: 1fr; } .fiche div + div { border-left: 0; border-top: 1px solid var(--line); } }

.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.figure { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.figure b { font: 700 clamp(1.9rem, 3vw, 2.4rem)/1.05 var(--font-display); }
.figure span { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .figures { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .figures { grid-template-columns: 1fr; } }

/* Chronologie de l'incident */
.console { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; margin: 0; }
.console__bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 0.92rem; }
.console__bar i { display: none; }
.console__bar b { color: var(--ink); font: 700 1rem var(--font-display); }
.console__bar em { margin-left: auto; font-style: normal; }
.console__list { list-style: none; display: grid; padding: 6px 0; }
.console__list li { display: grid; grid-template-columns: 3.6em 6.4em 1fr; gap: 14px; align-items: baseline; padding: 10px 22px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.98rem; }
.console__list li:last-child { border-bottom: 0; }
.console__list time { font-weight: 700; font-family: var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.console__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 0.9rem; }
@media (max-width: 520px) { .console__list li { grid-template-columns: 3.6em 1fr; } .console__list li > span:last-child { grid-column: 2; } }

.wordmark-dc { font: 700 1.05rem var(--font-display); color: var(--ink); }
.legal-text { max-width: 72ch; display: grid; gap: 14px; }
.legal-text h2 { font: 700 1.15rem var(--font-display); margin-top: 22px; }
.legal-text p { color: var(--muted); }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 52px); border-radius: calc(var(--r) + 4px); background: radial-gradient(90% 120% at 100% 0%, #1B2F66 0%, var(--navy) 65%); }
.cta-band .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: var(--muted); margin-top: 10px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .stack { justify-items: center; }
.nf .lead { margin-inline: auto; }
.nf__code { font: 800 clamp(6rem, 18vw, 11rem)/1 var(--font-display); color: var(--line-2); }

/* ---------- Transitions entre pages (fondu discret) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s ease both; }
::view-transition-new(root) { animation: vt-in .35s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  @view-transition { navigation: none; }
}

/* ---------- Section sombre (DFIR) ---------- */
.section.dark { background: radial-gradient(80% 100% at 100% 0%, #1B2F66 0%, var(--navy) 65%); border-top: 0; }
.section.dark .card { box-shadow: none; }
.section.dark .icon { stroke: #A8BDFF; }
.dfir-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.dfir-cta p { color: var(--muted); max-width: 52ch; }

/* ---------- Alerte octobre 2026 (accueil) ---------- */
.hero__alert {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; text-decoration: none; font-weight: 500; font-size: 0.98rem; line-height: 1.35;
  transition: background .2s, border-color .2s;
}
.hero__alert:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); }
.hero__alert-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--alert); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.alert-section { background: var(--surface); border-top: 4px solid var(--alert); }
.alert-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.alert-figure { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--alert-soft); border: 1px solid #F6C9D1; }
.alert-figure b { font: 700 clamp(2.4rem, 4.2vw, 3.4rem)/1 var(--font-display); color: var(--alert-hi); white-space: nowrap; }
.alert-figure p { color: var(--ink); font-size: 1.04rem; }
.alert-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 32px; padding: 28px 32px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.alert-cta .stack { max-width: 60ch; }
.alert-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sources { margin-top: 20px; font-size: 0.88rem; color: var(--dim); }
.sources a { color: var(--muted); }
@media (max-width: 860px) { .alert-figures { grid-template-columns: 1fr; } .hero__alert { font-size: 0.92rem; } }
@media (max-width: 560px) {
  .alert-cta { padding: 22px 20px; }
  .alert-cta__actions, .alert-cta__actions .btn { width: 100%; }
  .alert-cta__actions .btn { white-space: normal; text-align: center; }
}

/* ---------- Équipe ---------- */
.team-factors { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 32px; }
.team-factors li { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.team-factors b { font: 700 1.05rem/1.3 var(--font-display); }
.team-factors span { color: var(--muted); font-size: 0.98rem; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.member { margin: 0; display: grid; gap: 14px; align-content: start; }
.member picture { display: block; overflow: hidden; border-radius: var(--r); background: var(--surface-2); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.member:hover img { transform: scale(1.03); }
.member figcaption { display: grid; gap: 2px; }
.member figcaption b { font: 700 1.2rem/1.3 var(--font-display); }
.member figcaption span { color: var(--muted); font-size: 1rem; }
.team-more { display: grid; gap: 12px; align-content: center; padding: 28px; border-radius: var(--r); background: var(--navy); color: #F2F5FA; min-width: 0; }
.team-more b { font: 700 clamp(3rem, 5vw, 4rem)/1 var(--font-display); color: #fff; }
.team-more p { color: #B4BFD2; }
.team-more .link-arrow { color: #A8BDFF; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-factors { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr; gap: 14px; }
  .member { grid-template-columns: 104px 1fr; align-items: center; gap: 18px; }
  .member picture { border-radius: var(--r-sm); }
  .team-more { margin-top: 6px; }
}

/* ---------- Blog : cartes d'articles ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease-out), border-color .3s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-2); }
.post-card__cat { align-self: flex-start; font-weight: 600; font-size: 0.8rem; padding: 5px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-hi); }
.post-card__title { font: 700 1.25rem/1.3 var(--font-display); }
.post-card:hover .post-card__title { color: var(--accent-hi); }
.post-card__desc { color: var(--muted); font-size: 1rem; flex: 1; }
.post-card__meta { font-size: 0.9rem; color: var(--dim); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Blog : article ---------- */
.post-hero__title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; }
.post-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.95rem; color: var(--dim); }
.post-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 72px) 0; align-items: start; }
.post-toc { position: sticky; top: 140px; display: grid; gap: 14px; }
.post-toc__title { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.post-toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 0.95rem; line-height: 1.4; transition: color .2s, border-color .2s; }
.post-toc a:hover, .post-toc a.is-active { color: var(--accent-hi); border-left-color: var(--accent); }
.post-toc__cert { display: grid; gap: 2px; margin-top: 10px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--alert); color: #fff; text-decoration: none; }
.post-toc__cert span { font-size: 0.88rem; font-weight: 600; }
.post-toc__cert b { font: 700 1.25rem var(--font-display); font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .post-layout { grid-template-columns: minmax(0, 1fr); } .post-toc { position: static; padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); } }

.post-body { max-width: 72ch; font-size: 1.1rem; line-height: 1.75; color: #1F2A44; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font: 700 clamp(1.55rem, 2.6vw, 2rem)/1.2 var(--font-display); margin-top: 2.2em; scroll-margin-top: 140px; color: var(--ink); }
.post-body h3 { font: 700 1.3rem/1.3 var(--font-display); margin-top: 1.6em; color: var(--ink); }
.post-body h2 + *, .post-body h3 + * { margin-top: 0.6em; }
.post-body ul, .post-body ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.post-body li::marker { color: var(--accent); }
.post-body strong { color: var(--ink); }
.post-body a:not(.btn) { color: var(--accent-hi); text-decoration: underline; text-decoration-thickness: 1px; }
.post-body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-size: 1.15rem; color: var(--ink); }
.key-takeaways { padding: 24px 28px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid #C9D6FA; }
.key-takeaways > p:first-child { font: 700 1.05rem var(--font-display); color: var(--accent-hi); text-transform: uppercase; letter-spacing: 0.04em; }
.key-takeaways ul { margin-top: 10px; }
.callout { padding: 20px 24px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); }
.callout--alert { background: var(--alert-soft); border-color: #F3B5C0; border-left-color: var(--alert); }
.callout > p:first-child strong:first-child { display: block; margin-bottom: 4px; }
.checklist { list-style: none; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.post-body .table-wrap { margin: 1.4em 0; }
.data { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px; }
.data th, .data td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data thead th { background: var(--surface-2); font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.data tbody tr:last-child td { border-bottom: 0; }
.cta-box { display: grid; gap: 12px; margin: 2em 0 !important; padding: clamp(24px, 4vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); box-shadow: var(--shadow); font-size: 1.02rem; line-height: 1.6; color: var(--muted); }
.cta-box__kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-hi); }
.cta-box__title { font: 700 1.4rem/1.25 var(--font-display); color: var(--ink); }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta-box--alert { background: var(--alert); border: 0; color: #FFE4E8; }
.cta-box--alert .cta-box__kicker, .cta-box--alert .cta-box__title { color: #fff; }
.post-body .faq { margin-top: 2.4em; }
.faq__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq__item h3 { margin-top: 0 !important; font-size: 1.15rem; }
.faq__a { margin-top: 8px; color: var(--muted); }
.faq__a > * + * { margin-top: 0.7em; }
@media (max-width: 560px) { .cta-box__actions .btn { width: 100%; white-space: normal; text-align: center; } .post-body { font-size: 1.05rem; } }

/* ---------- FAQ des pages d'offres ---------- */
.faq--page { border-top: 1px solid var(--line); }
.faq--page .faq__item h3 { font: 700 1.15rem/1.35 var(--font-display); }
.faq--page .faq__a { font-size: 1.02rem; }

.post-toc a.post-toc__cert { display: grid; color: #fff; padding: 16px 18px; margin-left: 0; border-left: 0; }
.post-toc a.post-toc__cert:hover { background: #B40F2A; color: #fff; }
.member__name { display: inline-flex; align-items: center; gap: 8px; }
.member__linkedin { display: inline-grid; place-items: center; color: #0A66C2; border-radius: 4px; transition: color .2s, transform .2s var(--ease-out); }
.member__linkedin:hover { color: #004182; transform: translateY(-1px); }
