/* ==========================================================================
   Le Cockpit Solutions — feuille de style unique
   Design system « Ivoire éditorial » de lecockpit-business.fr (mise en page,
   typographie, composants), couleurs du site d'origine de l'agence : le bleu remplace l'orange.
   ========================================================================== */

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Fonds */
  --fond:          #f4f7fa;  /* sections claires alternées */
  --blanc:         #ffffff;
  --nuit:          #1a2b3c;  /* hero, Réalisations, section finale */
  --nuit-2:        #22374b;  /* cartes posées sur fond nuit */

  /* Texte */
  --ink:           #1a2b3c;
  --ink-body:      #4d6780;
  --ink-2:         #4d6780;  /* texte secondaire — le plus clair autorisé en petit corps */
  --ink-soft:      #758da5;  /* gros corps et éléments décoratifs uniquement */
  --ink-pale:      #a3b3c3;  /* texte sur fond nuit, filets */

  /* Accent */
  --accent:        #8cccfb;  /* fond des CTA, accent sur fond nuit — jamais en texte sur clair */
  --accent-lg:     #1e8fe5;  /* texte d'accent sur clair, ≥ 18 px */
  --accent-sm:     #1e8fe5;  /* filets, puces, chiffres — le petit texte reste en --ink */
  --accent-hover:  #3aa4f7;
  --accent-soft:   #ebf5fe;
  --accent-line:   #b0d8fb;

  /* Traits */
  --rule:          rgba(26, 43, 60, 0.09);
  --rule-nuit:     rgba(255, 255, 255, 0.12);
  --card-border:   #e5e7eb;
  --btn-border:    rgba(26, 43, 60, 0.16);

  /* Ombres — la teinte brune du modèle passe au bleu nuit */
  --shadow-sm:     0 22px 44px -26px rgba(26, 43, 60, 0.30);
  --shadow-md:     0 30px 60px -34px rgba(26, 43, 60, 0.34);
  --shadow-lg:     0 46px 90px -40px rgba(26, 43, 60, 0.40);
  --shadow-cta:    0 16px 32px -14px rgba(30, 143, 229, 0.45);

  /* Rythme */
  --gutter:        76px;
  --maxw:          1288px;
  --section-y:     clamp(76px, 9vw, 132px);

  --serif:  'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans:   'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* --- 2. Reset ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

:target, [id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

/* Liens dans le texte : bleu nuit souligné de bleu vif. Le bleu vif seul
   (#1e8fe5) n'atteint pas le contraste requis sous 18 px sur fond clair. */
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-lg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-lg); }

:focus-visible {
  outline: 2px solid var(--accent-lg);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

/* --- 3. Typographie ------------------------------------------------------ */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: var(--ink);
}

.h1 {
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.022em;
}

.h2 {
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.021em;
}

.h3 {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

/* Segment accentué : bleu vif sur clair (toujours en grand corps), bleu ciel sur nuit */
.italique { font-style: italic; color: var(--accent-lg); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-lg);
  flex: none;
}

.lede {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
}

.p { margin: 0; color: var(--ink-2); }
.p + .p { margin-top: 18px; }

.label {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* --- 4. Boutons ----------------------------------------------------------
   Un seul style de CTA : pilule bleu ciel, texte bleu nuit en 700.
   ------------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { flex: none; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  padding: 17px 28px;
  background: var(--accent);
  color: var(--nuit);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--nuit);
  transform: translateY(-1px);
  box-shadow: 0 20px 38px -14px rgba(30, 143, 229, 0.55);
}

.btn--nav { padding: 11px 20px; font-size: 14px; box-shadow: none; }

/* BOOKING_URL = null : CTA visibles mais inertes (voir script.js § 1). */
.btn[aria-disabled="true"] { cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; background: var(--accent); }
.btn[aria-disabled="true"]:hover svg { transform: none; }

/* Lien secondaire : texte + flèche, jamais un second bouton */
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-line);
  padding-bottom: 3px;
}
.lien-fleche:hover { color: var(--ink); border-bottom-color: var(--accent-lg); }
.lien-fleche svg { transition: transform .18s ease; }
.lien-fleche:hover svg { transform: translateX(3px); }

/* Micro-ligne sous le CTA */
.microline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.microline li { display: flex; align-items: center; gap: 16px; }
.microline li + li::before {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--accent-lg);
}

.cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 42px;
}

/* --- 5. Structure -------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--blanc { background: var(--blanc); }
.section + .section { border-top: 1px solid var(--rule); }
.section__head { max-width: 820px; }
.section__head .eyebrow { margin-bottom: 26px; }
.section__head .h2 + .lede { margin-top: 24px; }

.card {
  background: var(--blanc);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

/* --- 6. Sections bleu nuit -----------------------------------------------
   Hero, Réalisations, section finale (comme sur l'ancien site). Les couleurs de
   texte sont redéfinies localement : les composants n'ont rien à savoir.
   ------------------------------------------------------------------------ */

.nuit {
  --ink: #ffffff;
  --ink-2: #a3b3c3;
  --ink-body: #c8d4df;
  --rule: var(--rule-nuit);
  background: var(--nuit);
  color: var(--ink);
}
.nuit .italique { color: var(--accent); }
.nuit .eyebrow { color: var(--accent); }
.nuit .eyebrow::before,
.nuit .hero__copy .eyebrow::after { background: var(--accent); }
.nuit .microline li + li::before { background: var(--accent); }
.nuit a:not(.btn) { color: #ffffff; text-decoration-color: var(--accent); }
.nuit .lien-fleche { color: #ffffff; border-bottom-color: rgba(140, 204, 251, 0.5); }
.nuit .lien-fleche:hover { border-bottom-color: var(--accent); }
.section.nuit + .section, .section + .section.nuit { border-top: 0; }

/* --- 7. Navigation ------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 43, 60, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav[data-scrolled="true"] { border-bottom-color: var(--rule-nuit); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { font-size: 15px; color: var(--accent); line-height: 1; }
.brand__name {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}
.brand__name span { font-weight: 500; color: var(--ink-pale); }

.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__links a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  color: #c8d4df;
  text-decoration: none;
}
.nav__links a:not(.btn):hover { color: #ffffff; }
.nav__links a[aria-current="page"] { color: #ffffff; }

/* --- 8. Hero ------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; }

.hero__inner {
  position: relative;
  padding-block: clamp(72px, 10vw, 138px) clamp(64px, 8vw, 104px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__copy .eyebrow { justify-content: center; margin-bottom: 32px; }
.hero__copy .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-lg);
  flex: none;
}
.hero__copy .h1 { max-width: 21ch; }
.hero__copy .h1 .italique { display: block; }

.hero__sub {
  margin: 34px 0 0;
  max-width: 640px;
  font-size: clamp(17px, 1.4vw, 18.5px);
  line-height: 1.62;
  color: var(--ink-2);
}
.hero__copy .cta-group { justify-content: center; }
.hero__copy .microline { justify-content: center; }

/* Hero d'une page intérieure : aligné à gauche, plus court */
.hero--page .hero__inner { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero--page .h1 { font-size: clamp(40px, 5.2vw, 72px); max-width: 18ch; }
.hero--page .hero__sub { margin-top: 26px; }

/* --- 9. Bandeau des logos clients ---------------------------------------
   Une seule série dans le HTML : script.js la duplique autant qu'il faut.
   Logo absent → le nom s'affiche en texte (assets/img/logos/<slug>.svg).
   ------------------------------------------------------------------------ */

.proofbar {
  position: relative;
  padding-block: 32px 38px;
  border-top: 1px solid var(--rule);
}
.proofbar__label {
  margin: 0 auto 22px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__track {
  display: flex;
  align-items: center;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: marqueeScroll 48s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.logo {
  display: flex;
  align-items: center;
  flex: none;
  height: 40px;
  padding-inline: 34px;
  border-right: 1px solid var(--rule);
}
.logo a { display: flex; align-items: center; height: 100%; text-decoration: none; color: inherit; }
.logo img { height: 28px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .82; }
.logo__nom {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
/* Quand le logo s'est chargé, le nom reste lisible par les lecteurs d'écran seulement */
.logo:has(img) .logo__nom {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- 10. Constat --------------------------------------------------------- */

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.trio__item { padding: 30px 30px 32px; display: flex; flex-direction: column; }
.trio__num { margin: 0; font-family: var(--serif); font-size: 15px; letter-spacing: 0.04em; color: var(--ink-2); }
.trio__item h3 { margin-top: 12px; font-size: 25px; line-height: 1.18; letter-spacing: -0.014em; }
.trio__item p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.citation {
  margin: 22px 0 0;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.citation p {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* --- 11. Études de cas : cartes ------------------------------------------ */

.cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px;
  border-radius: 18px;
  background: var(--blanc);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.nuit .case-card { background: var(--nuit-2); border-color: var(--rule-nuit); box-shadow: none; }

.case-card__secteur {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nuit .case-card__secteur { color: var(--accent); }
.case-card__nom {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.018em;
}
.case-card__probleme { margin: 16px 0 0; font-size: 15.5px; line-height: 1.58; color: var(--ink-2); flex: 1; }
.case-card__fait {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-body);
}
.case-card__fait b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.case-card__lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}
/* Toute la carte est cliquable, le lien reste le seul élément focalisable */
.case-card__lien::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.case-card__lien svg { transition: transform .18s ease; }
.case-card:hover .case-card__lien svg { transform: translateX(3px); }

.cases__suite { margin-top: 44px; }

.cases--grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card--court .case-card__nom { font-size: clamp(26px, 2.2vw, 30px); }
.case-card__statut {
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
}

/* --- 12. Méthode --------------------------------------------------------- */

.etapes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  counter-reset: etape;
}
.etape {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 30px;
  background: var(--blanc);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.etape__num {
  margin: 0;
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.8;
  color: var(--accent-lg);
}
.etape__nom {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.016em;
}
.etape__badge {
  align-self: flex-start;
  margin: 12px 0 0;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.etape__claim { margin: 12px 0 0; font-size: 15px; line-height: 1.45; font-weight: 700; color: var(--ink); }
.etape__liste {
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  list-style: none;
  flex: 1;
}
.etape__liste li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.etape__liste li + li { margin-top: 12px; }
.etape__liste li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--accent-lg);
}

/* Production : à part, cadrée pendant l'accompagnement */
.apart {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
  padding: 26px 30px;
  border-radius: 18px;
  border: 1px dashed var(--accent-line);
  background: var(--blanc);
}
.apart .apart__label { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.15; letter-spacing: -0.014em; }
.apart p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }

.encart {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 26px 30px;
  border-radius: 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.encart__label {
  flex: none;
  width: 132px;
  padding-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.encart p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); max-width: 70ch; }
.encart p b { font-weight: 700; }

/* --- 13. Équipe ---------------------------------------------------------- */

.equipe {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.membre { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 30px; align-items: start; }

.portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 64px;
  color: var(--accent-lg);
}
/* Monogramme de repli : visible tant qu'aucune photo n'est déposée */
.portrait::before { content: attr(data-initial); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.membre__nom { font-size: 30px; line-height: 1.08; letter-spacing: -0.016em; }
.membre__role { margin: 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.membre__bio { margin: 18px 0 0; font-size: 16px; line-height: 1.62; color: var(--ink-2); }
.membre__bio + .membre__bio { margin-top: 12px; }

.chiffres { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); list-style: none; }
.chiffres li { display: flex; flex-direction: column; gap: 2px; }
.chiffres b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; color: var(--accent-lg); }
.chiffres span { font-size: 13px; line-height: 1.4; color: var(--ink-2); max-width: 22ch; }

.membre__liens { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; }

/* --- 14. Ce que nous livrons -------------------------------------------- */

.livrables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}
.livrable { padding: 28px 28px 30px; }
.livrable__icone {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-hover);
}
.livrable h3 { margin-top: 20px; font-size: 23px; line-height: 1.2; letter-spacing: -0.014em; }
.livrable p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* --- 15. Pour qui, pas pour qui ------------------------------------------ */

.filter__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.filter__col { padding: 34px 36px; }
.filter__col--no { background: var(--fond); box-shadow: none; }
.filter__col h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: var(--ink);
}
.filter__col--no h3 { color: var(--ink-2); }
.filter__list { margin: 0; padding: 0; list-style: none; }
.filter__list li {
  position: relative;
  padding-left: 32px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.filter__list li + li { margin-top: 20px; }
.filter__list li::before { position: absolute; left: 0; top: 0; font-size: 15px; line-height: 1.7; }
.filter__col--no  .filter__list li::before { content: "✕"; color: var(--ink-soft); }
.filter__col--yes .filter__list li::before { content: "✓"; color: var(--accent-lg); font-weight: 700; }

/* --- 16. Diagnostic ------------------------------------------------------ */

.call { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.call__item { padding: 32px 30px; }
.call__n {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--nuit);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.call__item h3 { margin-top: 20px; font-size: 23px; line-height: 1.2; letter-spacing: -0.014em; }
.call__item p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

.call__honest {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.36;
  letter-spacing: -0.014em;
  color: var(--ink);
  max-width: 40ch;
}

/* --- 17. FAQ ------------------------------------------------------------- */

.faq { margin-top: 56px; border-top: 1px solid var(--rule); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.014em;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { flex: none; position: relative; width: 20px; height: 20px; }
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  background: var(--accent-lg);
  transition: transform .22s ease, opacity .22s ease;
}
.faq__sign::before { left: 0; top: 9.5px; width: 20px; height: 1.5px; }
.faq__sign::after  { top: 0; left: 9.5px; height: 20px; width: 1.5px; }
.faq__item[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 0 30px; max-width: 68ch; }
.faq__answer p { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.faq__answer p + p { margin-top: 14px; }

/* --- 18. Section finale -------------------------------------------------- */

.final__inner > .reveal { max-width: 760px; }
.final .eyebrow { margin-bottom: 26px; }
.final .h2 { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.0; letter-spacing: -0.024em; }
.final .lede { margin-top: 24px; }
.final__communaute { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--ink-2); }

/* --- 19. Pied de page ---------------------------------------------------- */

.footer { background: var(--fond); border-top: 1px solid var(--rule); padding-block: 48px 60px; }
.footer .brand__name { color: var(--ink); }
.footer .brand__name span { color: var(--ink-2); }
.footer .brand__mark { color: var(--accent-lg); }
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__id { display: flex; flex-direction: column; gap: 8px; }
.footer__ancien { margin: 0; font-size: 13px; color: var(--ink-2); }
.footer__links { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); }
.footer__famille {
  margin: 34px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 92ch;
}
.footer__copy { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-2); }

/* --- 20. Étude de cas (/cas/<slug>) -------------------------------------- */

.fiche {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  margin: 40px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--rule);
}
.fiche > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fiche dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.fiche dd { margin: 0; font-size: 16px; line-height: 1.45; color: #ffffff; }

.cas__corps { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px 64px; }
.cas__bloc { display: contents; }
.cas__titre {
  margin: 0;
  padding-top: 6px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.016em;
}
.cas__texte { padding-bottom: 44px; border-bottom: 1px solid var(--rule); }
.cas__bloc:last-child .cas__texte { border-bottom: 0; padding-bottom: 0; }
.cas__texte p { margin: 0; font-size: 17px; line-height: 1.66; color: var(--ink-2); max-width: 66ch; }
.cas__texte p + p, .cas__texte ul + p { margin-top: 14px; }
.cas__texte ul { margin: 0; padding: 0; list-style: none; max-width: 66ch; }
.cas__texte p + ul { margin-top: 14px; }
.cas__texte li {
  position: relative;
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-body);
}
.cas__texte li + li { margin-top: 12px; }
.cas__texte li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 1px;
  background: var(--accent-lg);
}

.temoin {
  margin: 0;
  padding: 30px 34px;
  border-radius: 18px;
  background: var(--blanc);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--accent-lg);
  box-shadow: var(--shadow-sm);
}
.temoin blockquote { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.32; letter-spacing: -0.012em; color: var(--ink); }
.temoin figcaption { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

.retour { margin: 0 0 22px; }
.retour a { font-size: 14px; font-weight: 600; color: var(--ink-pale); text-decoration: none; }
.retour a:hover { color: #ffffff; }

.autres { margin-top: 56px; }

/* --- 21. Placeholders (contenu à fournir) --------------------------------
   Repérables d'un coup d'œil et greppables : `data-todo` + classe .todo.
   Retirer ce bloc une fois tous les contenus intégrés.
   ------------------------------------------------------------------------ */

.todo {
  display: inline-block;
  border-radius: 4px;
  background: #fff1a8;
  box-shadow: inset 0 0 0 1px rgba(196, 150, 0, 0.55);
  padding: 0 5px;
  color: #1a2b3c;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 0.88em;
  letter-spacing: 0;
  line-height: 1.5;
}
.todo--block { display: block; padding: 12px 14px; }

/* --- 22. Apparition au défilement ---------------------------------------- */

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* Mouvement réduit : aucune animation, bandeau figé en lignes centrées. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  /* EXCEPTION ASSUMÉE — le bandeau des clients continue de défiler
     (choix de Noé, 18/11/2026, comme sur Le Cockpit Business). Le
     !important reprend la main sur la règle * ci-dessus ; le survol le met
     toujours en pause. Pour le figer à nouveau : README § 7. */
  .marquee__track { animation-duration: 48s !important; animation-iteration-count: infinite !important; }
  .case-card:hover { transform: none; }
}

/* --- 23. Pages légales --------------------------------------------------- */

.legal { max-width: 760px; margin-inline: auto; }

.legal__head { padding-bottom: 34px; border-bottom: 1px solid var(--rule); }
.legal__head .eyebrow { margin-bottom: 22px; }
.legal__date { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-2); }
.legal__intro { margin: 30px 0 0; font-size: 17px; line-height: 1.62; color: var(--ink-body); }

.legal__toc { margin: 34px 0 0; padding: 26px 30px; border-radius: 16px; background: var(--blanc); border: 1px solid var(--card-border); }
.legal__toc ol { margin: 16px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.legal__toc li { break-inside: avoid; }
.legal__toc a { display: flex; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--ink); }
.legal__toc a span { flex: none; width: 20px; font-weight: 700; color: var(--accent-lg); }

.legal__sec { margin-top: 48px; }
.legal__h {
  display: flex;
  gap: 16px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.014em;
}
.legal__h span { flex: none; color: var(--accent-lg); }

.legal__sec p { margin: 0; font-size: 16px; line-height: 1.66; color: var(--ink-2); }
.legal__sec p + p { margin-top: 14px; }
.legal__sec b { color: var(--ink); font-weight: 600; }
.legal__sec ul { margin: 14px 0 0; padding: 0; list-style: none; }
.legal__sec ul li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.legal__sec ul li + li { margin-top: 8px; }
.legal__sec ul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 11px; height: 1px; background: var(--accent-lg); }
.legal__sec ul + p { margin-top: 14px; }
.legal__sec p.legal__note {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--ink-body);
}

.legal__id { margin: 0; display: grid; gap: 10px; }
.legal__id > div { display: flex; gap: 16px; flex-wrap: wrap; }
.legal__id dt {
  flex: none;
  width: 170px;
  padding-top: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.legal__id dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink); }

.legal__tableau { margin-top: 16px; overflow-x: auto; }
.legal__tableau table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.legal__tableau th {
  padding: 0 16px 10px 0;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.legal__tableau td { padding: 14px 16px 14px 0; vertical-align: top; line-height: 1.55; color: var(--ink-body); border-bottom: 1px solid var(--rule); }
.legal__tableau td:first-child { font-weight: 600; color: var(--ink); }

/* --- 24. Responsive ------------------------------------------------------ */

@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .etapes, .trio, .cases, .livrables { gap: 18px; }
  .etape, .trio__item, .case-card { padding: 24px 22px 26px; }
  .membre { grid-template-columns: 1fr; }
  .membre .portrait { max-width: 180px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; }
  .nav__links a:not(.btn) { display: none; }
  .trio, .cases, .cases--grille, .etapes, .call, .filter__cols { grid-template-columns: 1fr; }
  .livrables { grid-template-columns: 1fr 1fr; }
  .equipe { grid-template-columns: 1fr; }
  .membre { grid-template-columns: 160px 1fr; }
  .apart { grid-template-columns: 1fr; gap: 10px; }
  .encart { flex-direction: column; gap: 12px; }
  .encart__label { width: auto; padding-top: 0; }
  .cas__corps { grid-template-columns: 1fr; gap: 0; }
  .cas__titre { padding: 0 0 14px; }
  .cas__texte { margin-bottom: 40px; }
  .logo { padding-inline: 24px; }
  .marquee__track { animation-duration: 36s; }
}

@media (max-width: 620px) {
  .btn--primary { width: 100%; justify-content: center; padding: 16px 20px; font-size: 14.5px; gap: 9px; }
  .btn--nav { width: auto; padding: 10px 16px; font-size: 13px; }
  .brand__name { font-size: 11px; letter-spacing: 0.16em; }
  .cta-group { flex-direction: column; align-items: stretch; }
  .cta-group .lien-fleche { align-self: center; }
  .livrables { grid-template-columns: 1fr; }
  .membre { grid-template-columns: 1fr; padding: 24px 22px; }
  .membre .portrait { max-width: 140px; }
  .call__item, .filter__col, .livrable { padding: 26px 22px; }
  .legal__toc { padding: 22px 20px; }
  .legal__toc ol { columns: 1; }
  .legal__id dt { width: auto; }
  .legal__id > div { flex-direction: column; gap: 2px; }
  .temoin { padding: 24px 22px; }
}

/* Sous 620 px, la marque passe sur deux lignes et le bouton de la barre perd
   sa flèche : le libellé du CTA reste le même partout, sans version courte. */
@media (max-width: 620px) {
  .nav__inner { gap: 12px; padding-block: 14px; }
  .nav .brand__name { line-height: 1.25; }
  .nav .brand__name span { display: block; }
  .btn--nav svg { display: none; }
}

/* --- 25. Ajustements de pages intérieures -------------------------------- */

.hero--page .h1 { margin-top: 28px; }
.hero__statut { margin: 22px 0 0; }
.cases--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.legal__sec p + .legal__id { margin-top: 16px; }

@media (max-width: 900px) {
  .cases--deux { grid-template-columns: 1fr; }
}

/* --- 26. Phrase-pivot du constat (mécanisme du problème) ----------------
   La phrase que le lecteur doit retenir : grand corps, centrée, sans cadre. */

.chute {
  margin: 72px auto 0;
  max-width: 880px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.chute .italique { display: block; }
.chute__suite {
  margin: 24px auto 0;
  max-width: 58ch;
  text-align: center;
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  line-height: 1.6;
  color: var(--ink-2);
}

.filter__close {
  margin: 40px 0 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 34ch;
}

/* --- 27. Bandeau clients : pastilles blanches ---------------------------
   Les logos gardent leurs couleurs d'origine, posés sur une pastille
   blanche (certains fichiers, comme certains clients, ont un fond blanc). Remplace le
   passage en blanc monochrome du § 9. */

.logo { height: auto; padding-inline: 8px; border-right: 0; }
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--blanc);
}
.logo img { height: 30px; max-width: 140px; filter: none; opacity: 1; }
.logo__nom { font-size: 19px; color: var(--nuit); }
.logo--avec-nom img { height: 34px; }
.logo--avec-nom .logo__nom,
.logo--avec-nom:has(img) .logo__nom {
  position: static; width: auto; height: auto; overflow: visible; clip: auto;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
}

/* --- 28. Ce que nous faisons / ne faisons pas --------------------------- */

.faire {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.faire__col { padding: 32px 34px; border-radius: 18px; }
.faire__col--oui { background: var(--blanc); border: 1px solid var(--card-border); box-shadow: var(--shadow-md); }
.faire__col--non { background: var(--fond); border: 1px solid var(--card-border); }
.faire__titre { margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.faire__col--non .faire__titre { color: var(--ink-2); }
.faire__liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.faire__liste li { position: relative; padding-left: 30px; }
.faire__liste li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent-lg); font-weight: 700; line-height: 1.5; }
.faire__liste b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.faire__liste span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.faire__liste--non { grid-template-columns: 1fr; gap: 16px; }
.faire__liste--non li { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.faire__liste--non li::before { content: "✕"; color: var(--ink-soft); font-weight: 400; }

/* --- 29. Vos données : six engagements ---------------------------------- */

.garanties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.garantie { padding: 30px 30px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.garantie__icone {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-hover);
}
.garantie h3 { margin-top: 20px; font-size: 22px; line-height: 1.2; letter-spacing: -0.012em; }
.garantie p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* --- 30. Chiffres clés d'une étude de cas -------------------------------- */

.stats { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 0; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; gap: 4px; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--accent-lg); }
.stats span { font-size: 14.5px; color: var(--ink-2); }
.stats--carte { gap: 10px 22px; margin-top: 18px; }
.stats--carte b { font-size: 30px; }
.stats--carte span { font-size: 12.5px; }
.nuit .stats b { color: var(--accent); }

/* --- 31. Équipe + FAQ dans la même section ------------------------------- */

.faq-bloc { margin-top: 88px; padding-top: 48px; border-top: 1px solid var(--rule); }
.faq-bloc .faq { margin-top: 18px; }
#diagnostic .filter__cols { margin-top: 40px; }

@media (max-width: 900px) {
  .faire { grid-template-columns: 1fr; }
  .garanties { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .faire__col { padding: 26px 22px; }
  .faire__liste { grid-template-columns: 1fr; }
  .garanties { grid-template-columns: 1fr; }
  .garantie { padding: 26px 22px; }
  .logo a { height: 46px; padding: 0 14px; }
}
.cas__texte .stats li { padding-left: 0; }
.cas__texte .stats li::before { content: none; }
.cas__texte .stats li + li { margin-top: 0; }

/* --- 32. Preuve sociale en tête du hero ---------------------------------- */

.avis {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rule-nuit);
}
.avis__etoiles { color: #ffc94a; font-size: 16px; letter-spacing: 2px; line-height: 1; }
.avis__texte { font-size: 14px; font-weight: 500; color: #c8d4df; }
.avis__texte b { font-weight: 700; color: #ffffff; }

/* Logo prévu pour fond sombre  : pastille nuit au lieu de blanche. */
.logo--sombre a { background: var(--nuit-2); border: 1px solid var(--rule-nuit); }
.logo--sombre img { height: 22px; }

@media (max-width: 900px) {
  .marquee__track { animation-duration: 36s !important; }
}

/* --- 33. Schéma animé « sources → système → résultats » (.flux) ----------
   HTML/CSS pur. Grand écran : trois colonnes reliées par des courbes SVG
   où circule l'information. Mobile et cartes : empilé, fils verticaux.
   Les animations tournent même avec « Réduire les animations » (choix de
   Noé, comme le bandeau) — voir § 22. */

.flux { --titre: 40px; margin: 0; }
.flux ul { margin: 0; padding: 0; list-style: none; }
.flux__titre {
  height: var(--titre);
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.flux__puce {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--blanc);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.flux__puce--in::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-hover);
  animation: fluxPouls 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.45s);
}
.flux__puce--out { background: var(--accent-soft); border-color: var(--accent-line); box-shadow: none; }
.flux__puce--out::before {
  content: "✓";
  flex: none;
  color: var(--accent-lg);
  font-weight: 700;
  animation: fluxCoche 3.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.4s);
}

.flux__coeur {
  padding: 24px 22px;
  border-radius: 18px;
  background: var(--nuit);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.flux__nom { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.1; letter-spacing: -0.012em; }
.flux__briques { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px !important; }
.flux__briques li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(140, 204, 251, 0.35);
  font-size: 12.5px;
  font-weight: 700;
  color: #c8d4df;
  animation: fluxBrique 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * 2s);
}

/* Courbes de liaison */
.flux__liens { display: none; overflow: visible; }
.flux__liens path { fill: none; vector-effect: non-scaling-stroke; }
.flux__fond path { stroke: var(--accent-line); stroke-width: 1.5; }
.flux__onde path {
  stroke: var(--accent-lg);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 93;
  animation: fluxOnde 2.4s linear infinite;
  animation-delay: calc(var(--i) * -0.45s);
}

/* Fil vertical (mode empilé) */
.flux__fil {
  display: block;
  width: 2px;
  height: 40px;
  margin: 10px auto;
  background: linear-gradient(var(--accent-lg) 0 40%, transparent 40%) 0 0 / 2px 12px repeat-y;
  animation: fluxFil .9s linear infinite;
}

/* Disposition empilée (par défaut) */
.flux { display: flex; flex-direction: column; }
.flux .flux__col ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.flux .flux__titre { height: auto; margin-bottom: 12px; text-align: center; }

/* Disposition large (≥ 900 px) */
@media (min-width: 900px) {
  .flux--large {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1.05fr) 110px minmax(0, 1fr);
    align-items: stretch;
  }
  .flux--large .flux__fil { display: none; }
  .flux--large .flux__liens { display: block; width: 100%; height: calc(100% - var(--titre)); margin-top: var(--titre); align-self: stretch; }
  .flux--large .flux__col { display: flex; flex-direction: column; }
  .flux--large .flux__titre { height: var(--titre); margin: 0; text-align: left; }
  .flux--large .flux__col ul { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 10px; justify-content: stretch; }
  .flux--large .flux__puce { align-self: center; }
  .flux--large .flux__col--out .flux__titre { text-align: right; }
  .flux--large .flux__coeur { align-self: center; margin-top: var(--titre); padding: 34px 28px; }
  .flux--large .flux__nom { font-size: 32px; }
}

/* Sur fond nuit (cartes de réalisations) */
.nuit .flux__puce { background: rgba(255, 255, 255, 0.06); border-color: var(--rule-nuit); box-shadow: none; color: #ffffff; }
.nuit .flux__puce--out { background: rgba(140, 204, 251, 0.12); border-color: rgba(140, 204, 251, 0.3); }
.nuit .flux__puce--out::before { color: var(--accent); }
.nuit .flux__coeur { background: var(--accent); color: var(--nuit); box-shadow: none; }
.nuit .flux__briques li { color: var(--nuit); border-color: rgba(26, 43, 60, 0.25); animation-name: fluxBriqueNuit; }
.nuit .flux__fil { background-image: linear-gradient(var(--accent) 0 40%, transparent 40%); }
.nuit .flux__fond path { stroke: rgba(140, 204, 251, 0.25); }
.nuit .flux__onde path { stroke: var(--accent); }

/* Version compacte (cartes) */
.flux--compact .flux__puce { padding: 7px 11px; font-size: 13px; border-radius: 10px; }
.flux--compact .flux__coeur { padding: 14px 14px; border-radius: 14px; }
.flux--compact .flux__nom { font-size: 20px; }
.flux--compact .flux__briques { margin-top: 10px !important; gap: 6px; }
.flux--compact .flux__briques li { padding: 4px 9px; font-size: 11.5px; }
.flux--compact .flux__fil { height: 26px; margin: 6px auto; }
.flux--compact .flux__titre { margin-bottom: 8px; font-size: 10px; }

@keyframes fluxOnde { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes fluxFil  { from { background-position: 0 0; } to { background-position: 0 12px; } }
@keyframes fluxPouls { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.5); opacity: 1; } }
@keyframes fluxCoche { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }
@keyframes fluxBrique {
  0%, 22% { background: var(--accent); color: var(--nuit); border-color: var(--accent); }
  27%, 100% { background: transparent; color: #c8d4df; border-color: rgba(140, 204, 251, 0.35); }
}
@keyframes fluxBriqueNuit {
  0%, 22% { background: var(--nuit); color: #ffffff; border-color: var(--nuit); }
  27%, 100% { background: transparent; color: var(--nuit); border-color: rgba(26, 43, 60, 0.25); }
}

/* Exception mouvement réduit, comme le bandeau (§ 22) */
@media (prefers-reduced-motion: reduce) {
  .flux__onde path { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
  .flux__fil { animation-duration: .9s !important; animation-iteration-count: infinite !important; }
  .flux__puce--in::before { animation-duration: 2.4s !important; animation-iteration-count: infinite !important; }
  .flux__puce--out::before { animation-duration: 3.2s !important; animation-iteration-count: infinite !important; }
  .flux__briques li { animation-duration: 8s !important; animation-iteration-count: infinite !important; }
}

/* --- 34. Ce que nous livrons : exemples réels et refus ------------------- */

.briques {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.brique a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--fond);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.brique a:hover { border-color: var(--accent-line); transform: translateY(-2px); color: inherit; }
.brique__type { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.brique b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.18; color: var(--ink); }
.brique__chez { font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-lg); text-underline-offset: 3px; }

.pasnous { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--rule); }
.pasnous__titre { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.pasnous ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pasnous li { padding: 6px 12px; border-radius: 999px; background: var(--fond); border: 1px solid var(--card-border); font-size: 13px; color: var(--ink-2); }
.pasnous li::before { content: "✕ "; color: var(--ink-soft); }

@media (max-width: 900px) { .briques { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .briques { grid-template-columns: 1fr; } }
#offre .flux { margin-top: 56px; }
.avis__texte { white-space: nowrap; }
@media (max-width: 620px) {
  .avis { gap: 8px; padding: 8px 14px 8px 12px; margin-bottom: 24px; }
  .avis__etoiles { font-size: 13px; letter-spacing: 1px; }
  .avis__texte { font-size: 13px; }
}

/* --- 35. Réalisations : cartes « système » ------------------------------- */

.etat {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--ink);
}
.etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fb36a; }
.etat--en::before, .etat--prototype::before { background: #f0b429; }
.nuit .etat { background: rgba(255, 255, 255, 0.06); border-color: var(--rule-nuit); color: #ffffff; }

.cases--systemes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card--flux .case-card__probleme { flex: none; }
.case-card--flux .flux { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--rule); flex: 1; justify-content: center; }
.case-card--flux .case-card__lien { margin-top: 24px; }

.cas__schema { margin-bottom: 72px; }
.cas__schema .label { margin-bottom: 26px; }

@media (max-width: 1180px) { .cases--systemes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .cases--systemes { grid-template-columns: 1fr; } }


/* --- 36. Démos animées des études de cas (.demo) -------------------------
   Une maquette d'écran (toile fixe de 640 × 400 px, mise à l'échelle par
   script.js § 9) qui joue le scénario du système en quatre étapes, avec la
   légende à côté. Conventions des attributs : voir le script de démo.
   Tourne aussi en mouvement réduit (choix de Noé), pause au survol. */

.demo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.demo__ecran { border-radius: 16px; overflow: hidden; background: var(--blanc); border: 1px solid var(--card-border); box-shadow: var(--shadow-lg); }
.demo__chrome { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #f4f7fa; border-bottom: 1px solid var(--card-border); }
.demo__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #d5dde6; }
.demo__chrome span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.demo__cadre { position: relative; overflow: hidden; height: 400px; }
.demo__toile { position: absolute; top: 0; left: 0; transform-origin: 0 0; }

.demo__legende .label { margin-bottom: 16px; }
.demo__etapes { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.demo__etape {
  position: relative; display: flex; gap: 14px; width: 100%; padding: 14px 16px 16px;
  border: 1px solid transparent; border-radius: 14px; background: transparent;
  text-align: left; cursor: pointer; overflow: hidden; transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.demo__etape:hover { background: rgba(255,255,255,.6); }
.demo__num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; background: var(--blanc); border: 1px solid var(--card-border); color: var(--ink-2);
  transition: background .3s ease, color .3s ease;
}
.demo__txt { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.demo__txt b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; color: var(--ink); }
.demo__etape:not(.is-active) .demo__txt { color: var(--ink-soft); }
.demo__etape:not(.is-active) .demo__txt b { color: var(--ink-2); }
.demo__etape.is-active { background: var(--blanc); border-color: var(--card-border); box-shadow: var(--shadow-sm); }
.demo__etape.is-active .demo__num { background: var(--accent); border-color: var(--accent); color: var(--nuit); }
.demo__etape.is-done .demo__num { background: var(--accent-soft); border-color: var(--accent-line); color: var(--ink); }
.demo__barre { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--accent-hover); }
.demo__etape.is-active .demo__barre { animation: demoBarre var(--duree, 3800ms) linear forwards; }
.demo.is-pause .demo__etape.is-active .demo__barre { animation-play-state: paused; }
.demo__note { margin: 16px 0 0; font-size: 12.5px; color: var(--ink-2); }
@keyframes demoBarre { from { width: 0; } to { width: 100%; } }

/* Mécanique des étapes */
.demo [data-des] { opacity: 0; transform: translateY(8px); transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s), box-shadow .3s ease; }
.demo.e1 [data-des="1"],
.demo.e2 [data-des="2"],
.demo.e3 [data-des="3"],
.demo.e4 [data-des="4"],
.demo.e5 [data-des="5"] { opacity: 1; transform: none; }
.demo [data-quitte] { transition: opacity .5s ease, transform .6s cubic-bezier(.5,0,.2,1), box-shadow .3s ease; }
.demo.e1 [data-quitte="1"],
.demo.e2 [data-quitte="2"],
.demo.e3 [data-quitte="3"],
.demo.e4 [data-quitte="4"],
.demo.e5 [data-quitte="5"] { opacity: 0; transform: translateX(150px) scale(.94); }
.demo [data-focus] { transition: opacity .5s ease var(--d, 0s), transform .5s ease var(--d, 0s), box-shadow .3s ease; }
.demo.c1 [data-focus="1"],
.demo.c2 [data-focus="2"],
.demo.c3 [data-focus="3"],
.demo.c4 [data-focus="4"],
.demo.c5 [data-focus="5"] { box-shadow: 0 0 0 3px var(--accent-hover), 0 12px 24px -12px rgba(30, 143, 229, .6); }
.demo [data-trace] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s ease .3s; }
.demo.e1 [data-trace="1"],
.demo.e2 [data-trace="2"],
.demo.e3 [data-trace="3"],
.demo.e4 [data-trace="4"],
.demo.e5 [data-trace="5"] { stroke-dashoffset: 0; }
.demo .t-tape { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.demo.e1 [data-tape="1"],
.demo.e2 [data-tape="2"],
.demo.e3 [data-tape="3"],
.demo.e4 [data-tape="4"],
.demo.e5 [data-tape="5"] { max-width: 560px; transition: max-width 1.8s steps(56); }
.demo .t-tapee { transform: scaleX(0); transform-origin: left; transition: transform .7s ease calc(var(--d, 0s) + .3s); }
.demo .t-barres i { transform: scaleY(0); transform-origin: bottom; transition: transform .7s ease .3s; }
.demo.e1 [data-des="1"] .t-tapee, .demo.e1 [data-des="1"] .t-barres i,
.demo.e2 [data-des="2"] .t-tapee, .demo.e2 [data-des="2"] .t-barres i,
.demo.e3 [data-des="3"] .t-tapee, .demo.e3 [data-des="3"] .t-barres i,
.demo.e4 [data-des="4"] .t-tapee, .demo.e4 [data-des="4"] .t-barres i,
.demo.e5 [data-des="5"] .t-tapee, .demo.e5 [data-des="5"] .t-barres i { transform: none; }
.demo .t-glisse[data-des] { transform: translateX(-150px); }

/* Maquettes : vocabulaire commun */
.t { position: relative; width: 640px; height: 400px; background: #eef3f8; font: 500 11px/1.35 var(--sans); color: var(--nuit); overflow: hidden; }
.t .a { position: absolute; }
.t p { margin: 0; }
.t-h { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.t-p { background: #fff; border: 1px solid #e1e7ee; border-radius: 10px; padding: 10px 12px; box-shadow: 0 8px 20px -14px rgba(26,43,60,.35); }
.t-p > .t-h { margin-bottom: 8px; }
.t-col { display: flex; flex-direction: column; gap: 8px; }
.t-card { background: #fff; border: 1px solid #e1e7ee; border-radius: 8px; padding: 7px 9px; font-size: 10.5px; color: var(--ink-2); }
.t-card b, .t-row b { display: block; font-size: 11px; color: var(--nuit); }
.t-pale { opacity: .55; }
.t-badge { display: inline-block; margin: 5px 4px 0 0; padding: 2px 7px; border-radius: 999px; font-size: 9px; font-weight: 700; font-style: normal; background: #ebf5fe; color: var(--nuit); }
.t-ok { background: #def5e7; color: #17663a; }
.t-warn { background: #fff0d1; color: #8a5a00; }
.t-new { background: #ffe9a8; }
.t-btn { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--nuit); font-size: 10px; font-weight: 700; }
.t-btn--valider { background: #2fb36a; color: #fff; }
.t-mini { font-size: 9.5px; color: var(--ink-2); }
.t-mini2 { font-size: 10.5px; }
.t-row { padding: 7px 4px; border-bottom: 1px solid #eef2f6; font-size: 10.5px; color: var(--ink-2); }
.t-resume { display: block; margin-top: 3px; font-size: 9.5px; }
.t-ligne { height: 6px; margin: 6px 0; border-radius: 3px; background: #dfe6ee; }
.t-phone { padding: 8px; border-radius: 24px; background: var(--nuit); }
.t-ecran { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 12px 10px; border-radius: 17px; background: #fff; overflow: hidden; }
.t-notif { padding: 7px 9px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 10px; }
.t-notif b { display: block; font-size: 10.5px; }
.t-carte-mini { position: relative; height: 72px; border-radius: 10px; background: #e6f0f7; }
.t-carte-mini svg { width: 100%; height: 60px; }
.t-carte-mini path, .t-route path { fill: none; stroke: var(--accent-lg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.t-carte-mini .t-btn { position: absolute; right: 6px; bottom: 6px; }
.t-photos { display: flex; gap: 5px; }
.t-photos i { width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #c9d6e2, #9fb2c4); }
.t-toast { padding: 8px 10px; border-radius: 10px; background: var(--nuit); color: #c8d4df; font-size: 10px; }
.t-toast b { display: block; color: var(--accent); font-size: 10.5px; }
.t-bulle { max-width: 85%; margin-bottom: 6px; padding: 6px 9px; border-radius: 12px; font-size: 10px; }
.t-bulle--in { background: #f1f5f9; border: 1px solid #e1e7ee; }
.t-bulle--out { margin-left: auto; background: var(--accent-lg); color: #fff; }
.t-carte { background-color: #eaf2f8; background-image: linear-gradient(#dde7f0 1px, transparent 1px), linear-gradient(90deg, #dde7f0 1px, transparent 1px); background-size: 28px 28px; }
.t-zone { border: 2px dashed; border-radius: 50%; padding: 6px 0 0 14px; font-size: 9px; font-weight: 700; }
.t-zone--a { border-color: var(--accent-lg); background: rgba(30,143,229,.07); color: var(--accent-lg); }
.t-zone--b { border-color: #2fb36a; background: rgba(47,179,106,.07); color: #17663a; }
.t-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: #a3b3c3; transition: background .5s ease .4s; box-shadow: 0 2px 6px rgba(26,43,60,.3); }
.demo.e2 .t-dot.za { background: var(--accent-lg); }
.demo.e2 .t-dot.zb { background: #2fb36a; }
.t-signature { display: block; width: 100%; height: 40px; }
.t-signature path { fill: none; stroke: var(--nuit); stroke-width: 2; stroke-linecap: round; }
.t-onglets { display: flex; gap: 6px; margin-bottom: 8px; }
.t-onglets span { padding: 3px 8px; border-radius: 999px; background: #eef3f8; font-size: 9px; font-weight: 700; }
.t-onglets .on { background: var(--accent); }
.t-barres { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.t-barres i { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent-hover); }
.t-tampon { transform: rotate(-4deg); font-size: 10.5px; margin-top: 10px; }
.demo.e4 .t-tampon[data-des="4"] { transform: rotate(-4deg); }
.t-doc b { display: block; margin-bottom: 6px; font-size: 11px; }
.t-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.t-jours { display: grid; grid-template-columns: repeat(5, 78px); gap: 0; margin: 0 0 0 14px; font-size: 9px; font-weight: 700; color: var(--ink-2); }
.t-cours { padding: 5px 6px; border-radius: 6px; background: #eef3f8; border: 1px solid #e1e7ee; font-size: 9px; font-weight: 700; }
.t-cours--neuf { background: var(--accent); border-color: var(--accent); }
.t-pin { width: 16px; height: 16px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #e5484d; border: 2px solid #fff; }
.t-recherche { display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 13px; font-weight: 600; }
.t-loupe { flex: none; width: 13px; height: 13px; border: 2px solid var(--ink-2); border-radius: 50%; }
.t-table { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr .7fr; gap: 8px; align-items: center; padding: 10px 6px; border-bottom: 1px solid #eef2f6; font-size: 10.5px; }
.t-th { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.t-chip { display: inline-block; margin-right: 3px; padding: 2px 6px; border-radius: 5px; background: #eef3f8; border: 1px solid #e1e7ee; font-size: 9px; font-style: normal; font-weight: 700; }
.t-cand { font-weight: 700; }
.t-ecran--appel { align-items: center; justify-content: flex-start; padding-top: 30px; background: #22374b; color: #fff; text-align: center; }
.t-appel { font-size: 10px; color: #a3b3c3; }
.t-appel b { display: block; font-size: 14px; color: #fff; }
.t-onde { display: flex; align-items: center; gap: 3px; height: 40px; }
.t-onde i { width: 4px; height: 30%; border-radius: 2px; background: var(--accent); animation: demoOnde .8s ease-in-out infinite alternate; }
.t-onde i:nth-child(2) { animation-delay: .1s; } .t-onde i:nth-child(3) { animation-delay: .25s; }
.t-onde i:nth-child(4) { animation-delay: .05s; } .t-onde i:nth-child(5) { animation-delay: .3s; } .t-onde i:nth-child(6) { animation-delay: .15s; }
@keyframes demoOnde { to { height: 100%; } }
.t-clavier { display: grid; grid-template-columns: repeat(2, 44px); gap: 8px; margin-top: 18px; }
.t-clavier i { padding: 9px 0; border-radius: 10px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 700; font-style: normal; transition: background .3s ease; }
.demo.e3 .t-touche2 { background: var(--accent); color: var(--nuit); }
.t-cible { background: #def5e7; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .t-onde i { animation-duration: .8s !important; animation-iteration-count: infinite !important; }
  .demo__etape.is-active .demo__barre { animation-duration: var(--duree, 3800ms) !important; }
  .demo [data-des], .demo [data-quitte], .demo [data-trace], .demo .t-tapee, .demo .t-barres i { transition-duration: .5s !important; }
  .demo [data-trace] { transition-duration: 1.4s !important; }
}

@media (max-width: 1000px) {
  .demo { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) {
  .demo__txt b { font-size: 18px; }
  .demo__etape { padding: 12px 12px 14px; }
}
/* Carte glissée d'une colonne à l'autre : arrive de la gauche, et sa place
   ne se creuse qu'à son arrivée. */
.demo .t-glisse[data-des] { max-height: 0; padding-block: 0; border-width: 0; margin-bottom: -8px; overflow: hidden;
  transition: opacity .5s ease .25s, transform .7s cubic-bezier(.3,0,.2,1), max-height .4s ease, padding .4s ease, margin .4s ease, box-shadow .3s ease; }
.demo.e2 .t-glisse[data-des="2"] { transform: none; max-height: 120px; padding-block: 7px; border-width: 1px; margin-bottom: 0; }
.t-zone { position: absolute; }
.t-row.t-mini2 b { display: inline; margin-right: 4px; }
.demo__toile { transition: transform .9s cubic-bezier(.4,0,.2,1); }

/* --- 37. Bandeau clients : logo monochrome + KPI ------------------------
   Tous les logos dans la même couleur (blanc), sans nom visible — le nom
   reste dans l'attribut alt. À côté, le KPI principal du client. */

.proofbar__avis { margin: 0 0 24px; text-align: center; }
.proofbar__avis .avis { margin: 0; }

.logo-kpi { flex: none; display: flex; align-items: center; padding-inline: 36px; border-right: 1px solid var(--rule-nuit); }
.logo-kpi a { display: flex; align-items: center; gap: 16px; text-decoration: none; color: #ffffff; }
.logo-kpi img { display: block; height: 36px; width: auto; max-width: 130px; object-fit: contain; }
.logo-kpi__filtre { filter: brightness(0) invert(1); }
.logo-kpi__marque { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: #ffffff; }
.logo-kpi__kpi { display: flex; flex-direction: column; gap: 2px; }
.logo-kpi__kpi b { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; color: var(--accent); white-space: nowrap; }
.logo-kpi__kpi span { max-width: 15ch; font-size: 12px; line-height: 1.25; color: var(--ink-pale); }
.logo-kpi a:hover .logo-kpi__kpi span { color: #ffffff; }

@media (max-width: 620px) {
  .logo-kpi { padding-inline: 24px; }
  .logo-kpi img { height: 30px; }
  .logo-kpi__kpi b { font-size: 24px; }
}
.logo-kpi img { height: 40px; max-width: 170px; }
@media (max-width: 620px) { .logo-kpi img { height: 32px; max-width: 140px; } }

/* --- 38. Bandeau façon Cockpit Business : icône · entreprise · gain ------
   Icône en couleur dans un rond (favicon du client, ou pictogramme du
   secteur), type d'entreprise et taille — jamais le nom —, ce qui a été
   gagné, et le gain en grand. Remplace le bandeau logo + KPI (§ 37). */

.member { display: flex; align-items: center; flex: none; padding-inline: 30px; border-right: 1px solid var(--rule-nuit); }
.member a { display: flex; align-items: center; gap: 13px; color: inherit; text-decoration: none; }
.member > .member__photo, .member a > .member__photo { margin-right: 0; }
.member:not(:has(a)) { gap: 13px; }
.member__photo {
  position: relative; flex: none; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #ffffff;
}
.member__photo img { width: 72%; height: 72%; object-fit: contain; }
.member__picto { width: 100%; height: 100%; padding: 11px; background: var(--fond); fill: none; stroke: #ffffff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.member__id { display: flex; flex-direction: column; gap: 2px; }
.member__name { font-size: 13.5px; font-weight: 700; color: #ffffff; white-space: nowrap; }
.member__role { font-size: 12px; font-weight: 500; color: var(--ink-pale); white-space: nowrap; }
.member__hours { margin-left: 4px; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--accent); white-space: nowrap; }
.member a:hover .member__name { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

@media (max-width: 620px) {
  .member { padding-inline: 22px; }
  .member__photo { width: 40px; height: 40px; }
  .member__hours { font-size: 22px; }
}
/* 19 entrées : même vitesse de lecture que le bandeau du Cockpit Business. */
.marquee__track { animation-duration: 120s !important; }
@media (max-width: 900px) { .marquee__track { animation-duration: 100s !important; } }
.stats--hero { margin-top: 26px; }

/* --- 39. Ce qui a été mis en place (remplace les KPI) -------------------- */

.en-place__titre { margin: 0; font-weight: 700; color: var(--ink); }
.en-place__briques { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.en-place__briques li {
  padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--ink);
}
.nuit .en-place__briques li { background: rgba(140, 204, 251, 0.12); border-color: rgba(140, 204, 251, 0.3); color: #ffffff; }

.en-place--carte { margin-top: 14px; }
.en-place--carte .en-place__titre { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.15; color: var(--accent); }
.case-card:not(.nuit *) .en-place--carte .en-place__titre { color: var(--accent-lg); }

.en-place--hero { margin-top: 24px; }
.en-place--hero .en-place__titre { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: var(--accent); }
.en-place--hero .en-place__briques li { font-size: 13px; padding: 5px 12px; }

/* --- 40. Visages des membres dans la pastille d'avis --------------------- */

.avis__visages { display: flex; align-items: center; }
.avis__visages img,
.avis__plus {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--nuit);
  margin-left: -10px;
  flex: none;
}
.avis__visages > :first-child { margin-left: 0; }
.avis__visages img { display: block; object-fit: cover; background: var(--nuit-2); }
.avis__plus {
  display: grid; place-items: center;
  background: #ffffff; color: var(--nuit);
  font-size: 11.5px; font-weight: 800; letter-spacing: -.02em;
}
.avis:has(.avis__visages) { padding-left: 8px; }
@media (max-width: 620px) {
  .avis:has(.avis__visages) { display: inline-grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 22px; }
  .avis__visages { grid-column: 1 / -1; justify-content: center; }
  .avis__visages img, .avis__plus { width: 30px; height: 30px; }
}

/* --- 41. Constat en une citation · drapeau de l'hébergement ------------- */

.citation-seule { margin: 0 auto; max-width: 920px; text-align: center; }
.citation-seule blockquote { margin: 0; }
.citation-seule p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.citation-seule .italique { display: block; color: var(--accent-lg); }
.citation-seule figcaption {
  margin-top: 26px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-2);
}
.citation-seule figcaption::before { content: "— "; }

.drapeau {
  display: inline-block;
  width: .9em; height: .6em;
  vertical-align: .08em;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(26, 43, 60, .12);
}
.garantie__icone--drapeau { background: none !important; border: 0 !important; }
.garantie__icone--drapeau .drapeau { width: 36px; height: 24px; border-radius: 4px; vertical-align: middle; }
.nowrap { white-space: nowrap; }

/* --- 42. Bulle WhatsApp « Le Cockpit » (reprise de lecockpit-business.fr) --
   Le vert WhatsApp ne sert qu'au glyphe ; le reste suit la palette. */

.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 22px 12px 13px;
  border-radius: 999px;
  background: var(--blanc);
  border: 1px solid var(--card-border);
  box-shadow: 0 18px 40px -18px rgba(26, 43, 60, 0.55);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.wa:hover {
  color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -18px rgba(26, 43, 60, 0.6);
}

.wa__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
}

.wa__text { display: flex; flex-direction: column; gap: 2px; }
.wa__title { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.wa__sub { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }

/* Sur petit écran la pastille se réduit au glyphe : une pilule pleine
   masquerait le contenu. */
@media (max-width: 720px) {
  .wa { right: 16px; bottom: 16px; padding: 9px; gap: 0; }
  .wa__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa:hover { transform: none; }
}

/* --- 43. Haut de page clair (demande de Noé, 18/11) ----------------------
   La navigation et les heros suivent le fond du reste du site ; seule la
   section finale reste en bleu nuit. */

.nav {
  background: rgba(244, 247, 250, 0.92);
  border-bottom-color: var(--rule);
}
.nav[data-scrolled="true"] { border-bottom-color: rgba(26, 43, 60, 0.14); }
.brand__mark { color: var(--accent-lg); }
.brand__name { color: var(--ink); }
.brand__name span { color: var(--ink-2); }
.nav__links a:not(.btn) { color: var(--ink-2); }
.nav__links a:not(.btn):hover,
.nav__links a[aria-current="page"] { color: var(--ink); }

.hero--page { background: var(--blanc); border-bottom: 1px solid var(--rule); }

/* Pastille d'avis et bandeau, sur fond clair */
.avis { background: var(--blanc); border-color: var(--card-border); box-shadow: 0 10px 30px -22px rgba(26, 43, 60, .45); }
.avis__texte { color: var(--ink-2); }
.avis__texte b { color: var(--ink); }
.avis__etoiles { color: #f5a623; }
.avis__visages img, .avis__plus { border-color: var(--blanc); }
.avis__plus { background: var(--nuit); color: #ffffff; }

.member { border-right-color: var(--rule); }
.member__photo { box-shadow: inset 0 0 0 1px var(--card-border); }
.member__name { color: var(--ink); }
.member__role { color: var(--ink-2); }
.member a:hover .member__name { text-decoration-color: var(--accent-lg); }

/* Pages de cas : éléments du hero écrits pour le fond nuit */
.hero:not(.nuit) .fiche dt { color: var(--ink-2); }
.hero:not(.nuit) .fiche dd { color: var(--ink); }
.hero:not(.nuit) .retour a { color: var(--ink-2); }
.hero:not(.nuit) .retour a:hover { color: var(--ink); }
.hero:not(.nuit) .en-place--hero .en-place__titre { color: var(--accent-lg); }

/* --- 44. Réalisations en vidéo : grille 2 × 2, carrousel sur mobile ------
   Emplacements « vidéo à venir » tant que les Loom ne sont pas branchés
   (generateur/build.py, liste VIDEOS). Le lecteur Loom n'est chargé qu'au clic. */

.videos { margin-top: 48px; }
.videos__piste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.video-carte {
  position: relative; /* contient le texte sr-only : sinon il déborde du carrousel */
  display: flex; flex-direction: column;
  background: var(--blanc);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px -36px rgba(26, 43, 60, .45);
}
.section--blanc .video-carte { background: var(--fond); }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--nuit); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__type {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  background: rgba(255, 255, 255, .92); color: var(--nuit);
}
.video__ecran {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  width: 100%; padding: 0; border: 0; cursor: pointer; font: inherit; color: #ffffff;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(140, 204, 251, .28), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 28px,
    linear-gradient(160deg, #1e3247, var(--nuit));
}
.video__ecran--attente { cursor: default; }
.video__play {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent); color: var(--nuit);
  box-shadow: 0 0 0 10px rgba(140, 204, 251, .16);
  transition: transform .25s cubic-bezier(.2,.7,.3,1);
}
.video__play svg { margin-left: 3px; }
button.video__ecran:hover .video__play { transform: scale(1.07); }
.video__ecran--attente .video__play { opacity: .85; }
.video__label { font-size: 13px; font-weight: 600; color: #c8d4df; }

.video-carte__corps { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.video-carte__chez { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.video-carte__titre { margin: 8px 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; color: var(--ink); }
.video-carte__texte { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.video-carte .en-place__briques { margin-top: 14px; }
.video-carte .case-card__lien { margin-top: auto; padding-top: 18px; }

.videos__nav { display: none; }

@media (max-width: 900px) {
  .videos { margin-top: 36px; margin-inline: calc(-1 * var(--gutter, 16px)); }
  .videos__piste {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter, 16px);
    padding: 4px var(--gutter, 16px) 18px;
    scrollbar-width: none;
  }
  .videos__piste::-webkit-scrollbar { display: none; }
  .video-carte { flex: 0 0 86%; scroll-snap-align: start; }
  .videos__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
  .videos__fleche {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--card-border); background: var(--blanc); color: var(--ink);
    font-size: 16px; cursor: pointer;
  }
  .videos__fleche:disabled { opacity: .35; cursor: default; }
  .videos__puces { display: flex; gap: 8px; }
  .videos__puce { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(26, 43, 60, .2); cursor: pointer; transition: width .2s ease, background .2s ease; }
  .videos__puce[aria-current="true"] { width: 22px; background: var(--accent-lg); }
}
