/* Groupe BCS — feuille de style commune
   Layout : bandeau groupe fin + en-tête collant ; colonnes larges en grille 12, filets de relevé (cotes) comme signature. */
/* Direction : bleu nuit + lumière orange, violet réservé à l'IA. Sombre par défaut (cinématique), version claire disponible. */
:root {
  --ink: #e9eef6; --paper: #070d18; --surface: #0e1726; --line: #1f2c42; --muted: #9aa6bb;
  --accent: #8aa0ff; --accent-soft: #141f3d;
  --orange: #ff6a13; --orange-ink: #ff9a5c; --orange-soft: #2a170b;
  --violet: #8b5cf6; --violet-soft: #1d1536;
  --red: #ff5a66; --band: #040810; --band-ink: #eef2f8; --band-muted: #8a96ab;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px; --radius: 8px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --ink: #0b1628; --paper: #f4f6f9; --surface: #ffffff; --line: #d5dbe4; --muted: #566176;
    --accent: #1f3fd1; --accent-soft: #e6ebfb; --orange: #ff6a13; --orange-ink: #c2470a; --orange-soft: #fff0e6;
    --violet: #6d3fe0; --violet-soft: #efe9fd; --red: #d8202f; --band: #0b1628; --band-ink: #eef2f8; --band-muted: #9aa6bb;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --ink: #0b1628; --paper: #f4f6f9; --surface: #ffffff; --line: #d5dbe4; --muted: #566176;
  --accent: #1f3fd1; --accent-soft: #e6ebfb; --orange: #ff6a13; --orange-ink: #c2470a; --orange-soft: #fff0e6;
  --violet: #6d3fe0; --violet-soft: #efe9fd; --red: #d8202f; --band: #0b1628; --band-ink: #eef2f8; --band-muted: #9aa6bb;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--band); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 750; font-stretch: 108%; }
h3 { font-size: 1.25rem; font-weight: 700; font-stretch: 104%; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Liseré tricolore — calé sur la grille du monogramme : 3 lettres, 3 barres de même longueur, mêmes espacements (3,08 %) */
.lockup { display: inline-grid; gap: 0.13em; width: max-content; }
.lockup .logo { display: block; }
.tricolore { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 3.08%; height: 3px; width: 100%; }
.tricolore span { display: block; height: 100%; border-radius: 0.5px; }
.tricolore span:nth-child(1) { background: #0055a4; }
.tricolore span:nth-child(2) { background: #ffffff; box-shadow: inset 0 0 0 0.5px rgba(11,22,40,.25); }
.tricolore span:nth-child(3) { background: #ef4135; }
.foot-brand .lockup .tricolore { height: 4px; }
/* Logos en masque : prennent la couleur du texte (thème clair / sombre) */
.logo { display: inline-block; background: currentColor; -webkit-mask: url(/img/logo-bcs.png) no-repeat left center / contain; mask: url(/img/logo-bcs.png) no-repeat left center / contain; aspect-ratio: 1200 / 297; height: 28px; }
.logo-academy { -webkit-mask-image: url(/img/logo-academy.png); mask-image: url(/img/logo-academy.png); aspect-ratio: 1200 / 477; height: 46px; }

/* Bandeau groupe (le « sélecteur d'applications ») */
.groupbar { background: var(--band); color: var(--band-muted); font-size: .8rem; }
.groupbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 38px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.groupbar strong { color: var(--band-ink); font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.groupbar a { text-decoration: none; color: var(--band-muted); padding-block: 8px; }
.groupbar a:hover, .groupbar a[aria-current="true"] { color: var(--band-ink); }
.groupbar a[aria-current="true"] { box-shadow: inset 0 -2px 0 #ff6a13; }
.groupbar .ext::after { content: " ↗"; font-size: .85em; }
.groupbar .sep { width: 1px; height: 14px; background: #2b3953; }

/* En-tête */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 10px; border-radius: var(--radius); color: var(--ink); white-space: nowrap; }
.nav a:hover { background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .95rem/1 var(--font-body); padding: 14px 20px; border-radius: var(--radius); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #0b1628; }
.btn-primary:hover { background: #ff7f36; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.nav .btn { padding: 10px 16px; color: #0b1628; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: 600 .9rem var(--font-body); color: var(--ink); cursor: pointer; }
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px max(20px, env(safe-area-inset-left, 0px)) 20px; }
  .nav:not(.open) { display: none; }
  .nav a { padding: 12px; }
  .brand small { display: none; }
}

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; }
.band { background: var(--band); color: var(--band-ink); }
.band .lead, .band p.muted { color: var(--band-muted); }
.band .eyebrow { color: #ff9a5c; }
.muted { color: var(--muted); }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--orange-ink); }
.hero .lead { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-size: .88rem; color: var(--muted); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
.scan { position: relative; aspect-ratio: 1 / 1; max-width: 100%; border: 1px solid #1f2c42; background: radial-gradient(120% 90% at 50% 40%, #0d1a30 0%, #050a14 70%); border-radius: var(--radius); overflow: hidden; }
.scan canvas { width: 100%; height: 100%; display: block; }
.scan .tag { position: absolute; font-family: var(--font-mono); font-size: .7rem; color: #aab4c5; background: rgba(5,10,20,.7); padding: 3px 7px; border: 1px solid #22314c; border-radius: 3px; pointer-events: none; }
.scan .tag.tr { top: 12px; right: 12px; color: #ff9a5c; }
.scan .tag.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ff6a13; margin-right: 6px; box-shadow: 0 0 8px #ff6a13; }
.scan .tag.tl { top: 12px; left: 12px; } .scan .tag.br { bottom: 12px; right: 12px; } .scan .tag.bl { bottom: 12px; left: 12px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .scan { max-width: 520px; } }

/* Page header (pages intérieures) */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .lead { margin-top: 18px; }
.crumbs { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }

/* Grilles et cartes */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card p { color: var(--muted); font-size: .97rem; }
.card .more { margin-top: auto; font-weight: 600; color: var(--accent); text-decoration: none; font-size: .93rem; }
.card .more::after { content: " →"; }
.card .code { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }

/* Le groupe : 4 portes */
.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #22314c; border-radius: var(--radius); overflow: hidden; }
.door { padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--band-ink); border-right: 1px solid #22314c; min-width: 0; transition: background .2s ease; }
.door:last-child { border-right: 0; }
.door:hover { background: #12203a; }
.door .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #ff9a5c; }
.door h3 { font-size: 1.35rem; }
.door p { color: var(--band-muted); font-size: .95rem; }
.door .go { margin-top: auto; font-family: var(--font-mono); font-size: .78rem; color: var(--band-ink); }
@media (max-width: 980px) { .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .door:nth-child(2) { border-right: 0; } .door:nth-child(-n+2) { border-bottom: 1px solid #22314c; } }
@media (max-width: 560px) { .doors { grid-template-columns: 1fr; } .door { border-right: 0; border-bottom: 1px solid #22314c; } .door:last-child { border-bottom: 0; } }

/* Chiffres */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figure { padding: 26px 20px 24px 0; display: grid; gap: 6px; }
.figure + .figure { padding-left: 20px; border-left: 1px solid var(--line); }
.figure b { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; font-stretch: 112%; line-height: 1; }
.figure span { font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figure:nth-child(3) { padding-left: 0; border-left: 0; } .figure:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Méthode : chaîne terrain → décision */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.chain li { list-style: none; padding: 22px 18px 22px 0; border-top: 2px solid var(--ink); position: relative; min-width: 0; }
.chain li + li { padding-left: 18px; }
.chain li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: .75rem; color: var(--accent); display: block; margin-bottom: 10px; }
.chain h3 { font-size: 1.05rem; margin-bottom: 6px; }
.chain p { font-size: .9rem; color: var(--muted); }
.chain-wrap { padding: 0; margin: 0; }
@media (max-width: 900px) { .chain { grid-template-columns: 1fr; } .chain li + li { padding-left: 0; } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.list-check li { padding-left: 30px; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Encadré réponse directe (GEO) */
.answer { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; display: grid; gap: 8px; }
.answer .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* Tableau */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Article (ressources) */
.article { max-width: 760px; }
.article h2 { font-size: 1.7rem; margin-top: 48px; margin-bottom: 14px; }
.article h3 { margin-top: 28px; margin-bottom: 8px; }
.article p, .article ul, .article ol { margin-bottom: 16px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); margin-top: 18px; }

/* Texte juridique */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 12px; }
.legal p, .legal ul { margin-bottom: 14px; color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 0 0 16px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* Formulaire */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { font: 400 1rem var(--font-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 4px; }
.form-note { font-size: .88rem; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); }

/* Implantations */
.sites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site-card { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 6px; }
.site-card .k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.site-card address { font-style: normal; color: var(--muted); }
@media (max-width: 760px) { .sites { grid-template-columns: 1fr; } }

/* Bandeau CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { background: var(--band); color: var(--band-muted); padding-block: 64px 32px; font-size: .92rem; }
.site-footer a { text-decoration: none; color: var(--band-muted); }
.site-footer a:hover { color: var(--band-ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--band-ink); font-weight: 500; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: 16px; align-content: start; color: var(--band-ink); }
.foot-brand p { color: var(--band-muted); max-width: 34ch; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid #22314c; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.stack-sm { display: grid; gap: 12px; } .stack { display: grid; gap: 20px; } .stack-lg { display: grid; gap: 36px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { font-family: var(--font-mono); font-size: .74rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--surface); }
.band .tag-list span { border-color: #22314c; background: transparent; color: var(--band-muted); }
.copy { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .95rem; }
.copy button { font: 500 .72rem var(--font-mono); border: 1px solid var(--line); background: var(--surface); color: var(--muted); border-radius: 4px; padding: 3px 8px; cursor: pointer; }

/* Sélecteur de langue */
.lang { margin-left: auto; display: inline-flex; gap: 2px; }
.lang a { font-family: var(--font-mono); font-size: .72rem; padding: 4px 7px !important; border-radius: 3px; letter-spacing: .06em; }
.lang a[aria-current="true"] { background: #ff6a13; color: #0b1628 !important; box-shadow: none !important; }
/* Pôle IA et carte du monde */
.card.hot { border-color: var(--orange); box-shadow: inset 0 3px 0 var(--orange); }
.status { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; display: inline-block; width: fit-content; }
.status.live { background: var(--orange-soft); color: var(--orange-ink); }
.status.next { background: var(--accent-soft); color: var(--accent); }
.status.lab { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.world { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--band-ink); }
.world > div { padding: 20px 18px 0 0; display: grid; gap: 6px; align-content: start; }
.world > div + div { padding-left: 18px; border-left: 1px solid #22314c; }
.world .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #ff9a5c; }
.world p { color: var(--band-muted); font-size: .93rem; }
@media (max-width: 860px) { .world { grid-template-columns: 1fr 1fr; } .world > div:nth-child(3) { padding-left: 0; border-left: 0; } .world > div:nth-child(n+3) { margin-top: 18px; } }
.big-quote { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; font-stretch: 108%; line-height: 1.2; text-wrap: balance; max-width: 26ch; }
.big-quote em { font-style: normal; color: var(--orange-ink); }
.band .big-quote em { color: #ff9a5c; }

/* Héros photographique */
.hero-photo { position: relative; isolation: isolate; color: #eef2f8; background: #040810; padding-block: clamp(72px, 11vw, 150px) clamp(64px, 9vw, 120px); overflow: hidden; }
.hero-photo .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 65%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,8,16,.94) 0%, rgba(4,8,16,.78) 45%, rgba(4,8,16,.25) 100%), linear-gradient(0deg, rgba(4,8,16,.9) 0%, rgba(4,8,16,0) 40%); }
.hero-photo h1 { color: #fff; max-width: 15ch; }
.hero-photo h1 .accent { color: #ff8a3d; }
.hero-photo .lead { color: #c2cbda; }
.hero-photo .eyebrow { color: #ff9a5c; }
.hero-photo .hero-proof { color: #aab4c5; }
.hero-photo .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.glow { box-shadow: 0 0 0 1px rgba(255,106,19,.35), 0 10px 40px -10px rgba(255,106,19,.55); }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; } .photo.wide { aspect-ratio: 16 / 10; } .photo.square { aspect-ratio: 1 / 1; }
.page-hero.has-photo { position: relative; isolation: isolate; color: #eef2f8; background: #040810; border-bottom: 0; padding-block: clamp(56px, 8vw, 110px); }
.page-hero.has-photo .bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.page-hero.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,8,16,.95) 0%, rgba(4,8,16,.8) 50%, rgba(4,8,16,.35) 100%); }
.page-hero.has-photo .lead, .page-hero.has-photo .crumbs { color: #c2cbda; }
.page-hero.has-photo h1 { color: #fff; }
.page-hero.has-photo .eyebrow { color: #ff9a5c; }
.ia .eyebrow { color: var(--violet); }
.ia-grad { background: linear-gradient(90deg, #8b5cf6, #ff6a13); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card.ai { border-color: color-mix(in srgb, var(--violet) 55%, var(--line)); }
.status.ai { background: var(--violet-soft); color: var(--violet); }

.hero-photo .lead { margin-top: 22px; }
.hero-photo .hero-actions { margin-top: 30px; }

.band .chain li { border-top-color: #ff6a13; }
.band .chain p { color: var(--band-muted); }
.band .chain li::before { color: #ff9a5c; }

/* Finitions responsive */
.groupbar .lang { position: sticky; right: 0; background: var(--band); padding-left: 10px; box-shadow: -14px 0 14px -6px var(--band); }
@media (max-width: 900px) {
  .hero-photo::after, .page-hero.has-photo::after { background: linear-gradient(180deg, rgba(4,8,16,.72) 0%, rgba(4,8,16,.86) 55%, rgba(4,8,16,.96) 100%); }
  .hero-photo h1 { max-width: none; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .scan .tag.br { display: none; }
  .figure b { font-size: 1.7rem; }
}

/* Bande vidéo : relevé colorisé */
.video-band { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid #1f2c42; background: #050a14; aspect-ratio: 16 / 9; max-width: 100%; }
.video-band video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-band .cap { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; pointer-events: none; }
.video-band .cap span { font-family: var(--font-mono); font-size: .72rem; color: #e9eef6; background: rgba(5,10,20,.72); border: 1px solid #22314c; padding: 4px 8px; border-radius: 3px; }
.video-band .cap span.live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #ff6a13; margin-right: 6px; box-shadow: 0 0 8px #ff6a13; }

/* Bandeau de consentement */
.cookie-bar { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,.35); font-size: 14px; }
.cookie-bar p { margin: 0; flex: 1 1 280px; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-bar div { display: flex; gap: 8px; }
.cookie-bar .btn { padding: 8px 14px; font-size: 14px; }

/* ---- BCS Risk ---- */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--orange);color:#fff;padding:8px 14px}.skip:focus{left:12px;top:12px}
.lockup .bar-risk{display:block;height:4px;width:100%;background:var(--orange);border-radius:1px}
.brand-risk{font-family:var(--font-display);font-stretch:125%;font-weight:700;font-size:22px;letter-spacing:.22em;color:var(--orange);margin-left:12px;line-height:28px;align-self:flex-start}
.quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.quick a{display:flex;flex-direction:column;gap:4px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s}
.quick a:hover{border-color:var(--orange);transform:translateY(-2px)}.quick b{font-family:var(--font-display);font-size:20px}.quick span{color:var(--muted);font-size:14px}
@media (max-width:900px){.quick{grid-template-columns:repeat(2,minmax(0,1fr))}}
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:14px}
.steps li{counter-increment:s;display:grid;grid-template-columns:44px 1fr;column-gap:14px;align-items:start}
.steps li::before{content:counter(s,decimal-leading-zero);grid-row:span 2;font-family:var(--font-mono);color:var(--orange);font-size:18px;padding-top:2px}
.steps b{font-family:var(--font-display);font-size:19px}.steps span{color:var(--muted)}
.card .more{display:inline-block;margin-top:10px;color:var(--orange-ink);font-weight:600;text-decoration:none}
.card h3 a{color:inherit;text-decoration:none}.card h3 a:hover{color:var(--orange-ink)}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.article{max-width:760px}.article h2{margin-top:36px}.article ul{padding-left:20px}.article li{margin:6px 0}
.legal nav.card ol{margin:8px 0 0;padding-left:20px;columns:2}.legal h2{scroll-margin-top:90px}
.band .form{background:var(--surface);color:var(--ink);padding:24px;border-radius:var(--radius)}
