/* =============================================================================
   brianplus.com — Design system « Dossier de transformation »
   Direction artistique : éditorial brutaliste.
   Typographie monumentale, rature animée, tampons rotatifs, marquees inclinés.
   Utilisé par : accueil, services, à propos, insights (index + articles).
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #121210;
  --ink-2: #1A1915;
  --ink-3: #23221C;
  --paper: #EDE8DC;
  --paper-strong: #33312A;
  --off-white: #F5F3EC;
  --accent: #FF4D00;
  --accent-light: #FF7033;
  --accent-dark: #D63E00;
  --warm-grey: #6B675C;
  --rule: #D8D2C2;
  --rule-dashed: #CCC5B2;

  /* Typographie */
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Géométrie */
  --rail: 64px;
  --gutter: calc(var(--rail) + 4vw);
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── Socle ───────────────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--off-white);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; }

::selection { background: var(--accent); color: var(--ink); }

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

.b-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  padding: 12px 18px;
}
.b-skip:focus { left: var(--rail); color: var(--ink); }

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

/* ── Curseur « + » ───────────────────────────────────────────────────────── */

.b-cursor {
  position: fixed;
  left: 0; top: 0;
  z-index: 9999;
  pointer-events: none;
  font-family: var(--sans);
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(255, 77, 0, .4);
  transition: transform .3s var(--ease);
  will-change: transform;
  display: none;
}

@media (pointer: fine) {
  body[data-cc] .b-cursor { display: block; }
  body[data-cc],
  body[data-cc] a,
  body[data-cc] button { cursor: none; }
}

/* ── Rail gauche ─────────────────────────────────────────────────────────── */

.b-rail {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--rail);
  z-index: 8000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-right: 1px solid rgba(255, 77, 0, .18);
  background: rgba(18, 18, 16, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.b-rail__logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--off-white);
}
.b-rail__logo:hover { color: var(--off-white); }
.b-rail__logo span { color: var(--accent); }

/* Les ancres s'empilent verticalement, chacune écrite de haut en bas.
   Le writing-mode reste sur les liens : sur le conteneur flex, il ferait
   basculer l'axe principal et le rail déborderait sur le contenu. */
.b-rail__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.b-rail__nav a { writing-mode: vertical-rl; }
.b-rail__nav a { color: rgba(245, 243, 236, .45); }
.b-rail__nav a:hover,
.b-rail__nav a[aria-current='true'] { color: var(--accent); }

.b-rail__label {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}

.b-rail__pct {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
}

/* ── Nav haute droite ────────────────────────────────────────────────────── */

.b-nav {
  position: fixed;
  right: 0; top: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 4vw;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.b-nav a { color: rgba(245, 243, 236, .7); }
.b-nav a:hover { color: var(--accent); }
.b-nav a[aria-current='page'] { color: var(--accent); }

/* Transparente sur le hero, opaque dès qu'elle passe au-dessus du contenu —
   sans quoi les liens clairs deviennent illisibles sur les sections papier. */
.b-nav.is-scrolled {
  background: rgba(18, 18, 16, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 77, 0, .18);
  left: var(--rail);
  justify-content: flex-end;
}

.b-nav__cta {
  background: var(--accent);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 3px;
  box-shadow: 0 8px 24px -8px rgba(255, 77, 0, .55);
  transition: background .25s, color .25s;
}
.b-nav__cta:hover { background: var(--off-white); color: var(--ink); }

.b-nav__lang {
  display: flex;
  gap: 2px;
  font-size: 11px;
  letter-spacing: .1em;
}
.b-nav__lang > * {
  font: inherit;
  background: none;
  border: 1px solid rgba(245, 243, 236, .22);
  color: rgba(245, 243, 236, .55);
  padding: 6px 9px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.b-nav__lang a:hover,
.b-nav__lang button:hover { border-color: var(--accent); color: var(--accent); }
.b-nav__lang .is-active {
  border-color: var(--accent);
  background: rgba(255, 77, 0, .12);
  color: var(--accent);
}

/* Burger — mobile uniquement */
.b-burger {
  display: none;
  position: fixed;
  right: 12px;
  top: 10px;
  z-index: 8100;
  background: none;
  border: 1px solid rgba(245, 243, 236, .25);
  color: var(--off-white);
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1;
  padding: 8px 14px;
  cursor: pointer;
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.b-sec {
  position: relative;
  padding: 16vh 5vw 16vh var(--gutter);
}
.b-sec--paper { background: var(--paper); color: var(--ink); }
.b-sec--ink { background: var(--ink); }
.b-sec--ink2 { background: var(--ink-2); }
.b-sec--ink3 { background: var(--ink-3); }
.b-sec--grad { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.b-sec--clip { overflow: hidden; }
.b-sec--center { text-align: center; }

/* Trame croisée signature */
.b-weave {
  background-image:
    repeating-linear-gradient(60deg, rgba(255, 77, 0, .04) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-60deg, rgba(255, 77, 0, .04) 0 2px, transparent 2px 16px);
}
.b-weave--soft {
  background-image:
    repeating-linear-gradient(60deg, rgba(255, 77, 0, .03) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(-60deg, rgba(255, 77, 0, .03) 0 2px, transparent 2px 16px);
}

/* Enveloppe de clipping — les bandeaux inclinés dépassent la largeur du viewport.
   Le padding vertical laisse passer le débasculement dû à la rotation. */
.b-clip { overflow: hidden; padding: 1.2vw 0; }

/* Aligné sur le rail, pas centré : au-delà de ~1450px de large, un wrap centré
   décrocherait du hero, des verbatims et du pied de page, qui suivent le
   gouttière de section. */
.b-wrap { position: relative; max-width: var(--max); margin: 0 auto 0 0; }
.b-wrap--wide { max-width: 1340px; }
.b-wrap--narrow { max-width: 1100px; }

/* Chiffre / mot géant en filigrane */
.b-ghost {
  position: absolute;
  font-family: var(--sans);
  font-weight: 700;
  line-height: .8;
  user-select: none;
  pointer-events: none;
  color: rgba(18, 18, 16, .045);
}
.b-ghost--light { color: rgba(245, 243, 236, .03); }
.b-ghost--accent { color: rgba(255, 77, 0, .09); font-family: var(--serif); font-style: italic; }

/* Glyphes « + » en parallaxe */
.b-plus {
  position: absolute;
  user-select: none;
  pointer-events: none;
  font-family: var(--sans);
  font-weight: 700;
  color: rgba(255, 77, 0, .2);
}
.b-plus--serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ── Typographie ─────────────────────────────────────────────────────────── */

.b-h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.035em;
  font-size: clamp(64px, 11.5vw, 190px);
  color: var(--off-white);
}
.b-h1--serif {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
  line-height: .94;
  letter-spacing: -.03em;
  font-size: clamp(50px, 7.8vw, 128px);
}

.b-h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7.5vw, 120px);
  line-height: .95;
  letter-spacing: -.03em;
}
.b-h2--sm {
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: .98;
}

.b-h3 {
  margin: 26px 0 10px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(34px, 3.2vw, 50px);
  text-transform: uppercase;
  letter-spacing: -.02em;
}

/* Mot en italique vermillon — motif signature */
em.b-em, .b-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.02em;
  color: var(--accent);
}
.b-sec--paper .b-em, .b-em--dark { color: var(--accent-dark); }

.b-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}
.b-sec--paper .b-label { color: var(--accent-dark); }

.b-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 8px 18px;
  transform: rotate(-2deg);
  margin-bottom: 4vh;
}

.b-lead {
  font-weight: 500;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
  color: rgba(245, 243, 236, .72);
  max-width: 520px;
  margin: 0;
  border-left: 2px solid var(--accent);
  padding-left: 22px;
}

.b-intro {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(245, 243, 236, .6);
  max-width: 560px;
}
.b-sec--paper .b-intro { color: var(--warm-grey); }

/* Rature animée du hero */
.b-struck {
  display: inline-block;
  position: relative;
  color: rgba(245, 243, 236, .55);
}
.b-strike {
  position: absolute;
  left: -2%; right: -3%;
  top: 52%;
  height: .075em;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1s var(--ease) .5s;
  box-shadow: 0 0 18px rgba(255, 77, 0, .5);
}
.b-strike.is-on { transform: scaleX(1); }

/* Mention verticale de marge */
.b-vertical {
  position: absolute;
  right: -70px;
  transform: rotate(90deg);
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(255, 77, 0, .5);
  white-space: nowrap;
}

/* ── Boutons ─────────────────────────────────────────────────────────────── */

.b-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  color: var(--ink);
  padding: 20px 32px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 12px 32px -8px rgba(255, 77, 0, .6);
  transition: background .25s, color .25s;
}
.b-cta:hover { background: var(--off-white); color: var(--ink); }
.b-cta span { font-size: 22px; }

.b-cta--lg { padding: 22px 38px; font-size: 18px; box-shadow: 0 12px 40px -8px rgba(255, 77, 0, .6); }
.b-cta--lg span { font-size: 24px; }

.b-cta--ghost {
  background: none;
  color: var(--off-white);
  padding: 21px 34px;
  border: 1px solid rgba(255, 255, 255, .25);
  font-size: 17px;
  box-shadow: none;
  transition: border-color .25s, color .25s;
}
.b-cta--ghost:hover { background: none; border-color: var(--accent); color: var(--accent-light); }

.b-cta--dark {
  background: var(--ink);
  color: var(--off-white);
  font-size: 16px;
  box-shadow: none;
}
.b-cta--dark:hover { background: var(--accent); color: var(--ink); }

/* Lien souligné vermillon */
.b-link {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--off-white);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color .2s;
}
.b-link:hover { color: var(--accent); }
.b-sec--paper .b-link { color: var(--ink); }
.b-sec--paper .b-link:hover { color: var(--accent-dark); }

.b-link--muted {
  color: rgba(245, 243, 236, .6);
  border-bottom-color: rgba(255, 255, 255, .2);
}

/* ── Marquees ────────────────────────────────────────────────────────────── */

@keyframes b-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes b-mqr { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.b-marquee {
  background: var(--accent);
  overflow: hidden;
  padding: 16px 0;
}
.b-marquee__track {
  display: flex;
  width: max-content;
  animation: b-mq 22s linear infinite;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.b-marquee__track > span { padding-right: 40px; }

/* Bandeau incliné du hero.
   La rotation pivote autour du bas-centre : le coin gauche plonge d'environ
   2 % de la largeur du bandeau. Sans marge de compensation, il se fait couper
   par le bas du hero — d'autant plus visiblement que l'écran est large. */
.b-marquee--hero {
  position: relative;
  z-index: 2;
  margin: auto -8vw 2.2vw;
  transform: rotate(-2deg) scale(1.04);
  transform-origin: 50% 100%;
}

/* Bandeau incliné de page intérieure */
.b-marquee--tilt {
  transform: rotate(-1.2deg) scale(1.02);
  padding: 14px 0;
}
.b-marquee--tilt .b-marquee__track { font-size: 18px; animation-duration: 24s; }

/* Bandeau serif inversé */
.b-marquee--serif {
  background: var(--ink);
  padding: 14px 0;
  border-top: 1px solid rgba(255, 77, 0, .2);
  border-bottom: 1px solid rgba(255, 77, 0, .2);
}
.b-marquee--serif .b-marquee__track {
  animation: b-mqr 30s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 77, 0, .55);
}
.b-marquee--serif .b-marquee__track > span { padding-right: 60px; }

/* ── Cartes-dossiers (constat) ───────────────────────────────────────────── */

.b-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1100px;
}

.b-file {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 36px 34px;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.b-file:nth-child(1) { transform: rotate(-1.2deg); }
.b-file:nth-child(2) { transform: rotate(1deg) translateY(24px); }
.b-file:nth-child(3) { transform: rotate(.8deg); }
.b-file:nth-child(4) { transform: rotate(-.8deg) translateY(24px); }
.b-file:nth-child(1):hover,
.b-file:nth-child(3):hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 24px 48px -20px rgba(18, 18, 16, .35); }
.b-file:nth-child(2):hover { transform: rotate(0deg) translateY(18px); box-shadow: 0 24px 48px -20px rgba(18, 18, 16, .35); }
.b-file:nth-child(4):hover { transform: rotate(0deg) translateY(18px); box-shadow: 0 24px 48px -20px rgba(18, 18, 16, .5); }

.b-file--inv { background: var(--ink-2); color: var(--off-white); border-color: transparent; }

.b-file__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dashed var(--rule-dashed);
  padding-bottom: 14px;
  margin-bottom: 18px;
}
.b-file--inv .b-file__head { border-bottom-color: rgba(255, 255, 255, .2); }

.b-file__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  color: var(--accent);
}
.b-file__kind {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--warm-grey);
}
.b-file--inv .b-file__kind { color: rgba(245, 243, 236, .5); }

.b-file__title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.b-file p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--warm-grey);
  margin: 0;
}
.b-file--inv p { color: rgba(245, 243, 236, .65); }

/* ── Niveaux I/II/III ────────────────────────────────────────────────────── */

.b-level {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: clamp(28px, 4vw, 70px);
  padding: clamp(30px, 4vw, 60px);
  border-top: 6px solid var(--accent);
}

/* Empilement collant de l'accueil */
.b-level--sticky {
  position: sticky;
  min-height: 70vh;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .5);
}
.b-level--i { top: 8vh; background: var(--paper); color: var(--ink); }
.b-level--ii { top: 11vh; background: var(--ink-3); color: var(--off-white); }
.b-level--iii { top: 14vh; background: var(--ink-2); color: var(--off-white); box-shadow: 0 -30px 80px rgba(0, 0, 0, .6); }

.b-level__gap { height: 5vh; }

.b-numeral {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(110px, 13vw, 220px);
  line-height: .8;
  color: var(--accent);
}
.b-numeral--lg { font-size: clamp(120px, 15vw, 240px); }

.b-level__baseline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent-light);
  margin: 0 0 26px;
}
.b-level--i .b-level__baseline { color: var(--accent-dark); }

.b-badge {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent-light);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 16px;
  transform: rotate(-4deg);
}
.b-badge--dark { border-color: var(--accent-dark); color: var(--accent-dark); }
.b-badge--right { transform: rotate(4deg); }

.b-level__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.b-level__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 243, 236, .75);
}
.b-level--i .b-level__body p { color: var(--paper-strong); }

.b-rule { height: 1px; background: rgba(255, 255, 255, .15); }
.b-level--i .b-rule { background: var(--rule-dashed); }

.b-deliverable {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 19px !important;
  line-height: 1.5 !important;
}
.b-level--i .b-deliverable { color: var(--ink) !important; }

/* Blocs pleine largeur de la page Services */
.b-split {
  display: grid;
  grid-template-columns: .8fr 1.4fr;
  gap: clamp(30px, 5vw, 80px);
}
.b-split--mirror { grid-template-columns: 1.4fr .8fr; }
.b-split--mirror .b-split__aside { order: 2; text-align: right; }
.b-split--mirror .b-split__body { order: 1; }

.b-split__body {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
}

.b-block {
  padding: 30px 32px;
  border: 1px solid rgba(255, 255, 255, .14);
}
.b-block p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(245, 243, 236, .75); }
.b-block--paper { background: #fff; border-color: var(--rule); }
.b-block--paper p { color: var(--paper-strong); }
.b-block--ink { background: var(--ink-2); border-color: transparent; }
.b-block--ink p { color: var(--off-white); }
.b-block--accent { background: var(--accent); border-color: transparent; }
.b-block--accent .b-label { color: var(--ink); }
.b-block--accent p { color: var(--ink); }
.b-block .b-deliverable { font-size: 20px !important; }

/* ── Timeline méthode ────────────────────────────────────────────────────── */

.b-tl { position: relative; padding-left: 60px; }
.b-tl__line {
  position: absolute;
  left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: var(--rule-dashed);
}
.b-tl__fill {
  position: absolute;
  left: 14px; top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-dark), var(--accent));
  box-shadow: 0 0 10px rgba(255, 77, 0, .6);
}

.b-phase { position: relative; padding-bottom: 8vh; }
.b-phase:last-child { padding-bottom: 0; }

.b-phase__dot {
  position: absolute;
  left: -60px; top: 2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.b-phase__dot--on { background: var(--accent); color: var(--ink); }

.b-phase__grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 36px;
  align-items: baseline;
}
.b-phase__weeks {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.b-phase__title {
  font-family: var(--serif);
  font-size: 38px;
  letter-spacing: -.02em;
}
.b-phase p { font-size: 15px; line-height: 1.55; color: var(--warm-grey); margin: 8px 0 0; }
.b-phase__out {
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--paper-strong);
}
.b-phase__out strong {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 6px;
}

/* ── Résultats chiffrés ──────────────────────────────────────────────────── */

.b-stats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.b-stat {
  grid-column: span 3;
  border: 1px solid rgba(255, 77, 0, .25);
  padding: 36px 32px;
  transition: border-color .3s, background .3s;
}
.b-stat:hover { border-color: var(--accent); background: rgba(255, 77, 0, .05); }
.b-stat--5 { grid-column: span 5; padding: 40px 36px; }
.b-stat--4 { grid-column: span 4; padding: 40px 36px; }
.b-stat--fill {
  background: var(--accent);
  color: var(--ink);
  border-color: transparent;
  padding: 40px 36px;
  transition: transform .3s;
}
.b-stat--fill:hover { background: var(--accent); transform: translateY(-6px); }

.b-stat__num {
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 54px);
  line-height: 1;
  letter-spacing: -.02em;
}
.b-stat--5 .b-stat__num,
.b-stat--4 .b-stat__num,
.b-stat--fill .b-stat__num { font-size: clamp(44px, 4.6vw, 72px); }

.b-stat p {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(245, 243, 236, .6);
  margin: 14px 0 0;
}
.b-stat--5 p, .b-stat--4 p { font-size: 15px; line-height: 1.55; margin-top: 16px; }
.b-stat--fill p { color: var(--ink); font-weight: 500; margin-top: 16px; }

/* ── Verbatims ───────────────────────────────────────────────────────────── */

.b-quotes {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 30px;
  /* sans quoi le snap cale la première carte sur le bord du scrollport,
     c'est-à-dire sous le rail */
  scroll-padding-left: var(--gutter);
  scrollbar-width: none;
}
.b-quotes::-webkit-scrollbar { display: none; }

.b-quote {
  flex: 0 0 min(560px, 80vw);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.b-quote:nth-child(odd) { transform: rotate(-.6deg); }
.b-quote:nth-child(even) { transform: rotate(.5deg); background: var(--ink-2); color: var(--off-white); border-color: transparent; }

.b-quote__mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: .5;
  color: var(--accent);
  margin-top: 14px;
}
.b-quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 25px;
  line-height: 1.35;
  margin: 0;
}
.b-quote__foot {
  margin-top: auto;
  border-top: 1px dashed var(--rule-dashed);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.b-quote:nth-child(even) .b-quote__foot { border-top-color: rgba(255, 255, 255, .2); }
.b-quote__who { font-weight: 700; font-size: 13px; }
.b-quote__metric {
  font-weight: 700;
  font-size: 12px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: right;
}
.b-quote:nth-child(even) .b-quote__metric { color: var(--accent-light); }
.b-quote__note { font-size: 13.5px; line-height: 1.5; color: var(--warm-grey); margin: 0; }
.b-quote:nth-child(even) .b-quote__note { color: rgba(245, 243, 236, .6); }

.b-drag { font-family: var(--sans); font-weight: 700; color: var(--accent-dark); }

/* ── Portrait + tampon ───────────────────────────────────────────────────── */

@keyframes b-stamp {
  from { transform: rotate(8deg) scale(2.4); opacity: 0; }
  to { transform: rotate(8deg) scale(1); opacity: 1; }
}

.b-portrait { position: relative; }
.b-portrait::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 2px solid var(--accent);
  pointer-events: none;
}
.b-portrait img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.85) contrast(1.05);
}
.b-stamp {
  position: absolute;
  right: -20px;
  bottom: 24px;
  border: 3px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 12px 18px;
  background: rgba(18, 18, 16, .85);
  transform: rotate(8deg);
  animation: b-stamp .5s var(--ease) both;
}
.b-stamp--delayed { animation-delay: .4s; }

/* ── Chips ───────────────────────────────────────────────────────────────── */

.b-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
}
.b-chip {
  border: 1px solid rgba(255, 77, 0, .4);
  padding: 8px 14px;
  color: var(--accent-light);
}
.b-chip--fill { background: var(--accent); color: var(--ink); font-weight: 700; border-color: transparent; }
.b-chip--ink { background: var(--ink); color: var(--accent-light); padding: 9px 15px; border-color: transparent; }
.b-chip--outline { border: 1px solid var(--ink); color: var(--ink); }
.b-chip--link {
  padding: 8px 14px;
  font-weight: 700;
  color: var(--accent-dark);
  border: 1px dashed var(--accent-dark);
  transition: color .2s, border-color .2s;
}
.b-chip--link:hover { color: var(--ink); border-color: var(--ink); }

/* Chips du manifeste */
.b-stance {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 6vh;
  font-weight: 600;
  font-size: 14px;
}
.b-stance span {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(245, 243, 236, .55);
}
.b-stance .is-not {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 77, 0, .7);
}
.b-stance .is-yes {
  background: rgba(255, 77, 0, .12);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* Citation manifeste */
.b-manifesto {
  font-family: var(--serif);
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--off-white);
}
.b-manifesto .b-crossed { position: relative; color: rgba(245, 243, 236, .4); }
.b-manifesto .b-crossed::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 52%;
  height: .06em;
  background: var(--accent);
}
.b-kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 77, 0, .6);
  margin-bottom: 5vh;
}

/* ── Parcours (7 rôles) ──────────────────────────────────────────────────── */

.b-path {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.b-path__cell {
  padding: 30px 18px;
  border-right: 1px solid var(--rule-dashed);
  transition: background .25s;
}
.b-path__cell:hover { background: #fff; }
.b-path__cell:last-child {
  background: var(--ink);
  color: var(--off-white);
  border-right: 0;
}
.b-path__cell:last-child:hover { background: var(--ink); }
.b-path__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 12px;
}
.b-path__role { font-weight: 700; font-size: 16px; }

/* ── Croyances (à propos) ────────────────────────────────────────────────── */

.b-beliefs { display: grid; }
.b-belief {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: 38px 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s, padding-left .25s;
}
.b-belief:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.b-belief:hover { background: rgba(255, 77, 0, .05); padding-left: 36px; }
.b-belief__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  color: var(--accent);
}
.b-belief__title { font-weight: 700; font-size: 23px; margin-bottom: 10px; }
.b-belief p { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(245, 243, 236, .65); }

/* ── Cartes articles ─────────────────────────────────────────────────────── */

.b-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.b-grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.b-art {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 34px 30px;
  color: var(--ink);
  transition: transform .3s, box-shadow .3s;
}
.b-art:hover {
  color: var(--ink);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -20px rgba(18, 18, 16, .3);
}
.b-art__kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.b-art__title { font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.b-art__desc { font-size: 14px; line-height: 1.55; color: var(--warm-grey); }
.b-art__more { margin-top: auto; font-weight: 700; font-size: 13px; color: var(--accent-dark); }

/* Variante grande carte (page Insights) */
.b-art--lg { padding: 40px 38px; }
.b-art--lg .b-art__kind { font-size: 11px; }
.b-art--lg .b-art__title { font-size: 26px; line-height: 1.15; letter-spacing: -.015em; }
.b-art--lg .b-art__hook {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--warm-grey);
}
.b-art--lg .b-art__desc { font-size: 14.5px; }
.b-art--lg:nth-of-type(odd) { transform: rotate(-.5deg); }
.b-art--lg:nth-of-type(even) { transform: rotate(.5deg); }
.b-art--lg:hover { transform: rotate(0deg) translateY(-8px); }

/* Article vedette */
.b-feature {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: clamp(24px, 3vw, 60px);
  align-items: center;
  background: var(--ink-2);
  color: var(--off-white);
  padding: clamp(30px, 3.5vw, 56px);
  margin-bottom: 28px;
  transition: transform .3s, box-shadow .3s;
}
.b-feature:hover {
  color: var(--off-white);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -24px rgba(18, 18, 16, .5);
}
.b-feature__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(60px, 6vw, 100px);
  color: var(--accent);
  line-height: .8;
}
.b-feature__num sup { font-size: .5em; vertical-align: baseline; }
.b-feature__kind {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.b-feature__title {
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 12px;
}
.b-feature p { margin: 0; font-size: 15.5px; line-height: 1.55; color: rgba(245, 243, 236, .65); max-width: 640px; }
.b-feature__arrow { font-size: 34px; color: var(--accent); }

/* ── Pied de page ────────────────────────────────────────────────────────── */

.b-footer {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 14vh;
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: left;
  font-size: 13px;
  color: rgba(245, 243, 236, .45);
}
.b-footer__links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-weight: 600;
}
.b-footer__links a { color: rgba(245, 243, 236, .6); }
.b-footer__links a:hover { color: var(--accent); }
.b-footer span { color: var(--accent); }

/* ── Révélations au scroll ───────────────────────────────────────────────── */

.b-rv-off { opacity: 0; transform: translateY(34px); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .b-stats { grid-template-columns: repeat(6, 1fr); }
  .b-stat, .b-stat--5, .b-stat--4 { grid-column: span 3; }
  .b-grid-3 { grid-template-columns: 1fr 1fr; }
  .b-phase__grid { grid-template-columns: 140px 1fr; }
  .b-phase__out { grid-column: 2; }
}

@media (max-width: 900px) {
  :root { --rail: 0px; --gutter: 5vw; }

  /* Le rail devient une barre horizontale en haut */
  .b-rail {
    right: 0;
    bottom: auto;
    width: auto;
    height: 56px;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
    /* on réserve la place du burger, en position fixe à droite */
    padding: 0 84px 0 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 77, 0, .18);
  }
  .b-rail__pct { margin-left: auto; }
  .b-rail__nav { display: none; }
  .b-rail__label { writing-mode: horizontal-tb; font-size: 10px; letter-spacing: .18em; }

  .b-nav {
    top: 56px;
    left: 0;
    right: 0;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18, 18, 16, .97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 77, 0, .18);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .b-nav:not(.is-open) { display: none; }
  .b-nav a {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .b-nav__cta { border-radius: 0; text-align: center; box-shadow: none; }
  .b-nav__lang { padding: 14px 20px; }
  .b-burger { display: block; }

  body { padding-top: 56px; }

  .b-sec { padding: 10vh 5vw; }
  .b-h1 { font-size: clamp(44px, 13vw, 90px); }
  .b-h2, .b-h1--serif { font-size: clamp(38px, 10vw, 68px); }
  .b-h2--sm { font-size: clamp(32px, 8.5vw, 56px); }

  .b-grid-2, .b-grid-3, .b-grid-1-1 { grid-template-columns: 1fr; gap: 24px; }
  .b-file:nth-child(n) { transform: none; }
  .b-file:nth-child(n):hover { transform: translateY(-6px); }

  .b-level, .b-split, .b-split--mirror { grid-template-columns: 1fr; gap: 30px; }
  .b-split--mirror .b-split__aside { order: 0; text-align: left; }
  .b-split--mirror .b-split__body { order: 1; }
  .b-level--sticky { position: static; min-height: 0; }

  .b-stats { grid-template-columns: 1fr; }
  .b-stat, .b-stat--5, .b-stat--4 { grid-column: span 1; }

  .b-phase__grid { grid-template-columns: 1fr; gap: 14px; }
  .b-phase__out { grid-column: 1; }

  .b-path { grid-template-columns: repeat(2, 1fr); }
  .b-path__cell { border-bottom: 1px solid var(--rule-dashed); }

  .b-belief { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .b-belief:hover { padding-left: 12px; }

  .b-feature { grid-template-columns: 1fr; gap: 20px; }
  .b-feature__arrow { display: none; }

  .b-vertical { display: none; }
  .b-marquee--hero { margin-left: -5vw; margin-right: -5vw; }
  .b-art--lg:nth-of-type(n) { transform: none; }

  .b-portrait { max-width: 420px; }
  .b-stamp { right: -8px; font-size: 11px; padding: 9px 13px; }

  .b-footer { margin-top: 8vh; }
}

@media (max-width: 560px) {
  .b-quote { padding: 32px 26px; }
  .b-quote__text { font-size: 21px; }
  .b-quote__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .b-quote__metric { text-align: left; }
  .b-cta, .b-cta--lg { font-size: 15px; padding: 18px 24px; }
  .b-stance { gap: 10px; font-size: 13px; }
}

/* ── Mouvement réduit ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .b-marquee__track { animation: none; transform: none; }
  .b-stamp { animation: none; }
  .b-strike { transition: none; transform: scaleX(1); }
  .b-cursor { display: none !important; }
  .b-rv-off { opacity: 1; transform: none; }
  .b-file, .b-art, .b-feature, .b-quote, .b-art--lg,
  .b-file:nth-child(n), .b-quote:nth-child(n), .b-art--lg:nth-of-type(n) { transform: none; }
  .b-file:hover, .b-art:hover, .b-feature:hover, .b-art--lg:hover,
  .b-file:nth-child(n):hover { transform: none; }
  .b-level--sticky { position: static; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Impression ──────────────────────────────────────────────────────────── */

@media print {
  .b-rail, .b-nav, .b-cursor, .b-marquee, .b-burger { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .b-sec { padding: 1cm 0; }
}
