/* Novelis, version 3 (base : version 2, elle-meme issue de la proposition B "style revu") : systeme visuel
   Charte Novelis (novelis-site/charte Novelis/) : principale #303167, secondaire rose #FF067E, secondaire bleu #7BAFFF,
   complementaire #EFF0F2 (couleurs mesurees sur les pastilles du PDF, dont les codes imprimes sont errones).
   Polices de la charte : Tajawal (titres, chiffres), Lato (texte, etiquettes), auto-hebergees (polices.css). */

:root {
  
  
  
  
  
  --head: "Tajawal", "Lato", ui-sans-serif, system-ui, sans-serif;
  --ink: #303167;          /* charte : principale, titres et texte */
  --navy: #303167;         /* bleu nuit de marque (logo) */
  --night: #303167;        /* charte : principale, fonds sombres (bande LeBrain, contact, pied) */
  --night-2: #3B3C76;      /* cellules sur fond sombre (principale eclaircie) */
  --night-line: rgba(123, 175, 255, .32); /* filets sur fond sombre : bleu secondaire attenue */
  --accent: #FF067E;       /* rose Novelis : graphismes, grand texte, texte sur fond sombre */
  --accent-ink: #303167;   /* boutons et petits textes : principale (le rose #FF067E echoue au contraste en petit texte) */
  --accent-ink-hover: #7BAFFF; --blue: #7BAFFF; /* charte : secondaire bleu */
  --paper: #FFFFFF;
  --mist: #EFF0F2;         /* charte : complementaire, fonds alternes */
  --line: #D3E3FF;         /* filets : bleu secondaire attenue */
  --line-strong: #7BAFFF;  /* filets marques : bleu secondaire */
  --muted: #55577F;        /* texte secondaire, principale attenuee (6,6:1 sur blanc) */
  --on-night: #FFFFFF;
  --on-night-muted: #D3DDF5; /* texte secondaire sur la principale */

  --font: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Lato", ui-sans-serif, system-ui, sans-serif; /* etiquettes et index : Lato, la charte n'a pas de chasse fixe */

  --fs-body: 16px;
  --fs-lead: 19px;
  --fs-small: 14px;
  --fs-label: 12.5px;
  --fs-h3: 20px;
  --fs-h2: clamp(28px, 2.2vw + 14px, 40px);
  --fs-h1: clamp(36px, 2.6vw + 18px, 54px);

  --wrap: 1200px;
  --gutter: 24px;
  --sec: clamp(64px, 7vw, 112px);
  --radius: 2px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }
.on-night :focus-visible, .on-night:focus-visible { outline-color: var(--accent); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; text-decoration: none; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: var(--sec) 0; }
.sec.mist { background: var(--mist); }
.sec.tight { padding-top: calc(var(--sec) * .6); }
.on-night { background: var(--night); color: var(--on-night); }

/* Etiquettes et titres */
.label {
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.label.plain::before { display: none; }
.on-night .label { color: var(--on-night-muted); }
h1 { font-size: var(--fs-h1); letter-spacing: -0.015em; line-height: 1.08; font-weight: 800; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.012em; }
h3 { font-size: var(--fs-h3); letter-spacing: 0; line-height: 1.3; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 640px; }
.on-night .lead { color: var(--on-night-muted); }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px var(--gutter); margin-bottom: 48px; align-items: end; }
.sec-head > .label { grid-column: 1 / -1; }
.sec-head > h2 { grid-column: 1 / span 7; }
.sec-head > .lead { grid-column: 8 / -1; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent-ink); }
.on-night .accent { color: var(--accent); }

/* Marqueur de contenu a fournir */
.tbd {
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .02em;
  color: #6B4E00; background: #FFF4D6; border: 1px dashed #C99A1C; padding: 1px 6px; border-radius: 2px;
  white-space: nowrap; vertical-align: middle;
}

/* Boutons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: var(--radius);
  font: 500 15.5px/1 var(--font); letter-spacing: -0.005em; text-decoration: none;
  border: 1px solid transparent; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translate(2px, -2px); }
.btn.primary { background: var(--accent-ink); color: #fff; }
.btn.primary:hover { background: var(--blue); color: var(--navy); }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); }
.on-night .btn.ghost { border-color: var(--blue); color: #fff; }
.on-night .btn.ghost:hover { border-color: #fff; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--mist); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link svg { width: 14px; height: 14px; }
.link:hover { color: var(--accent-ink); }
.on-night .link:hover { color: var(--accent); }

/* En-tete */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); max-width: calc(1320px + 2 * var(--gutter)); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; }
.menu { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 450; color: var(--ink); white-space: nowrap;
  padding: 8px 9px; border-radius: 2px; transition: color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); }
.nav a .ext { width: 11px; height: 11px; display: inline-block; vertical-align: 1px; margin-left: 3px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
.lang { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.lang a { text-decoration: none; padding: 4px 2px; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: #fff; border-radius: 2px; align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: "";
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

/* Hero accueil */
.hero { position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 6vw, 88px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 0%, transparent 70%);
  opacity: .7;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); align-items: center; }
.hero-text { grid-column: 1 / span 7; }
.hero-text h1 { margin: 22px 0 24px; max-width: 13.5em; }
.hero-text .lead { margin-bottom: 32px; }
.hero-visual { grid-column: 8 / -1; }
.proofline {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 24px;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.proofline li {
  font-family: var(--mono); font-size: 13px; color: var(--muted); letter-spacing: .02em;
  padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--line);
}
.proofline li:last-child { border-right: 0; }
.proofline b { color: var(--ink); font-weight: 500; }

/* Schema "chaine editeur" du hero */
.chain { position: relative; display: grid; gap: 28px; }
.chain .node {
  position: relative; background: #fff; border: 1px solid var(--line-strong); padding: 16px 18px;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline;
}
.chain .node .idx { font-family: var(--mono); font-size: 12px; color: var(--muted); grid-row: span 2; }
.chain .node b { font-weight: 550; font-size: 16.5px; letter-spacing: -0.01em; }
.chain .node small { font-size: 13.5px; color: var(--muted); grid-column: 2; }
.chain .node.core { border-color: var(--ink); border-width: 1.5px; box-shadow: 6px 6px 0 var(--accent); }
.chain .node.core .mods { grid-column: 2; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 10px; }
.chain .node.core .mods span {
  font-family: var(--mono); font-size: 11px; text-align: center; padding: 6px 0; border: 1px solid var(--line-strong);
  color: var(--ink); transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}
.chain .node.core .mods span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chain .node.si { background: var(--mist); border-style: dashed; }
.chain .node + .node::before {
  content: ""; position: absolute; left: 30px; top: -29px; width: 1px; height: 28px; background: var(--line-strong);
}
.chain .node + .node::after {
  content: ""; position: absolute; left: 27px; top: -29px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: flow 2.4s cubic-bezier(.5, 0, .5, 1) infinite;
}
.chain .node:nth-child(3)::after { animation-delay: .8s; }
.chain .node:nth-child(4)::after { animation-delay: 1.6s; }
@keyframes flow { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(22px); opacity: 0; } }
.chain-caption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 14px; letter-spacing: .02em; }

/* Bande LeBrain */
.lebrain { position: relative; overflow: hidden; padding: clamp(64px, 6vw, 88px) 0; }
.lebrain::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 6, 126, .18), transparent 65%);
}
.lebrain .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); align-items: center; }
.lebrain-intro { grid-column: 1 / span 5; }
.lebrain-intro .lb-logo { height: 32px; width: auto; margin: 20px 0 24px; }
.signature { font-size: clamp(30px, 2vw + 12px, 40px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 550; }
.signature span { display: block; }
.signature span:last-child { color: var(--accent); }
.lebrain-intro p { margin: 20px 0 20px; color: var(--on-night-muted); max-width: 470px; }
.lebrain-intro .cta-note { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: var(--on-night-muted); }
.modules { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--night-line); border-left: 1px solid var(--night-line); }
.modules li {
  position: relative; padding: 20px 22px 22px; border-right: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line);
  transition: background-color .5s ease;
}
.modules li::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s ease;
}
.modules li.on { background: var(--night-2); }
.modules li.on::before { transform: scaleX(1); }
.modules .n { font-family: var(--mono); font-size: 12px; color: var(--on-night-muted); letter-spacing: .04em; }
.modules h3 { margin: 10px 0 6px; font-size: 19px; color: #fff; }
.modules p { font-size: 14.5px; line-height: 1.5; color: var(--on-night-muted); }
.lebrain-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.lebrain-chips li { font-family: var(--mono); font-size: 12.5px; color: var(--on-night-muted); border: 1px solid var(--night-line); padding: 6px 10px; }

/* Grilles a filets */
.cells { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cells > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cells.c5 { grid-template-columns: repeat(5, 1fr); }
.cells.c4 { grid-template-columns: repeat(4, 1fr); }
.cells.c3 { grid-template-columns: repeat(3, 1fr); }
.cells.c7 { grid-template-columns: repeat(7, 1fr); }

/* Preuves */
.cert { padding: 26px 22px 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.cert .mark { width: 44px; height: 44px; color: var(--ink); margin-bottom: 8px; }
.cert .k { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cert b { font-size: 18px; font-weight: 550; letter-spacing: -0.012em; line-height: 1.25; }
.cert p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.figures { margin-top: 56px; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gutter); }
.figures li { border-top: 1px solid var(--ink); padding-top: 16px; }
.figures .v { display: block; font-size: clamp(34px, 2.4vw + 14px, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.figures .t { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.figures .tbd { font-size: 12px; }
.logos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 72px 0 20px; flex-wrap: wrap; }
.logos-head h3 { font-size: 18px; }
.logos li { height: 92px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; background: #fff; }
.logos img { max-height: 40px; max-width: 120px; width: auto; height: auto; filter: brightness(0); opacity: .66; transition: opacity .2s ease; }
.logos img.tall { max-height: 58px; }
.logos li:hover img { opacity: .95; }
.logos .wordmark { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: #4a4b60; }

/* Recherche */
.research .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px var(--gutter); }
.research-intro { grid-column: 1 / span 5; }
.research-intro h2 { margin: 18px 0 20px; }
.research-intro .lead { font-size: 17.5px; }
.lab-facts { margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-strong); }
.lab-facts li { padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.lab-facts li:nth-child(odd) { padding-right: 16px; }
.lab-facts .v { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; display: block; line-height: 1.2; }
.lab-facts .t { font-size: 14px; color: var(--muted); }
.research-side { grid-column: 7 / -1; display: grid; gap: 28px; }
.paper { display: grid; grid-template-columns: 190px 1fr; gap: 28px; background: #fff; border: 1px solid var(--line); padding: 24px; align-items: center; }
.paper .cover { aspect-ratio: 3 / 4; width: 100%; }
.paper h3 { font-size: 22px; letter-spacing: -0.02em; margin: 12px 0 10px; }
.paper p { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.articles li { border-top: 1px solid var(--line-strong); }
.articles li:last-child { border-bottom: 1px solid var(--line-strong); }
.articles a { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 18px 0; text-decoration: none; align-items: center; }
.articles .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .03em; grid-column: 1; }
.articles .ttl { font-weight: 500; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.35; grid-column: 1; }
.articles svg { width: 18px; height: 18px; grid-column: 2; grid-row: 1 / span 2; color: var(--muted); transition: transform .2s ease, color .2s ease; }
.articles a:hover .ttl { color: var(--accent-ink); }
.articles a:hover svg { color: var(--accent-ink); transform: translate(2px, -2px); }

/* Services */
.svc { padding: 28px 24px 30px; display: flex; flex-direction: column; gap: 12px; background: #fff; transition: background-color .2s ease; }
.svc:hover { background: var(--mist); }
.svc .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.svc .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.svc .ico { width: 32px; height: 32px; color: var(--ink); }
.svc h3 { font-size: 19px; }
.svc p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.svc .proof { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--ink); letter-spacing: .02em; line-height: 1.5; }
.svc.featured { background: var(--ink); color: #fff; }
.svc.featured:hover { background: var(--night-2); }
.svc.featured .n, .svc.featured p { color: var(--on-night-muted); }
.svc.featured .ico { color: var(--blue); }
.svc.featured .proof { color: #fff; }

/* Autres solutions : bloc secondaire, supprimable d'un seul tenant */
.other-solutions {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  border: 1px dashed var(--line-strong); padding: 16px 20px; font-size: 14.5px; color: var(--muted);
}
.other-solutions .label { font-size: 11.5px; }
.other-solutions a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.other-solutions a:hover { border-color: var(--ink); }

/* References */
.case { padding: 28px 26px 30px; background: #fff; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.case .sector { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.case h3 { font-size: 21px; letter-spacing: -0.018em; }
.case .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.case .tags li { font-family: var(--mono); font-size: 12px; padding: 4px 8px; background: var(--mist); color: var(--ink); }
.section-foot { margin-top: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.section-foot p { color: var(--muted); font-size: 15px; }

/* Actualites */
.news { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px calc(var(--gutter) * 2); }
.news .featured { grid-row: span 2; }
.news article { border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.news .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; display: flex; gap: 14px; text-transform: uppercase; }
.news h3 { font-size: 20px; }
.news h3 a { text-decoration: none; }
.news h3 a:hover { color: var(--accent-ink); }
.news p { font-size: 15px; color: var(--muted); }
.news .featured h3 { font-size: 24px; letter-spacing: -0.02em; }
.news .visual { aspect-ratio: 16 / 7; background: var(--night); margin-bottom: 8px; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); align-items: end; }
.contact-main { grid-column: 1 / span 7; }
.contact-main h2 { font-size: clamp(32px, 2.6vw + 14px, 48px); letter-spacing: -0.032em; margin: 18px 0 18px; }
.contact-main p { color: var(--on-night-muted); max-width: 560px; margin-bottom: 32px; }
.contact-side { grid-column: 9 / -1; }
.offices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.offices li { font-family: var(--mono); font-size: 13px; border: 1px solid var(--night-line); padding: 6px 10px; color: #fff; }
.careers { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 15px; color: var(--on-night-muted); }
.careers a { color: #fff; }

/* Pied de page */
.site-footer { background: var(--night); color: var(--on-night-muted); font-size: 14.5px; border-top: 1px solid var(--night-line); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px var(--gutter); padding-top: 56px; padding-bottom: 40px; }
.site-footer img { height: 24px; width: auto; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--night-line); }
.footer-bottom .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; padding-bottom: 22px; font-size: 13.5px; grid-template-columns: none; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* Page Entreprise */
.page-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 60%); mask-image: linear-gradient(to left, #000, transparent 60%);
  opacity: .6;
}
.page-hero .wrap { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px var(--gutter); align-items: end; }
.crumbs { grid-column: 1 / -1; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent-ink); }
.page-hero h1 { grid-column: 1 / span 8; margin-top: 8px; }
.page-hero .lead { grid-column: 1 / span 7; }
.page-hero .anchors { grid-column: 9 / -1; grid-row: 2 / span 2; align-self: end; border-left: 1px solid var(--line-strong); padding-left: 20px; }
.anchors li a { display: flex; gap: 12px; padding: 6px 0; text-decoration: none; font-size: 15px; }
.anchors li a span { font-family: var(--mono); font-size: 12px; color: var(--muted); width: 22px; padding-top: 2px; }
.anchors li a:hover { color: var(--accent-ink); }

.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gutter); }
.split > .l { grid-column: 1 / span 5; }
.split > .r { grid-column: 7 / -1; }
.prose p { margin-bottom: 18px; font-size: 17px; line-height: 1.65; }
.prose p:last-child { margin-bottom: 0; }
.kfig { padding: 22px 20px; background: #fff; }
.kfig .v { display: block; font-size: 34px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.kfig .t { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.kfig .tbd { margin-top: 8px; display: inline-block; white-space: normal; }

.timeline { border-top: 1px solid var(--ink); }
.timeline > li { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); }
.timeline .y { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.timeline .ev { display: grid; gap: 10px; }
.timeline .ev div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.timeline .ev .m { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
.timeline .ev p { font-size: 16.5px; }
.timeline .ev b { font-weight: 550; }
.timeline > li.now { background: linear-gradient(to right, rgba(255, 6, 126, .06), transparent 70%); border-left: 3px solid var(--accent); padding-left: 20px; }
.timeline > li.now .y { color: var(--accent-ink); }

.values { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.values li { padding: 18px 12px 0 0; font-size: 17px; font-weight: 500; }
.values li span { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); font-weight: 400; margin-bottom: 6px; }
.partners li { padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.partners b { font-weight: 550; font-size: 16.5px; }
.partners span { font-size: 14px; color: var(--muted); }
.leaders li { padding: 22px 20px; background: #fff; }
.leaders .role { font-weight: 550; display: block; margin-bottom: 8px; }

.band { padding: 56px 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 1.6vw + 14px, 34px); max-width: 640px; }
.band p { color: var(--on-night-muted); margin-top: 10px; max-width: 600px; }

/* Responsive */
@media (max-width: 1320px) {
  .nav a { padding: 8px 6px; font-size: 14.5px; }
  .header-actions .btn.ghost { display: none; }
}
@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; }
  .site-header .wrap { gap: 12px; }
  .menu { display: none; }
  .site-header.open .menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 16px; position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line); padding: 4px var(--gutter) 20px; box-shadow: 0 16px 32px rgba(14, 15, 36, .08);
  }
  .site-header.open .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header.open .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header.open .header-actions { flex-wrap: wrap; }
  .site-header.open .header-actions .btn.ghost { display: inline-flex; }
  .hero-text, .hero-visual { grid-column: 1 / -1; }
  .hero-visual { max-width: 560px; }
  .lebrain-intro, .modules { grid-column: 1 / -1; }
  .cells.c5 { grid-template-columns: repeat(3, 1fr); }
  .cells.c7 { grid-template-columns: repeat(4, 1fr); }
  .figures { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .research-intro, .research-side { grid-column: 1 / -1; }
  .sec-head > h2, .sec-head > .lead { grid-column: 1 / -1; }
  .news { grid-template-columns: 1fr; }
  .news .featured { grid-row: auto; }
  .contact-main, .contact-side { grid-column: 1 / -1; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .split > .l, .split > .r { grid-column: 1 / -1; }
  .page-hero h1, .page-hero .lead { grid-column: 1 / -1; }
  .page-hero .anchors { grid-column: 1 / -1; grid-row: auto; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: 12px; display: flex; flex-wrap: wrap; gap: 0 20px; }
  .values { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .cells.c4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --fs-lead: 17.5px; }
  .cells.c5, .cells.c3 { grid-template-columns: 1fr; }
  .cells.c5.certs { grid-template-columns: 1fr 1fr; }
  .cells.c5.certs > :last-child { grid-column: 1 / -1; }
  .cells.c7 { grid-template-columns: repeat(3, 1fr); }
  .logos li { height: 76px; padding: 10px; }
  .logos img { max-width: 92px; max-height: 32px; }
  .logos img.tall { max-height: 46px; }
  .logos .wordmark { font-size: 16px; }
  .cells.c4 { grid-template-columns: 1fr 1fr; }
  .modules { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures li:last-child { grid-column: 1 / -1; }
  .paper { grid-template-columns: 1fr; }
  .paper .cover { max-width: 180px; }
  .news { grid-template-columns: 1fr; }
  .proofline li { border-right: 0; margin-right: 14px; padding-right: 0; }
  .proofline li::after { content: " ·"; color: var(--line-strong); }
  .proofline li:last-child::after { content: ""; }
  .timeline > li { grid-template-columns: 1fr; gap: 12px; }
  .timeline .ev div { grid-template-columns: 1fr; gap: 2px; }
  .values { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
  .case { min-height: 0; }
  .case .tags { margin-top: 12px; }
  .chain .node.core .mods { grid-template-columns: repeat(3, 1fr); }
  .btn { min-height: 48px; }
  .tbd { white-space: normal; }
  .cells.c3.kfigs, .cells.c5.partners { grid-template-columns: 1fr 1fr; }
  .cells.c3.kfigs > :last-child, .cells.c5.partners > :last-child { grid-column: 1 / -1; }
  .kfig { padding: 18px 16px; }
  .kfig .v { font-size: 28px; }
  .partners li { padding: 16px; }
  .leaders .tbd { display: inline-block; }
  .cert { padding: 20px 16px 22px; }
  .cert b { font-size: 16.5px; }
}

/* =====================================================================
   Version 2 : charte, en-tete a sous-menus, recherche, nouveaux blocs.
   Place apres le responsive de la proposition B : seulement des selecteurs
   nouveaux ou des couleurs, et ses propres requetes media en fin de bloc.
   ===================================================================== */

/* Chiffres et index en Tajawal */
.figures .v, .kfig .v, .lab-facts .v, .timeline .y, .chain .node b, .cert b, .svc h3, .case h3, .news h3,
.paper h3, .partners b, .values li, .logos .wordmark { font-family: var(--head); }
.figures .v, .kfig .v { font-weight: 700; letter-spacing: -0.02em; }
.timeline .y { font-weight: 800; letter-spacing: 0; }
.label { letter-spacing: .1em; font-weight: 700; font-size: 12px; }

/* En-tete : sous-menus */
.nav .dd { position: relative; }
.dd-btn {
  font: 450 15px/1 var(--font); color: var(--ink); background: none; border: 0; cursor: pointer;
  padding: 8px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 2px;
}
.dd-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.dd-btn:hover, .dd.cur > .dd-btn { color: var(--accent-ink); }
.dd-panel {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 300px; z-index: 60;
  background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 18px 40px rgba(14, 15, 36, .12);
  padding: 8px; display: none;
}
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -11px; height: 11px; } /* pont de survol */
.dd:hover > .dd-panel, .dd.open > .dd-panel, .dd:focus-within > .dd-panel { display: block; }
.dd:hover > .dd-btn::after, .dd.open > .dd-btn::after { transform: rotate(225deg) translate(-2px, 0); }
.nav .dd-panel a { display: block; padding: 10px 12px; white-space: normal; }
.nav .dd-panel a b { display: block; font-weight: 700; font-size: 15px; }
.nav .dd-panel a small { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav .dd-panel a:hover { background: var(--mist); color: var(--ink); }
.nav .dd-panel a:hover b { color: var(--accent-ink); }
.nav .dd-panel .ext { width: 11px; height: 11px; display: inline-block; vertical-align: 1px; margin-left: 4px; }
.btn.boxed { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.boxed:hover { background: var(--ink); color: #fff; }
.icon-btn {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); background: #fff; border-radius: var(--radius); cursor: pointer; color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.lang { font-family: var(--font); align-items: center; }
.lang a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; opacity: .55; }
.lang a[aria-current="true"] { opacity: 1; }
.lang a:hover { opacity: 1; }
.lang .flag { width: 20px; height: 14px; display: block; box-shadow: 0 0 0 1px var(--line-strong); }

/* Recherche */
.search-dlg { border: 0; padding: 0; width: min(640px, calc(100vw - 32px)); margin: 12vh auto auto; background: #fff; box-shadow: 0 30px 80px rgba(14, 15, 36, .3); }
.search-dlg::backdrop { background: rgba(14, 15, 36, .45); }
.search-dlg form { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.search-dlg form svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.search-dlg input { flex: 1; border: 0; font: 400 18px/1.4 var(--font); color: var(--ink); outline: none; min-width: 0; }
.search-dlg .close { border: 0; background: none; font: 700 12px var(--font); letter-spacing: .08em; color: var(--muted); cursor: pointer; padding: 6px; }
.search-results { max-height: 52vh; overflow: auto; padding: 8px; }
.search-results a { display: block; padding: 10px 12px; text-decoration: none; }
.search-results a:hover, .search-results a:focus { background: var(--mist); outline: none; }
.search-results b { display: block; font-weight: 700; }
.search-results small { color: var(--muted); font-size: 13.5px; }
.search-results .empty { padding: 14px 12px; color: var(--muted); font-size: 15px; }

/* Bande LeBrain : charte Novelis (principale #303167, rose #FF067E, bleu #7BAFFF) */
.lebrain.on-night, .band.lebrain-band { background: var(--night); }
.lebrain::after { background: radial-gradient(circle, rgba(255, 6, 126, .16), transparent 65%); }
.lebrain .label, .lebrain .modules .n, .lebrain .lebrain-chips li, .lebrain .cta-note { color: var(--on-night-muted); }
.lebrain .signature span:last-child { color: var(--accent); } /* grand texte : le rose passe au contraste */
.lebrain .lebrain-intro p, .lebrain .modules p, .lebrain-band p { color: var(--on-night-muted); }
.lebrain .modules, .lebrain .modules li, .lebrain .lebrain-chips li { border-color: var(--night-line); }
.lebrain .modules li.on { background: var(--night-2); }
.lebrain .modules li::before { background: var(--accent); }
.btn.cy { background: var(--blue); color: var(--navy); font-weight: 700; } /* bouton sur fond sombre : bleu secondaire, texte principale (5,4:1) */
.btn.cy:hover { background: #fff; }
.chain .node.core { box-shadow: 6px 6px 0 var(--accent); }
.chain .node.core .mods span.on { background: var(--navy); border-color: var(--navy); }
.on-night .label { color: var(--on-night-muted); }
.timeline > li.now .y { color: var(--ink); }
.rse-cards .k { color: var(--ink); }
.rse-cards .k::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-right: 8px; }
.nav a:hover, .nav a[aria-current="page"], .dd-btn:hover, .dd.cur > .dd-btn { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .dd-panel a:hover b { color: var(--ink); }
.link:hover, .news h3 a:hover, .articles a:hover .ttl { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.articles a:hover svg, .svc .more { color: var(--ink); }
/* Expertises */
.cells.c3 .svc { min-height: 100%; }
.svc .more { margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.svc .more svg { width: 13px; height: 13px; }
.svc.featured .more { color: #fff; }
.svc .more-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* Laboratoire */
.lab-axes { margin: 28px 0 32px; border-top: 1px solid var(--line-strong); }
.lab-axes li { padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.lab-axes b { display: block; font-family: var(--head); font-size: 17px; font-weight: 700; }
.lab-axes span { font-size: 14.5px; color: var(--muted); }

/* Cas d'usage */
.case p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.case .client { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.case a.link { margin-top: 4px; align-self: flex-start; font-size: 14.5px; }
.case .result { font-size: 14.5px; color: var(--ink); border-left: 2px solid var(--accent); padding-left: 12px; }

/* Temoignages */
.quotes { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.quotes figure { margin: 0; background: #fff; border: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column; gap: 18px; }
.quotes figure::before { content: "\201C"; font: 800 56px/0.6 var(--head); color: var(--accent); height: 22px; }
.quotes blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.quotes figcaption { margin-top: auto; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.quotes figcaption b { display: block; color: var(--ink); font-size: 15px; }
.quotes-head { margin-top: 72px; }

/* Entreprise : ADN, valeurs, RSE */
.dna-points { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.dna-points li { padding: 16px 0; border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.dna-points li span { font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 4px; }
.dna-points b { font-family: var(--head); font-size: 17px; display: block; }
.dna-points p { font-size: 15px; color: var(--muted); }
.value-cards li { padding: 26px 22px 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.value-cards .n { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.value-cards h3 { font-size: 21px; }
.value-cards h3::after { content: ""; display: block; width: 24px; height: 3px; background: var(--accent); margin-top: 10px; }
.value-cards p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.rse-cards li { padding: 26px 22px 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.rse-cards .k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.rse-cards h3 { font-size: 20px; }
.rse-cards p, .rse-cards li li { font-size: 15px; color: var(--muted); line-height: 1.55; }
.rse-cards ul { display: grid; gap: 6px; }
.rse-cards ul li { padding: 0 0 0 14px; position: relative; background: none; display: block; }
.rse-cards ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--accent); }

/* Pages legales */
.legal .wrap { max-width: calc(860px + 2 * var(--gutter)); }
.legal h2 { font-size: 24px; margin: 44px 0 14px; }
.legal h3 { font-size: 18px; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; display: grid; gap: 6px; }
.legal ul li { padding-left: 16px; position: relative; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 1.5px; background: var(--accent); }
.legal a { color: var(--ink); text-decoration-color: var(--accent); }
.legal .updated { font-size: 14px; color: var(--muted); margin-top: 18px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; margin: 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }

/* Accueil : chiffres, temoignages, laboratoire, expertises secondaires */
.figures.f4 { grid-template-columns: repeat(4, 1fr); }
.quotes.q4 { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
.lab-quote { margin: 0; border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; }
.lab-quote p { font-family: var(--head); font-size: 19px; line-height: 1.45; color: var(--ink); }
.lab-quote footer { margin-top: 10px; font-size: 14px; color: var(--muted); }
.lab-quote footer b { color: var(--ink); }
.also { margin-top: 24px; font-size: 15px; color: var(--muted); }
.also .link { margin-left: 12px; }
.also a:not(.link) { color: var(--ink); }
.also a:not(.link):hover { color: var(--accent-ink); }
.page-hero.dna h1 { max-width: 15em; }
.leaders .role { font-family: var(--head); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.leaders .t { font-size: 14.5px; color: var(--muted); }
.offices-grid a { color: var(--accent-ink); }

/* Pied de page */
.site-footer .wrap { grid-template-columns: 1.3fr repeat(4, 1fr); }
.site-footer .lang a { color: var(--on-night-muted); opacity: 1; }

@media (max-width: 1320px) {
  .dd-btn { padding: 8px 6px; font-size: 14.5px; }
  .header-actions .btn.boxed { display: inline-flex; }
}
@media (max-width: 1180px) {
  .header-actions .btn.primary { display: none; }
}
@media (max-width: 1024px) {
  .site-header.open .nav .dd { border-bottom: 1px solid var(--line); }
  .site-header.open .dd-btn { width: 100%; justify-content: space-between; padding: 13px 0; font-size: 16px; }
  .site-header.open .dd-panel { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .site-header.open .dd.open > .dd-panel { display: block; }
  .site-header.open .dd:hover > .dd-panel { display: none; }
  .site-header.open .dd.open:hover > .dd-panel { display: block; }
  .site-header.open .nav .dd-panel a { border-bottom: 0; padding: 9px 0; }
  .site-header.open .header-actions .btn.primary { display: inline-flex; }
  .quotes, .quotes.q4 { grid-template-columns: 1fr; }
  .figures.f4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 10px; }
  .figures.f4 li:last-child { grid-column: auto; }
  .lab-quote p { font-size: 17px; }
}

/* Mouvement reduit : on fige tout */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chain .node + .node::after { opacity: 1; transform: translateY(10px); }
}


/* =====================================================================
   Version 3 (remarques du 23 octobre 2026)
   ===================================================================== */

/* En-tete : FR seul actif, EN en attente de la version anglaise (sans drapeaux). */
.lang .off { font-size: 13px; font-weight: 700; padding: 4px 2px; color: var(--muted); opacity: .45; cursor: not-allowed; }
.nav > a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .dd-panel a[aria-current="page"] b { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

/* Hero : sans etiquette ni boutons ; schema sans modules. */
.hero-text h1 { margin-top: 0; }
.hero-text .lead { margin-bottom: 0; max-width: 34em; }

/* Bande LeBrain : schema des six modules repris de lebrain.com, aux couleurs de la charte Novelis. */
.lb-map { grid-column: 7 / -1; }
.lb-map .note { margin: 14px 0 0; font-size: 13px; color: var(--on-night-muted); }
.hm { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font); }
.hm a { cursor: pointer; }
.hm a:focus-visible { outline: none; }
.hm a:focus-visible .bg { stroke: #fff; stroke-width: 2.5; }
.hm .ln path { fill: none; stroke: rgba(211, 227, 255, .32); stroke-width: 2; }
.hm .ln.gv path { stroke-dasharray: 4 6; }
.hm .hc .bg { fill: rgba(255, 255, 255, .06); stroke: rgba(123, 175, 255, .4); stroke-width: 1.5; transition: fill .35s, stroke .35s; }
.hm .hc .glow { fill: var(--blue); opacity: 0; transition: opacity .35s; }
.hm .hc.on .bg { fill: rgba(123, 175, 255, .16); stroke: var(--blue); }
.hm .hc.on .glow { opacity: .2; }
.hm .hc.gov .bg, .hm .hc.hub .bg { stroke: rgba(123, 175, 255, .6); }
.hm .ic { fill: rgba(123, 175, 255, .14); stroke: rgba(123, 175, 255, .55); stroke-width: 1.2; }
.hm use { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hm .t1 { fill: #fff; font-family: var(--head); font-weight: 700; }
.hm .t2 { fill: var(--on-night-muted); font-family: var(--font); }
.hm .pl rect { fill: rgba(255, 255, 255, .07); stroke: rgba(211, 227, 255, .25); }
.hm .pl text { fill: var(--on-night-muted); font-family: var(--font); font-weight: 700; }
.hm .si rect { fill: rgba(239, 240, 242, .1); stroke: rgba(239, 240, 242, .45); stroke-width: 1.5; }
.hm .si .t2 { fill: var(--mist); }
.hm .dm { transition: opacity .35s; }
[data-dim="soft"] .dm.off { opacity: .42; }

/* Contact de l'accueil : un seul appel a l'action. */
.contact.solo .wrap { display: block; }
.contact.solo .contact-main { max-width: 760px; }

/* Pied de page : un seul bloc, colonnes calquees sur le menu, mentions legales et reseaux sociaux. */
.site-footer .wrap { grid-template-columns: 1.2fr repeat(5, 1fr); padding-bottom: 48px; }
.site-footer .f-brand img { margin-bottom: 20px; }
.site-footer .social { display: flex; gap: 10px; margin-bottom: 18px; }
.site-footer .social li { margin: 0; }
.site-footer .social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--night-line); color: #fff; }
.site-footer .social a:hover { background: var(--blue); color: var(--navy); text-decoration: none; }
.site-footer .social svg { width: 18px; height: 18px; }
.site-footer .copy { font-size: 13.5px; }

/* Pages interieures */
.page-hero .ctas { grid-column: 1 / span 8; margin-top: 8px; }
.prose h3 { margin: 28px 0 10px; font-size: 19px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 16px; }
.prose ul li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--accent); }
.prose p { color: var(--muted); }
.prose b, .prose strong { color: var(--ink); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.pill-list li { font-size: 13px; padding: 5px 10px; border: 1px solid var(--line-strong); color: var(--ink); }

/* Expertises (page) */
.xp { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gutter); padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.xp:first-child { border-top: 0; padding-top: 0; }
.xp .xp-head { grid-column: 1 / span 5; }
.xp .xp-head .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.xp .xp-head h2 { font-size: clamp(24px, 1.6vw + 12px, 32px); margin: 10px 0 14px; }
.xp .xp-head .lead { font-size: 17px; }
.xp .xp-head .proof { display: block; margin-top: 16px; font-family: var(--mono); font-size: 13px; color: var(--ink); }
.xp .xp-body { grid-column: 7 / -1; }

/* Cas d'usage (page) */
.case-detail { padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.case-detail:first-child { border-top: 0; padding-top: 0; }
.case-detail .sector { font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.case-detail h2 { font-size: clamp(24px, 1.6vw + 12px, 34px); margin: 12px 0 14px; max-width: 24em; }
.case-detail > .lead { max-width: 52em; }
.case-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: 32px; }
.case-cols > div { border-top: 2px solid var(--ink); padding-top: 16px; }
.case-cols h3 { font-size: 16px; margin-bottom: 10px; }
.case-cols p, .case-cols li { font-size: 15px; }
.case-figs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.case-figs li { background: var(--mist); padding: 14px 18px; min-width: 180px; max-width: 280px; }
.case-figs .v { display: block; font: 800 26px/1.1 var(--head); color: var(--ink); }
.case-figs .t { font-size: 13.5px; color: var(--muted); }
.case-detail .lab-quote { margin-top: 32px; max-width: 860px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.post { border: 1px solid var(--line); background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.post .meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.post .meta .cat { color: var(--ink); font-weight: 700; }
.post h2 { font-size: 19px; line-height: 1.3; }
.post p { font-size: 15px; color: var(--muted); }
.post.featured { grid-column: span 2; background: var(--night); border-color: var(--night); }
.post.featured h2 { color: #fff; font-size: 24px; }
.post.featured p, .post.featured .meta { color: var(--on-night-muted); }
.post.featured .meta .cat { color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { appearance: none; font: inherit; font-size: 14px; font-weight: 700; padding: 8px 14px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.post[hidden] { display: none; }

/* Carrieres */
.jobs { display: grid; gap: 16px; }
.job { border: 1px solid var(--line); background: #fff; }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; padding: 22px 24px; align-items: center; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: 19px; }
.job summary .tags { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1; }
.job summary .tags span { font-size: 12.5px; padding: 3px 8px; background: var(--mist); color: var(--ink); }
.job summary .plus { grid-column: 2; grid-row: 1 / span 2; width: 28px; height: 28px; border: 1px solid var(--line-strong); position: relative; }
.job summary .plus::before, .job summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.job summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
.job[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.job .job-body { padding: 20px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line); }
.job .job-body h4 { font-size: 15px; margin-bottom: 8px; }
.job .job-body .full { grid-column: 1 / -1; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: "0" counter(s); display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.steps b { display: block; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }

/* Formulaires (contact, candidature) : maquette, aucun envoi. */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px var(--gutter); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line-strong); background: #fff; border-radius: 0; }
.form textarea { min-height: 150px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.form .check input { width: auto; margin-top: 3px; }
.form .req { color: var(--muted); font-weight: 400; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.form-ok { display: none; margin-top: 20px; padding: 16px 18px; background: var(--mist); border-left: 3px solid var(--accent); }
.form-ok.show { display: block; }
.form-ok.is-error { border-left-color: #d0021b; }
.form-ok a { color: inherit; text-decoration: underline; }
/* Champ piege anti-robot : hors de l'ecran, ignore par les lecteurs d'ecran. */
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.offices-grid li { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Laboratoire (page) */
.pubs { border-top: 1px solid var(--line); }
.pubs li { display: grid; grid-template-columns: 160px 1fr; gap: 4px var(--gutter); padding: 20px 0; border-bottom: 1px solid var(--line); }
.pubs .meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pubs .ttl { font-weight: 700; color: var(--ink); }
.pubs p { font-size: 14.5px; color: var(--muted); }

@media (max-width: 1024px) {
  .lb-map { grid-column: 1 / -1; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .wrap > .f-brand { grid-column: 1 / -1; }
  .xp .xp-head, .xp .xp-body { grid-column: 1 / -1; }
  .posts { grid-template-columns: 1fr 1fr; }
  .case-cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
  .posts { grid-template-columns: 1fr; }
  .post.featured { grid-column: auto; }
  .job .job-body, .form, .steps { grid-template-columns: 1fr; }
  .pubs li { grid-template-columns: 1fr; }

}
@media (prefers-reduced-motion: reduce) {
  .hm .hc .bg, .hm .dm { transition: none; }
}

/* Version 3 : retouches */
.h3 { font-size: var(--fs-h3); }
.logos-head h2 { font-size: 15px; }
.paper h2 { font-family: var(--head); }
.prose-list li { position: relative; padding-left: 16px; margin-bottom: 6px; font-size: 15px; }
.prose-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--accent); }
.pubs li > div { display: block; }
.pubs p { margin-top: 4px; }
.split .l h3 { font-size: var(--fs-h3); }

/* =====================================================================
   Version 3.1 (2e serie de remarques du 23 octobre 2026) : moins de vide,
   plus de bleu, en-tetes alignes sur la grille, photos.
   ===================================================================== */
:root {
  --sec: clamp(44px, 4.6vw, 72px);  /* espace entre blocs reduit (environ un tiers) */
  --mist: #EAF1FF;                   /* fonds alternes : teinte du bleu secondaire #7BAFFF, a la place du gris */
  --night-glow: rgba(123, 175, 255, .22);
}

/* En-tetes de section : etiquette, titre et introduction empiles, alignes a gauche sur la grille. */
.sec-head { display: block; margin-bottom: 32px; max-width: 820px; }
.sec-head > .label { margin-bottom: 14px; }
.sec-head > h2 { margin: 0; }
.sec-head > .lead { margin-top: 14px; max-width: 760px; }
.section-foot { margin-top: 24px; padding-top: 0; }
.quotes-head { margin-top: 48px; }
.case-detail { padding: 44px 0; }
.xp { padding: 40px 0; }

/* Fond bleu nuit : hero de l'accueil et en-tetes de toutes les pages. */
.hero, .page-hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, var(--night-glow), transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 110%, rgba(255, 6, 126, .14), transparent 70%),
    var(--night);
  color: #fff; border-bottom: 0;
}
.hero::before, .page-hero::before {
  background-image: linear-gradient(to right, rgba(123, 175, 255, .14) 1px, transparent 1px), linear-gradient(to bottom, rgba(123, 175, 255, .14) 1px, transparent 1px);
  opacity: 1;
}
.hero { padding: clamp(56px, 6vw, 88px) 0; }
.page-hero { padding: clamp(40px, 4.5vw, 64px) 0 clamp(36px, 4vw, 56px); }
.hero h1, .page-hero h1 { color: #fff; }
.hero .lead, .page-hero .lead { color: var(--on-night-muted); }
.hero-text .kicker { display: block; margin-top: 22px; font-family: var(--head); font-weight: 700; font-size: clamp(19px, 1.2vw + 10px, 24px); color: var(--blue); }
.crumbs, .crumbs a { color: var(--on-night-muted); }
.crumbs a:hover { color: #fff; }
.page-hero .anchors { border-left-color: rgba(123, 175, 255, .45); }
.page-hero .anchors li a { color: #fff; }
.page-hero .anchors li a span { color: var(--blue); }
.page-hero .anchors li a:hover { color: var(--blue); }
.page-hero .btn.primary { background: var(--blue); color: var(--navy); }
.page-hero .btn.primary:hover { background: #fff; }
.page-hero .btn.ghost { border-color: var(--blue); color: #fff; }

/* Schema du hero sur fond sombre */
.hero .chain .node { background: rgba(255, 255, 255, .06); border-color: rgba(123, 175, 255, .45); color: #fff; }
.hero .chain .node .idx, .hero .chain .node small { color: var(--on-night-muted); }
.hero .chain .node.core { background: #fff; color: var(--navy); border-color: #fff; box-shadow: 6px 6px 0 var(--accent); }
.hero .chain .node.core .idx, .hero .chain .node.core small { color: var(--muted); }
.hero .chain .node.si { background: rgba(239, 240, 242, .1); border-color: rgba(239, 240, 242, .5); }
.hero .chain .node + .node::before { background: rgba(123, 175, 255, .6); }
.hero .chain-caption { color: var(--on-night-muted); }

/* Cartes sur fond bleu clair : blanches, pour le contraste. */
.sec.mist .cells > *, .sec.mist .case, .sec.mist .quotes figure, .sec.mist .job, .sec.mist .post { background: #fff; }

/* Photos */
.photo { margin: 0; overflow: hidden; background: var(--mist); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 12px; margin-top: 36px; }
.mosaic .photo:first-child { grid-row: 1 / span 2; }
.mosaic .photo:nth-child(4) { grid-column: 2 / span 2; }
.photo-band { height: clamp(220px, 26vw, 360px); }
.page-hero .mosaic, .page-hero .photo-band { grid-column: 1 / -1; }

@media (max-width: 720px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px 120px; }
  .mosaic .photo:first-child { grid-column: 1 / -1; grid-row: auto; }
  .mosaic .photo:nth-child(4) { grid-column: auto; }
}

.cells.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .cells.c2 { grid-template-columns: 1fr; } }

@media (max-width: 560px) { .cells.c4 { grid-template-columns: 1fr; } }
#candidature h2 a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 6px; }

/* =====================================================================
   Version 3.2 (remarques finales du 23 octobre 2026) : cartes separees
   aux coins arrondis, pictogrammes, illustrations, bandeaux d'appel en
   bleu clair (distincts du pied de page bleu nuit).
   ===================================================================== */
:root { --r: 12px; --shadow: 0 1px 2px rgba(48, 49, 103, .06), 0 8px 24px -12px rgba(48, 49, 103, .18); }

/* Cartes : separees, arrondies, ombre legere. */
.cells { gap: 16px; border: 0; }
.cells > * { border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow); }
.cells.logos { gap: 10px; }
.cells.logos > * { box-shadow: none; }
.case, .quotes figure, .job, .post, .paper, .svc { border-radius: var(--r); }
.quotes figure, .job, .post { box-shadow: var(--shadow); }
.svc { transition: transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-2px); }
.btn { border-radius: 8px; }
.photo, .case-figs li, .illus { border-radius: var(--r); }
.case-figs li { border: 1px solid var(--line); }

/* Pictogrammes */
.pic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mist); color: var(--navy); flex: none; }
.pic svg { width: 26px; height: 26px; }
.pic.sm { width: 36px; height: 36px; border-radius: 10px; }
.pic.sm svg { width: 20px; height: 20px; }
.pic.rose { background: rgba(255, 6, 126, .1); color: var(--navy); }
.on-night .pic { background: rgba(123, 175, 255, .16); color: #fff; }
.value-cards .pic { margin-bottom: 18px; }
.lab-axes li { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: start; }
.lab-axes li .pic { grid-row: span 2; }
.case .sector .pic { margin-right: 10px; }
.case .sector > span:first-child { display: inline-flex; align-items: center; }
.case-detail .sector { display: inline-flex; align-items: center; gap: 12px; }
.split .l > .pic { margin-bottom: 18px; }
.dna-points li > span:not(.pic) { display: none; }
.dna-points li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }

/* Illustrations des expertises */
.illus { display: block; width: 100%; height: auto; margin-top: 24px; }

/* Bandeaux d'appel : bleu clair, texte bleu nuit, pour se detacher du pied de page. */
.band.lebrain-band, .contact.solo {
  background: linear-gradient(110deg, #7BAFFF 0%, #A9C9FF 60%, #D3E3FF 100%);
  color: var(--navy);
}
.band.lebrain-band h2, .contact.solo h2 { color: var(--navy); }
.band.lebrain-band p, .contact.solo p { color: var(--navy); opacity: .85; }
.contact.solo .label { color: var(--navy); }
.band.lebrain-band .btn.cy, .contact.solo .btn.light { background: var(--navy); color: #fff; }
.band.lebrain-band .btn.cy:hover, .contact.solo .btn.light:hover { background: #fff; color: var(--navy); }
.band.lebrain-band .btn.ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.band.lebrain-band .btn.ghost:hover { background: rgba(255, 255, 255, .5); }
.band.lebrain-band :focus-visible, .contact.solo :focus-visible { outline-color: var(--navy); }

/* Frise : toutes les annees sur la meme colonne. */
.timeline > li { padding-left: 20px; border-left: 3px solid transparent; }
.timeline > li.now { border-left-color: var(--accent); }

/* Carrieres : candidature sur toute la largeur */
.cand { display: grid; grid-template-columns: auto 1fr; gap: 24px 32px; align-items: center; padding: 32px; border-radius: var(--r); background: var(--mist); }
.cand h2 { font-size: clamp(24px, 1.6vw + 12px, 32px); }
.cand h2 a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 6px; }
.cand p { margin-top: 10px; color: var(--muted); max-width: 70ch; }

/* Contact : bloc repris de lebrain.com */
.contact-hero .wrap { align-items: start; }
.contact-hero .intro { grid-column: 1 / span 6; }
.contact-hero .formbox { grid-column: 8 / -1; grid-row: 1 / span 4; background: #fff; color: var(--ink); border-radius: var(--r); padding: 28px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); }
.contact-hero h1 { margin: 8px 0 16px; }
.csteps { margin-top: 32px; display: grid; gap: 14px; }
.csteps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.csteps .n { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 800 18px/1 var(--head); background: var(--accent); color: #fff; }
.csteps b { display: block; color: #fff; font-size: 17px; }
.csteps small { display: block; color: var(--on-night-muted); font-size: 14.5px; margin-top: 2px; }
.contact-hero .form { grid-template-columns: 1fr 1fr; }

@media (max-width: 1024px) {
  .contact-hero .intro, .contact-hero .formbox { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .cand { grid-template-columns: 1fr; padding: 24px; }
  .contact-hero .form { grid-template-columns: 1fr; }
  .contact-hero .formbox { padding: 20px; }
}
.contact-hero .formbox .btn.primary { background: var(--navy); color: #fff; }
.contact-hero .formbox .btn.primary:hover { background: var(--blue); color: var(--navy); }
.xp .xp-head { display: flex; flex-direction: column; align-items: flex-start; }
.xp .xp-head .pic { order: -1; margin-bottom: 14px; }
.xp .xp-head .illus { align-self: stretch; }

/* Version 3.3 : parcours du hero (besoin metier, Novelis Research, LeBrain, expertises et deploiement). */
.journey { position: relative; display: grid; gap: 14px; }
.journey::before {
  content: ""; position: absolute; left: 33px; top: 30px; bottom: 30px; width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--blue));
}
.journey .step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 14px 18px 14px 10px; border-radius: var(--r);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(123, 175, 255, .35);
  backdrop-filter: blur(4px);
}
.journey .pic { position: relative; z-index: 1; background: #3B3C76; color: #fff; border: 1px solid rgba(123, 175, 255, .55); }
.journey .k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.journey b { display: block; font-family: var(--head); font-size: 18px; color: #fff; margin-top: 2px; }
.journey small { display: block; font-size: 13.5px; color: var(--on-night-muted); }
.journey .start { border-style: dashed; }
.journey .start .pic { background: var(--accent); border-color: var(--accent); }
.journey .start .k { color: #FF8CC3; }
.journey .core { background: #fff; border-color: #fff; box-shadow: 6px 6px 0 var(--accent); }
.journey .core b { color: var(--navy); font-size: 21px; }
.journey .core small { color: var(--muted); }
.journey .core .k { color: var(--accent-ink); }
.journey .core .pic { background: var(--navy); border-color: var(--navy); }
/* Impulsion qui parcourt le fil, du besoin au deploiement. */
.journey::after {
  content: ""; position: absolute; left: 29px; top: 30px; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255, 6, 126, .35); animation: parcours 4.5s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes parcours { 0% { top: 30px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: calc(100% - 40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .journey::after { animation: none; display: none; } }

.hero-text .kicker { margin-bottom: 10px; }

/* Version 3.4 : parcours du hero en trois temps, expertises sans illustrations. */
.journey .k { font-size: 13px; letter-spacing: .04em; }
.journey b { margin-top: 0; }
.journey .step { padding-top: 16px; padding-bottom: 16px; }
.journey::after { animation-duration: 3.5s; }
.xp { align-items: start; }
.xp .xp-head .pic { margin-bottom: 14px; }
.xp .xp-body { padding-top: 92px; }
.xp .xp-body > :first-child { margin-top: 0; }
@media (max-width: 900px) { .xp .xp-body { padding-top: 0; } }

/* Version 3.5 : hero sans visuel, mission puis annonce de LeBrain. */
.hero-solo .hero-text { grid-column: 1 / span 10; }
.hero-solo .hero-text h1 { max-width: 16em; margin: 14px 0 22px; }
.hero-solo .hero-text .lead { max-width: 40em; font-size: clamp(17px, .5vw + 14px, 20px); }
.hero-solo .mission { display: inline-block; font-family: var(--head); font-weight: 700; font-size: clamp(15px, .5vw + 11px, 18px); color: var(--blue); padding-left: 14px; border-left: 3px solid var(--accent); }
.hero-more { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 30px 0 0; }
.hero-more a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }
.hero-more a:hover, .hero-more a:focus-visible { color: var(--blue); border-color: var(--blue); }
.hero-more svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .hero-solo .hero-text { grid-column: 1 / -1; } }
/* Version 3.5 bis : hero sur toute la largeur de la page. */
.hero-solo .hero-text { grid-column: 1 / -1; }
.hero-solo .hero-text h1, .hero-solo .hero-text .lead { max-width: none; }

/* Version 3.6 : logo LeBrain dans le titre ; section LeBrain en bleu clair, schema sur panneau bleu nuit. */
.h1-logo { display: inline-block; height: .78em; width: auto; vertical-align: -.04em; margin: 0 .08em; }
.lebrain.lebrain-clair { background: linear-gradient(110deg, #A9C9FF 0%, #D3E3FF 55%, #EAF1FF 100%); color: var(--navy); }
.lebrain.lebrain-clair::after { background: radial-gradient(circle, rgba(255, 6, 126, .10), transparent 65%); }
.lebrain-clair .label { color: var(--navy); }
.lebrain-clair .signature { color: var(--navy); }
.lebrain-clair .lebrain-intro p { color: var(--navy); opacity: .85; }
.lebrain-clair .lb-map { background: var(--night); border-radius: var(--r); padding: clamp(16px, 2vw, 28px); box-shadow: 8px 8px 0 var(--accent); }
.lebrain-clair :focus-visible { outline-color: var(--navy); }
/* Version 3.6 bis : section LeBrain adoucie (fond bleu tres clair uni, panneau du schema sans ombre rose). */
.lebrain.lebrain-clair { background: #F3F7FF; }
.lebrain.lebrain-clair::after { display: none; }
.lebrain-clair .lb-map { box-shadow: none; border: 1px solid rgba(48, 49, 103, .12); padding: clamp(14px, 1.6vw, 22px); }

/* Version 3.7 : hero editeur, LeBrain mis en avant, cerveau en reseau de neurones a droite. */
.hero-cerveau { background: radial-gradient(120% 90% at 85% 40%, #3D3F86 0%, #303167 45%, #23244F 100%); }
.hero-cerveau .hero-text { grid-column: 1 / span 7; }
.hero-cerveau .hero-text h1 { max-width: 14em; margin: 0 0 22px; }
.hero-cerveau .hero-text .lead { max-width: 32em; font-size: clamp(17px, .5vw + 14px, 20px); }
.hero-cerveau .hero-visual { grid-column: 8 / -1; }
.hero-cerveau .brain { display: block; width: 100%; height: auto; }
.hero-cta { margin: 30px 0 0; }
.btn.lb-cta { background: var(--accent); color: #fff; border: 0; }
.btn.lb-cta:hover, .btn.lb-cta:focus-visible { background: #fff; color: var(--navy); }
.btn.lb-cta svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .hero-cerveau .hero-text, .hero-cerveau .hero-visual { grid-column: 1 / -1; } .hero-cerveau .hero-visual { max-width: 420px; } }

/* Version 3.7 bis : visuel du hero, orbe lumineux et orbites (remplace le cerveau). */
.orb { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-left: auto; }
.orb-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 6, 126, .35), rgba(123, 175, 255, .18) 45%, transparent 70%); filter: blur(40px); }
.orb-core { position: absolute; inset: 24%; border-radius: 50%; overflow: hidden;
  background: conic-gradient(from 0deg, #FF067E, #7BAFFF, #303167, #FF067E);
  box-shadow: 0 0 80px rgba(255, 6, 126, .35), inset 0 0 40px rgba(255, 255, 255, .25);
  animation: orb-tourne 14s linear infinite; }
.orb-core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(35, 36, 79, .55) 100%); }
.orb-shine { position: absolute; left: 18%; top: 12%; width: 38%; height: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); filter: blur(6px); z-index: 1; animation: orb-tourne 14s linear infinite reverse; transform-origin: 160% 150%; }
.orb-tilt { position: absolute; inset: 0; transform: rotateX(72deg) rotateZ(-18deg); transform-style: preserve-3d; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(123, 175, 255, .45); animation: orb-tourne 18s linear infinite; }
.ring i { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(123, 175, 255, .9); }
.ring.r1 { inset: 6%; }
.ring.r2 { inset: -4%; border-color: rgba(255, 6, 126, .45); animation-duration: 26s; animation-direction: reverse; }
.ring.r2 i { background: #FF067E; box-shadow: 0 0 12px 3px rgba(255, 6, 126, .9); }
.ring.r3 { inset: 16%; border-style: dashed; border-color: rgba(255, 255, 255, .25); animation-duration: 34s; }
.ring.r3 i { width: 6px; height: 6px; top: -3px; left: calc(50% - 3px); }
@keyframes orb-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orb-core, .orb-shine, .ring { animation: none; } }
@media (max-width: 900px) { .orb { margin: 10px auto 0; width: min(320px, 80%); } }
/* Orbe : interieur en nappes de couleur floues qui tournent (au lieu d'un degrade conique). */
.orb-core { background: #2A2B62; animation: none; }
.orb-core::before { content: ""; position: absolute; inset: -25%;
  background: radial-gradient(circle at 30% 30%, #FF067E 0 18%, transparent 42%),
              radial-gradient(circle at 72% 40%, #7BAFFF 0 16%, transparent 40%),
              radial-gradient(circle at 45% 78%, #4E6AD8 0 14%, transparent 38%),
              radial-gradient(circle at 60% 60%, #FF8CC3 0 6%, transparent 26%);
  filter: blur(22px); animation: orb-tourne 16s linear infinite; }
.orb-core::after { z-index: 1; background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(35, 36, 79, .5) 100%); }
.orb-shine { z-index: 2; animation: none; left: 20%; top: 14%; width: 34%; height: 24%; background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 70%); }
@media (prefers-reduced-motion: reduce) { .orb-core::before { animation: none; } }
@media (max-width: 900px) { .hero-cerveau .wrap { row-gap: 8px; } .orb { margin: -10px auto -20px; width: min(280px, 75%); } }

/* Version 3.7 ter : hero sur le fond « cerveau en reseau » de lebrain.com, voile bleu nuit, pluie de particules. */
.hero-cerveau { background: #0C1230 url("../img/visuels/cerveau-reseau.jpg") 70% center / cover no-repeat; }
.hero-cerveau::before { background: linear-gradient(90deg, rgba(35, 36, 79, .94) 0%, rgba(48, 49, 103, .78) 42%, rgba(48, 49, 103, .2) 75%, rgba(48, 49, 103, .05) 100%); opacity: 1; }
.hero-cerveau .wrap { z-index: 2; }
.hero-cerveau .hero-text { grid-column: 1 / span 7; padding: clamp(24px, 3vw, 48px) 0; }
.pluie { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.pluie i { position: absolute; top: -10%; width: var(--s); height: var(--s); border-radius: 50%; background: #7BE7FF; box-shadow: 0 0 8px 2px rgba(123, 231, 255, .7); opacity: 0;
  animation: pluie var(--d) linear var(--dl) infinite; }
.pluie i::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: calc(var(--s) * 9); transform: translateX(-50%); background: linear-gradient(to top, rgba(123, 231, 255, .55), transparent); }
@keyframes pluie { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: var(--o); } 85% { opacity: var(--o); } 100% { transform: translateY(125vh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pluie { display: none; } }
@media (max-width: 900px) { .hero-cerveau { background-position: 80% center; } .hero-cerveau::before { background: linear-gradient(180deg, rgba(35, 36, 79, .92) 0%, rgba(48, 49, 103, .8) 60%, rgba(48, 49, 103, .55) 100%); } .hero-cerveau .hero-text { grid-column: 1 / -1; } }
/* Voile integre au fond (plus fiable que le pseudo-element) : texte lisible a gauche, cerveau visible a droite. */
.hero-cerveau::before { background: none; }
.hero-cerveau { background:
  linear-gradient(90deg, rgba(28, 29, 66, .97) 0%, rgba(35, 36, 79, .9) 38%, rgba(48, 49, 103, .35) 62%, rgba(48, 49, 103, 0) 80%),
  #0C1230 url("../img/visuels/cerveau-reseau.jpg") right center / cover no-repeat; }
@media (max-width: 900px) {
  .hero-cerveau { background:
    linear-gradient(180deg, rgba(28, 29, 66, .95) 0%, rgba(35, 36, 79, .9) 55%, rgba(48, 49, 103, .55) 100%),
    #0C1230 url("../img/visuels/cerveau-reseau.jpg") 75% bottom / auto 100% no-repeat; }
}
.hero-cerveau .hero-text .lead { max-width: 29em; }

/* Version 3.7 quater : le cerveau se fond dans le fond bleu nuit (fusion en « screen » : le noir de la photo disparait, seuls les points lumineux restent ; bords estompes par un masque). */
.hero-cerveau { background: radial-gradient(110% 90% at 80% 45%, #3A3C80 0%, #303167 45%, #262759 100%); }
.hero-cerveau::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../img/visuels/cerveau-reseau.jpg") right center / cover no-repeat;
  mix-blend-mode: screen; opacity: .75;
  -webkit-mask-image: radial-gradient(60% 75% at 70% 50%, #000 35%, transparent 80%);
          mask-image: radial-gradient(60% 75% at 70% 50%, #000 35%, transparent 80%); }
.hero-cerveau .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .hero-cerveau { background: radial-gradient(120% 80% at 70% 85%, #3A3C80 0%, #303167 50%, #262759 100%); }
  .hero-cerveau::after { background-position: 75% bottom; background-size: auto 85%; opacity: .45;
    -webkit-mask-image: radial-gradient(80% 50% at 60% 90%, #000 30%, transparent 85%); mask-image: radial-gradient(80% 50% at 60% 90%, #000 30%, transparent 85%); }
}
