/* ==========================================================================
   CMX Consulting — feuille de style du site public
   Direction : l'atelier d'un intégrateur qui imprime. Repères d'imprimeur
   (traits de coupe, mire de repérage, barre CMJN) sur une mise en page nette.
   ========================================================================== */

@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Urbanist"; src: url("../fonts/urbanist-800.woff2") format("woff2"); font-weight: 750 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.woff2") format("woff2"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Layout : colonne large de 1180 px, sections en bandes, grilles qui passent à une colonne sous 900 px */
:root {
  --paper: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #eceff2;
  --ink: #10161c;
  --muted: #56626e;
  --line: #d8dee4;
  --accent: #47409d;
  --accent-ink: #ffffff;
  --accent-soft: #e6e4f5;
  --cyan: #3298d2;
  --magenta: #d6246e;
  --yellow: #f2c200;
  --key: #10161c;
  --band: #10161c;
  --band-ink: #eef2f5;
  --band-muted: #9ba8b4;
  --band-line: #2a3440;
  --term-bg: #0d1318;
  --term-ink: #d7e2ea;
  --term-dim: #6f808f;
  --term-ok: #4fd18b;
  --sheet: #ffffff;
  --good: #1d7f47;
  --warn: #a86a0c;
  --bad: #b8322a;
  --good-soft: #e0f1e6;
  --warn-soft: #f7ebd4;
  --bad-soft: #f7e0de;
  --shadow: 0 1px 2px rgba(16, 22, 28, .06), 0 12px 32px -12px rgba(16, 22, 28, .18);

  --f-display: "Urbanist", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.6vw, 5.25rem);

  --radius: 10px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1116; --surface: #131a21; --surface-2: #1a232c; --ink: #e6edf2; --muted: #9aa8b4; --line: #26313c;
    --accent: #a49cf0; --accent-ink: #15123a; --accent-soft: #25214a;
    --cyan: #62bef0; --magenta: #f0619b; --yellow: #ffd23f; --key: #e6edf2;
    --band: #070b0e; --band-ink: #eef2f5; --band-muted: #93a1ad; --band-line: #222c36;
    --term-bg: #070b0e; --sheet: #f4f6f7;
    --good: #52c485; --warn: #e3a646; --bad: #f0746a;
    --good-soft: #15321f; --warn-soft: #382a13; --bad-soft: #3b1b19;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1116; --surface: #131a21; --surface-2: #1a232c; --ink: #e6edf2; --muted: #9aa8b4; --line: #26313c;
  --accent: #a49cf0; --accent-ink: #15123a; --accent-soft: #25214a;
  --cyan: #62bef0; --magenta: #f0619b; --yellow: #ffd23f; --key: #e6edf2;
  --band: #070b0e; --band-ink: #eef2f5; --band-muted: #93a1ad; --band-line: #222c36;
  --term-bg: #070b0e; --sheet: #f4f6f7;
  --good: #52c485; --warn: #e3a646; --bad: #f0746a;
  --good-soft: #15321f; --warn-soft: #382a13; --bad-soft: #3b1b19;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.stack { display: grid; gap: 16px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none; background:
  linear-gradient(var(--ink), var(--ink)) center / 100% 1.5px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 1.5px 100% no-repeat; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head h2 { font-size: var(--step-3); }
.mono { font-family: var(--f-mono); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 1rem/1 var(--f-body); padding: 15px 22px; border-radius: 8px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--band-ink); color: var(--band); }
.btn-light:hover { background: var(--yellow); color: #10161c; }
.btn-sm { padding: 10px 14px; font-size: .9375rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { border-color: currentColor; color: var(--accent); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark .ring, .brand-mark .cross { fill: none; stroke: currentColor; stroke-width: 2; }
.brand-mark .dot { fill: var(--magenta); }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1; }
.brand-name small { font-family: var(--f-mono); font-weight: 400; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; }
.site-nav a:not(.btn) { display: block; padding: 8px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96875rem; }
.site-nav a:not(.btn):hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle { display: none; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--line); color: var(--ink); border-radius: 8px; padding: 9px 12px; font: 600 .9375rem var(--f-body); cursor: pointer; }
.nav-toggle .bars { width: 18px; height: 12px; position: relative; }
.nav-toggle .bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle .bars i:nth-child(1) { top: 0; } .nav-toggle .bars i:nth-child(2) { top: 5px; } .nav-toggle .bars i:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav a[aria-current="page"]::after { display: none; }
}

/* ---------- Repères d'imprimeur ---------- */
.cmyk-bar { display: grid; grid-template-columns: repeat(4, 1fr); height: 6px; }
.cmyk-bar i { display: block; }
.cmyk-bar i:nth-child(1) { background: var(--cyan); }
.cmyk-bar i:nth-child(2) { background: var(--magenta); }
.cmyk-bar i:nth-child(3) { background: var(--yellow); }
.cmyk-bar i:nth-child(4) { background: var(--key); }

.crop { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: 22px; height: 1.5px; }
.crop::after { width: 1.5px; height: 22px; }
.crop.tl { top: -30px; left: -30px; } .crop.tl::before { bottom: 0; left: 0; } .crop.tl::after { right: 0; top: 0; }
.crop.tr { top: -30px; right: -30px; } .crop.tr::before { bottom: 0; right: 0; } .crop.tr::after { left: 0; top: 0; }
.crop.bl { bottom: -30px; left: -30px; } .crop.bl::before { top: 0; left: 0; } .crop.bl::after { right: 0; bottom: 0; }
.crop.br { bottom: -30px; right: -30px; } .crop.br::before { top: 0; right: 0; } .crop.br::after { left: 0; bottom: 0; }

.reg { width: 28px; height: 28px; color: var(--ink); }
.reg circle, .reg path { fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Actions et étiquettes (en-têtes) ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--cyan)); }
.hero-tags span:nth-child(2) { --c: var(--magenta); } .hero-tags span:nth-child(3) { --c: var(--yellow); } .hero-tags span:nth-child(4) { --c: var(--key); }

/* ---------- Listes à puces carrées ---------- */
.checklist { list-style: none; display: grid; gap: 8px; margin: 4px 0 6px; font-size: .96875rem; align-content: start; }
.checklist li { display: flex; gap: 10px; align-items: baseline; }
.checklist li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--sv, var(--accent)); transform: translateY(-1px); }

/* ---------- Bande sombre (diagnostic) ---------- */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--band-muted); }
.band .eyebrow::before { background:
  linear-gradient(var(--band-ink), var(--band-ink)) center / 100% 1.5px no-repeat,
  linear-gradient(var(--band-ink), var(--band-ink)) center / 1.5px 100% no-repeat; }
.band .lead { color: var(--band-muted); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.band h2 { font-size: var(--step-3); }
.band-copy { display: grid; gap: 20px; }
.band-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: .8125rem; color: var(--band-muted); }
.band-facts b { color: var(--band-ink); font-weight: 500; }
.score-card { border: 1px solid var(--band-line); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; background: rgba(255, 255, 255, .02); }
.score-card-head { display: flex; align-items: center; gap: 20px; }
.score-num { font-family: var(--f-display); font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.score-num small { font-family: var(--f-mono); font-size: .875rem; font-weight: 400; color: var(--band-muted); letter-spacing: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.good { background: var(--good-soft); color: var(--good); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.band .pill.warn { background: rgba(242, 194, 0, .14); color: var(--yellow); }
.mini-bars { display: grid; gap: 10px; font-size: .875rem; }
.mini-bar { display: grid; grid-template-columns: minmax(0, 150px) 1fr 32px; gap: 12px; align-items: center; color: var(--band-muted); }
.mini-bar .track { height: 6px; border-radius: 3px; background: var(--band-line); overflow: hidden; }
.mini-bar .track i { display: block; height: 100%; border-radius: 3px; }
.mini-bar .v { font-family: var(--f-mono); font-size: .75rem; text-align: right; color: var(--band-ink); }
.w-82 { width: 82%; } .w-45 { width: 45%; } .w-67 { width: 67%; } .w-30 { width: 30%; }
.bg-good { background: var(--good); } .bg-warn { background: var(--warn); } .bg-bad { background: var(--bad); }
.band .bg-good { background: #4fd18b; } .band .bg-warn { background: var(--yellow); } .band .bg-bad { background: #f0746a; }
.sample-tag { font-family: var(--f-mono); font-size: .6875rem; color: var(--band-muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .band-grid { grid-template-columns: 1fr; } }

/* ---------- Méthode ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { display: grid; gap: 12px; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps .num { font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); letter-spacing: .1em; }
.steps h3 { font-size: var(--step-1); font-weight: 700; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cartes références ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.ref-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.ref-body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; }
.ref-body h3 { font-size: var(--step-2); }
.ref-body p { color: var(--muted); }
.ref-domain { font-family: var(--f-mono); font-size: .8125rem; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); background: var(--paper); }
@media (max-width: 760px) { .ref-grid { grid-template-columns: 1fr; } }

/* Maquettes de navigateur (visuels d'illustration des références) */
.browser { background: var(--surface-2); border-bottom: 1px solid var(--line); padding: 12px 12px 0; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 0 4px 10px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: 8px; flex: 1; font-family: var(--f-mono); font-size: .6875rem; color: var(--muted); background: var(--surface); border-radius: 5px; padding: 4px 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-view { aspect-ratio: 16 / 9; border-radius: 6px 6px 0 0; overflow: hidden; position: relative; }
.view-happy { background: linear-gradient(135deg, #1d1440, #d6246e 70%, #f2a900); display: grid; place-items: center; }
.strip { display: grid; gap: 6px; background: #fff; padding: 8px 8px 22px; width: 26%; transform: rotate(-6deg); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.strip i { display: block; aspect-ratio: 4 / 3; background: linear-gradient(160deg, #ffd23f, #f0619b); }
.strip i:nth-child(2) { background: linear-gradient(160deg, #3cc0ee, #1d1440); }
.strip i:nth-child(3) { background: linear-gradient(160deg, #f0619b, #6b2bd6); }
.strip.alt { position: absolute; right: 16%; top: 16%; transform: rotate(8deg); width: 20%; }
.view-market { background: #f3f5f9; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; align-content: start; }
.view-market .nav { grid-column: 1 / -1; height: 14px; border-radius: 3px; background: #10161c; width: 40%; }
.view-market i { aspect-ratio: 3 / 2; border-radius: 3px; background: var(--tile, #e4e8ee); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.view-market i:nth-child(2) { --tile: linear-gradient(135deg, #ffe0ec, #d6246e); } .view-market i:nth-child(3) { --tile: linear-gradient(135deg, #1b2330, #3cc0ee); }
.view-market i:nth-child(4) { --tile: linear-gradient(135deg, #fff6d6, #f2c200); } .view-market i:nth-child(5) { --tile: linear-gradient(135deg, #e7f6ee, #1d7f47); }
.view-market i:nth-child(6) { --tile: linear-gradient(135deg, #0e1116, #6f808f); } .view-market i:nth-child(7) { --tile: linear-gradient(135deg, #fbe3d4, #d9632b); }
.view-market i:nth-child(8) { --tile: linear-gradient(135deg, #e6e9ff, #4b5bd6); } .view-market i:nth-child(9) { --tile: linear-gradient(135deg, #ffe0ec, #10161c); }

/* ---------- Appel final ---------- */
.cta-final { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: end; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.cta-final h2 { font-size: var(--step-3); max-width: 18ch; }
.cta-final p { color: var(--muted); margin-top: 14px; max-width: 52ch; }
.cta-final .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 760px) { .cta-final { grid-template-columns: 1fr; } }

/* ---------- Réseaux sociaux ---------- */
.social { list-style: none; display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.social a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.social .icon { width: 18px; height: 18px; }
.social-list { list-style: none; display: grid; gap: 10px; }
.social-list a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.social-list a .ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .15s ease, color .15s ease; }
.social-list a:hover .ico { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.social-list .icon { width: 17px; height: 17px; }
.social-list small { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); font-weight: 400; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: var(--section); }
.site-footer .cmyk-bar { height: 4px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px 40px; }
.footer-grid h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-about { display: grid; gap: 16px; max-width: 40ch; color: var(--muted); font-size: .9375rem; }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 5vw, 64px); }
.page-hero .container { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.25rem); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; }
.page-hero .lead { max-width: 62ch; }

/* ---------- Références (page) ---------- */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.case:nth-of-type(even) .case-visual { order: 2; }
.case-visual { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.case-copy { display: grid; gap: 16px; }
.case-copy h2 { font-size: var(--step-3); }
.case-copy .kicker { font-family: var(--f-mono); font-size: .8125rem; color: var(--muted); }
.case-copy > p { color: var(--muted); }
.case-roles { list-style: none; display: grid; gap: 8px; }
.case-roles li { display: flex; gap: 10px; align-items: baseline; }
.case-roles li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--magenta); transform: translateY(-1px); }
.case-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case:nth-of-type(even) .case-visual { order: 0; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { font: 500 .9375rem var(--f-body); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .count { font-family: var(--f-mono); font-size: .75rem; opacity: .7; margin-left: 4px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.work { display: grid; gap: 12px; margin: 0; align-content: start; }
.work-btn { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); border-radius: 8px; overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 4 / 5; }
.work-btn picture { display: block; height: 100%; }
.work-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out, ease); }
.work-btn:hover img { transform: scale(1.03); }
.work-badge { position: absolute; left: 10px; top: 10px; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; background: var(--surface); color: var(--muted); padding: 3px 7px; border-radius: 4px; }
.work-meta { display: grid; gap: 2px; }
.work-meta h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.work-meta span { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.gallery-empty { padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }

.lightbox { border: 0; padding: 0; width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox::backdrop { background: rgba(8, 12, 16, .78); backdrop-filter: blur(4px); }
.lightbox-inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); max-height: calc(100vh - 32px); }
.lightbox-media { background: var(--surface-2); display: grid; place-items: center; min-height: 0; overflow: auto; }
.lightbox-media img { max-height: calc(100vh - 32px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox-info { padding: 28px; display: grid; gap: 12px; align-content: start; overflow: auto; }
.lightbox-info h2 { font-size: var(--step-2); }
.lightbox-info p { color: var(--muted); }
.lightbox-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 8px 0 0; font-size: .9375rem; }
.lightbox-info dt { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
.lightbox-info dd { margin: 0; }
.lightbox-nav { display: flex; gap: 8px; margin-top: 12px; }
.lightbox-close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
@media (max-width: 760px) { .lightbox-inner { grid-template-columns: 1fr; } .lightbox-media img { max-height: 60vh; } }

/* ---------- Formulaires ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 36px); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .9375rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .8125rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .875rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check.has-error { color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .9375rem; }
.form-status.error { color: var(--bad); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.notice { padding: 16px 18px; border-radius: 8px; font-size: .96875rem; display: grid; gap: 4px; }
.notice.good { background: var(--good-soft); color: var(--ink); border-left: 4px solid var(--good); }
.notice.bad { background: var(--bad-soft); color: var(--ink); border-left: 4px solid var(--bad); }
.notice strong { font-weight: 700; }
.success-panel { display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.success-panel h2 { font-size: var(--step-2); }
.success-panel p { color: var(--muted); }
.aside { display: grid; gap: 32px; }
.aside-block { display: grid; gap: 12px; }
.aside-block h2 { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aside-block p { color: var(--muted); }
.aside-promo { background: var(--band); color: var(--band-ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.aside-promo h2 { font-family: var(--f-display); font-size: var(--step-1); letter-spacing: -.01em; text-transform: none; color: var(--band-ink); font-weight: 700; }
.aside-promo p { color: var(--band-muted); }
.aside-promo .btn { justify-self: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Texte long (mentions légales) ---------- */
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { font-size: var(--step-2); margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 20px; display: grid; gap: 6px; }
.todo { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 3px; font-family: var(--f-mono); font-size: .875em; }

/* ---------- Page d'erreur ---------- */
.error-page { padding-block: clamp(64px, 10vw, 140px); }
.error-page .container { display: grid; gap: 20px; justify-items: start; }
.error-code { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .85; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.error-page pre { max-width: 100%; overflow: auto; background: var(--surface-2); padding: 16px; border-radius: 8px; font-size: .8125rem; }

/* ---------- Diagnostic ---------- */
.dx { display: grid; gap: 24px; max-width: 860px; }
.dx-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.dx-steps { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.dx-step { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; font: 500 .8125rem var(--f-body); color: var(--muted); padding: 7px 10px; border-radius: 6px; white-space: nowrap; background: none; border: 1px solid transparent; cursor: pointer; }
.dx-step .n { font-family: var(--f-mono); font-size: .75rem; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.dx-step[aria-current="step"] { color: var(--ink); border-color: var(--line); background: var(--surface-2); font-weight: 600; }
.dx-step[aria-current="step"] .n { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dx-step.done .n { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.dx-step:disabled { cursor: default; opacity: .55; }
.dx-progress { height: 3px; background: var(--surface-2); }
.dx-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--magenta)); transition: width .3s ease; }
.dx-panel { padding: 24px clamp(18px, 3vw, 28px) 8px; display: grid; gap: 28px; }
.dx-panel h2 { font-size: var(--step-2); }
.dx-panel .intro { margin-top: 6px; color: var(--muted); }
.dx fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.dx legend { font-weight: 600; padding: 0; margin-bottom: 10px; display: flex; gap: 12px; line-height: 1.45; }
.dx legend .qn { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); padding-top: 3px; flex: none; }
.dx fieldset.missing legend { color: var(--bad); }
.dx-opts { display: grid; gap: 8px; }
.dx-opt { position: relative; display: block; cursor: pointer; }
.dx-opt input { position: absolute; opacity: 0; pointer-events: none; }
.dx-opt span { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 8px; font-size: .96875rem; background: var(--surface); transition: border-color .15s, background-color .15s; }
.dx-opt span::before { content: ""; flex: none; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%; border: 1.5px solid var(--muted); background: var(--surface); }
.dx-opt:hover span { border-color: var(--muted); }
.dx-opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.dx-opt input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3.5px var(--surface); }
.dx-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.dx-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(18px, 3vw, 28px) 22px; }
.dx-nav .msg { color: var(--bad); font-size: .9375rem; flex: 1 1 200px; min-width: 0; }
.dx-demo { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }

.dx-report-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.gauge { width: 140px; height: 140px; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--surface-2); stroke-width: 10; }
.gauge .value { fill: none; stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.gauge .value.good { stroke: var(--good); } .gauge .value.warn { stroke: var(--warn); } .gauge .value.bad { stroke: var(--bad); }
.gauge .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge .val b { font-family: var(--f-display); font-size: 2.75rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.gauge .val small { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.dx-verdict { display: grid; gap: 10px; min-width: 0; }
.dx-verdict h2 { font-size: var(--step-2); }
.dx-verdict p { color: var(--muted); }
.dx-sample { font-family: var(--f-mono); font-size: .75rem; color: var(--warn); }
.dx-section { padding: 24px clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.dx-section h3 { font-size: var(--step-1); }
.dx-bars { display: grid; gap: 12px; }
.dx-bar { display: grid; grid-template-columns: minmax(0, 200px) 1fr 44px; gap: 14px; align-items: center; font-size: .9375rem; }
.dx-bar .track { height: 10px; background: var(--surface-2); border-radius: 5px; overflow: hidden; }
.dx-bar .track i { display: block; height: 100%; border-radius: 5px; width: 0; transition: width .6s ease; }
.dx-bar .pct { font-family: var(--f-mono); font-size: .8125rem; text-align: right; font-variant-numeric: tabular-nums; }
.dx-recs { list-style: none; display: grid; gap: 10px; }
.dx-rec { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 0 16px; padding: 16px 16px 16px 0; background: var(--paper); border-radius: 8px; overflow: hidden; }
.dx-rec .stripe { grid-row: 1 / span 3; }
.dx-rec h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.dx-rec p { margin-top: 4px; font-size: .9375rem; color: var(--muted); max-width: 70ch; }
.dx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag.urgent { color: var(--bad); border-color: var(--bad); }
.tag.important { color: var(--warn); border-color: var(--warn); }
.dx-more summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.dx-more summary::marker { color: var(--muted); }
.dx-more .dx-recs { margin-top: 12px; }
.dx-capture { padding: clamp(22px, 3vw, 32px) clamp(18px, 3vw, 28px); background: var(--band); color: var(--band-ink); border-radius: 0 0 var(--radius) var(--radius); display: grid; gap: 18px; }
.dx-capture h3 { font-size: var(--step-2); }
.dx-capture > p { color: var(--band-muted); max-width: 62ch; }
.dx-capture .field label, .dx-capture .field .label { color: var(--band-ink); }
.dx-capture .field .opt { color: var(--band-muted); }
.dx-capture .field input, .dx-capture .field select { background: rgba(255, 255, 255, .06); border-color: var(--band-line); color: var(--band-ink); }
.dx-capture .field select option { color: #10161c; }
.dx-capture .check { color: var(--band-muted); }
.dx-capture .check a { color: var(--band-ink); }
.dx-capture .form-status.error { color: #f0746a; }
.dx-capture .notice.good { background: rgba(79, 209, 139, .12); color: var(--band-ink); }
.dx-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 4px; }
.dx-tools .copied { color: var(--band-muted); font-size: .875rem; }
.dx-tools .btn-outline { border-color: var(--band-line); color: var(--band-ink); }
.dx-tools .btn-outline:hover { background: var(--band-ink); color: var(--band); }
.bg-cyan { background: var(--cyan); }
@media (max-width: 600px) {
  .dx-report-head { grid-template-columns: 1fr; justify-items: start; }
  .dx-bar { grid-template-columns: 1fr 44px; }
  .dx-bar .label { grid-column: 1 / -1; }
  .dx-step .t { display: none; }
  .dx-step { flex: 1 1 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Compléments ---------- */
.section-links { margin-top: 28px; }
.dx-foot { font-size: .875rem; color: var(--muted); max-width: 72ch; }
.page-hero .hero-tags { margin-top: 4px; }
.brand-logo { height: 34px; width: auto; max-width: min(240px, 58vw); object-fit: contain; }
.site-footer .brand-logo { height: 40px; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.brand-label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Cybersécurité : hub, particuliers, guide, alertes, inscription
   ========================================================================== */
.btn-ghost-light { border-color: var(--band-line); color: var(--band-ink); background: transparent; }
.btn-ghost-light:hover { border-color: var(--band-ink); }
.section-tight { margin-top: clamp(40px, 6vw, 72px); }
.narrow { max-width: 760px; }

.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); }
.audience-card { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.audience-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cyan); }
.audience-card.alt::before { background: var(--magenta); }
.audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.audience-card h2 { font-size: var(--step-2); }
.audience-card p { color: var(--muted); }
.audience-card .link-arrow { justify-self: start; margin-top: 6px; }
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }

.alert-list { list-style: none; display: grid; gap: 12px; }
.alert-item a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.alert-item.sev-haute a { border-left-color: var(--bad); }
.alert-item.sev-moyenne a { border-left-color: var(--warn); }
.alert-item.sev-info a { border-left-color: var(--cyan); }
.alert-item a:hover { box-shadow: var(--shadow); }
.alert-item a:hover .alert-title { color: var(--accent); }
.alert-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.alert-kind { text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 500; }
.alert-title { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.01em; }
.alert-summary { color: var(--muted); font-size: .96875rem; }
.alert-article { display: grid; gap: 24px; max-width: 820px; padding-block: clamp(32px, 5vw, 64px) 0; }
.back-link { color: var(--muted); text-decoration: none; font-size: .9375rem; }
.back-link:hover { color: var(--accent); }
.alert-head { display: grid; gap: 14px; }
.alert-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; }
.alert-body h2 { font-size: var(--step-1); }
.alert-body a { overflow-wrap: anywhere; }
.alert-help { display: grid; gap: 4px; padding: 16px 18px; border-radius: 8px; background: var(--accent-soft); font-size: .9375rem; }

.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--band); color: var(--band-ink); }
.subscribe .eyebrow { color: var(--band-muted); }
.subscribe .eyebrow::before { background: linear-gradient(var(--band-ink), var(--band-ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--band-ink), var(--band-ink)) center / 1.5px 100% no-repeat; }
.subscribe-copy { display: grid; gap: 14px; }
.subscribe h2 { font-size: var(--step-2); }
.subscribe-copy p { color: var(--band-muted); }
.subscribe .field label, .subscribe .field .label { color: var(--band-ink); }
.subscribe .field .opt { color: var(--band-muted); }
.subscribe .field input { background: rgba(255, 255, 255, .06); border-color: var(--band-line); color: var(--band-ink); }
.subscribe .check { color: var(--band-muted); }
.subscribe .check a { color: var(--band-ink); }
.subscribe .form-status.error { color: #f0746a; }
.subscribe .notice.good { background: rgba(79, 209, 139, .12); color: var(--band-ink); }
@media (max-width: 860px) { .subscribe { grid-template-columns: 1fr; } }

.notice .guide-open { justify-self: start; margin-top: 8px; }

/* Guide personnalisé */
.guide-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; }
.guide-hero h1 { max-width: 20ch; }
.guide-score { display: grid; justify-items: center; gap: 12px; }
.guide-private { font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.guide-domains { display: grid; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dx-bar .track i.pct-5 { width: 5%; }
.dx-bar .track i.pct-10 { width: 10%; }
.dx-bar .track i.pct-15 { width: 15%; }
.dx-bar .track i.pct-20 { width: 20%; }
.dx-bar .track i.pct-25 { width: 25%; }
.dx-bar .track i.pct-30 { width: 30%; }
.dx-bar .track i.pct-35 { width: 35%; }
.dx-bar .track i.pct-40 { width: 40%; }
.dx-bar .track i.pct-45 { width: 45%; }
.dx-bar .track i.pct-50 { width: 50%; }
.dx-bar .track i.pct-55 { width: 55%; }
.dx-bar .track i.pct-60 { width: 60%; }
.dx-bar .track i.pct-65 { width: 65%; }
.dx-bar .track i.pct-70 { width: 70%; }
.dx-bar .track i.pct-75 { width: 75%; }
.dx-bar .track i.pct-80 { width: 80%; }
.dx-bar .track i.pct-85 { width: 85%; }
.dx-bar .track i.pct-90 { width: 90%; }
.dx-bar .track i.pct-95 { width: 95%; }
.dx-bar .track i.pct-100 { width: 100%; }
.guide-actions { list-style: none; display: grid; gap: 18px; }
.guide-action { display: grid; gap: 14px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: var(--radius); background: var(--surface); }
.guide-action.prio-urgent { border-left-color: var(--bad); }
.guide-action.prio-conseil { border-left-color: var(--good); }
.guide-action-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.guide-action h3 { font-size: var(--step-1); }
.guide-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .875rem; background: var(--ink); color: var(--paper); }
.guide-answer { font-size: .875rem; color: var(--muted); font-style: italic; }
.guide-why { max-width: 70ch; }
.guide-steps { display: grid; gap: 8px; padding-left: 22px; max-width: 70ch; }
.guide-steps li::marker { color: var(--accent); font-weight: 700; }
.offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 16px 18px; border-radius: 8px; background: var(--accent-soft); }
.offer-copy { display: grid; gap: 3px; min-width: 0; flex: 1 1 280px; font-size: .9375rem; }
.offer-label { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.offer-promo { font-weight: 700; color: var(--good); }
.offer-alt { font-size: .875rem; color: var(--muted); }
.disclosure { margin-top: 18px; font-size: .8125rem; color: var(--muted); max-width: 80ch; }
.guide-strengths { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--good-soft); }
.guide-strengths h2 { font-size: var(--step-1); }
.guide-strengths .checklist li::before { background: var(--good); }
.reflexes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; padding-left: 22px; }
.reflexes li { padding-left: 4px; }
.reflexes li::marker { font-family: var(--f-mono); color: var(--accent); }
@media (max-width: 760px) { .guide-hero-grid { grid-template-columns: 1fr; } .guide-score { justify-items: start; } .reflexes { grid-template-columns: 1fr; } }

/* ==========================================================================
   Studio 2026 — direction artistique
   Nuit d'encre, pigments CMJN en pleine page, typographie monumentale,
   photos en parallaxe. Les repères d'imprimeur restent la signature.
   ========================================================================== */
:root {
  --night: #0b0a12;
  --night-2: #14121f;
  --night-ink: #f3f1fa;
  --night-muted: #a9a5bd;
  --night-line: rgba(255, 255, 255, .14);
  --glow-a: #7b6cff;
  --glow-b: #3298d2;
  --glow-c: #e0337e;
  --ease-out: cubic-bezier(.16, .84, .24, 1);
  --header-h: 76px;
}

/* ---------- Boutons supplémentaires ---------- */
.btn-glow { color: #fff; background: linear-gradient(100deg, var(--glow-a), var(--glow-b)); box-shadow: 0 14px 40px -14px rgba(123, 108, 255, .85); border: 0; padding: 16.5px 24px; }
.btn-glow:hover { color: #fff; box-shadow: 0 18px 48px -12px rgba(224, 51, 126, .7); background: linear-gradient(100deg, var(--glow-c), var(--glow-a)); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .02); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Images en parallaxe (agrandies de 15 % en haut et en bas) ---------- */
.px-frame, .hx-media, .px-band-media, .finale-media, .page-hero-media { overflow: hidden; }
.px-frame { position: relative; background: var(--surface-2); }
.hx-media, .px-band-media, .finale-media, .page-hero-media { position: absolute; inset: 0; z-index: 0; background: var(--night); }
:is(.px-frame, .hx-media, .px-band-media, .finale-media, .page-hero-media) picture { position: absolute; inset: 0; display: block; }
:is(.px-frame, .hx-media, .px-band-media, .finale-media, .page-hero-media) img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; max-width: none; object-fit: cover; }
img.is-parallax { will-change: transform; }

/* ---------- En-tête au-dessus d'une photo ---------- */
.has-media-hero .site-header { position: fixed; top: 0; left: 0; right: 0; background: transparent; color: var(--night-ink); backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .3s ease, border-color .3s ease; }
.has-media-hero .site-header.is-scrolled { background: rgba(11, 10, 18, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: rgba(255, 255, 255, .08); }
.has-media-hero .site-header .logo-light { display: none; }
.has-media-hero .site-header .logo-dark { display: block; }
.has-media-hero .site-nav a:not(.btn) { color: var(--night-ink); }
.has-media-hero .site-nav a:not(.btn):hover { background: rgba(255, 255, 255, .1); }
.has-media-hero .site-nav a[aria-current="page"] { color: #fff; }
.has-media-hero .site-nav .btn-primary { background: #fff; color: var(--night); }
.has-media-hero .site-nav .btn-primary:hover { background: var(--glow-a); color: #fff; }
.has-media-hero .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 960px) {
  .has-media-hero .site-nav { background: var(--night); border-bottom-color: rgba(255, 255, 255, .08); }
  .has-media-hero .site-nav a:not(.btn) { border-bottom-color: rgba(255, 255, 255, .1); }
  .has-media-hero .site-header:has(.site-nav.is-open) { background: var(--night); }
}

/* ---------- Ouverture (accueil) ---------- */
.hx { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; color: var(--night-ink); background: var(--night); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 clamp(96px, 12vh, 140px); }
.hx-media img { object-position: 62% 50%; }
.hx-media::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(120% 80% at 70% 45%, transparent 0%, rgba(11, 10, 18, .35) 55%, rgba(11, 10, 18, .9) 100%),
  linear-gradient(180deg, rgba(11, 10, 18, .7) 0%, rgba(11, 10, 18, 0) 28%, rgba(11, 10, 18, 0) 55%, rgba(11, 10, 18, .92) 100%); }
.hx-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"); }
.hx-marks { position: absolute; z-index: 2; inset: calc(var(--header-h) + 18px) clamp(14px, 3vw, 36px) clamp(14px, 3vw, 36px); pointer-events: none; }
.hx-marks .crop::before, .hx-marks .crop::after { background: rgba(255, 255, 255, .55); }
.hx-marks .crop.tl { top: 0; left: 0; } .hx-marks .crop.tr { top: 0; right: 0; } .hx-marks .crop.bl { bottom: 0; left: 0; } .hx-marks .crop.br { bottom: 0; right: 0; }
.hx-reg { position: absolute; right: -6px; top: 42%; color: rgba(255, 255, 255, .6); }
.hx-inner { position: relative; z-index: 3; display: grid; gap: clamp(22px, 3vw, 36px); }
.hx-kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); }
.hx-kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 4px rgba(79, 209, 139, .18); }
.hx-title { font-size: clamp(3.4rem, .6rem + 11.2vw, 12rem); font-weight: 800; line-height: .84; letter-spacing: -.055em; color: #fff; margin-left: -.04em; }
.hx-title .ln { display: block; overflow: hidden; padding: 0 .06em .07em 0; margin-bottom: -.07em; }
.hx-title .ln > span { display: inline-block; }
.hx-title .ink-m { background: linear-gradient(95deg, #ff6aa8 0%, #e0337e 40%, #ffb347 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-title .outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .92); }
.hx-foot { display: grid; grid-template-columns: minmax(0, 46ch) auto; gap: 24px 48px; align-items: end; justify-content: space-between; }
.hx-lead { font-size: clamp(1.0625rem, .95rem + .45vw, 1.3rem); line-height: 1.55; color: rgba(243, 241, 250, .82); }
.hx-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hx-meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(26px, 4vh, 44px); display: flex; justify-content: space-between; padding-inline: clamp(44px, 6vw, 84px); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 241, 250, .55); }
.hx-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hx-scroll i { position: relative; width: 1px; height: 34px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hx-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; }
@media (max-width: 860px) {
  .hx-foot { grid-template-columns: 1fr; }
  .hx-meta span:first-child, .hx-meta span:last-child { display: none; }
  .hx-meta { justify-content: center; }
  .hx-title .outline { -webkit-text-stroke-width: 1.5px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hx-title .ln > span { animation: rise 1.1s var(--ease-out) both; }
  .js .hx-title .ln:nth-child(3) > span { animation-delay: .12s; }
  .js .hx-title .ln:nth-child(4) > span { animation-delay: .24s; }
  .js .hx-kicker, .js .hx-foot { animation: fade-up 1s .45s var(--ease-out) both; }
  .js .hx-marks .crop { animation: crop-in .7s .2s var(--ease-out) both; }
  .js .hx-media img { animation: settle 2.4s var(--ease-out) both; }
  .hx-scroll i::after { animation: scroll-hint 2.2s ease-in-out infinite; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes crop-in { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; scale: 1.12; } to { opacity: 1; scale: 1; } }
@keyframes scroll-hint { 0% { top: -40%; } 60%, 100% { top: 100%; } }

/* ---------- Bandeau défilant ---------- */
.ticker { background: var(--night); color: var(--night-ink); border-top: 1px solid rgba(255, 255, 255, .08); overflow: hidden; padding-block: clamp(16px, 2.4vw, 26px); }
.ticker-track { display: flex; width: max-content; gap: clamp(18px, 2.4vw, 34px); align-items: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.5rem); letter-spacing: -.02em; white-space: nowrap; }
.ticker-track span:nth-of-type(3n+1) { color: transparent; -webkit-text-stroke: 1.2px rgba(243, 241, 250, .75); }
.ticker-track i { font-style: normal; font-size: .6em; color: var(--glow-c); }
.ticker-track i:nth-of-type(3n+2) { color: var(--glow-b); } .ticker-track i:nth-of-type(3n) { color: #f2c200; }
@media (prefers-reduced-motion: no-preference) { .ticker-track { animation: marquee 48s linear infinite; } .ticker:hover .ticker-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(9px, 1.2vw, 17px))); } }

/* ---------- Apparitions au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .chapter-visual[data-reveal] .px-frame, .js .manifesto-visual[data-reveal] .px-frame { clip-path: inset(14% 8% 14% 8%); transition: clip-path 1.4s var(--ease-out); }
  .js .chapter-visual.is-in .px-frame, .js .manifesto-visual.is-in .px-frame { clip-path: inset(0); }
}

/* ---------- Manifeste ---------- */
.manifesto { padding-block: clamp(80px, 12vw, 170px); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.manifesto-copy { display: grid; gap: 26px; }
.manifesto-title { font-size: clamp(2.2rem, 1rem + 3.9vw, 4.6rem); font-weight: 750; line-height: 1; letter-spacing: -.04em; }
.manifesto-title em { font-style: normal; background: linear-gradient(95deg, var(--glow-a), var(--glow-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto-title em:nth-of-type(2) { background-image: linear-gradient(95deg, var(--glow-c), #ff8a5b); }
.manifesto-title em:nth-of-type(3) { background-image: linear-gradient(95deg, #d99a00, #f2c200); }
.manifesto-points { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 6px; }
.manifesto-points li { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 6px 24px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.manifesto-points b { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; }
.manifesto-points span { color: var(--muted); }
.manifesto-visual { position: relative; margin: 0 26px 0 0; }
.manifesto-visual .px-frame { aspect-ratio: 4 / 5; border-radius: 4px; }
.manifesto-visual .crop.tl { top: -18px; left: -18px; } .manifesto-visual .crop.br { bottom: 14px; right: -18px; }
.manifesto-visual figcaption { display: flex; gap: 12px; margin-top: 14px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.manifesto-visual figcaption span { color: var(--ink); }
@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-visual { max-width: 520px; margin: 0 18px; }
  .manifesto-points li { grid-template-columns: 1fr; }
}

/* ---------- Chapitres (services) ---------- */
.chapters { padding-bottom: clamp(64px, 9vw, 120px); }
.chapter { --tone: var(--cyan); padding-block: clamp(36px, 6vw, 84px); }
.chapter.tone-m { --tone: var(--magenta); } .chapter.tone-y { --tone: #e2a900; }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.chapter.is-flipped .chapter-visual { order: 2; }
.chapter-visual { position: relative; padding-bottom: clamp(24px, 4vw, 52px); }
.chapter-visual .px-frame { aspect-ratio: 4 / 3; border-radius: 4px; }
.chapter-verb { position: absolute; z-index: 2; left: clamp(-8px, -1vw, 0px); bottom: -.08em; font-family: var(--f-display); font-weight: 800; font-size: clamp(3.2rem, 1rem + 8.4vw, 9.5rem); line-height: .8; letter-spacing: -.055em; color: var(--tone); pointer-events: none; }
.chapter.is-flipped .chapter-verb { left: auto; right: clamp(-8px, -1vw, 0px); }
.chapter-copy { display: grid; gap: 18px; align-content: start; --sv: var(--tone); }
.chapter-num { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: .14em; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.chapter-num::after { content: ""; height: 2px; width: 56px; background: var(--tone); }
.chapter-copy h3 { font-size: clamp(1.8rem, 1.1rem + 2.2vw, 3rem); letter-spacing: -.035em; }
.chapter-copy > p { color: var(--muted); font-size: 1.0625rem; max-width: 52ch; }
.chapter-copy .link-arrow { justify-self: start; margin-top: 4px; }
@media (max-width: 900px) {
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter.is-flipped .chapter-visual { order: 0; }
}

/* ---------- Bande photo plein cadre ---------- */
.px-band { position: relative; isolation: isolate; color: var(--night-ink); background: var(--night); min-height: min(92vh, 860px); display: grid; align-items: center;
  --band: var(--night); --band-ink: #f3f1fa; --band-muted: #b7b3c9; --band-line: rgba(255, 255, 255, .16); }
.px-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 18, .94) 0%, rgba(11, 10, 18, .72) 45%, rgba(11, 10, 18, .35) 100%); }
.px-band-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(80px, 10vw, 140px); }
.px-band .eyebrow { color: var(--band-muted); }
.px-band .eyebrow::before { background: linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat; }
.px-band h2 { font-size: clamp(2.4rem, 1.2rem + 4vw, 5rem); letter-spacing: -.045em; line-height: .95; }
.px-band .lead { color: var(--band-muted); }
.score-card.glass { background: rgba(20, 18, 31, .45); border-color: rgba(255, 255, 255, .14); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); }
.px-band .bg-good { background: #4fd18b; } .px-band .bg-warn { background: #f2c200; } .px-band .bg-bad { background: #f0746a; }
.px-band .pill.warn { background: rgba(242, 194, 0, .16); color: #ffd23f; }
@media (max-width: 860px) { .px-band-grid { grid-template-columns: 1fr; } }

/* ---------- Méthode ---------- */
.method .steps li { border-top-width: 1px; border-color: var(--line); padding-top: 26px; }
.method .steps .num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 2rem + 3vw, 4.75rem); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.method .steps li:hover .num { color: var(--ink); }

/* ---------- Vitrine des références ---------- */
.section-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; max-width: none; }
.section-head.split > div { display: grid; gap: 14px; max-width: 760px; }
.showcase { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.show-card { display: grid; gap: 0; color: var(--night-ink); background: var(--night); border-radius: 6px; overflow: hidden; text-decoration: none; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.show-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 10, 18, .6); }
.show-media { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.show-media picture, .show-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.show-card picture { transition: transform 1.2s var(--ease-out); }
.show-card:hover picture { transform: scale(1.04); }
.show-body { padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 10px; }
.show-body h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }
.show-body p { color: var(--night-muted); }
.show-card .ref-domain { color: #a49cf0; }
.show-card .tag { background: transparent; border-color: rgba(255, 255, 255, .18); color: var(--night-muted); }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

/* ---------- Questions fréquentes ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--f-display); font-weight: 650; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .35s var(--ease-out), background-color .2s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { color: var(--muted); padding: 0 56px 24px 0; max-width: 68ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } .faq-item p { padding-right: 0; } }

/* ---------- Appel final ---------- */
.finale { position: relative; isolation: isolate; color: var(--night-ink); background: var(--night); min-height: min(96vh, 900px); display: grid; align-items: center; text-align: center; overflow: hidden; }
.finale-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(11, 10, 18, .2), rgba(11, 10, 18, .85)); }
.finale-inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; padding-block: clamp(100px, 14vw, 180px); }
.finale .eyebrow { color: var(--night-muted); }
.finale .eyebrow::before { background: linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat; }
.finale-title { font-size: clamp(4rem, 1rem + 13vw, 14rem); font-weight: 800; line-height: .82; letter-spacing: -.06em; color: #fff; text-shadow: 0 20px 80px rgba(11, 10, 18, .5); }
.finale .lead { color: rgba(243, 241, 250, .8); margin-inline: auto; text-align: center; }
.finale .hx-actions { justify-content: center; }
.finale .social a, .site-footer .social a { border-color: rgba(255, 255, 255, .28); color: #fff; }
.finale .social a:hover, .site-footer .social a:hover { background: #fff; color: var(--night); border-color: #fff; }
.page-home .site-footer { margin-top: 0; }

/* ---------- Pied de page sombre ---------- */
.site-footer { background: var(--night); color: var(--night-ink); border-top: 0; overflow: hidden; }
.site-footer .logo-light { display: none; }
.site-footer .logo-dark { display: block; }
.site-footer .footer-about { color: var(--night-muted); }
.footer-grid h2 { color: var(--night-muted); }
.footer-links a { color: var(--night-ink); }
.footer-links a:hover { color: #a49cf0; }
.footer-bottom { border-top-color: rgba(255, 255, 255, .1); color: var(--night-muted); }
.footer-bottom a { color: var(--night-muted); }
.footer-giant { font-family: var(--f-display); font-weight: 800; font-size: 11.6vw; line-height: .8; letter-spacing: -.06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16); padding: 8px 0 0; margin-bottom: -.12em; text-align: center; user-select: none; }

/* ---------- En-têtes des pages intérieures avec photo ---------- */
.page-hero.media { position: relative; isolation: isolate; overflow: hidden; color: var(--night-ink); background: var(--night); min-height: clamp(440px, 68vh, 680px); display: grid; align-items: end; padding: calc(var(--header-h) + 64px) 0 clamp(48px, 7vw, 88px); }
.page-hero.media .page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 18, .7) 0%, rgba(11, 10, 18, .35) 40%, rgba(11, 10, 18, .92) 100%), linear-gradient(90deg, rgba(11, 10, 18, .6), transparent 70%); }
.page-hero.media .container { position: relative; z-index: 1; }
.page-hero.media h1 { font-size: clamp(2.6rem, 1.2rem + 4.8vw, 5.6rem); letter-spacing: -.045em; line-height: .95; color: #fff; max-width: 16ch; }
.page-hero.media .lead { color: rgba(243, 241, 250, .82); }
.page-hero.media .eyebrow { color: var(--night-muted); }
.page-hero.media .eyebrow::before { background: linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat, linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat; }
.page-hero.media .hero-tags { color: var(--night-muted); }
.page-hero.media + * { margin-top: clamp(40px, 6vw, 72px); }
.page-hero.media .crumbs { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
.page-hero.media .crumbs a { color: var(--night-ink); text-decoration: none; }
.page-hero.media .crumbs a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero.media .container > * { animation: fade-up 1s var(--ease-out) both; }
  .js .page-hero.media .container > :nth-child(2) { animation-delay: .08s; }
  .js .page-hero.media .container > :nth-child(3) { animation-delay: .16s; }
  .js .page-hero.media .container > :nth-child(4) { animation-delay: .24s; }
  .js .page-hero-media img { animation: settle 2s var(--ease-out) both; }
}
@media (max-width: 860px) {
  .hx-media::after { background: linear-gradient(180deg, rgba(11, 10, 18, .65) 0%, rgba(11, 10, 18, .35) 30%, rgba(11, 10, 18, .7) 62%, rgba(11, 10, 18, .95) 100%); }
  .hx-title { font-size: clamp(3.9rem, 1rem + 11vw, 6rem); }
}

/* ---------- Références : captures et réalisations print ---------- */
.case-visual.shot { border: 0; background: none; box-shadow: none; overflow: visible; display: grid; gap: 14px; }
.case-visual.shot picture, .case-visual.shot img { display: block; width: 100%; height: auto; border-radius: 6px; }
.case-visual.shot > picture img { box-shadow: 0 30px 60px -30px rgba(11, 10, 18, .45); }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.case-gallery.single { grid-template-columns: 1fr; }
.case-print { position: relative; display: block; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; }
.case-print img { aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease-out); }
.case-print:hover img { transform: scale(1.04); }
.case-print span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .8125rem; font-weight: 600; background: linear-gradient(transparent, rgba(11, 10, 18, .8)); }
.case-visual.prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-visual.prints.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: center; }
.case-visual.prints a { display: block; border-radius: 6px; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.case-visual.prints a:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(11, 10, 18, .5); }
.case-visual.prints img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }
@media (max-width: 560px) { .case-visual.prints.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Rééquilibrage technique : console, quatrième métier, graphisme en « Et aussi » ---------- */
.chapter.tone-k { --tone: var(--glow-a); }
.console { position: relative; background: #0d0c16; color: #d9d6ea; border-radius: 10px; box-shadow: 0 40px 80px -36px rgba(11, 10, 18, .65); font-family: var(--f-mono); font-size: clamp(.78rem, .72rem + .25vw, .92rem); overflow: hidden; border: 1px solid rgba(255, 255, 255, .06); }
.console::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(123, 108, 255, .22), transparent 60%), radial-gradient(60% 50% at 0% 100%, rgba(50, 152, 210, .18), transparent 60%); pointer-events: none; }
.console-bar { position: relative; display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2a3d; }
.console-bar i:nth-child(1) { background: #ff5f57; } .console-bar i:nth-child(2) { background: #febc2e; } .console-bar i:nth-child(3) { background: #28c840; }
.console-bar em { margin-left: auto; font-style: normal; color: #7f7a99; font-size: .75rem; }
.console-body { position: relative; list-style: none; display: grid; gap: 11px; padding: 22px 22px 18px; margin: 0; }
.console-body li { display: flex; justify-content: space-between; gap: 16px; white-space: nowrap; }
.console-body .cmd { color: #fff; }
.console-body .cmd::before { content: "$ "; color: #7f7a99; }
.console-body b { font-weight: 500; }
.console-body .ok { color: #4fd18b; }
.console-body .live { color: #a49cf0; }
.console-foot { position: relative; display: flex; justify-content: space-between; padding: 14px 22px; border-top: 1px dashed rgba(255, 255, 255, .1); color: #7f7a99; font-size: .78rem; }
.console-foot b { color: #fff; font-weight: 500; }
.manifesto-visual .crop.tl { top: -18px; left: -18px; } .manifesto-visual .crop.br { bottom: -18px; right: -18px; }
@media (prefers-reduced-motion: no-preference) {
  .js .manifesto-visual .console-body li { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
  .js .manifesto-visual.is-in .console-body li { opacity: 1; transform: none; }
  .js .manifesto-visual.is-in .console-body li:nth-child(2) { transition-delay: .35s; } .js .manifesto-visual.is-in .console-body li:nth-child(3) { transition-delay: .6s; }
  .js .manifesto-visual.is-in .console-body li:nth-child(4) { transition-delay: .85s; } .js .manifesto-visual.is-in .console-body li:nth-child(5) { transition-delay: 1.1s; }
  .js .manifesto-visual.is-in .console-body li:nth-child(6) { transition-delay: 1.35s; } .js .manifesto-visual.is-in .console-body li:nth-child(7) { transition-delay: 1.6s; }
  .js .manifesto-visual.is-in .console-body li:nth-child(8) { transition-delay: 1.85s; }
  .console-body .live { animation: blink 1.6s ease-in-out infinite; }
}
@keyframes blink { 50% { opacity: .45; } }

.also { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(24px, 4vw, 48px); padding: clamp(24px, 3.4vw, 40px); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.also-copy { display: grid; gap: 12px; }
.also-copy h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -.03em; }
.also-copy p { color: var(--muted); max-width: 46ch; }
.also-copy .link-arrow { justify-self: start; }
.also-works { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.also-works a { display: block; border-radius: 6px; overflow: hidden; transition: transform .5s var(--ease-out); }
.also-works a:hover { transform: translateY(-4px) rotate(-1deg); }
.also-works img { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .also { grid-template-columns: 1fr; } }
.chapter-verb.long { font-size: clamp(2.6rem, .8rem + 6.2vw, 7.2rem); }
.console-body .cmd { justify-content: flex-start; }

/* ---------- Typographie de titrage : Urbanist (statique, contours propres pour les versions détourées) ---------- */
h1, h2, h3, h4 { font-synthesis: none; }
.hx-title { font-size: clamp(3.2rem, .6rem + 10.6vw, 11.4rem); line-height: .88; letter-spacing: -.035em; }
.hx-title .ln { padding-bottom: .08em; margin-bottom: -.08em; }
.hx-title .outline { -webkit-text-stroke-width: 2px; }
.manifesto-title { font-weight: 800; letter-spacing: -.03em; }
.chapter-verb, .finale-title, .footer-giant, .method .steps .num { letter-spacing: -.035em; }
.chapter-verb.long { font-size: clamp(2.8rem, .8rem + 7vw, 8rem); }
.footer-giant { font-size: 12.4vw; }
.faq-item summary { font-weight: 700; letter-spacing: -.005em; }
@media (max-width: 860px) { .hx-title { font-size: clamp(3.4rem, 1rem + 11vw, 5.4rem); } }

/* Lisibilité du mot en dégradé sur la photo : ombre portée sombre (drop-shadow fonctionne avec background-clip: text) */
.hx-title .ink-m { filter: drop-shadow(0 2px 1px rgba(11, 10, 18, .55)) drop-shadow(0 8px 26px rgba(11, 10, 18, .9)); }
.hx-title .outline { filter: drop-shadow(0 4px 18px rgba(11, 10, 18, .7)); }
/* L'ombre ne doit pas être coupée par le masque des lignes : apparition en fondu au lieu du masque */
.hx-title .ln { overflow: visible; }
.hx-title .outline { filter: none; }
@media (prefers-reduced-motion: no-preference) { .js .hx-title .ln > span { animation-name: title-in; } }
@keyframes title-in { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

/* ---------- Contour et ombre sur les grands titres posés sur une photo ---------- */
:root { --title-shadow: drop-shadow(0 2px 1px rgba(11, 10, 18, .5)) drop-shadow(0 8px 26px rgba(11, 10, 18, .85)); }
.hx-title .ln > span, .finale-title, .px-band h2, .page-hero.media h1 { filter: var(--title-shadow); }
.hx-title .outline { -webkit-text-stroke-width: 2px; }
/* Verbes des métiers : ombre portée, sans contour */
.chapter-verb { filter: drop-shadow(0 2px 1px rgba(11, 10, 18, .35)) drop-shadow(0 8px 22px rgba(11, 10, 18, .5)); }
.chapter-visual.wide .px-frame { aspect-ratio: 16 / 9; }

/* Verbes des métiers : halo sombre serré + ombre portée, lisibles sur n'importe quelle photo */
.chapter-verb { filter: drop-shadow(0 0 1px rgba(11, 10, 18, .9)) drop-shadow(0 0 6px rgba(11, 10, 18, .75)) drop-shadow(0 6px 24px rgba(11, 10, 18, .6)); }
.chapter.is-flipped .chapter-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
@media (max-width: 900px) { .chapter.is-flipped .chapter-grid { grid-template-columns: 1fr; } }

/* Bandeau diagnostic : ombre du pirate visible, voile allégé côté image */
.band-ombre .px-band-media img { object-position: 60% 0%; filter: brightness(1.45) contrast(1.05) saturate(1.1); }
.band-ombre .px-band-media::after { background: linear-gradient(90deg, rgba(11, 10, 18, .9) 0%, rgba(11, 10, 18, .6) 30%, rgba(11, 10, 18, 0) 55%); }
@media (max-width: 860px) { .band-ombre .px-band-media::after { background: linear-gradient(180deg, rgba(11, 10, 18, .35) 0%, rgba(11, 10, 18, .7) 50%, rgba(11, 10, 18, .85) 100%); } }
/* La scène occupe la droite : la carte d'exemple passe sous le texte, dans la colonne gauche */
@media (min-width: 861px) {
  .band-ombre .px-band-grid { grid-template-columns: minmax(0, 560px); gap: 36px; padding-block: clamp(72px, 8vw, 112px); }
  .band-ombre .score-card { max-width: 440px; padding: 18px 20px; gap: 12px; }
  .band-ombre .score-num { font-size: 2.4rem; }
}

/* =====================================================================
   Ouverture en carrousel « déclencheur » : deux diapositives superposées,
   transition par iris d'objectif (canvas) et flash, bande photo imprimée.
   ===================================================================== */
.stage { position: relative; display: grid; background: var(--night); overflow: hidden; isolation: isolate; color: var(--night-ink); }
.stage-slide { grid-area: 1 / 1; min-width: 0; }
.no-js .stage .hb { display: none; }
.js .stage-slide:not(.is-active) { visibility: hidden; }
.stage.is-fading .stage-slide { transition: opacity .6s ease, visibility 0s; }
.stage.is-fading .stage-slide:not(.is-active) { opacity: 0; }
/* Les animations d'entrée rejouent quand la diapositive redevient active */
.js .stage-slide:not(.is-active) :is(.hx-title .ln > span, .hx-kicker, .hx-foot, .hx-marks .crop, .hx-media img) { animation: none; }

/* Iris d'objectif et flash */
.stage-iris { position: absolute; inset: 0; z-index: 20; width: 100%; height: 100%; pointer-events: none; display: none; }
.stage-iris.is-on { display: block; }
.stage-flash { position: absolute; inset: 0; z-index: 21; pointer-events: none; opacity: 0; background: radial-gradient(70% 70% at 50% 50%, #fff 0%, #fff6fb 45%, rgba(255, 240, 248, .85) 100%); }
.stage-flash.is-on { animation: flash .9s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes flash { 0% { opacity: 0; } 6% { opacity: 1; } 100% { opacity: 0; } }

/* Commandes */
.stage-ui { position: absolute; z-index: 30; left: 50%; bottom: clamp(20px, 3.6vh, 38px); translate: -50% 0; display: flex; align-items: center; gap: 10px; }
.stage-ui[hidden] { display: none; }
.stage-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(11, 10, 18, .42); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.stage-tab { position: relative; display: inline-flex; white-space: nowrap; align-items: baseline; gap: 9px; padding: 9px 16px 11px; border: 0; border-radius: 999px; background: transparent; color: rgba(243, 241, 250, .62); font: 600 .8125rem/1 var(--f-body); cursor: pointer; overflow: hidden; transition: color .25s ease, background-color .25s ease; }
.stage-tab .n { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .08em; opacity: .7; }
.stage-tab:hover { color: #fff; }
.stage-tab[aria-selected="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.stage-tab i { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; opacity: 0; }
.stage-tab[aria-selected="true"] i { opacity: 1; }
.stage-tab i::after { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--glow-a), var(--glow-c), #ffb347); }
.stage-tab:focus-visible, .stage-pause:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.stage-pause { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(11, 10, 18, .42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; cursor: pointer; }
.stage-pause span, .stage-pause span::before { position: absolute; top: 50%; left: 50%; }
.stage-pause span { width: 10px; height: 12px; translate: -50% -50%; border-inline: 3px solid currentColor; }
.stage-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-block: 7px solid transparent; translate: -35% -50%; }
.stage-pause:hover { border-color: #fff; }

/* ---------- Diapositive Happy-Box ---------- */
.hb { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 clamp(110px, 14vh, 150px); background: #0d0a14; }
.hb-glow { position: absolute; inset: -10%; z-index: 0; pointer-events: none; background:
  radial-gradient(38% 46% at 74% 32%, rgba(224, 51, 126, .5), transparent 70%),
  radial-gradient(30% 36% at 92% 84%, rgba(255, 179, 71, .34), transparent 70%),
  radial-gradient(34% 40% at 8% 96%, rgba(123, 108, 255, .4), transparent 70%),
  radial-gradient(60% 60% at 30% 40%, rgba(40, 20, 60, .6), transparent 80%); }
.hb-confetti { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hb-word { position: absolute; z-index: 1; right: -.04em; bottom: -.2em; margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(7rem, 22vw, 26rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); white-space: nowrap; pointer-events: none; user-select: none; }
.hb-word span { color: rgba(224, 51, 126, .55); -webkit-text-stroke: 0; }

/* Imprimante et bandes photo */
.hb-strips { --slot-y: calc(var(--header-h) + 34px); --w: min(16vw, calc((100svh - var(--header-h) - 170px) / 3.3), 290px); position: absolute; z-index: 2; top: 0; bottom: 0; right: clamp(24px, 9vw, 170px); width: calc(var(--w) * 2.1); pointer-events: none; clip-path: inset(calc(var(--slot-y) - 10px) -100vw -100vh -100vw); }
.hb-slot { position: absolute; z-index: 3; top: calc(var(--slot-y) - 10px); left: -8%; right: -8%; height: 14px; border-radius: 8px; background: linear-gradient(#24202f, #08070c); box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 12px 26px rgba(0, 0, 0, .6); }
.hb-slot::after { content: ""; position: absolute; left: 6%; right: 6%; top: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255, 106, 168, .9), rgba(255, 179, 71, .9), transparent); filter: blur(.5px); box-shadow: 0 0 12px rgba(255, 106, 168, .8); }
.hb-strip { position: absolute; top: var(--slot-y); margin: 0; width: var(--w); background: #fff; border-radius: 2px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .75), 0 2px 0 rgba(255, 255, 255, .6) inset; transform-origin: 50% 0; }
.hb-strip picture, .hb-strip img { display: block; width: 100%; height: auto; }
.hb-strip.front { right: 0; }
.hb-strip.back { --w: calc(min(16vw, calc((100svh - var(--header-h) - 170px) / 3.3), 290px) * .78); left: 0; top: calc(var(--slot-y) + 6px); filter: brightness(.72) saturate(.95); }
.hb-film { position: relative; }
.hb-strip .dev { position: absolute; left: 7.17%; width: 85.67%; height: 20.17%; background: #f6f1f3; pointer-events: none; }
.hb-strip .d1 { top: 4.94%; } .hb-strip .d2 { top: 28.17%; } .hb-strip .d3 { top: 51.33%; }
.hb-date { position: absolute; left: 0; right: 0; top: 90.2%; text-align: center; font-family: var(--f-mono); font-size: calc(var(--w) * .052); letter-spacing: .14em; color: rgba(255, 255, 255, .92); }

/* Texte */
.hb-inner { position: relative; z-index: 4; display: grid; gap: clamp(18px, 2.4vw, 28px); justify-items: start; }
.hb-inner > * { max-width: min(640px, 52vw); }
.hb-kicker .dot { background: #ff6aa8; box-shadow: 0 0 0 4px rgba(255, 106, 168, .2); }
.hb-title { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, .2rem + 5.9vw, 7rem); line-height: 1; letter-spacing: -.018em; color: #fff; filter: var(--title-shadow); }
.hb-title > span { display: block; white-space: nowrap; }
.hb-title em { font-style: normal; background: linear-gradient(95deg, #ff6aa8 0%, #e0337e 45%, #ffb347 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hb-lead { margin: 0; font-size: clamp(1.0625rem, .95rem + .4vw, 1.25rem); line-height: 1.55; color: rgba(243, 241, 250, .8); max-width: 48ch; }
.hb-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 560px; }
.hb-perks li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-weight: 600; font-size: .9375rem; color: #fff; }
.hb-perks b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; font-family: var(--f-display); font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, #e0337e, #ff6aa8 60%, #ffb347); box-shadow: 0 8px 20px -8px rgba(224, 51, 126, .9); }
.hb-perks svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hb-inner { gap: clamp(16px, 2vw, 24px); }
@media (min-width: 861px) {
  .hb-inner > .hb-perks { display: flex; flex-wrap: wrap; gap: 8px; max-width: min(760px, 56vw); }
  .hb-perks li { padding: 7px 14px 7px 7px; border-radius: 999px; gap: 10px; font-size: .875rem; }
  .hb-perks b { width: 28px; height: 28px; border-radius: 50%; font-size: 1rem; }
  .hb-perks svg { width: 15px; height: 15px; }
}
.hb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hb-cta { background: linear-gradient(100deg, #e0337e, #ff6aa8 55%, #ffb347); box-shadow: 0 16px 44px -14px rgba(224, 51, 126, .95); }
.hb-cta:hover { background: linear-gradient(100deg, #ff6aa8, #e0337e); box-shadow: 0 20px 52px -12px rgba(255, 106, 168, .9); }
.hb-price { margin: 0; display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: rgba(243, 241, 250, .62); }
.hb-price b { font-family: var(--f-display); font-size: 1.9rem; letter-spacing: -.03em; color: #fff; }
.hb-price .from { white-space: nowrap; }
.hb-price span:last-child { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .18); line-height: 1.5; }

/* Animations de la diapositive (rejouées à chaque affichage) */
@media (prefers-reduced-motion: no-preference) {
  .js .hb.is-active .hb-strip.back { animation: feed-back 2.4s .15s cubic-bezier(.3, .1, .3, 1) both; }
  .js .hb.is-active .hb-strip.front { animation: feed 2.6s .45s both, sway 6s 3.2s ease-in-out infinite alternate; }
  .js .hb.is-active .hb-strip .dev { animation: develop 1.1s both; }
  .js .hb.is-active .hb-strip .d1 { animation-delay: 1.5s; } .js .hb.is-active .hb-strip .d2 { animation-delay: 1.85s; }
  .js .hb.is-active .hb-strip .d3 { animation-delay: 2.2s; }
  .js .hb.is-active :is(.hb-kicker, .hb-title, .hb-lead, .hb-perks, .hb-actions) { animation: fade-up .9s var(--ease-out) both; }
  .js .hb.is-active .hb-title { animation-delay: .08s; } .js .hb.is-active .hb-lead { animation-delay: .18s; }
  .js .hb.is-active .hb-perks { animation-delay: .28s; } .js .hb.is-active .hb-actions { animation-delay: .38s; }
  .js .hb.is-active .hb-word { animation: word-in 1.6s .2s var(--ease-out) both; }
  .js .hb.is-active .hb-glow { animation: glow-drift 14s ease-in-out infinite alternate; }
}
/* L'imprimante avance la bande par à-coups, puis la lâche */
@keyframes feed {
  0% { transform: translateY(-100%); }
  14% { transform: translateY(-78%); } 20% { transform: translateY(-74%); }
  34% { transform: translateY(-52%); } 40% { transform: translateY(-48%); }
  54% { transform: translateY(-26%); } 60% { transform: translateY(-22%); }
  78% { transform: translateY(0) rotate(0); }
  88% { transform: translateY(14px) rotate(2.4deg); }
  100% { transform: translateY(10px) rotate(1.6deg); }
}
@keyframes feed-back { 0% { transform: translateY(-100%) rotate(0); } 70% { transform: translateY(0) rotate(0); } 100% { transform: translateY(18px) rotate(-5deg); } }
@keyframes sway { from { transform: translateY(10px) rotate(1.6deg); } to { transform: translateY(10px) rotate(-.6deg); } }
@keyframes develop { 0% { opacity: 1; filter: none; } 30% { opacity: 1; background: #fff; } 100% { opacity: 0; } }
@keyframes word-in { from { opacity: 0; transform: translateX(8%); } to { opacity: 1; transform: none; } }
@keyframes glow-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.hb-strip.front { transform: translateY(10px) rotate(1.6deg); }
.hb-strip.back { transform: translateY(18px) rotate(-5deg); }
.hb-strip .dev { opacity: 0; }

@media (max-width: 860px) {
  .hb { align-items: end; padding-bottom: 100px; }
  .hb-strips { --w: 30vw; right: 3vw; width: calc(var(--w) * 1.9); opacity: .42; }
  .hb-strip.back { --w: 23vw; }
  .hb-inner > * { max-width: none; }
  .hb-title { font-size: clamp(2.6rem, 1rem + 7.6vw, 3.8rem); }
  .hb-perks li { padding: 10px; font-size: .875rem; gap: 10px; }
  .hb-perks b { width: 30px; height: 30px; }
  .hb-word { font-size: 34vw; bottom: auto; top: 46%; opacity: .7; }
  .stage-tab { padding: 9px 12px 11px; }
}
@media (max-width: 420px) { .stage-tab .n { display: none; } }

/* ---------- Qui je suis ---------- */
.about-now { display: grid; gap: 8px; padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(11, 10, 18, .35); border-left: 3px solid var(--glow-c); }
.about-now-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.about-now-label i { width: 8px; height: 8px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 4px rgba(79, 209, 139, .18); }
.about-now b { font-family: var(--f-display); font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.about-now p { color: var(--muted); max-width: 60ch; }
.about { padding-block: clamp(80px, 11vw, 160px); position: relative; overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-portrait { position: sticky; top: calc(var(--header-h) + 40px); margin: 0; display: grid; justify-items: center; }
.about-photo { position: relative; width: min(100%, 420px); }
.about-disc { position: absolute; left: 2%; right: 2%; top: 20%; aspect-ratio: 1; border-radius: 50%; background:
  radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .35), transparent 40%),
  conic-gradient(from 210deg, var(--glow-a), var(--glow-c), #ffb347, var(--glow-b), var(--glow-a)); filter: saturate(1.05); }
.about-disc::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); }
.about-portrait picture { position: relative; display: block; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, #000 82%, transparent 100%); }
.about-portrait img { display: block; width: 100%; height: auto; }
.about-portrait figcaption { position: relative; display: grid; justify-items: center; gap: 4px; margin-top: 4px; text-align: center; }
.about-portrait figcaption b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.about-portrait figcaption span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.about-portrait .crop.tl { top: 0; left: 0; } .about-portrait .crop.br { bottom: 0; right: 0; }
.about-copy { display: grid; gap: clamp(32px, 4vw, 48px); }
.about-head { display: grid; gap: 18px; }
.about-head h2 { font-family: var(--f-display); font-size: clamp(2.4rem, 1rem + 4vw, 4.8rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.about-head h2 em { font-style: normal; background: linear-gradient(95deg, var(--glow-a), var(--glow-c) 55%, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-foot { display: grid; gap: 22px; padding-top: 8px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { position: relative; top: 0; max-width: 340px; margin-inline: auto; }
}
.hx-kicker .nw { white-space: nowrap; }

/* Vérification anti-robot Turnstile : invisible tant qu'aucune interaction n'est demandée */
.turnstile-field .cf-turnstile { max-width: 100%; }
