/* =============================================================
   KCI SOLUTION — DESIGN SYSTEM v4
   Source : projet Claude Design "KCI Solution Homepage Redesign",
            fichier "KCI Accueil v4.dc.html".
   Palette figee : A - Hybride (decision Kamel du 2026-08-03).
   Le selecteur de 3 palettes du fichier de design etait un outil
   de test : il n'est pas repris ici.

   Cette feuille est la BASE destinee a toutes les pages du site.
   index.html l'utilise seule ; les autres pages migreront dessus.
   L'ancienne css/style.css reste en place tant que la migration
   n'est pas faite : ne pas la supprimer.
============================================================= */

/* ===========================
   0. POLICES — AUTO-HEBERGEES
   ---------------------------
   Syne et Inter sont servies depuis assets/fonts/ et NON depuis
   fonts.googleapis.com. Motif : un chargement direct chez Google
   transfere l'IP du visiteur vers Google LLC (USA), transfert que
   politique-confidentialite.html ne declare pas. Auto-hebergees,
   il n'y a plus de transfert a declarer.
   Les deux familles sont VARIABLES : Google sert un seul fichier
   pour toutes les graisses demandees (verifie par empreinte
   sha256 identique sur 600/700/800 et 400/500/600). La graisse
   est donc declaree en PLAGE, et l'axe wght interpole.
   Licences SIL OFL 1.1, auto-hebergement autorise.
=========================== */
@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/syne-var-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: 'Syne';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/syne-var-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-var-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';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/inter-var-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===========================
   1. TOKENS
=========================== */
:root {
  /* Fonds */
  --bg-dark: #061426;
  --bg-dark-2: #091B30;
  --bg-light: #F2F6F9;
  --bg-light-alt: #E8F0F5;
  --surface: #FFFFFF;
  --surface-tint: #EDF4F7;

  /* Texte */
  --text-on-dark: #F7FAFC;
  --text-muted-dark: #AABBC8;
  --text-primary: #102235;
  --text-secondary: #52687A;

  /* Accents */
  --accent-cyan: #00A8C7;
  --accent-cyan-deep: #007A93;
  --accent-cyan-bright: #00B4D8;
  --accent-blue: #1268F3;
  --accent-blue-deep: #0A4FD0;

  /* Bordures */
  --border-light: #D6E1E8;
  --border-dark: rgba(156, 187, 210, 0.18);

  /* Typo */
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Rythme */
  --sp: clamp(88px, 9vw, 144px);   /* padding vertical de section */
  --wrap-max: 1296px;
  --wrap-pad: 48px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --pill: 999px;

  --shadow-card: 0 18px 50px rgba(24, 58, 83, 0.08);
  --shadow-card-hover: 0 26px 60px rgba(24, 58, 83, 0.12);
  --shadow-soft: 0 10px 30px rgba(24, 58, 83, 0.06);
}

/* ===========================
   2. RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: var(--accent-blue-deep); text-decoration: none; }
a:hover { color: var(--accent-blue); }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(18, 104, 243, 0.3); color: #FFFFFF; }

/* ===========================
   3. ACCESSIBILITE
=========================== */
:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Sur fonds sombres, le bleu ne ressort pas : cyan clair a la place. */
.v4-header :focus-visible,
.v4-mobile :focus-visible,
.v4-hero :focus-visible,
.v4-cabinet :focus-visible,
.v4-contact :focus-visible,
.v4-footer :focus-visible {
  outline-color: var(--accent-cyan-bright);
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-200%);
  z-index: 2000;
  background: var(--surface);
  color: var(--accent-blue);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================
   4. LAYOUT
=========================== */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: var(--sp) var(--wrap-pad);
}
.wrap--flush { padding-top: 0; padding-bottom: 0; }

.section { position: relative; overflow: hidden; }
.section--light { background: var(--bg-light); }
.section--light-alt { background: var(--bg-light-alt); }
.section--dark { background: var(--bg-dark); }
.section--dark-2 { background: var(--bg-dark-2); }
.section[id] { scroll-margin-top: 100px; }

/* ===========================
   5. TYPO DE SECTION
=========================== */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue-deep);
}
.eyebrow--on-dark { color: var(--accent-cyan-bright); }

.h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 16px 0 0;
  text-wrap: balance;
}
.h2--on-dark { color: #FFFFFF; font-weight: 800; }
.h2 em, .h2 .accent { font-style: normal; color: var(--accent-cyan-deep); }
.h2--on-dark .accent { color: var(--accent-cyan-bright); }

.lede {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 18px 0 0;
  text-wrap: pretty;
}

/* Losange decoratif, motif recurrent du design v4. */
.diamond {
  width: 5px;
  height: 5px;
  background: var(--accent-cyan-bright);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.diamond--deep { background: var(--accent-cyan-deep); }

/* Encadre de precision sous une grille. */
.callout {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.callout .diamond { margin-top: 8px; }

/* ===========================
   6. BOUTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  padding: 14px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--sm { padding: 11px 20px; font-size: 13.5px; }
.btn--lg { padding: 15px 30px; font-size: 15px; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-blue-deep));
  color: #FFFFFF;
}
.btn--primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 104, 243, 0.45);
}

/* Sur fond sombre : contour clair translucide. */
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Sur fond clair : contour bleu, se remplit au survol. */
.btn--outline {
  background: transparent;
  border-color: var(--accent-blue-deep);
  color: var(--accent-blue-deep);
  padding: 12px 22px;
  font-size: 14px;
}
.btn--outline:hover {
  transform: translateY(-2px);
  background: var(--accent-blue);
  color: #FFFFFF;
}

/* ===========================
   7. HEADER
=========================== */
.v4-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, rgba(5, 13, 25, 0.88), rgba(5, 13, 25, 0));
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.v4-header.is-scrolled {
  background: rgba(6, 20, 38, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
}

.brand { display: flex; flex-direction: column; gap: 2px; color: #FFFFFF; }
.brand:hover { color: #FFFFFF; }
.brand__row { display: inline-flex; align-items: center; gap: 9px; }
.brand__dot {
  width: 7px; height: 7px;
  border-radius: var(--pill);
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 12px rgba(0, 180, 216, 0.8);
  flex-shrink: 0;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: #FFFFFF;
}
.brand__name span { color: var(--accent-cyan-bright); }
.brand__baseline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 16px;
}
.v4-footer .brand__name { font-size: 21px; }

.v4-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--pill);
}
.v4-nav a {
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.v4-nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.v4-nav a[aria-current="page"] { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }

.v4-burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px; height: 46px;
  border-radius: var(--pill);
  background: rgba(10, 22, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  padding: 0;
}
.v4-burger span {
  display: block;
  width: 18px; height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* Menu mobile plein ecran */
.v4-mobile {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 13, 25, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
}
.v4-mobile[hidden] { display: none; }
.v4-mobile__top { display: flex; align-items: center; justify-content: space-between; }
.v4-mobile__close {
  width: 46px; height: 46px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
}
.v4-mobile nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.v4-mobile nav a {
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #FFFFFF;
}
.v4-mobile .btn { margin-top: auto; }

/* ===========================
   8. HERO
=========================== */
.v4-hero {
  position: relative;
  overflow: hidden;
  min-height: max(88vh, 760px);
  display: flex;
  align-items: center;
  /* Repli visuel : si hero-final.png est absent, le degrade tient seul. */
  background:
    radial-gradient(1100px 620px at 78% 42%, rgba(0, 168, 199, 0.20), transparent 68%),
    radial-gradient(820px 520px at 92% 78%, rgba(18, 104, 243, 0.22), transparent 70%),
    var(--bg-dark);
}
.v4-hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
  animation: heroZoom 1.4s ease both;
}
.v4-hero__img.is-missing { display: none; }

.v4-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(156, 187, 210, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 187, 210, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%);
}

.v4-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(5, 13, 25, 1) 0%,
      rgba(5, 13, 25, 0.98) 28%,
      rgba(5, 13, 25, 0.86) 46%,
      rgba(5, 13, 25, 0.32) 68%,
      rgba(5, 13, 25, 0.02) 100%),
    linear-gradient(180deg,
      rgba(5, 13, 25, 0.1) 0%,
      rgba(5, 13, 25, 0) 65%,
      rgba(5, 13, 25, 0.36) 100%);
}

.v4-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin-left: clamp(24px, 8vw, 132px);
  padding: 160px 32px 104px 0;
  animation: heroFadeUp 0.8s ease 0.1s backwards;
}

.v4-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: var(--pill);
  background: rgba(18, 104, 243, 0.12);
  border: 1px solid rgba(18, 104, 243, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.v4-badge span:last-child {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
}

.v4-hero__title {
  font-weight: 800;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #F8F9FB;
  margin: 30px 0 0;
  text-wrap: balance;
}
.v4-hero__title .accent {
  color: var(--accent-cyan-bright);
  text-shadow: 0 0 40px rgba(0, 180, 216, 0.4);
}

.v4-hero__lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 24px 0 0;
  text-wrap: pretty;
}

.v4-hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.v4-stats { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 0; }
.v4-stats > div { padding: 0 44px; }
.v4-stats > div:first-child { padding-left: 0; }
.v4-stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.v4-stats__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: #FFFFFF;
}
.v4-stats__num span { color: var(--accent-cyan-bright); }
.v4-stats__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 6px;
}

/* ===========================
   9. BANDE DE CONFIANCE
=========================== */
.v4-trust {
  background: var(--bg-dark-2);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.v4-trust__inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 19px var(--wrap-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 36px;
}
.v4-trust__item { display: inline-flex; align-items: center; gap: 11px; }
.v4-trust__item span:last-child {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-muted-dark);
}

/* ===========================
   10. CARTES D'EXPERTISE
=========================== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 28px;
  margin-top: 56px;
}

.expertise {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.expertise:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }

.expertise__frame {
  position: relative;
  background: #0e1c2a;
  border: 1px solid rgba(118, 159, 189, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: clamp(240px, 24vw, 340px);
}
.expertise__frame--alt { background: #122332; }
.expertise__frame::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26%;
  background: linear-gradient(to bottom, rgba(14, 28, 42, 0), rgba(14, 28, 42, 0.95));
  pointer-events: none;
}
.expertise__frame--alt::after {
  background: linear-gradient(to bottom, rgba(18, 35, 50, 0), rgba(18, 35, 50, 0.95));
}
.expertise__frame img {
  width: 100%;
  height: clamp(240px, 24vw, 340px);
  object-fit: contain;
  object-position: center;
}
.expertise__frame img.is-missing { display: none; }

/* Repli decoratif visible seulement si l'image manque. */
.expertise__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.expertise__frame.is-fallback::before { opacity: 1; }

.expertise__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
}
.expertise__flow span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.expertise__flow .arrow { color: var(--accent-cyan-deep); letter-spacing: 0; }

.expertise__rank {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 30px;
}
.expertise__flow + .expertise__rank { margin-top: 22px; }

.expertise__title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 12px 0 0;
}
.expertise__target {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 9px;
}
.expertise__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 15px 0 0;
  text-wrap: pretty;
}

.checklist {
  margin: 22px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.checklist li { display: flex; align-items: flex-start; gap: 12px; }
.checklist svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: none;
  stroke: var(--accent-cyan-deep);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checklist span { font-size: 14.5px; color: var(--text-primary); }

.expertise__foot { margin-top: auto; padding-top: 24px; }
.expertise__proof {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.expertise__proof .diamond { margin-top: 7px; }
.expertise__foot .btn { margin-top: 20px; }

/* ===========================
   11. METHODE
=========================== */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
  margin-top: 52px;
}
.method {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.25s ease;
}
.method:hover { transform: translateY(-3px); }
.method__head { display: flex; align-items: center; gap: 16px; }
.method__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
  color: var(--text-primary);
  opacity: 0.12;
}
.method__rule { flex: 1; height: 1px; background: var(--border-light); }
.method h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin: 20px 0 0;
}
.method p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 11px 0 0;
  text-wrap: pretty;
}

/* ===========================
   12. ENVIRONNEMENTS MAITRISES
=========================== */
.env-motif {
  position: absolute;
  top: 0; right: 0;
  width: min(46vw, 640px);
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}
.env-rows { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 56px; }
.env-rows__label { flex: 1 1 220px; min-width: 220px; }
.env-rows__label > div {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.env-rows__label p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 12px 0 0;
  text-wrap: pretty;
}
.env-rows__cards {
  flex: 3 1 620px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.env-rows__sep { flex-basis: 100%; height: 1px; background: var(--border-light); margin: 6px 0; }

.tech {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tech:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(24, 58, 83, 0.1); }
.tech__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--pill);
  background: rgba(18, 104, 243, 0.08);
  flex-shrink: 0;
}
.tech__icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tech__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--text-primary);
  margin-top: 16px;
}
.tech__rule {
  display: block;
  width: 26px; height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
  margin-top: 10px;
}
.tech p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 10px 0 0;
  text-wrap: pretty;
}

/* ===========================
   13. LE CABINET
=========================== */
.v4-cabinet { position: relative; overflow: hidden; background: var(--bg-dark-2); }
.cabinet-motif {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(60%, 940px);
  pointer-events: none;
  opacity: 0.55;
}
.cabinet-fade {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: 34%;
  background: linear-gradient(90deg, rgba(9, 27, 48, 0), rgba(6, 20, 38, 0.55));
  pointer-events: none;
}
.cabinet-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.cabinet-signature { flex: 1 1 320px; max-width: 440px; }
.cabinet-signature__stack { position: relative; }
.cabinet-signature__ghost {
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius-md);
  pointer-events: none;
}
.cabinet-signature__panel {
  position: relative;
  background: rgba(12, 30, 51, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 28px;
}
.cabinet-signature__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
}
.cabinet-signature__list { display: flex; flex-direction: column; margin-top: 18px; }
.cabinet-signature__list li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.cabinet-signature__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}
.cabinet-signature__list .diamond {
  width: 6px; height: 6px;
  background: rgba(0, 180, 216, 0.55);
}
.cabinet-signature__list li:nth-child(2) .diamond { background: rgba(0, 180, 216, 0.7); }
.cabinet-signature__list li:nth-child(3) .diamond { background: rgba(0, 180, 216, 0.85); }
.cabinet-signature__list li:last-child .diamond {
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 8px rgba(0, 180, 216, 0.6);
}
.cabinet-signature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cabinet-signature__tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pill);
  padding: 7px 13px;
}

.cabinet-copy { flex: 2 1 460px; }
.cabinet-copy__claim {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 24px 0 0;
  max-width: 640px;
  text-wrap: pretty;
}
.cabinet-copy__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
  max-width: 640px;
}
.cabinet-copy__body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-muted-dark);
  text-wrap: pretty;
}
.cabinet-copy__sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 640px;
}
.cabinet-copy__sign strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
}
.cabinet-copy__sign small {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}
.cabinet-copy__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ===========================
   14. REFERENCES (accordeon)
=========================== */
.refs {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(24, 58, 83, 0.06);
  overflow: hidden;
  margin-top: 48px;
}
.refs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 20px 26px;
}
.refs__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--pill);
  background: rgba(18, 104, 243, 0.08);
  flex-shrink: 0;
}
.refs__icon svg {
  width: 19px; height: 19px;
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 2;
  stroke-linecap: round;
}
.refs__titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.refs__titles strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-primary);
}
.refs__titles span { font-size: 13.5px; color: var(--text-secondary); }

/* Sans JS, l'accordeon ne peut pas s'ouvrir : on masque son bouton
   plutot que d'exposer une commande inerte (cf .refs__panel plus bas). */
.refs__toggle { display: none; }
.has-js .refs__toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid rgba(18, 104, 243, 0.45);
  color: var(--accent-blue);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.refs__toggle:hover { background: rgba(18, 104, 243, 0.06); transform: translateY(-1px); }
.refs__toggle svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.refs__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Ouvert par defaut. Le repli n'existe que si JS peut le rouvrir :
   sinon les 6 references seraient invisibles pour un lecteur sans JS
   comme pour un crawler, la regression exacte que la passe
   crawler-safe du 2026-07-24 avait fermee sur ce site. */
.refs__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.45s ease;
}
.refs__panel > div { overflow: hidden; min-height: 0; }
.has-js .refs__panel { grid-template-rows: 0fr; }
.has-js .refs.is-open .refs__panel { grid-template-rows: 1fr; }

.ref-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 20px;
  padding: 16px 26px;
  border-top: 1px solid var(--border-light);
  border-left: 2px solid transparent;
  transition: background 0.2s ease, border-left-color 0.2s ease,
              opacity 0.4s ease, transform 0.4s ease;
}
.has-js .ref-row { opacity: 0; transform: translateY(10px); }
.has-js .refs.is-open .ref-row { opacity: 1; transform: none; }
.has-js .refs.is-open .ref-row:nth-child(1) { transition-delay: 0s, 0s, 0.05s, 0.05s; }
.has-js .refs.is-open .ref-row:nth-child(2) { transition-delay: 0s, 0s, 0.11s, 0.11s; }
.has-js .refs.is-open .ref-row:nth-child(3) { transition-delay: 0s, 0s, 0.17s, 0.17s; }
.has-js .refs.is-open .ref-row:nth-child(4) { transition-delay: 0s, 0s, 0.23s, 0.23s; }
/* 5 delais pour 5 .ref-row. Le nth-child(6) est retire le 2026-08-10 avec la
   6e reference (Renault Group) : il ne selectionnait plus rien. */
.has-js .refs.is-open .ref-row:nth-child(5) { transition-delay: 0s, 0s, 0.29s, 0.29s; }
.ref-row:hover { background: var(--surface-tint); border-left-color: var(--accent-cyan-deep); }

.ref-row__logo {
  width: 112px; height: 44px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ref-row:hover .ref-row__logo { opacity: 1; transform: translateX(2px); }
.ref-row__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15.5px, 1.5vw, 18px);
  letter-spacing: -0.005em;
  color: var(--text-primary);
}
.ref-row__ctx { font-size: 14px; color: var(--text-secondary); }

.refs__note {
  padding: 16px 26px;
  border-top: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--text-secondary);
  background: var(--bg-light);
}

/* ===========================
   15. CONTACT
=========================== */
.v4-contact { position: relative; overflow: hidden; background: var(--bg-dark); }
.v4-contact__lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.5;
}
.v4-contact__halo {
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  width: min(880px, 96vw);
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(190, 235, 255, 0.5),
    rgba(0, 180, 216, 0.32) 40%,
    rgba(0, 102, 255, 0.16) 68%,
    rgba(0, 102, 255, 0) 100%);
  filter: blur(80px);
  pointer-events: none;
}
.v4-contact .wrap { position: relative; text-align: center; }
.v4-contact__title {
  font-weight: 800;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 20px auto 0;
  max-width: 820px;
  text-wrap: balance;
}
.v4-contact__title .accent {
  color: var(--accent-cyan-bright);
  text-shadow: 0 0 40px rgba(0, 180, 216, 0.4);
}
.v4-contact__lede {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 20px auto 0;
  text-wrap: pretty;
}
.v4-contact__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

/* ===========================
   16. FOOTER
=========================== */
.v4-footer { background: var(--bg-dark); border-top: 1px solid var(--border-dark); }
.v4-footer__inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 68px var(--wrap-pad) 34px;
}
.v4-footer__cols { display: flex; flex-wrap: wrap; gap: 44px 64px; }
.v4-footer__brand { flex: 2 1 280px; max-width: 340px; }
.v4-footer__baseline {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
}
.v4-footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted-dark);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.v4-footer__col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.v4-footer__list { display: flex; flex-direction: column; gap: 12px; }
.v4-footer__list a, .v4-footer__list span {
  font-size: 14.5px;
  color: var(--text-muted-dark);
  transition: color 0.2s ease;
}
.v4-footer__list a:hover { color: #FFFFFF; }
.v4-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.v4-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.v4-footer__legal a { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.v4-footer__legal a:hover { color: #FFFFFF; }

/* ===========================
   17. ANIMATIONS
=========================== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.015); }
  to { transform: none; }
}
@keyframes nodePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.95; }
}
@keyframes dashTravel {
  from { stroke-dashoffset: 1434; }
  to { stroke-dashoffset: 0; }
}
.dash-9s { animation: dashTravel 9s linear infinite; }
.dash-11s { animation: dashTravel 11s linear infinite; }
.dash-13s { animation: dashTravel 13s linear infinite; }
.pulse-a { animation: nodePulse 5s ease-in-out infinite; }
.pulse-b { animation: nodePulse 6s ease-in-out 1.2s infinite; }
.pulse-c { animation: nodePulse 7s ease-in-out 2.4s infinite; }
.pulse-d { animation: nodePulse 6.5s ease-in-out 1.8s infinite; }

/* Reveal au scroll, pilote par js/kci-v4.js.
   Conditionne a .has-js : sans JS, rien n'est masque. Un contenu
   cache par une classe d'animation que personne ne retire est une
   regression deja vecue sur ce site (passe crawler-safe du 24/07). */
.reveal { transition: opacity 0.65s ease, transform 0.65s ease; }
.has-js .reveal { opacity: 0; transform: translateY(16px); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }

/* ===========================
   18. RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  :root { --wrap-pad: 32px; }
}

@media (max-width: 900px) {
  .v4-nav, .v4-header .btn { display: none !important; }
  .v4-burger { display: inline-flex; }
  :root { --wrap-pad: 22px; }
  .ref-row { grid-template-columns: 132px minmax(0, 1fr) !important; gap: 4px 20px; }
  .ref-row__ctx { grid-column: 2; }
}

@media (max-width: 820px) {
  .v4-hero { min-height: 780px; }
  .v4-hero__inner { margin-left: 0; padding: 126px 22px 440px; max-width: 100%; }
  .v4-hero__img { object-position: 66% 100%; }
  .v4-hero__overlay {
    background: linear-gradient(180deg,
      rgba(5, 13, 25, 0.98) 0%,
      rgba(5, 13, 25, 0.92) 34%,
      rgba(5, 13, 25, 0.42) 60%,
      rgba(5, 13, 25, 0.05) 100%);
  }
  .cabinet-signature { order: 2; }
  .cabinet-copy { order: 1; }
  .cabinet-motif { display: none; }
}

@media (max-width: 640px) {
  .ref-row { grid-template-columns: 1fr !important; gap: 8px; }
  .ref-row__ctx { grid-column: 1; }
  .ref-row__logo { width: 96px; height: 38px; }
  .refs__toggle { width: 100%; justify-content: center; margin-left: 0; }
  .v4-stats > div { padding: 0 24px; }
}

@media (max-width: 600px) {
  .v4-hero__ctas { flex-direction: column; align-items: stretch; }
  .v4-hero__ctas .btn { justify-content: center; }
  .v4-stats { gap: 20px 0; }
  .v4-stats > div { flex: 1 0 50%; border-left: 0 !important; padding-left: 0; }
}

/* ===========================
   19. PREFERENCES UTILISATEUR
=========================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  /* Specificite alignee sur .has-js .reveal, sinon la regle ne gagne pas. */
  .has-js .reveal, .has-js .reveal.is-visible { opacity: 1; transform: none; }
  .has-js .ref-row, .has-js .refs.is-open .ref-row { opacity: 1; transform: none; }
}

@media print {
  .v4-header, .v4-mobile, .v4-burger, .skip-link,
  .v4-hero__img, .v4-hero__overlay, .cabinet-motif,
  .env-motif, .v4-contact__lines, .v4-contact__halo,
  .refs__toggle { display: none !important; }
  body { background: #FFFFFF; color: #000000; }
  .refs__panel, .has-js .refs__panel { grid-template-rows: 1fr !important; }
  .ref-row { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   20. COMPOSANTS DE PAGE INTERIEURE
   Ajoutes apres l'accueil, pour porter services / references /
   a-propos / contact sur la meme base. Memes tokens, memes
   composants : aucune valeur en dur nouvelle.
============================================================= */

/* --- Hero compact des pages interieures --------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 82% 30%, rgba(0, 168, 199, 0.16), transparent 70%),
    radial-gradient(700px 420px at 96% 86%, rgba(18, 104, 243, 0.18), transparent 72%),
    var(--bg-dark);
  padding-top: 92px;
}
.page-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(156, 187, 210, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 187, 210, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .wrap {
  position: relative;
  padding-top: clamp(64px, 6vw, 96px);
  padding-bottom: clamp(56px, 5.5vw, 88px);
}
.page-hero__title {
  font-weight: 800;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 18px 0 0;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero__title .accent {
  color: var(--accent-cyan-bright);
  text-shadow: 0 0 40px rgba(0, 180, 216, 0.4);
}
.page-hero__lede {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 660px;
  margin: 20px 0 0;
  text-wrap: pretty;
}

/* Fil d'ariane */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}
.crumb a { color: rgba(255, 255, 255, 0.7); }
.crumb a:hover { color: #FFFFFF; }
.crumb__here { color: var(--accent-cyan-bright); }

/* --- Bloc de service detaille ------------------------------- */
.service-block {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-card);
  scroll-margin-top: 110px;
}
.service-block + .service-block { margin-top: 24px; }
.service-block__head { display: flex; align-items: flex-start; gap: 18px; }
.service-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(18, 104, 243, 0.08);
  flex-shrink: 0;
}
.service-block__icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-block__title {
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}
.service-block__sub {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-top: 7px;
}
.service-block p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 16px;
  text-wrap: pretty;
}
.service-block__sub-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 28px 0 0;
}
.service-block .checklist { margin-top: 16px; }
.service-block .btn { margin-top: 26px; }

/* --- Carte de mission (references) -------------------------- */
.mission {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--accent-cyan-deep);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mission + .mission { margin-top: 20px; }
.mission:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.mission__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
}
.mission__sector {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.mission__client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-primary);
  margin-top: 6px;
}
.mission__period {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-blue-deep);
  background: rgba(18, 104, 243, 0.07);
  border: 1px solid rgba(18, 104, 243, 0.18);
  border-radius: var(--pill);
  padding: 6px 14px;
  white-space: nowrap;
}
.mission__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-top: 18px;
}
.mission p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-top: 12px;
  text-wrap: pretty;
}
.mission__logo {
  width: 104px; height: 40px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.85;
  margin-bottom: 14px;
}

/* --- Etiquettes --------------------------------------------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
  border-radius: var(--pill);
  padding: 6px 13px;
}
.tag--accent {
  color: var(--accent-cyan-deep);
  background: rgba(0, 122, 147, 0.07);
  border-color: rgba(0, 122, 147, 0.22);
  font-weight: 600;
}
.tags--on-dark .tag {
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

/* --- Chiffres cles ------------------------------------------ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 20px;
  margin-top: 48px;
}
.kpi {
  background: rgba(12, 30, 51, 0.6);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 26px;
}
.kpi__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: #FFFFFF;
}
.kpi__num span { color: var(--accent-cyan-bright); }
.kpi__label { font-size: 13.5px; color: var(--text-muted-dark); margin-top: 12px; }

.kpi-grid--light .kpi {
  background: var(--surface);
  border-color: var(--border-light);
  box-shadow: var(--shadow-soft);
}
.kpi-grid--light .kpi__num { color: var(--text-primary); }
.kpi-grid--light .kpi__num span { color: var(--accent-cyan-deep); }
.kpi-grid--light .kpi__label { color: var(--text-secondary); }

/* --- Parcours ----------------------------------------------- */
.timeline { position: relative; margin-top: 48px; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg,
    rgba(0, 180, 216, 0.5), rgba(18, 104, 243, 0.3), transparent);
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 11px; height: 11px;
  border-radius: var(--pill);
  background: var(--accent-cyan-bright);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.14);
}
.timeline__period {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
}
.timeline__client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
  margin-top: 8px;
}
.timeline__role {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted-dark);
  margin-top: 8px;
  text-wrap: pretty;
}

/* --- Mise en page 2 colonnes -------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.split--aside { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.split--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }

/* --- Panneau ------------------------------------------------ */
.panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.info-list__row { display: flex; align-items: flex-start; gap: 14px; }
.info-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(18, 104, 243, 0.08);
  flex-shrink: 0;
}
.info-list__icon svg {
  width: 19px; height: 19px;
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.info-list__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.info-list__value { font-size: 15px; color: var(--text-primary); margin-top: 4px; }

.availability {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 26px;
}
.availability__dot {
  width: 10px; height: 10px;
  border-radius: var(--pill);
  background: #2E9E63;
  box-shadow: 0 0 0 4px rgba(46, 158, 99, 0.18);
  flex-shrink: 0;
  margin-top: 5px;
}
.availability strong {
  display: block;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #FFFFFF;
}
.availability span {
  display: block;
  font-size: 13px;
  color: var(--text-muted-dark);
  margin-top: 4px;
  line-height: 1.6;
}

/* --- Formulaire --------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 18px;
}
.form__group { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.form__req { color: var(--accent-blue); }
.form__control {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form__control:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(18, 104, 243, 0.14);
}
textarea.form__control { min-height: 148px; resize: vertical; }
.form__note { font-size: 13px; color: var(--text-secondary); text-align: center; }
.form__hp { display: none; }
.form .btn { width: 100%; }

/* --- FAQ ----------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
  margin-top: 48px;
}
.faq {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
}
.faq h3 {
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-primary);
  margin: 0;
}
.faq p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 11px;
  text-wrap: pretty;
}

/* --- Cadre de carte ----------------------------------------- */
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  margin-top: 48px;
}
.map-frame iframe { display: block; border: 0; width: 100%; height: 320px; }
.map-note { margin-top: 12px; font-size: 13px; color: var(--text-secondary); text-align: center; }

/* Facade de la carte : etat par DEFAUT tant que le visiteur n'a pas clique.
   L'etat sur, ici "aucune requete tierce", est le defaut du CSS et non une
   reaction du JS : si le script ne s'execute pas, rien ne part quand meme. */
.map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 320px;
  padding: 24px;
  text-align: center;
  /* Fond UNI et non un degrade : un background-image rend le contraste de son
     texte non evaluable par le harnais (outils/mesurer_contraste.py), et une
     zone d'ombre dans la mesure vaut moins qu'un decor. */
  background: var(--surface-alt, #F0F6FF);
}
.map-facade__adresse { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); }
.map-facade__note { margin: 0; font-size: 12.5px; max-width: 42ch; color: var(--text-secondary); }

/* --- Responsive des composants de page ---------------------- */
@media (max-width: 900px) {
  .split, .split--aside, .split--form { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .service-block { padding: 26px; }
  .service-block__head { flex-direction: column; gap: 14px; }
  .timeline { padding-left: 26px; }
  .page-hero { padding-top: 78px; }
}


/* =============================================================
   21. (libere) — le bloc .mp-* de la money page a ete PURGE le
   2026-08-09 : 112 regles mortes, plus aucune classe .mp-* n etait
   servie par le HTML depuis la refonte v4 (la page assessment porte
   ses propres regles .mpa-* en <style> de page). Ne pas reintroduire
   de prefixe .mp-* ici : il designe une version anterieure de la page.
============================================================= */
/* ===========================
   LAYOUT UTILITIES
=========================== */
.container {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}
.section {
  padding: 5rem 0;
}
.section--dark {
  background-color: var(--bg-dark);
  color: var(--surface);
}
.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}
.section--dark .section__label,
.section--darker .section__label {
  color: var(--accent-cyan-bright);
}
.section__title {
  margin-bottom: 1rem;
}
.section--dark .section__desc,
.section--darker .section__desc {
  color: rgba(255, 255, 255, 0.65);
}
.page-hero__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  margin-bottom: 0.75rem;
}
/* ===========================
   CTA SECTION
=========================== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 50%, #0a2040 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-section__title {
  color: var(--surface);
  margin-bottom: 1rem;
}
.cta-section__desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  :root { --container-pad: 1.25rem; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .section { padding: 3.5rem 0; }

  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__content {
    padding: 7rem 0 4rem;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .about-profile {
    grid-template-columns: 1fr;
  }

  .about-avatar {
    position: static;
  }

  .avatar-placeholder {
    aspect-ratio: 1/1;
    max-width: 200px;
  }

  .kpis {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .formation-grid {
    grid-template-columns: 1fr;
  }

  .langues-grid {
    grid-template-columns: 1fr;
  }

  .trust-band__sep {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

  .cta-section__actions {
    flex-direction: column;
  }
}
/* Sur fonds sombres, l'accent bleu ne ressort pas : cyan clair à la place. */
.nav :focus-visible,
.nav__mobile :focus-visible,
.cta-section :focus-visible,
.footer :focus-visible {
  outline-color: var(--accent-cyan-bright);
}
/* Contenu réservé aux lecteurs d'écran. */
.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;
}
/* =============================================================
   22. PROSE - pages legales
   Les pages juridiques n'ont pas de couleur de texte sur leurs
   paragraphes. Le body v4 etant sombre, sans ce composant elles
   seraient illisibles sur fond clair.
============================================================= */
.prose {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  color: var(--text-primary);
}
.prose h2 {
  font-weight: 700;
  font-size: 21px;
  color: var(--text-primary);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-blue);
}
.prose h3 {
  font-weight: 700;
  font-size: 16.5px;
  color: var(--text-primary);
  margin: 22px 0 10px;
}
.prose p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  text-wrap: pretty;
}
.prose p + p { margin-top: 12px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose ul { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.prose li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 5px; height: 5px;
  background: var(--accent-cyan-deep);
  transform: rotate(45deg);
}
.prose a { color: var(--accent-blue); }
.prose a:hover { color: var(--accent-cyan-deep); }
.prose__card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

/* =============================================================
   21. PAGE EXPERTISE DETAILLEE  (services-plm.html)
   Source : projet Claude Design, fichier "KCI Services PLM v2.dc.html".
   Le fichier de design declarait ses propres tokens : ils sont
   IDENTIQUES a ceux du bloc 1, rien n'est redefini ici. Seules les
   structures absentes du systeme sont ajoutees.

   Contrainte de contraste appliquee d'entree : le design posait les
   petits libelles en --accent-cyan-deep sur un fond teinte #EAF2FA,
   soit 4,42:1, sous le seuil AA de 4,5 pour du texte normal. Meme
   piege qu'au 03/08. Ces libelles passent en --accent-blue-deep sur
   --surface-tint (6,21:1), qui est deja la convention .eyebrow.
   Le cyan reste sur ce qui n'a pas de seuil : filets et losanges.
============================================================= */

/* --- Hero d'expertise en 2 colonnes ------------------------- */
.page-hero--split .wrap { padding-bottom: clamp(40px, 4vw, 64px); }
.page-hero__cols {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  margin-top: 26px;
}
.page-hero__media {
  position: relative;
  height: clamp(300px, 30vw, 404px);
}
.page-hero__media::before {
  content: '';
  position: absolute;
  top: 50%; left: 53%;
  transform: translate(-50%, -50%);
  width: 80%; height: 64%;
  border-radius: 50%;
  background: radial-gradient(ellipse,
    rgba(0, 180, 216, 0.17) 0%,
    rgba(0, 180, 216, 0.055) 46%,
    rgba(0, 180, 216, 0) 76%);
  filter: blur(20px);
  pointer-events: none;
}
.page-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
  filter: brightness(0.8) saturate(0.92);
  transform: scale(1.08);
  mask-image: radial-gradient(ellipse at 53% 50%,
    #000 42%, rgba(0, 0, 0, 0.82) 66%, transparent 94%);
  -webkit-mask-image: radial-gradient(ellipse at 53% 50%,
    #000 42%, rgba(0, 0, 0, 0.82) 66%, transparent 94%);
}
/* Repli quand le visuel n'est pas dans le depot : la lueur suffit,
   le texte alternatif casse ne s'affiche pas. */
.page-hero__media img.is-missing { display: none; }

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--pill);
  background: rgba(18, 104, 243, 0.12);
  border: 1px solid rgba(18, 104, 243, 0.35);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
  white-space: nowrap;
}
.page-hero__sub {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
  max-width: 700px;
  margin: 14px 0 0;
  text-wrap: pretty;
}
.page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 24px;
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-dark);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted-dark);
  white-space: nowrap;
}

/* --- Navigation interne collante ---------------------------- */
.quicknav {
  position: sticky;
  top: 74px;
  z-index: 40;
  background: rgba(242, 246, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.25s ease;
}
.quicknav.is-stuck { box-shadow: 0 8px 22px rgba(24, 58, 83, 0.08); }
.quicknav__scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 11px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(82, 104, 122, 0.35) transparent;
}
.quicknav__scroll::-webkit-scrollbar { height: 3px; }
.quicknav__scroll::-webkit-scrollbar-thumb {
  background: rgba(82, 104, 122, 0.3);
  border-radius: 3px;
}
.quicknav__pill {
  padding: 8px 15px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.quicknav__pill:hover {
  color: var(--text-primary);
  background: var(--surface);
  border-color: var(--border-light);
}
.quicknav__pill.is-active {
  color: var(--text-primary);
  background: var(--surface);
  border-color: var(--border-light);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent-cyan);
}

/* --- Carte de domaine d'intervention ------------------------ */
.domains {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.domain {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: clamp(26px, 2.8vw, 40px);
  box-shadow: 0 12px 34px rgba(24, 58, 83, 0.05);
  scroll-margin-top: 140px;
}
.domain__num {
  position: absolute;
  top: 12px; right: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 9vw, 124px);
  line-height: 1;
  color: var(--text-primary);
  opacity: 0.025;
  pointer-events: none;
}
.domain__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(26px, 3.6vw, 56px);
  align-items: start;
}
/* Alternance : le texte passe a droite, les capacites a gauche. */
.domain__grid--rev { grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); }
.domain__grid--rev > .domain__main { grid-column: 2; }
.domain__grid--rev > .domain__aside { grid-column: 1; grid-row: 1; }

.domain__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-lg);
  background: rgba(18, 104, 243, 0.08);
}
.domain__icon svg {
  width: 21px; height: 21px;
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.domain__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.1vw, 27px);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 20px 0 0;
}
.domain__sub {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-cyan-deep);   /* 4,99:1 sur --surface blanc : AA */
  margin-top: 9px;
}
.domain__desc {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-secondary);
  margin: 16px 0 0;
  text-wrap: pretty;
}
.domain__note {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.domain__tech {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
}
.domain__tech-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue-deep);
}
.domain__tech p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--text-primary);
  margin: 8px 0 0;
  text-wrap: pretty;
}

.domain__result {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  border-left: 3px solid var(--accent-cyan);
}
.domain__result-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue-deep);
}
.domain__result-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text-primary);
  margin-top: 8px;
}

.domain__caps-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.domain__aside .checklist { margin-top: 16px; }
.domain__aside .checklist span {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
.domain .btn { margin-top: 18px; }

/* Cadre visuel du domaine : meme repli que .expertise__frame. */
.domain__figure {
  position: relative;
  margin-top: 24px;
  border-radius: 14px;
  overflow: hidden;
  background: #05101F;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  height: 250px;
}
.domain__figure img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(1.06) saturate(1.08);
  transition: filter 0.2s ease;
}
.domain__figure:hover img { filter: brightness(1.12) saturate(1.16); }
.domain__figure img.is-missing { display: none; }
/* La grille decorative est l'etat PAR DEFAUT, pas un repli declenche.
   Un repli conditionne a l'evenement `error` ne se declenche jamais
   sur une image en chargement differe qui n'a jamais ete demandee :
   le cadre reste alors un rectangle noir plein. Constate au rendu du
   2026-08-04. Le defaut sur au cas ou est donc la grille, et c'est
   l'image chargee qui l'eteint, pas l'inverse. Sans JS, l'image
   couvre la grille : rien n'est masque. */
.domain__figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.domain__figure.is-loaded::before { opacity: 0; }

/* Schema decoratif au trait, en pied de colonne. */
.domain__sketch { margin-top: 26px; }
.domain__sketch svg { display: block; width: 100%; max-width: 360px; }

/* --- Bandeau de preuve intercale --------------------------- */
.proof-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  border-radius: 22px;
  padding: clamp(26px, 2.9vw, 38px) clamp(26px, 3vw, 44px);
}
.proof-band__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(156, 187, 210, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 187, 210, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
}
.proof-band__halo {
  position: absolute;
  top: -40%; right: -6%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 199, 0.16) 0%, rgba(0, 168, 199, 0) 68%);
  pointer-events: none;
}
.proof-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 26px 56px;
  align-items: center;
}
.proof-band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #F8F9FB;
  margin: 0;
  text-wrap: balance;
}
.proof-band__title .accent { color: var(--accent-cyan-bright); }
.proof-band__lede {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
  margin: 16px 0 0;
  max-width: 560px;
  text-wrap: pretty;
}
.proof-band__list { display: flex; flex-direction: column; }
.proof-band__list span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
}
.proof-band__list span + span { border-top: 1px solid rgba(156, 187, 210, 0.16); }

/* --- Responsive de la page expertise ------------------------ */
@media (max-width: 1000px) {
  .page-hero__cols { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__media { height: clamp(240px, 34vw, 300px); order: 2; }
  .domain__grid,
  .domain__grid--rev { grid-template-columns: 1fr; gap: 26px; }
  .domain__grid--rev > .domain__main,
  .domain__grid--rev > .domain__aside { grid-column: auto; grid-row: auto; }
  .domain__figure { height: auto; min-height: 150px; padding: 8px; }
  .domain__figure img { height: auto; width: 100%; max-height: 210px; }
}

@media (max-width: 900px) {
  /* Le header se resserre quand la nav desktop disparait. */
  .quicknav { top: 70px; }
}

@media (max-width: 640px) {
  .page-hero__ctas { flex-direction: column; align-items: stretch; }
  .page-hero__ctas .btn { justify-content: center; }
  .page-hero__media { height: 210px; }
  .domain__figure img { max-height: none; }
}

@media print {
  .quicknav { display: none !important; }
  .domain__num, .domain__sketch, .proof-band__grid, .proof-band__halo { display: none !important; }
}

/* =============================================================
   22. PAGE AUTOMATISATION DES PROCESSUS  (services-automatisation.html)
   Source : projet Claude Design, "KCI Services Automatisation.dc.html".
   Memes tokens que le bloc 1, comme pour le bloc 21. Cette page
   REUTILISE tout le bloc 21 (hero en 2 colonnes, quicknav, cartes
   .domain, .checklist) : seules ses structures propres sont ici.

   Contraste : le design posait "05" et "Point de controle" en
   --accent-cyan-deep sur #EAF2FB, et le libelle du principe de
   conception sur un fond cyan clair. Meme mesure que pour le bloc
   21 : sous 4,5:1. Ces libelles passent en --accent-blue-deep.
============================================================= */

/* --- Note encadree du hero --------------------------------- */
.hero-note {
  font-size: 14.5px;
  line-height: 1.66;
  color: var(--text-muted-dark);
  max-width: 660px;
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(0, 180, 216, 0.45);
  text-wrap: pretty;
}

/* --- Encart de principe (fond clair) ----------------------- */
.principle {
  margin-top: 24px;
  max-width: 760px;
  padding: 15px 20px;
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(0, 168, 199, 0.075), rgba(0, 168, 199, 0.015));
}
.principle__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue-deep);
}
.principle p {
  font-size: 15px;
  line-height: 1.66;
  color: var(--text-primary);
  margin: 8px 0 0;
  text-wrap: pretty;
}

/* --- Chaine de traitement en 6 maillons --------------------- */
.chain {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  margin: 34px 0 0;
  padding: 0;
}
.chain__item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 138px;
  padding: 30px 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}
/* Le maillon de controle humain, et le maillon de sortie. */
.chain__item--check {
  background: #EAF2FB;
  border-color: rgba(0, 168, 199, 0.45);
  box-shadow: 0 10px 26px rgba(0, 168, 199, 0.1);
}
.chain__item--out {
  background: var(--bg-dark);
  border-color: rgba(156, 187, 210, 0.22);
}

.chain__rail {
  position: absolute;
  top: 13px;
  left: -6px; right: -6px;
  height: 1px;
  background: rgba(120, 160, 185, 0.34);
}
.chain__item--check .chain__rail,
.chain__item--out .chain__rail { background: rgba(0, 168, 199, 0.45); }

.chain__node {
  position: absolute;
  top: 9px; left: 16px;
  width: 9px; height: 9px;
  border-radius: 50%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1.5px solid var(--accent-cyan);
  animation: nodeTravel 7s ease-in-out infinite;
}
.chain__item--check .chain__node { background: #EAF2FB; }
.chain__item--out .chain__node { background: var(--bg-dark); }
.chain__item:nth-child(1) .chain__node { animation-delay: 0s; }
.chain__item:nth-child(2) .chain__node { animation-delay: 0.36s; }
.chain__item:nth-child(3) .chain__node { animation-delay: 0.72s; }
.chain__item:nth-child(4) .chain__node { animation-delay: 1.08s; }
.chain__item:nth-child(5) .chain__node { animation-delay: 1.44s; }
.chain__item:nth-child(6) .chain__node { animation-delay: 1.80s; }

@keyframes nodeTravel {
  0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 199, 0); }
  10% { box-shadow: 0 0 0 5px rgba(0, 168, 199, 0.16); }
}

.chain__num {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-blue);
}
.chain__item--check .chain__num { color: var(--accent-blue-deep); }
.chain__item--out .chain__num { color: var(--accent-cyan-bright); }

.chain__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--text-primary);
  margin-top: 8px;
}
.chain__item--out .chain__title { color: #F8F9FB; }

.chain__desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-top: 7px;
}
.chain__item--out .chain__desc { color: rgba(255, 255, 255, 0.72); }

.chain__flag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-blue-deep);
  margin-top: auto;
  padding-top: 10px;
}

/* Le rail ne doit pas fuir hors du premier ni du dernier maillon
   de chaque RANGEE : les bornes changent avec le nombre de colonnes. */
@media (min-width: 1081px) {
  .chain__item:first-child .chain__rail { left: 0; }
  .chain__item:last-child .chain__rail { right: 0; }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .chain__item:nth-child(3n + 1) .chain__rail { left: 0; }
  .chain__item:nth-child(3n) .chain__rail { right: 0; }
}
@media (max-width: 640px) {
  .chain { grid-template-columns: 1fr; }
  .chain__rail, .chain__node { display: none; }
  .chain__item { min-height: 0; padding-top: 18px; }
}

.chain-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 22px 0 0;
  max-width: 760px;
}
.chain-note .diamond { margin-top: 6px; background: var(--accent-cyan); }

/* --- Connecteur entre deux cartes de domaine ---------------- */
.connector {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}
.connector__line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 168, 199, 0.2), var(--accent-cyan));
}
.connector__arrow {
  color: var(--accent-cyan-deep);
  font-size: 10px;
  line-height: 1;
}
@media (max-width: 640px) {
  .connector { flex-direction: column; gap: 6px; text-align: center; }
  .connector__line {
    flex: 0 0 24px;
    width: 1px; height: 24px;
    background: linear-gradient(180deg, rgba(0, 168, 199, 0.2), var(--accent-cyan));
  }
  .connector__arrow { transform: rotate(90deg); }
}

/* --- Grille d'exemples de processus ------------------------- */
.examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.example {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.example:hover { border-color: rgba(0, 168, 199, 0.45); transform: translateY(-2px); }
.example__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--surface-tint);
  border: 1px solid var(--border-light);
}
.example__icon svg { width: 18px; height: 18px; }
.example__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.34;
  color: var(--text-primary);
  text-wrap: pretty;
}
.example__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: -4px;
  text-wrap: pretty;
}
@media (max-width: 1000px) { .examples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .examples { grid-template-columns: 1fr; } }

/* --- Cadre d'intervention (fond sombre, 2 colonnes) --------- */
.frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.frame-col {
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-dark);
}
.frame-col--yes { border-color: rgba(0, 168, 199, 0.34); }
.frame-col__title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan-bright);
}
.frame-col--no .frame-col__title { color: var(--text-muted-dark); }
.frame-col ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.frame-col li { display: flex; align-items: flex-start; gap: 12px; }
.frame-col li svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; fill: none; stroke-linecap: round; }
.frame-col--yes li svg { stroke: var(--accent-cyan-bright); stroke-width: 2.6; }
.frame-col--no li svg { stroke: rgba(170, 187, 200, 0.66); stroke-width: 2.4; }
.frame-col li span { font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.frame-col--no li span { color: var(--text-muted-dark); }
.frame-col > p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted-dark);
  margin: 20px 0 0;
  text-wrap: pretty;
}
.frame-close {
  margin: 32px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}
.frame-close .accent { color: var(--accent-cyan-bright); font-weight: 600; }
@media (max-width: 860px) { .frame-grid { grid-template-columns: 1fr; } }

/* --- Parcours d'engagement ---------------------------------- */
.parcours-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
  padding-bottom: 14px;
}
.parcours-rail::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 5px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(0, 168, 199, 0.25), var(--accent-cyan), rgba(18, 104, 243, 0.4));
}
.parcours-rail > div {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
}
.parcours-rail > div::before {
  content: '';
  position: absolute;
  top: 1px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 1.5px solid var(--accent-cyan);
}
.parcours-rail span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue-deep);
}

.parcours-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 10px 0 0;
  padding: 0;
}
.parcours-step {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.parcours-step__head { display: flex; align-items: center; gap: 12px; }
/* Metriques alignees sur le fichier de design : 34 px, graisse 700.
   La COULEUR, elle, ne l'est pas : le design posait #4B8DF8 sur ce
   fond bleute, soit 2,85:1, tres en dessous du seuil AA. Le chiffre
   passe en --accent-blue-deep, comme les autres petits libelles. */
.parcours-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(18, 104, 243, 0.08);
  color: var(--accent-blue-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
}
.parcours-step__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.parcours-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.25;
  color: var(--text-primary);
  margin: 18px 0 0;
}
.parcours-step > p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 12px 0 0;
  text-wrap: pretty;
}
.parcours-step__result {
  margin-top: auto;
  padding: 14px 16px 15px;
  border-radius: var(--radius-sm);
  background: var(--surface-tint);
  border-left: 3px solid var(--accent-cyan);
}
.parcours-step__result-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue-deep);
}
.parcours-step__result p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-primary);
  margin: 7px 0 0;
  text-wrap: pretty;
}
.parcours-step__result { margin-top: 22px; }

.parcours-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 36px;
}
.parcours-foot > span {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}
@media (max-width: 900px) {
  .parcours-rail { display: none; }
  .parcours-steps { grid-template-columns: 1fr; margin-top: 36px; }
}

/* --- Section qui enchaine sans respiration basse ------------ */
.section--flush-bottom .wrap { padding-bottom: 0; }
.section--flush-top .wrap { padding-top: clamp(52px, 5vw, 80px); }

@media (prefers-reduced-motion: reduce) {
  .chain__node { animation: none !important; }
}

@media print {
  .chain__rail, .chain__node, .parcours-rail { display: none !important; }
}

/* --- Croquis au trait en filigrane de carte ------------------ */
.domain__mark {
  position: absolute;
  bottom: 14px; right: 24px;
  opacity: 0.035;
  pointer-events: none;
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 2;
}
@media (max-width: 1000px) { .domain__mark { display: none; } }

/* Variante etroite du cadre visuel, centree dans sa colonne. */
.domain__figure--narrow {
  height: 242px;
  width: 100%;
  max-width: 338px;
  margin-inline: auto;
  margin-top: 22px;
}

/* Chapeau de section sur fond sombre. */
.lede--on-dark { color: var(--text-muted-dark); max-width: 760px; }