/* =====================================================================
   Geai Bleu Voyageur — feuille de style V5 (institutionnelle)
   Direction : sobre, éditoriale, grille 12 colonnes, filets fins,
   un seul bleu d'accent, sections sombres rares.
   ===================================================================== */

/* PALETTE « bleu et gris » (Direction, 2026-11-03) — changer les couleurs ICI seulement.
   Fonds de section, dans l'ordre de la page :
   blanc (--white) · gris très clair (--mist, --mist-2) · gris-ardoise moyen (--slate)
   · bandes bleu marine (--navy-deep : chiffres et pied de page ; --navy : S360).
   Contrastes AA vérifiés : --ink-2 ≥ 5,4 et --muted ≥ 4,7 sur tous les fonds clairs ;
   --accent ≥ 4,5 sur tous les fonds clairs (4,53 sur --slate, le plus foncé). */
:root {
    --paper: #eef1f5;
    --mist: #eef1f5;
    --mist-2: #e4e9f0;
    --slate: #d5dce6;
    --white: #ffffff;
    --surface-soft: #f7f9fc;
    --ink: #14233f;
    --ink-2: #4a5568;
    --muted: #525e72;
    --line: #cbd3df;
    --line-strong: #b4bfce;
    --map-line: #8a98ae;
    --map-line-soft: #b3bfd0;
    --navy: #1d3557;
    --navy-deep: #14233f;
    --navy-line: rgba(255, 255, 255, 0.14);
    --on-navy: #e8edf6;
    --on-navy-2: #b4c0d4;
    --accent: #1f56d6;
    --accent-hover: #1847b4;
    --accent-soft: #e6edfb;
    --accent-on-navy: #8fb0ff;
    --ok: #1d7a4f;
    --ok-soft: #e3f2ea;

    --font: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

    --container: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --gap: 24px;
    --section: clamp(72px, 9vw, 128px);
    --radius: 6px;
    --radius-sm: 4px;
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

.on-navy :focus-visible, .site-footer :focus-visible, .utility-bar :focus-visible {
    outline-color: var(--accent-on-navy);
}

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 1000;
    background: var(--ink);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Grille 12 colonnes ---------- */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
}
.grid-12 > * { grid-column: 1 / -1; }

/* ---------- Typographie éditoriale ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 28px; height: 1px;
    background: currentColor;
}
.on-navy .eyebrow { color: var(--accent-on-navy); }

.section-title {
    font-size: clamp(30px, 3.6vw, 46px);
    max-width: 22ch;
}
.lead {
    font-size: clamp(17px, 1.4vw, 19px);
    color: var(--ink-2);
    max-width: 62ch;
    margin-top: 20px;
}
.on-navy .lead { color: var(--on-navy-2); }

.section { padding: var(--section) 0; }
.section-white { background: var(--white); }
.section-mist { background: var(--mist); }
.section-mist-2 { background: var(--mist-2); }
.section-slate { background: var(--slate); }
.section-slate .chips li { border-color: var(--line-strong); }
.section-rule { border-top: 1px solid var(--line); }

.section-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
    margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head > .sh-main { grid-column: 1 / span 7; }
.section-head > .sh-side { grid-column: 9 / span 4; color: var(--muted); font-size: 15.5px; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.005em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--mist); color: var(--navy); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn-ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14.5px; }
.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15.5px;
    text-decoration: none;
    color: var(--accent);
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* =====================================================================
   En-tête
   ===================================================================== */
.utility-bar {
    background: var(--navy-deep);
    color: var(--on-navy-2);
    font-size: 13px;
}
.utility-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}
.utility-bar p { display: flex; align-items: center; gap: 10px; }
.utility-dot { width: 6px; height: 6px; border-radius: 50%; background: #5fbf8f; flex: none; }
.utility-links { display: flex; align-items: center; gap: 22px; }
.utility-links a { color: var(--on-navy); text-decoration: none; }
.utility-links a:hover { color: var(--white); text-decoration: underline; }
.utility-lang { padding-left: 22px; border-left: 1px solid var(--navy-line); font-weight: 600; letter-spacing: 0.06em; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(11, 26, 51, 0.45); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 10px; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
    position: relative;
    display: block;
    padding: 10px 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
}
.nav-list a::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px; bottom: 2px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-list a[aria-current="true"] { color: var(--ink); }
.nav-list .nav-lang-mobile { display: none; }
.header-cta { flex: none; }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span {
    position: absolute; left: 0;
    width: 100%; height: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   Hero
   ===================================================================== */

/* ---------- Carte réseau (hero) ---------- */
.netcard {
    margin: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -40px rgba(11, 26, 51, 0.35);
    overflow: hidden;
}
.netcard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.netcard-title { font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.netcard-tag {
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--line);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
/* Carte du réseau : trait fin gris-bleu, pôles et véhicules en bleu d'accent. */
.netmap-wrap { position: relative; background: var(--surface-soft); border-bottom: 1px solid var(--line); }
.netmap { width: 100%; height: auto; }
.nm-water { fill: #e2e8f0; }
.nm-river { fill: none; stroke: #ccd5e1; stroke-width: 3; stroke-linecap: round; }
.nm-border { fill: none; stroke: var(--map-line-soft); stroke-width: 1; stroke-dasharray: 2 5; }
.nm-grid line { stroke: #e8ecf2; stroke-width: 1; }
.nm-region { font: 600 10px var(--font); letter-spacing: 0.24em; fill: #7a879c; }
.nm-route {
    fill: none;
    stroke: var(--map-line);
    stroke-width: 1.4;
    stroke-linecap: round;
}
.nm-route-soft { stroke: var(--map-line-soft); stroke-dasharray: 4 5; }
.nm-route-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js-motion .nm-route-draw { stroke-dashoffset: 1; }
.js-motion .netmap.is-drawn .nm-route-draw { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s var(--ease); }
.js-motion .netmap.is-drawn .nm-route-draw:nth-of-type(2) { transition-delay: 0.3s; }
.js-motion .netmap.is-drawn .nm-route-draw:nth-of-type(3) { transition-delay: 0.6s; }
.js-motion .netmap.is-drawn .nm-route-draw:nth-of-type(4) { transition-delay: 0.9s; }
.nm-hub-ring { fill: var(--white); stroke: var(--accent); stroke-width: 1.5; }
.nm-hub-core { fill: var(--accent); }
.nm-served { fill: var(--white); stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 2 2; }
.nm-label { font: 600 12.5px var(--font); fill: var(--ink); }
.nm-sub { font: 500 9.5px var(--font); letter-spacing: 0.12em; fill: var(--muted); }
.nm-vehicle { fill: var(--accent); stroke: var(--white); stroke-width: 1.5; }

.netcard-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 12px 20px;
    font-size: 12.5px;
    color: var(--muted);
}
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg i { display: inline-block; flex: none; }
.lg-hub { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--accent); background: radial-gradient(circle, var(--accent) 0 35%, var(--white) 40%); }
.lg-served { width: 10px; height: 10px; border-radius: 50%; border: 1.5px dashed var(--accent); }
.lg-route { width: 18px; height: 2px; background: var(--map-line); }

/* =====================================================================
   Services (piliers)
   ===================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.service {
    position: relative;
    padding: 32px 28px 34px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    transition: background-color 0.3s var(--ease);
}
.service:hover { background: var(--surface-soft); }
.service-num { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.service-icon { width: 36px; height: 36px; color: var(--accent); margin: 22px 0 18px; }
.service h3 { font-size: 21px; margin-bottom: 10px; }
.service p { color: var(--ink-2); font-size: 15.5px; }
.service .text-link { margin-top: 16px; }
.service::before {
    content: "";
    position: absolute;
    left: -1px; top: -1px;
    width: calc(100% + 2px); height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
}
.service:hover::before { transform: scaleX(1); }
.service-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: end; background: var(--navy); }
.service-wide h3, .service-wide .service-num { color: var(--white); }
.service-wide p { color: var(--on-navy-2); }
.service-wide .service-icon { color: var(--accent-on-navy); }
.service-wide:hover { background: var(--navy); }
.service-wide .btn { justify-self: start; margin-top: 20px; }

/* =====================================================================
   Chaîne d'exécution
   ===================================================================== */
.chain { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); counter-reset: step; }
.chain-track {
    position: absolute;
    left: 0; right: 0; top: 23px;
    height: 2px;
    background: var(--line);
    overflow: hidden;
}
.chain-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.js-motion .chain-fill { transform: scaleX(0); transition: transform 2.6s var(--ease); }
.js-motion .chain.is-in .chain-fill { transform: scaleX(1); }
.step { position: relative; padding-top: 0; }
.step-dot {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: var(--white);
    font-weight: 600;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.chain.is-in .step-dot, .no-motion .step-dot { border-color: var(--accent); background: var(--accent); color: var(--white); }
.js-motion .chain.is-in .step:nth-child(3) .step-dot { transition-delay: 0.5s; }
.js-motion .chain.is-in .step:nth-child(4) .step-dot { transition-delay: 1s; }
.js-motion .chain.is-in .step:nth-child(5) .step-dot { transition-delay: 1.5s; }
.js-motion .chain.is-in .step:nth-child(6) .step-dot { transition-delay: 2s; }
.step h3 { font-size: 18.5px; margin: 24px 0 10px; }
.step p { font-size: 15px; color: var(--ink-2); }
.step-tool {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

/* =====================================================================
   Flotte
   ===================================================================== */
.stackbar {
    display: flex;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
    background: var(--mist);
    gap: 2px;
}
.stackbar span { display: block; height: 100%; flex: 0 0 auto; transform-origin: left; }
.js-motion .stackbar span { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js-motion .stackbar.is-in span { transform: scaleX(1); }
/* Couleurs et proportions de la composition (7 / 12 / 1 / 2 / 2 / 6 / 2 = 32 véhicules) */
.sb-1 { background: #14233f; }
.sb-2 { background: #1f56d6; }
.sb-3 { background: #5f86de; }
.sb-4 { background: #8ea9e4; }
.sb-5 { background: #b8c8ec; }
.sb-6 { background: #3d4f6e; }
.sb-7 { background: #1d7a4f; }
.stackbar .sb-1 { flex: 7 1 0; }
.stackbar .sb-2 { flex: 12 1 0; }
.stackbar .sb-3 { flex: 1 1 0; }
.stackbar .sb-4 { flex: 2 1 0; }
.stackbar .sb-5 { flex: 2 1 0; }
.stackbar .sb-6 { flex: 6 1 0; }
.stackbar .sb-7 { flex: 2 1 0; }
.ring { position: relative; width: 132px; height: 132px; }
.ring svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--mist); stroke-width: 10; }
/* 2πr = 351.86 ; part électrique 8/32 → décalage 351.86 × (1 − 0.25) = 263.9 (recalculé par le script) */
.ring-fg { fill: none; stroke: #1d7a4f; stroke-width: 10; stroke-linecap: butt; stroke-dasharray: 351.86; stroke-dashoffset: 263.9; }
.js-motion .ring-fg { stroke-dashoffset: 351.86; transition: stroke-dashoffset 1.8s var(--ease); }
.ring-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring-label strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.ring-label span { font-size: 12px; color: var(--muted); }
.fleet-photo {
    margin: 48px 0 0;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy);
    aspect-ratio: 1430 / 900;
}
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.fleet-photo figcaption {
    position: absolute;
    left: 0; bottom: 0;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--white);
    background: rgba(7, 22, 49, 0.78);
    border-top-right-radius: var(--radius-sm);
}

.capacity-strip {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
    align-items: center;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}
.capacity-strip .cs-text { grid-column: 1 / span 5; }
.capacity-strip h3 { font-size: 24px; margin-bottom: 8px; }
.capacity-strip p { color: var(--ink-2); font-size: 15.5px; }
.chips { grid-column: 6 / span 5; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); background: var(--white); }
.capacity-strip .btn { grid-column: 11 / span 2; justify-self: end; }

/* =====================================================================
   Modèles d'engagement (dédiée / renfort)
   ===================================================================== */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.model {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 3.4vw, 44px);
}
.model h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 14px; }
.model > p { color: var(--ink-2); }
.formula {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 26px 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    list-style: none;
}
.formula li { font-weight: 600; font-size: 15px; }
.formula .op { color: var(--muted); font-weight: 400; }
.formula .res { color: var(--accent); }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.checks li::before {
    content: "";
    position: absolute;
    left: 2px; top: 7px;
    width: 12px; height: 7px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.model-note { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.triggers { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; border-top: 1px solid var(--line); }
.triggers li { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; display: flex; gap: 12px; align-items: baseline; }
.triggers li span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.model .btn { margin-top: 28px; }

/* =====================================================================
   Engagements (tableau d'exploitation)
   ===================================================================== */
.commit-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 15px;
}
.commit-table caption { text-align: left; caption-side: bottom; padding-top: 14px; font-size: 13px; color: var(--muted); }
.commit-table th, .commit-table td { text-align: left; vertical-align: top; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.commit-table thead th {
    background: var(--navy);
    color: var(--on-navy);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding-top: 14px; padding-bottom: 14px;
}
.commit-table tbody tr:last-child th, .commit-table tbody tr:last-child td { border-bottom: 0; }
.commit-table tbody tr { transition: background-color 0.2s; }
.commit-table tbody tr:hover { background: #fafbfc; }
.commit-table tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.commit-table tbody th small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.commit-table td { color: var(--ink-2); }
.scope {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ok);
}
.scope::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tool-tag { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: var(--radius-sm); white-space: nowrap; }

/* =====================================================================
   Secteurs (onglets)
   ===================================================================== */
.tabs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.tablist { grid-column: 1 / span 4; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 17px 12px 17px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    text-align: left;
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink-2);
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}
.tab span:first-child { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.tab svg { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity 0.2s, transform 0.25s var(--ease); color: var(--accent); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"] svg { opacity: 1; transform: none; }
.tab::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    height: 2px; width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabpanels { grid-column: 6 / span 7; }
.tabpanel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(28px, 3.4vw, 44px);
}
.tabpanel[hidden] { display: none; }
.js-motion .tabpanel.is-entering { animation: panelIn 0.45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabpanel h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.tabpanel > p { color: var(--ink-2); max-width: 54ch; }
.tp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tp-cols h4 { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 12px; font-family: var(--font); }
.tp-cols ul { list-style: none; display: grid; gap: 8px; }
.tp-cols li { font-size: 15px; color: var(--ink-2); padding-left: 16px; position: relative; }
.tp-cols li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 1px; background: var(--accent); }
.tabpanel .text-link { margin-top: 26px; }

/* =====================================================================
   Réseau (diagramme de corridor)
   ===================================================================== */
.network-new { margin-top: 32px; padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.network-new h3 { font-size: 19px; margin-bottom: 8px; }
.network-new p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }

/* =====================================================================
   Technologie S360 (section sombre sobre)
   ===================================================================== */
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h2, .on-navy h3 { color: var(--white); }
.s360-grid { align-items: center; row-gap: 56px; }
.s360-copy { grid-column: 1 / span 6; }
.s360-device { grid-column: 8 / span 5; display: flex; justify-content: center; }
.s360-features { list-style: none; margin-top: 36px; border-top: 1px solid var(--navy-line); }
.s360-features li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--navy-line);
}
.s360-features svg { width: 22px; height: 22px; color: var(--accent-on-navy); margin-top: 3px; }
.s360-features strong { display: block; color: var(--white); font-weight: 600; font-size: 16.5px; margin-bottom: 2px; }
.s360-features span { color: var(--on-navy-2); font-size: 15px; }
.s360-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.s360-note { margin-top: 22px; font-size: 14px; color: var(--on-navy-2); }

.phone {
    position: relative;
    width: min(300px, 100%);
    aspect-ratio: 300 / 610;
    border-radius: 42px;
    padding: 12px;
    background: #050d1f;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.phone-screen {
    position: relative;
    height: 100%;
    border-radius: 31px;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    font-size: 12px;
}
.phone-notch { position: absolute; top: 9px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #050d1f; z-index: 2; }
.ps-head { background: var(--navy); color: var(--white); padding: 44px 18px 16px; }
.ps-head small { display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-2); }
.ps-head strong { display: block; font-size: 16px; font-weight: 600; margin-top: 4px; }
.ps-progress { margin-top: 12px; height: 4px; background: rgba(255, 255, 255, 0.16); border-radius: 2px; overflow: hidden; }
.ps-progress span { display: block; height: 100%; width: 100%; background: var(--accent-on-navy); transform-origin: left; }
.js-motion .ps-progress span { transform: scaleX(0.2); transition: transform 2.8s var(--ease); }
.js-motion .phone.is-in .ps-progress span { transform: scaleX(1); }
.ps-list { list-style: none; padding: 12px 12px 0; display: grid; gap: 8px; }
.ps-list li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 10px;
}
.ps-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease); }
.ps-check svg { width: 12px; height: 12px; color: var(--white); opacity: 0; transition: opacity 0.4s; }
.ps-list li.is-done .ps-check, .no-motion .ps-list li .ps-check { background: var(--ok); border-color: var(--ok); }
.ps-list li.is-done .ps-check svg, .no-motion .ps-list li .ps-check svg { opacity: 1; }
.ps-list b { display: block; font-size: 12.5px; font-weight: 600; }
.ps-list em { font-style: normal; font-size: 11px; color: var(--muted); }
.ps-chip { font-size: 10px; font-weight: 600; color: var(--muted); }
.ps-foot { margin-top: auto; padding: 12px; }
.ps-btn { display: block; text-align: center; background: var(--accent); color: var(--white); border-radius: 10px; padding: 11px; font-weight: 600; font-size: 12.5px; }
.device-caption { text-align: center; margin-top: 16px; font-size: 13px; color: var(--on-navy-2); }

.video-dialog {
    width: min(960px, calc(100vw - 32px));
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: var(--navy-deep);
    color: var(--white);
}
.video-dialog::backdrop { background: rgba(7, 22, 49, 0.82); }
.vd-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; font-size: 14px; }
.vd-close { width: 40px; height: 40px; border: 1px solid var(--navy-line); border-radius: var(--radius-sm); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.vd-close svg { width: 18px; height: 18px; }
.video-dialog video { width: 100%; height: auto; background: #000; }

/* =====================================================================
   Structure vérifiable
   ===================================================================== */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--ink);
}
.proof { padding: 28px 24px 30px 0; margin-right: 24px; border-right: 1px solid var(--line); }
.proof:last-child { border-right: 0; margin-right: 0; }
.proof svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.proof h3 { font-size: 18px; margin-bottom: 8px; }
.proof p { font-size: 14.5px; color: var(--ink-2); }

.governance {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
    margin-top: 56px;
    align-items: stretch;
}
.gov-logo {
    grid-column: 1 / span 4;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    padding: 28px;
}
.gov-logo img { width: min(280px, 100%); }
.gov-people { grid-column: 5 / span 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.person {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 26px 24px;
    display: flex;
    flex-direction: column;
}
.person-city { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.person h3 { font-size: 21px; margin: 10px 0 6px; }
.person p { font-size: 14.5px; color: var(--ink-2); }
.person a { margin-top: auto; padding-top: 18px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.ref-note {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--ink-2);
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-grid { align-items: start; row-gap: 40px; }
.faq-aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside p { color: var(--ink-2); margin-top: 18px; font-size: 15.5px; }
.faq-aside .btn { margin-top: 26px; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 16.5px;
    color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-sign { position: relative; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; }
.faq-sign::before, .faq-sign::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 10px; height: 1.5px;
    margin: -0.75px 0 0 -5px;
    background: var(--ink);
    transition: transform 0.3s var(--ease);
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-item[open] .faq-sign { border-color: var(--accent); }
.faq-answer { padding: 0 44px 24px 0; color: var(--ink-2); font-size: 15.5px; }

/* =====================================================================
   Carrières + formulaires
   ===================================================================== */
.career-grid, .contact-grid { align-items: start; row-gap: 48px; }
.career-copy, .contact-copy { grid-column: 1 / span 5; }
.career-form, .contact-form-col { grid-column: 7 / span 6; }
.perks { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.perks li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.perks strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

.form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 40px);
    box-shadow: 0 30px 60px -48px rgba(11, 26, 51, 0.4);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-size: 15.5px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #7b879a; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(31, 86, 214, 0.18);
}
.form-group input[type="file"] { padding: 9px 10px; font-size: 14px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-progress { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-bottom: 26px; font-size: 13px; font-weight: 600; }
.fp-step { color: var(--muted); white-space: nowrap; }
.fp-step.active { color: var(--accent); }
.fp-bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.fp-fill { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0.5); transform-origin: left; transition: transform 0.4s var(--ease); }
.form-progress.step2 .fp-fill { transform: scaleX(1); }
.form-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.form-step.active { display: block; }
.form-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }

.contact-lines { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.contact-lines li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.contact-lines span { color: var(--muted); font-size: 13.5px; padding-top: 2px; }
.contact-lines a { text-decoration: none; font-weight: 600; }
.contact-reply { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.contact-reply::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }

/* =====================================================================
   Bandeau d'appel final
   ===================================================================== */
.cta-band { background: var(--slate); color: var(--ink-2); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.cta-band .container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.cta-band h2 { grid-column: 1 / span 6; color: var(--ink); font-size: clamp(28px, 3.2vw, 42px); }
.cta-band p { grid-column: 1 / span 6; color: var(--ink-2); }
.cta-band .cta-actions { grid-column: 8 / span 5; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* =====================================================================
   Pied de page
   ===================================================================== */
.site-footer { background: var(--navy-deep); color: var(--on-navy-2); font-size: 14.5px; border-top: 1px solid var(--navy-line); }
.footer-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 64px 0 48px; }
.footer-brand { grid-column: 1 / span 4; }
.footer-brand img { width: 56px; height: 56px; border-radius: 12px; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.footer-col { grid-column: span 2; }
.footer-col h2 { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-cookie-btn { color: var(--on-navy-2); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14.5px; text-align: left; }
.footer-col a:hover, .footer-cookie-btn:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid var(--navy-line); font-size: 13px; }
.footer-bottom a { color: var(--on-navy); }

/* =====================================================================
   Contact flottant (mobile)
   ===================================================================== */
.float-contact { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: none; }
.float-btn {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 50px; padding: 0 18px;
    border: 0; border-radius: 999px;
    background: var(--navy); color: var(--white);
    font-weight: 600; font-size: 14.5px;
    box-shadow: 0 12px 30px -12px rgba(7, 22, 49, 0.6);
    cursor: pointer;
}
.float-btn svg { width: 18px; height: 18px; }
.float-menu {
    position: absolute; right: 0; bottom: 62px;
    display: none; flex-direction: column;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -24px rgba(7, 22, 49, 0.45);
    overflow: hidden;
}
.float-menu.open { display: flex; }
.float-menu a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.float-menu a:last-child { border-bottom: 0; }
.float-menu svg { width: 18px; height: 18px; color: var(--accent); }

/* =====================================================================
   Cookies
   ===================================================================== */
.cookie-banner {
    position: fixed;
    left: 16px; bottom: 16px;
    z-index: 200;
    width: min(440px, calc(100vw - 32px));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -30px rgba(7, 22, 49, 0.45);
    padding: 22px 22px 18px;
}
.cookie-banner[hidden], .cookie-modal-overlay[hidden] { display: none; }
.cookie-banner h2 { font-size: 17px; margin-bottom: 8px; }
.cookie-banner p { font-size: 14px; color: var(--ink-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.cookie-customize { background: none; border: 0; padding: 8px 4px; color: var(--accent); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(7, 22, 49, 0.6); display: grid; place-items: center; padding: 16px; }
.cookie-modal { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); border-radius: var(--radius); padding: 28px; }
.cookie-modal h2 { font-size: 20px; margin-bottom: 18px; }
.cookie-cat { border-top: 1px solid var(--line); padding: 16px 0; }
.cookie-cat-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.cookie-cat p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.cookie-always { font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch-slider { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background-color 0.2s; }
.switch-slider::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform 0.2s var(--ease); }
.switch input:checked + .switch-slider { background: var(--accent); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }
.switch input:focus-visible + .switch-slider { outline: 2px solid var(--accent); outline-offset: 2px; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cookie-modal-link { margin-top: 14px; font-size: 13.5px; }

/* =====================================================================
   Apparitions au défilement (uniquement si JS + mouvement autorisé)
   ===================================================================== */
.js-motion [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js-motion [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js-motion [data-reveal-delay="3"] { transition-delay: 0.24s; }

/* =====================================================================
   Pages simples (merci, confidentialité)
   ===================================================================== */
.page-simple { background: var(--paper); }
.simple-wrap { min-height: 100vh; display: grid; place-items: center; padding: 48px 20px; }
.simple-card { width: min(640px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); }
.simple-logo { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 24px; }
.simple-card h1 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.simple-card p { color: var(--ink-2); margin-bottom: 12px; }
.simple-card .btn { margin-top: 12px; }
.simple-alt { margin-top: 20px; font-size: 14px; }
.simple-wrap-doc { place-items: start center; }
.simple-doc { width: min(760px, 100%); }
.simple-doc h2 { font-size: 20px; margin: 30px 0 10px; }
.simple-doc ul { padding-left: 20px; color: var(--ink-2); display: grid; gap: 6px; }
.simple-back { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }
.simple-meta { font-size: 14px; color: var(--muted); }

/* =====================================================================
   Adaptatif
   ===================================================================== */
@media (max-width: 1180px) {
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--header-h));
        max-height: calc(100dvh - var(--header-h));
        box-shadow: 0 24px 40px -24px rgba(11, 26, 51, 0.35);
        background: var(--white);
        border-top: 1px solid var(--line);
        overflow-y: auto;
        display: none;
        margin: 0;
    }
    .main-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; }
    .nav-list a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
    .nav-list a::after { display: none; }
    .nav-list .nav-lang-mobile { display: block; }
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .site-header { position: sticky; }
}

@media (max-width: 1024px) {
    .section-head > .sh-main, .section-head > .sh-side { grid-column: 1 / -1; }
    .section-head > .sh-side { margin-top: 16px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-wide { grid-column: 1 / -1; }
    .chain { grid-template-columns: 1fr; gap: 0; }
    .chain-track { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
    .chain-fill { transform-origin: top; }
    .js-motion .chain-fill { transform: scaleY(0); }
    .js-motion .chain.is-in .chain-fill { transform: scaleY(1); }
    .step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
    .step h3 { margin-top: 10px; }
    .step > *:not(.step-dot) { grid-column: 2; }
    .step-dot { grid-row: 1 / span 4; }
    .capacity-strip .cs-text, .chips, .capacity-strip .btn { grid-column: 1 / -1; justify-self: start; }
    .models { grid-template-columns: 1fr; }
    .tablist, .tabpanels { grid-column: 1 / -1; }
    .tablist { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .tablist::-webkit-scrollbar { display: none; }
    .tab { grid-template-columns: auto; padding: 14px 16px; border-bottom: 0; white-space: nowrap; font-size: 15px; }
    .tab span:first-child, .tab svg { display: none; }
    .s360-copy, .s360-device { grid-column: 1 / -1; }
    .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proof:nth-child(2) { border-right: 0; margin-right: 0; }
    .proof:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .gov-logo, .gov-people { grid-column: 1 / -1; }
    .faq-aside, .faq-list { grid-column: 1 / -1; }
    .faq-aside { position: static; }
    .career-copy, .career-form, .contact-copy, .contact-form-col { grid-column: 1 / -1; }
    .cta-band h2, .cta-band p, .cta-band .cta-actions { grid-column: 1 / -1; grid-row: auto; justify-content: flex-start; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col { grid-column: span 6; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .utility-bar .utility-hide-sm { display: none; }
    .utility-bar .container { justify-content: space-between; }
    .utility-links { gap: 16px; }
    .utility-lang { padding-left: 16px; }
    .hero-actions .btn { width: 100%; }
    .services-grid { grid-template-columns: 1fr; }
    .service-wide { grid-template-columns: 1fr; }
    .triggers { grid-template-columns: 1fr; }
    .commit-table, .commit-table thead, .commit-table tbody, .commit-table tr, .commit-table th, .commit-table td { display: block; width: 100%; }
    .commit-table { display: flex; flex-direction: column; }
    .commit-table caption { display: block; order: 2; width: auto; padding: 14px 18px 16px; }
    .commit-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .commit-table tbody tr { border-bottom: 1px solid var(--line); padding: 18px 18px 12px; }
    .commit-table tbody th, .commit-table td { border: 0; padding: 0 0 8px; width: 100%; }
    .commit-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
    .tp-cols { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .proof { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
    .gov-people { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-lines li { grid-template-columns: 1fr; gap: 2px; }
    .footer-col { grid-column: 1 / -1; }
    .float-contact { display: block; }
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
    .faq-answer { padding-right: 0; }
    .btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .utility-bar, .site-header, .float-contact, .cookie-banner, .cookie-modal-overlay, .video-dialog { display: none !important; }
    body { background: #fff; }
}
