/* ==========================================================================
   BinBlood — système de design (binblood.com + prmppro.binblood.com)
   Charte tirée du logo : bleu encre, bleu roi et azur sur fond blanc.
   Motifs repris du logo : la cascade de pixels, les traces de circuit à
   terminaisons rondes et le filet lumineux sous le nom.
   Une seule famille, géométrique comme le logotype : Montserrat variable.
   Couleurs du logo seulement ; vert, ambre et rouge servent aux états.
   ========================================================================== */

/* Montserrat découpée par alphabet : le navigateur ne charge que ce que la page utilise. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2-variations"), url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-vietnamese.woff2") format("woff2-variations"), url("../fonts/montserrat-vietnamese.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-cyrillic.woff2") format("woff2-variations"), url("../fonts/montserrat-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-cyrillic-ext.woff2") format("woff2-variations"), url("../fonts/montserrat-cyrillic-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

:root {
  /* Couleurs relevées sur le logo */
  --navy: #0b1d4f;      /* « B » et « Bin » */
  --royal: #0055cc;     /* départ de « Blood », fût du « b » */
  --royal-2: #00449f;
  --azure: #0b95de;     /* panse du « b », pixels */
  --spark: #1a8bea;     /* point lumineux du filet */

  /* Rôles : thème clair, le fond blanc du logo */
  --bg: #ffffff;
  --bg-2: #f4f7fd;
  --tint: #eaf1fb;
  --tint-2: #dbe7f8;
  --line: #e0e7f2;
  --line-2: #c6d3e7;
  --text: var(--navy);
  --text-2: #33456f;
  --text-3: #55648b;
  --accent: var(--royal);
  --action: var(--royal);
  --action-hover: var(--royal-2);
  --action-ink: #ffffff;
  --ghost-bd: #b6c6de;
  --trial-bg: #e2f2fd;
  --trial-ink: #064878;
  --trial-bd: #bfe0f6;
  --ok: #0d7a50;   --ok-bg: #e1f4eb;
  --warn: #8a5000; --warn-bg: #fff0d6;
  --bad: #b42318;  --bad-bg: #fdeceb;
  --header-bg: rgba(255, 255, 255, .9);
  --mark-bg: transparent;
  --word: var(--navy);
  --brand-grad: linear-gradient(90deg, var(--royal) 0%, var(--azure) 100%);
  --glow: linear-gradient(90deg, transparent 0%, var(--navy) 16%, var(--spark) 50%, var(--navy) 84%, transparent 100%);
  --shadow: 0 34px 70px -40px rgba(11, 29, 79, .4);
  --screen-bg: #ffffff;
  --screen-bar: #f4f7fd;
  --pixels: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%230055cc'/%3E%3Cstop offset='1' stop-color='%230b95de'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Crect x='6' y='132' width='24' height='24' rx='3'/%3E%3Crect x='40' y='138' width='16' height='16' rx='2' opacity='0.85'/%3E%3Crect x='22' y='96' width='22' height='22' rx='2.75' opacity='0.95'/%3E%3Crect x='56' y='104' width='18' height='18' rx='2.25' opacity='0.8'/%3E%3Crect x='4' y='70' width='14' height='14' rx='1.75' opacity='0.6'/%3E%3Crect x='52' y='66' width='20' height='20' rx='2.5' opacity='0.85'/%3E%3Crect x='86' y='82' width='14' height='14' rx='1.75' opacity='0.65'/%3E%3Crect x='84' y='44' width='18' height='18' rx='2.25' opacity='0.7'/%3E%3Crect x='40' y='36' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='116' y='60' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='118' y='22' width='14' height='14' rx='1.75' opacity='0.55'/%3E%3Crect x='148' y='40' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='86' y='10' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='152' y='6' width='9' height='9' rx='1.125' opacity='0.3'/%3E%3Crect x='176' y='24' width='8' height='8' rx='1' opacity='0.25'/%3E%3Crect x='186' y='0' width='7' height='7' rx='1' opacity='0.18'/%3E%3C/g%3E%3C/svg%3E");
  --pixels-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%233d8bff'/%3E%3Cstop offset='1' stop-color='%235cc8f5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Crect x='6' y='132' width='24' height='24' rx='3'/%3E%3Crect x='40' y='138' width='16' height='16' rx='2' opacity='0.85'/%3E%3Crect x='22' y='96' width='22' height='22' rx='2.75' opacity='0.95'/%3E%3Crect x='56' y='104' width='18' height='18' rx='2.25' opacity='0.8'/%3E%3Crect x='4' y='70' width='14' height='14' rx='1.75' opacity='0.6'/%3E%3Crect x='52' y='66' width='20' height='20' rx='2.5' opacity='0.85'/%3E%3Crect x='86' y='82' width='14' height='14' rx='1.75' opacity='0.65'/%3E%3Crect x='84' y='44' width='18' height='18' rx='2.25' opacity='0.7'/%3E%3Crect x='40' y='36' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='116' y='60' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='118' y='22' width='14' height='14' rx='1.75' opacity='0.55'/%3E%3Crect x='148' y='40' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='86' y='10' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='152' y='6' width='9' height='9' rx='1.125' opacity='0.3'/%3E%3Crect x='176' y='24' width='8' height='8' rx='1' opacity='0.25'/%3E%3Crect x='186' y='0' width='7' height='7' rx='1' opacity='0.18'/%3E%3C/g%3E%3C/svg%3E");
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 300' fill='none' stroke='%23d3e1f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 64H190l44 44h150'/%3E%3Ccircle cx='392' cy='108' r='7' fill='%23ffffff'/%3E%3Cpath d='M0 150H150l44 44h96'/%3E%3Ccircle cx='298' cy='194' r='7' fill='%23ffffff'/%3E%3Cpath d='M70 300v-34l40-40h190l36-36h110'/%3E%3Ccircle cx='454' cy='190' r='7' fill='%23ffffff'/%3E%3Cpath d='M250 0v22l44 44h140'/%3E%3Ccircle cx='442' cy='66' r='7' fill='%23ffffff'/%3E%3Cpath d='M330 300v-50l30-30h80'/%3E%3Ccircle cx='448' cy='220' r='7' fill='%23ffffff'/%3E%3C/svg%3E");

  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.4375rem;
  --step-3: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem);
  --step-4: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --step-5: clamp(2.35rem, 1.4rem + 3.9vw, 4.4rem);

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 0.6rem + 2.6vw, 2.5rem);
  --space-section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-panel: 22px;
  --radius-card: 16px;
  --radius-control: 10px;
  --radius-tag: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* prmppro.binblood.com : couleurs du logo PRMP-Pro, bleu marine et vert d'eau */
html.site-prmppro {
  --navy: #002464;
  --royal: #002b7b;
  --royal-2: #001d57;
  --azure: #00a48e;      /* vert d'eau du logo : motifs et accents décoratifs */
  --spark: #00a48e;
  --accent: #007a69;     /* vert d'eau foncé : textes d'accent lisibles sur blanc */
  --tint: #e6f5f2;
  --tint-2: #d2eee8;
  --trial-bg: #e2f5f1;
  --trial-ink: #005a4e;
  --trial-bd: #b3e3da;
  --brand-grad: linear-gradient(90deg, #002b7b 0%, #00a48e 100%);
  --glow: linear-gradient(90deg, transparent 0%, #002464 16%, #00a48e 50%, #002464 84%, transparent 100%);
  --pixels: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23002b7b'/%3E%3Cstop offset='1' stop-color='%2300a48e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Crect x='6' y='132' width='24' height='24' rx='3'/%3E%3Crect x='40' y='138' width='16' height='16' rx='2' opacity='0.85'/%3E%3Crect x='22' y='96' width='22' height='22' rx='2.75' opacity='0.95'/%3E%3Crect x='56' y='104' width='18' height='18' rx='2.25' opacity='0.8'/%3E%3Crect x='4' y='70' width='14' height='14' rx='1.75' opacity='0.6'/%3E%3Crect x='52' y='66' width='20' height='20' rx='2.5' opacity='0.85'/%3E%3Crect x='86' y='82' width='14' height='14' rx='1.75' opacity='0.65'/%3E%3Crect x='84' y='44' width='18' height='18' rx='2.25' opacity='0.7'/%3E%3Crect x='40' y='36' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='116' y='60' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='118' y='22' width='14' height='14' rx='1.75' opacity='0.55'/%3E%3Crect x='148' y='40' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='86' y='10' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='152' y='6' width='9' height='9' rx='1.125' opacity='0.3'/%3E%3Crect x='176' y='24' width='8' height='8' rx='1' opacity='0.25'/%3E%3Crect x='186' y='0' width='7' height='7' rx='1' opacity='0.18'/%3E%3C/g%3E%3C/svg%3E");
  --pixels-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 170'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='1' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%232fc4a8'/%3E%3Cstop offset='1' stop-color='%238be3d2'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='url(%23g)'%3E%3Crect x='6' y='132' width='24' height='24' rx='3'/%3E%3Crect x='40' y='138' width='16' height='16' rx='2' opacity='0.85'/%3E%3Crect x='22' y='96' width='22' height='22' rx='2.75' opacity='0.95'/%3E%3Crect x='56' y='104' width='18' height='18' rx='2.25' opacity='0.8'/%3E%3Crect x='4' y='70' width='14' height='14' rx='1.75' opacity='0.6'/%3E%3Crect x='52' y='66' width='20' height='20' rx='2.5' opacity='0.85'/%3E%3Crect x='86' y='82' width='14' height='14' rx='1.75' opacity='0.65'/%3E%3Crect x='84' y='44' width='18' height='18' rx='2.25' opacity='0.7'/%3E%3Crect x='40' y='36' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='116' y='60' width='12' height='12' rx='1.5' opacity='0.5'/%3E%3Crect x='118' y='22' width='14' height='14' rx='1.75' opacity='0.55'/%3E%3Crect x='148' y='40' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='86' y='10' width='10' height='10' rx='1.25' opacity='0.4'/%3E%3Crect x='152' y='6' width='9' height='9' rx='1.125' opacity='0.3'/%3E%3Crect x='176' y='24' width='8' height='8' rx='1' opacity='0.25'/%3E%3Crect x='186' y='0' width='7' height='7' rx='1' opacity='0.18'/%3E%3C/g%3E%3C/svg%3E");
  --circuit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 300' fill='none' stroke='%23cdebe4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 64H190l44 44h150'/%3E%3Ccircle cx='392' cy='108' r='7' fill='%23ffffff'/%3E%3Cpath d='M0 150H150l44 44h96'/%3E%3Ccircle cx='298' cy='194' r='7' fill='%23ffffff'/%3E%3Cpath d='M70 300v-34l40-40h190l36-36h110'/%3E%3Ccircle cx='454' cy='190' r='7' fill='%23ffffff'/%3E%3Cpath d='M250 0v22l44 44h140'/%3E%3Ccircle cx='442' cy='66' r='7' fill='%23ffffff'/%3E%3Cpath d='M330 300v-50l30-30h80'/%3E%3Ccircle cx='448' cy='220' r='7' fill='%23ffffff'/%3E%3C/svg%3E");
}
html.site-prmppro .cta-band { --accent: #7fdcca; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
p, ul, ol, dl, blockquote, figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
strong, b { font-weight: 650; }
::selection { background: color-mix(in srgb, var(--azure) 28%, transparent); color: var(--text); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; background: var(--action); color: var(--action-ink); font-weight: 650; border-radius: var(--radius-control); text-decoration: none; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section + .section { padding-top: 0; }
.section--rule { border-top: 1px solid var(--line); padding-top: var(--space-section); }
.section + .section.section--rule { padding-top: var(--space-section); }

/* ---------- Typographie ---------- */
.display { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
.h2 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; }
.h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.lede { font-size: var(--step-1); color: var(--text-2); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--text-3); }
.kicker { display: inline-block; font-size: var(--step--1); font-weight: 650; color: var(--accent); margin-bottom: 1rem; }
.measure { max-width: 66ch; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

/* Pixel du logo : remplace le point final des grands titres */
.pixel { display: inline-block; width: .19em; height: .19em; margin-left: .05em; background: var(--brand-grad); border-radius: .03em; }

/* ---------- Boutons et liens ---------- */
.btn {
  --btn-bg: var(--action); --btn-fg: var(--action-ink); --btn-bd: var(--action);
  display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
  min-height: 48px; padding: .7rem 1.25rem;
  font: inherit; font-size: .9688rem; font-weight: 650; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius-control);
  text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--action-hover); --btn-bd: var(--action-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--ghost-bd); }
.btn--ghost:hover { --btn-bg: var(--tint); --btn-bd: var(--text); }
.btn--small { min-height: 40px; padding: .5rem .95rem; font-size: .9063rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.link-strong { font-weight: 650; color: var(--text); text-decoration: underline; text-decoration-color: var(--azure); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.link-strong:hover { color: var(--accent); }

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .22rem .6rem; border-radius: var(--radius-tag);
  font-size: .8125rem; font-weight: 600; line-height: 1.4;
  background: var(--tint); color: var(--text-2); border: 1px solid transparent;
}
.spotlight__text > .tag, .platform > .tag, .page-hero .tag, .p-hero .tag, .btn-row > .tag { justify-self: start; }
.tag--seal { background: var(--trial-bg); color: var(--trial-ink); border-color: var(--trial-bd); }
.tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--glow); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.site-header.is-scrolled::after { opacity: 1; }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; font-size: 1.3125rem; letter-spacing: -0.012em; line-height: 1.1; color: var(--word); }
.brand__mark { width: 44px; height: 44px; border-radius: 11px; background: var(--mark-bg); display: grid; place-items: center; overflow: hidden; flex: none; }
.brand__mark img { width: 42px; height: 42px; }
.brand--logo { gap: .8rem; flex: none; }
.brand--logo img { height: 42px; width: auto; }
.brand.brand--logo small { margin: 0; padding-left: .8rem; border-left: 1px solid var(--line-2); max-width: 6.5rem; white-space: normal; line-height: 1.25; }
.brand__word { color: var(--word); }
.brand__word > span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.brand small { display: block; font-size: .75rem; font-weight: 500; letter-spacing: 0; color: var(--text-3); -webkit-text-fill-color: currentColor; margin-top: .15rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem .6rem; border-radius: 8px; text-decoration: none; font-size: .9375rem; font-weight: 550; color: var(--text-2); }
.nav a:hover { color: var(--text); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--tint); }
.header-cta { display: flex; gap: .5rem; align-items: center; }
.nav-toggle { display: none; margin-left: auto; min-height: 44px; min-width: 44px; padding: .5rem .8rem; background: transparent; border: 1.5px solid var(--ghost-bd); border-radius: var(--radius-control); color: var(--text); font: inherit; font-weight: 600; }
.brand small, .nav a, .header-cta .btn { white-space: nowrap; }
@media (max-width: 1320px) { .site-header__inner { gap: 1rem; } .nav { gap: 0; } .nav a { padding: .5rem .55rem; } }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .site-header__inner { flex-wrap: wrap; }
  .nav, .header-cta { display: none; width: 100%; }
  .site-header.is-open .nav { display: grid; gap: .25rem; padding: .5rem 0 0; margin-left: 0; }
  .site-header.is-open .header-cta { display: flex; flex-wrap: wrap; padding: .75rem 0 1.25rem; }
  .nav a { font-size: 1.0625rem; padding: .75rem .5rem; }
}
/* En-tête PRMPpro : six rubriques, le menu se replie plus tôt */
@media (max-width: 1340px) {
  .site-header--p .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .site-header--p .site-header__inner { flex-wrap: wrap; }
  .site-header--p .nav, .site-header--p .header-cta { display: none; width: 100%; }
  .site-header--p.is-open .nav { display: grid; gap: .25rem; padding: .5rem 0 0; margin-left: 0; }
  .site-header--p.is-open .header-cta { display: flex; flex-wrap: wrap; padding: .75rem 0 1.25rem; }
  .site-header--p .nav a { font-size: 1.0625rem; padding: .75rem .5rem; }
}

/* ---------- Accueil : les trois verbes sont l'index des produits ---------- */
.hero { padding-top: clamp(2.5rem, 1rem + 4vw, 5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); position: relative; isolation: isolate; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46% 58% at 90% 34%, color-mix(in srgb, var(--azure) 10%, transparent), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: clamp(1.25rem, .5rem + 2.5vw, 3rem); right: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  width: clamp(104px, 4rem + 11vw, 250px); aspect-ratio: 200 / 170;
  background: var(--pixels) no-repeat center / contain;
}
.hero__intro { display: grid; gap: .6rem; padding-right: clamp(110px, 4rem + 12vw, 280px); margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3.25rem); }
.hero__h1 { font-size: var(--step-1); font-weight: 600; color: var(--text-2); max-width: 46ch; line-height: 1.45; letter-spacing: -0.005em; }
.hero__place { font-size: var(--step--1); font-weight: 500; color: var(--text-3); }
.verbs { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.verb { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.25rem 2.5rem; align-items: center; padding-block: clamp(1.1rem, .6rem + 1.4vw, 1.9rem); border-bottom: 1px solid var(--line); }
.verb__word {
  font-size: clamp(2.3rem, .7rem + 5vw, 5.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  color: var(--text); transition: color .3s var(--ease);
}
.verb__product { display: grid; gap: .5rem; align-content: center; }
.verb__name { font-size: var(--step-2); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.verb__name a { text-decoration: none; }
.verb__name a::after { content: ""; position: absolute; inset: 0; }
.verb__desc { color: var(--text-2); max-width: 46ch; }
.verb__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .35rem; }
.verb:hover .verb__word, .verb:focus-within .verb__word { color: var(--accent); }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.hero__foot .lede { margin: 0; }
@media (max-width: 900px) {
  .verb { grid-template-columns: 1fr; gap: .6rem; }
}
@media (max-width: 700px) {
  .hero::after { display: none; }
  .hero__intro { padding-right: 0; }
}

/* ---------- En-tête des pages intérieures : traces de circuit du logo ---------- */
.page-hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); border-bottom: 1px solid var(--line); position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 70% at 92% 0%, color-mix(in srgb, var(--azure) 9%, transparent), transparent 72%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: 0; top: 50%; translate: 0 -50%; width: min(44vw, 560px); aspect-ratio: 520 / 300; background: var(--circuit) no-repeat right center / contain; }
.page-hero .display { max-width: 20ch; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero .btn-row { margin-top: 2rem; }
@media (max-width: 900px) { .page-hero::after { opacity: .45; width: 80vw; top: auto; bottom: -10%; translate: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0 0 1.75rem; font-size: var(--step--1); color: var(--text-3); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-2); }
.crumbs a { color: var(--text-2); }

/* ---------- Mise en page de section ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 1rem + 3vw, 5rem); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split > .prose { padding-top: .35rem; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }
.prose > * + * { margin-top: 1.1rem; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose li::marker { color: var(--azure); }
.prose h2 { font-size: var(--step-3); letter-spacing: -0.02em; margin-top: 2.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: 2rem; color: var(--text); }
.prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 3px solid var(--azure); font-size: var(--step-2); font-weight: 650; line-height: 1.35; color: var(--text); }
.section-head { display: grid; gap: 1rem; max-width: 52rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { color: var(--text-2); max-width: 62ch; }

/* ---------- Registre : liste de capacités (terme + définition) ---------- */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ledger > div { padding: 1.35rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.ledger > div:nth-child(odd) { padding-right: 2rem; }
.ledger > div:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.ledger dt { font-weight: 700; font-size: 1.0313rem; margin-bottom: .3rem; }
.ledger dd { margin: 0; color: var(--text-2); }
.ledger--single { grid-template-columns: 1fr; }
.ledger--single > div:nth-child(n) { padding-left: 0; padding-right: 0; border-left: 0; }
.ledger dt a { text-decoration: none; }
.ledger dt a:hover { color: var(--accent); }
@media (max-width: 700px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger > div:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Bloc d'expertise : titre à gauche, explication + registre à droite */
.chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 4.5rem); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.chapter__title h2 { font-size: var(--step-3); letter-spacing: -0.02em; position: sticky; top: 110px; }
.chapter__body > p { color: var(--text-2); max-width: 62ch; margin-bottom: 1.75rem; font-size: var(--step-1); line-height: 1.6; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; } .chapter__title h2 { position: static; } }

/* ---------- Produits ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; padding: clamp(1.5rem, 1rem + 2.5vw, 3.25rem); background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg) 78%); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.spotlight__text { display: grid; gap: 1.1rem; }
.spotlight__text .h2 { font-size: var(--step-4); }
.spotlight__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spotlight__facts dt { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--text); }
.spotlight__facts dd { margin: .35rem 0 0; font-size: var(--step--1); color: var(--text-3); }
.checks { list-style: none; padding: 0; display: grid; gap: .55rem; }
.checks li { position: relative; padding-left: 1.75rem; color: var(--text-2); }
.checks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .95rem; height: .5rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 960px) { .spotlight { grid-template-columns: 1fr; } }

.screen { margin: 0; border-radius: 14px; overflow: hidden; background: var(--screen-bg); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.screen__bar { display: flex; align-items: center; gap: .45rem; padding: .6rem .85rem; background: var(--screen-bar); border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--text-3); }
.screen__bar i { width: 9px; height: 9px; border-radius: 2px; background: var(--line-2); }
.screen__bar i:first-child { background: var(--azure); }
.screen__bar span { margin-left: .5rem; }
.screen img { width: 100%; height: auto; }
.screen figcaption { padding: .85rem 1rem; font-size: var(--step--1); color: var(--text-3); border-top: 1px solid var(--line); }
.screen figcaption strong { color: var(--text); font-weight: 650; }

.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); margin-top: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.platform { display: grid; gap: 1rem; align-content: start; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--bg); }
.platform h3 { font-size: clamp(1.5rem, 1.15rem + 1vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.15; }
.platform p { color: var(--text-2); }
.platform .btn-row { margin-top: .5rem; }
@media (max-width: 1100px) { .platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } .platforms > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- Étapes : une trace de circuit, une terminaison par étape ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 1.75rem 1.5rem 0 0; position: relative; border-top: 2px solid var(--line-2); }
.steps li + li { padding-left: 1.5rem; }
.steps li::after { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.steps li + li::after { left: 1.5rem; }
.steps li::before { content: counter(step); display: block; font-size: .875rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: .6rem; }
.steps h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.steps p, .steps small { color: var(--text-2); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-left: 7px; }
  .steps li, .steps li + li { border-top: 0; border-left: 2px solid var(--line-2); padding: 0 0 1.75rem 1.6rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::after, .steps li + li::after { top: 0; left: -8px; }
}

/* ---------- Principes / bénéfices (non séquentiels) ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 2vw, 2.5rem); }
.trio > div { padding-top: 1.25rem; border-top: 2px solid var(--line-2); }
.trio h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.trio p { color: var(--text-2); }
.trio--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .trio--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .trio, .trio--4 { grid-template-columns: 1fr; } }

/* Domaines d'intervention (Cabinet) */
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.domain { padding: 1.75rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; }
.domain__area { font-size: var(--step--1); color: var(--accent); font-weight: 650; }
.domain h3 { font-size: 1.25rem; }
.domain p { color: var(--text-2); }
.domain ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
@media (max-width: 1000px) { .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .domains { grid-template-columns: 1fr; } }

/* Chaîne (contrôle, pilotage) : séquence d'états */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; background: var(--bg-2); }
.chain li { padding: 1.4rem 1.25rem; display: grid; gap: .35rem; align-content: start; }
.chain li + li { border-left: 1px solid var(--line); }
.chain strong { font-size: 1.0938rem; }
.chain small { color: var(--text-3); font-size: var(--step--1); }
.chain .state { justify-self: start; margin-top: .5rem; font-size: .75rem; font-weight: 650; padding: .15rem .5rem; border-radius: var(--radius-tag); background: var(--ok-bg); color: var(--ok); }
@media (max-width: 860px) { .chain { grid-template-columns: 1fr 1fr; } .chain li:nth-child(3) { border-left: 0; } .chain li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .chain { grid-template-columns: 1fr; } .chain li + li { border-left: 0; border-top: 1px solid var(--line); } }

.note { padding: 1.5rem 1.75rem; border-radius: var(--radius-panel); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: .6rem; }
.note strong { font-size: 1.0625rem; }
.note p { color: var(--text-2); }

/* ---------- Appel final : bandeau bleu encre ---------- */
.cta-band {
  --text: #ffffff; --text-2: #c9d6f1; --text-3: #a5b6dc; --accent: #7ccaf2;
  --action: #ffffff; --action-hover: #dce9fb; --action-ink: var(--navy);
  --ghost-bd: rgba(255, 255, 255, .45); --tint: rgba(255, 255, 255, .1); --line: rgba(255, 255, 255, .16);
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem); position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: var(--text);
}
.cta-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: max(var(--gutter), calc((100% - var(--wrap)) / 2)); top: clamp(1.5rem, 1rem + 2vw, 3rem); width: clamp(90px, 3rem + 9vw, 190px); aspect-ratio: 200 / 170; background: var(--pixels-on-dark) no-repeat center / contain; opacity: .9; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem; align-items: end; }
.cta-band h2 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; max-width: 22ch; }
.cta-band p { color: var(--text-2); margin-top: 1rem; max-width: 56ch; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; align-items: start; } .cta-band h2 { padding-right: 90px; } }

/* ---------- Articles (Actualités) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.card { display: grid; gap: .75rem; align-content: start; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--bg); text-decoration: none; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.card:hover { border-color: var(--line-2); background: var(--bg-2); }
.card__meta { display: flex; gap: .75rem; font-size: var(--step--1); color: var(--text-3); }
.card h3 { font-size: 1.25rem; line-height: 1.25; }
.card p { color: var(--text-2); }
.card .link-strong { margin-top: .25rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.article { padding-block: clamp(3rem, 2rem + 3vw, 5.5rem); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.article__head { max-width: 50rem; margin-bottom: 2rem; }
.article__head h2 { font-size: var(--step-4); letter-spacing: -0.025em; line-height: 1.08; margin-top: .75rem; }
.article__body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.article__body aside { position: sticky; top: 110px; }
@media (max-width: 900px) { .article__body { grid-template-columns: 1fr; } .article__body aside { position: static; } }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-size: .9375rem; font-weight: 600; color: var(--text); }
.field .hint { font-size: var(--step--1); color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--radius-control);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 3px color-mix(in srgb, var(--action) 22%, transparent); }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--text-3) 80%, transparent); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; font-size: .9375rem; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--action); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.15rem; border-radius: var(--radius-control); border: 1px solid; font-size: .9688rem; }
.alert--ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-bg); color: var(--ok); }
.alert--error { border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: var(--bad-bg); color: var(--bad); }
.contact-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.contact-list a { color: var(--text); }

/* ---------- Questions fréquentes ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.35rem 0; font-size: var(--step-1); font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-4px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding: 0 0 1.5rem; color: var(--text-2); max-width: 70ch; }

/* ---------- Pied de page : le filet lumineux du logo ---------- */
.site-footer { position: relative; padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem; background: var(--bg-2); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--glow); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h2 { font-size: .9375rem; font-weight: 700; letter-spacing: 0; color: var(--text); margin-bottom: .9rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer-grid li { color: var(--text-2); font-size: .9375rem; }
.footer-grid a { color: var(--text-2); text-decoration: none; font-size: .9375rem; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand p { color: var(--text-3); margin-top: 1rem; max-width: 34ch; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--text-3); }
.footer-legal a { color: var(--text-3); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- PRMPpro ---------- */
.p-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.p-hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.1vw, 4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.p-hero .lede { margin-top: 1.5rem; }
.p-hero .btn-row { margin-top: 2rem; }
.trial-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; font-size: var(--step--1); color: var(--text-3); }
@media (max-width: 960px) { .p-hero { grid-template-columns: 1fr; } }
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.modules > section { padding: 1.5rem 1.5rem 1.5rem 0; }
.modules > section + section { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.modules h3 { font-size: 1.3125rem; letter-spacing: -0.02em; }
.modules > section > p { color: var(--text-3); font-size: var(--step--1); margin: .25rem 0 1.1rem; }
.modules dl { display: grid; gap: .9rem; }
.modules dt { font-weight: 650; }
.modules dd { margin: .1rem 0 0; color: var(--text-2); font-size: .9375rem; }
@media (max-width: 1000px) { .modules { grid-template-columns: 1fr 1fr; } .modules > section:nth-child(3) { border-left: 0; padding-left: 0; } .modules > section:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .modules { grid-template-columns: 1fr; } .modules > section + section { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }
.cycle { --steps: 7; }
@media (max-width: 1100px) and (min-width: 861px) { .cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.25rem; } .cycle li:nth-child(5) { padding-left: 0; } .cycle li:nth-child(5)::after { left: 0; } }
.audience { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; }
.audience li { padding: .55rem .95rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); font-size: .9375rem; background: var(--bg); }
.check-sheet { padding: 1.5rem; border: 1px solid var(--line-2); border-radius: var(--radius-card); background: var(--bg); box-shadow: var(--shadow); display: grid; gap: .9rem; }
.check-sheet__head { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); color: var(--text-3); }
.check-sheet ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.check-sheet li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.check-sheet .st { flex: none; font-size: .8125rem; font-weight: 650; padding: .1rem .5rem; border-radius: var(--radius-tag); white-space: nowrap; }
.st--ok { color: var(--ok); background: var(--ok-bg); }
.st--warn { color: var(--warn); background: var(--warn-bg); }
.st--wait { color: var(--text-2); background: var(--tint); }

/* Essai : parcours en trois temps */
.trial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.trial__steps { list-style: none; padding: 0; counter-reset: t; display: grid; gap: 1.25rem; }
.trial__steps li { counter-increment: t; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.trial__steps li::before { content: counter(t); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 2px solid var(--accent); font-weight: 700; color: var(--accent); }
.trial__steps h3 { font-size: 1.1563rem; margin: 0 0 .25rem; }
.trial__steps p { color: var(--text-2); }
.panel { padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border: 1px solid var(--line-2); border-radius: var(--radius-panel); background: var(--bg); box-shadow: var(--shadow); }
.download { display: grid; gap: .9rem; padding: 1.5rem; border-radius: var(--radius-card); background: linear-gradient(150deg, var(--tint) 0%, var(--bg-2) 100%); border: 1px solid var(--line-2); }
.download__meta { font-size: var(--step--1); color: var(--text-3); }
.download__tip { font-size: var(--step--1); color: var(--text-2); max-width: 52ch; }
.download__hash { font-size: var(--step--1); color: var(--text-3); }
.download__hash summary { cursor: pointer; width: fit-content; }
.download__hash code { display: block; margin-top: .4rem; font-size: .75rem; line-height: 1.5; word-break: break-all; color: var(--text-2); }
.key-box { font-variant-numeric: tabular-nums; font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; padding: .9rem 1rem; border-radius: var(--radius-control); border: 1.5px dashed var(--azure); color: var(--text); background: color-mix(in srgb, var(--azure) 7%, transparent); }
@media (max-width: 960px) { .trial { grid-template-columns: 1fr; } }

/* ---------- Espace presse ---------- */
.press-assets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; }
.press-asset { margin: 0; height: 100%; display: grid; grid-template-rows: 11rem auto; border: 1px solid var(--line-2); border-radius: var(--radius-panel); overflow: hidden; background: var(--bg-2); }
.press-asset img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.press-asset--light img { object-fit: contain; background: #fff; padding: 1rem; }
.press-asset figcaption { display: grid; gap: .2rem; padding: 1rem 1.15rem 1.15rem; border-top: 1px solid var(--line); background: var(--bg); }
.press-asset figcaption span { color: var(--text-3); font-size: var(--step--1); }
.press-asset figcaption a { justify-self: start; margin-top: .35rem; }

/* Variante compacte (pages de formulaire) */
.page-hero--compact { padding-top: clamp(2rem, 1.2rem + 2.5vw, 3.5rem); padding-bottom: clamp(2rem, 1.2rem + 2.5vw, 3.25rem); }
.page-hero--compact .display { font-size: var(--step-4); max-width: 24ch; }
.page-hero--compact .lede { margin-top: 1rem; }

/* ---------- 404 ---------- */
.lost { min-height: 60vh; display: grid; align-content: center; gap: 1.5rem; }

/* Onglets */
[role="tab"][aria-selected="true"] { --btn-bg: var(--text); --btn-fg: var(--bg); --btn-bd: var(--text); }
[role="tabpanel"][hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .btn, .hero::after, .page-hero::after { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Pages internationales (une par langue) ---------- */
.intl-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 1rem; }
.intl-lang { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; font-size: .9375rem; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.intl-lang svg { flex: none; }
@media (max-width: 560px) { .intl-contact { display: none; } }
.intl-lang:hover { color: var(--accent); }
.intl-hero .display { max-width: 22ch; }
.intl-note { margin-top: 1.25rem; font-size: var(--step--1); color: var(--text-3); max-width: 60ch; }
.platforms.platforms--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.platforms.platforms--four > :first-child { grid-column: auto; }
@media (max-width: 860px) { .platforms.platforms--four { grid-template-columns: 1fr; } }
.langs { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.langs a { display: inline-block; padding: .4rem .85rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--text-2); font-size: .9375rem; }
.langs a:hover { border-color: var(--accent); color: var(--accent); }
.langs a[aria-current="page"] { background: var(--tint); border-color: var(--tint-2); color: var(--text); font-weight: 650; }
.intl-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.intl-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: var(--text-2); }
.intl-footer a { color: var(--text-2); text-decoration: none; }
.intl-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-langs { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.footer-langs h2 { font-size: .9375rem; font-weight: 700; margin-bottom: .75rem; }
.footer-langs ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.15rem; }
.footer-langs a { color: var(--text-3); text-decoration: none; font-size: .875rem; }
.footer-langs a:hover { color: var(--accent); text-decoration: underline; }
/* Écritures non latines : pas d'approche négative, interlignage plus haut pour les signes au-dessus et au-dessous */
.intl--script, .intl--script * { letter-spacing: 0 !important; }
.intl--script :is(h1, h2, h3, .display, .h2, .h3) { line-height: 1.35; }
.intl--script { line-height: 1.75; }
/* Coréen : on coupe aux espaces, jamais au milieu d'un mot. Chinois et japonais : titres coupés aux points prévus. */
:lang(ko) { word-break: keep-all; }
:is(:lang(zh), :lang(ja)) :is(h1, h2, h3) { word-break: keep-all; overflow-wrap: anywhere; }
/* Écritures de droite à gauche */
[dir="rtl"] .page-hero::after { right: auto; left: 0; transform: scaleX(-1); }
.cta-band--stack .cta-band__inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
[dir="rtl"] .cta-band::after { right: auto; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); transform: scaleX(-1); }
[dir="rtl"] .steps li { padding: 1.75rem 0 0 1.5rem; }
[dir="rtl"] .steps li + li { padding-left: 1.5rem; padding-right: 1.5rem; }
[dir="rtl"] .steps li:first-child { padding-right: 0; }
[dir="rtl"] .steps li::after { left: auto; right: 0; }
[dir="rtl"] .steps li + li::after { right: 1.5rem; }
@media (max-width: 860px) {
  [dir="rtl"] .steps { padding-left: 0; padding-right: 7px; }
  [dir="rtl"] .steps li, [dir="rtl"] .steps li + li { border-left: 0; border-right: 2px solid var(--line-2); padding: 0 1.6rem 1.75rem 0; }
  [dir="rtl"] .steps li::after, [dir="rtl"] .steps li + li::after { right: -8px; left: auto; }
  [dir="rtl"] .cta-band h2 { padding-right: 0; padding-left: 90px; }
}

/* ---------- Guide d'utilisation (prmppro.binblood.com/guide/) ---------- */
.guide-meta { margin-top: .9rem; font-size: var(--step--1); color: var(--text-3); }
.guide { display: grid; grid-template-columns: 14.5rem minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.guide__toc { position: sticky; top: 104px; max-height: calc(100vh - 128px); overflow-y: auto; font-size: .9375rem; }
.guide__toc h2 { font-size: .875rem; font-weight: 700; color: var(--text-3); margin-bottom: .6rem; }
.guide__toc ol { list-style: none; padding: 0; margin: 0; }
.guide__toc > ol { border-left: 1px solid var(--line-2); }
.guide__toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); text-decoration: none; line-height: 1.35; }
.guide__toc a:hover, .guide__toc a:focus-visible { color: var(--accent); border-left-color: var(--accent); }
.guide__toc-sub { padding-bottom: .35rem !important; }
.guide__toc-sub a { padding: .2rem 0 .2rem 1.75rem; font-size: .875rem; color: var(--text-3); }
.guide__body { max-width: 47rem; min-width: 0; }
.guide__body > section { scroll-margin-top: 104px; }
.guide__body > section + section { margin-top: clamp(2.75rem, 2rem + 2.5vw, 4rem); padding-top: clamp(2.25rem, 1.75rem + 2vw, 3rem); border-top: 1px solid var(--line); }
.guide__body > section > * + * { margin-top: 1rem; }
.guide__body p, .guide__body li, .guide__body dd { color: var(--text-2); }
.guide__body strong { color: var(--text); }
.guide-list { padding-left: 1.2rem; display: grid; gap: .5rem; }
.guide-list li::marker { color: var(--accent); }
.guide-key { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; white-space: nowrap; color: var(--text); }
.guide-steps { list-style: none; padding: 0; counter-reset: gs; display: grid; gap: .85rem; }
.guide-steps li { counter-increment: gs; position: relative; padding-left: 2.6rem; min-height: 1.75rem; }
.guide-steps li::before { content: counter(gs); position: absolute; left: 0; top: -.05rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 700; color: var(--accent); border: 1.5px solid var(--accent); font-variant-numeric: tabular-nums; }
.guide-note { padding: 1rem 1.25rem; border-radius: var(--radius-card); background: var(--tint); border: 1px solid var(--tint-2); font-size: var(--step--1); }
.guide__body .guide-note { color: var(--text); }
/* Le parcours : une ligne de vie numérotée, une étape par module */
.parcours { list-style: none; padding: 0; counter-reset: pc; margin-top: 1.5rem !important; }
.parcours > li { counter-increment: pc; position: relative; padding: 0 0 1.75rem 3.4rem; }
.parcours > li::before { content: counter(pc); position: absolute; left: 0; top: -.1rem; z-index: 1; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #ffffff; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.parcours > li::after { content: ""; position: absolute; left: calc(1.1rem - 1px); top: 2.1rem; bottom: .15rem; width: 2px; background: var(--tint-2); }
.parcours > li:last-child { padding-bottom: 0; }
.parcours > li:last-child::after { display: none; }
.parcours__etape { font-weight: 750; font-size: var(--step-1); color: var(--text); margin-right: .65rem; }
.parcours__mod { display: inline-block; vertical-align: .12em; padding: .12rem .6rem; border-radius: 999px; background: var(--tint); border: 1px solid var(--tint-2); font-size: .8125rem; font-weight: 650; color: var(--accent); white-space: nowrap; }
.parcours p { margin-top: .4rem; }
.parcours .parcours__out { margin-top: .3rem; font-size: var(--step--1); font-weight: 600; color: var(--text); }
/* Fiches des modules */
.guide__body > section > .guide-group { font-size: var(--step-1); margin-top: 2.25rem; padding-bottom: .45rem; border-bottom: 2px solid var(--accent); width: fit-content; }
.fiche { padding: 1.6rem 0 1.85rem; border-bottom: 1px solid var(--line); scroll-margin-top: 104px; }
.guide__body > section > .fiche { margin-top: 0; }
.fiche h4 { font-size: var(--step-1); font-weight: 750; display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.guide__body .fiche__role { margin-top: .35rem; color: var(--text); font-size: 1.0625rem; }
.fiche__io { margin-top: 1rem; border-top: 1px solid var(--line); }
.fiche__io > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.25rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.fiche__io dt { font-weight: 700; color: var(--text); font-size: .9375rem; }
.fiche__io dd { margin: 0; }
.fiche h5 { margin-top: 1.15rem; font-size: .9375rem; font-weight: 700; color: var(--text); }
.fiche__steps { margin-top: .5rem; padding-left: 1.35rem; display: grid; gap: .4rem; }
.fiche__steps li::marker { color: var(--accent); font-weight: 700; }
.fiche__tip { margin-top: 1rem; padding: .85rem 1.1rem; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 12px 12px 0; font-size: var(--step--1); }
.guide-faults { display: grid; gap: .75rem; }
.guide-faults div { padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-card); }
.guide-faults dt { font-weight: 700; color: var(--text); }
.guide-faults dd { margin: .25rem 0 0; }
.guide-lexique { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.guide-lexique div { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.guide-lexique dt { font-weight: 700; color: var(--text); }
.guide-lexique dd { margin: 0; }
@media (max-width: 960px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide__toc { position: static; max-height: none; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-card); }
  .guide__toc > ol { border-left: 0; columns: 2; column-gap: 1.5rem; }
  .guide__toc a { padding: .3rem 0; border-left: 0; margin-left: 0; }
  .guide__toc-sub a { padding-left: .9rem; }
}
@media (max-width: 640px) {
  .fiche__io > div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .guide-lexique { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .guide__toc > ol { columns: 1; } }
