/* ==========================================================================
   MGXProduction — afterlight.css
   Comme si on regardait les images de la bodycam d'un survivant :
   sombre, poussiéreux, tendu. Tout est généré en CSS, SVG et canvas.
   Sécurité photosensible : aucun clignotement rapide (≤ 3 flashs/s), effets subtils.
   Thème sombre = identité principale ; thème clair = « jour de cendres ».
   ========================================================================== */

:root {
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Share Tech Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --bg: #0b0b0c;
  --surface: #151617;
  --surface-2: #1d1e20;
  --border: #2a2b2e;
  --text: #d6d3cc;
  --text-2: #8a877f;
  --title: #ebe7df;
  --rec: #e5322d;
  --stamp: #f0544e;
  --rust: #8f2a1c;
  --ember: #e07a2e;
  --ember-text: #e07a2e;
  --accent: #8f2a1c;
  --accent-hover: #a8331f;
  --accent-text: #f2efe9;
  --accent-light: #e07a2e;
  --focus: #e07a2e;
  --header-bg: rgba(11, 11, 12, .86);
  --hud: #d6d3cc;
  --hud-bg: rgba(11, 11, 12, .6);
  --redact: #46474b;

  --sky-1: #1d1c1f;
  --sky-2: #121214;
  --city-far: #26252a;
  --city-near: #060607;
  --fog: rgba(120, 112, 104, .2);
  --flash-op: 1;
  --grain-op: .07;
  --vignette: rgba(0, 0, 0, .5);
  --scan-op: .45;

  --header-h: 64px;

  --lb-backdrop: rgba(5, 5, 6, .95);
  --lb-text: #d6d3cc;
  --lb-btn-bg: #151617;
  --lb-btn-bg-hover: #222326;
  --lb-btn-border: #3a3b3f;
  --lb-frame-border: #3a3b3f;
  --lb-radius: 0;

  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #d8d3ca;
  --surface: #e6e1d8;
  --surface-2: #ddd7cc;
  --border: #b9b2a6;
  --text: #1d1c1a;
  --text-2: #4f4b45;
  --title: #1d1c1a;
  --rec: #b3261e;
  --stamp: #b3261e;
  --ember: #b85a17;
  --ember-text: #8f3f0c;
  --accent-light: #8f2a1c;
  --focus: #8f2a1c;
  --header-bg: rgba(216, 211, 202, .9);
  --hud: #1d1c1a;
  --hud-bg: rgba(230, 225, 216, .72);
  --redact: #2a2825;

  --sky-1: #aaa295;
  --sky-2: #c7c0b4;
  --city-far: #7a7268;
  --city-near: #2b2824;
  --fog: rgba(238, 232, 222, .45);
  --flash-op: .35;
  --grain-op: .1;
  --vignette: rgba(70, 56, 42, .22);
  --scan-op: .2;
  color-scheme: light;
}

body { line-height: 1.65; font-size: 1.0625rem; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }

/* ---------- Overlay bodycam (fixe) ---------- */
.bodycam {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  font-family: var(--font-mono);
  color: var(--hud);
}
.bodycam__corner {
  position: absolute;
  width: 34px; height: 34px;
  border: 2px solid color-mix(in srgb, var(--hud) 65%, transparent);
}
.bodycam__corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.bodycam__corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.bodycam__corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.bodycam__corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.bodycam__hud {
  position: absolute;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 3px 8px;
  background: var(--hud-bg);
  font-size: .75rem;
  letter-spacing: .12em;
  line-height: 1.4;
  white-space: nowrap;
}
.bodycam__hud--left { left: 26px; }
.bodycam__hud--right { right: 26px; }
.bodycam__rec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rec);
}
.bodycam__rec i,
.al-kicker__dot,
.feed__rec i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--rec);
  animation: rec-blink 2s ease-in-out infinite;
}
/* Clignotement lent : un seul cycle toutes les 2 s */
@keyframes rec-blink { 0%, 45% { opacity: 1; } 60%, 90% { opacity: .2; } 100% { opacity: 1; } }
.bodycam__time { font-variant-numeric: tabular-nums; }

.battery { display: inline-flex; align-items: center; gap: 7px; }
.battery__body {
  position: relative;
  display: flex;
  gap: 2px;
  width: 34px; height: 14px;
  padding: 2px;
  border: 1.5px solid currentColor;
}
.battery__body::after {
  content: "";
  position: absolute;
  top: 3px; right: -5px;
  width: 3px; height: 5px;
  background: currentColor;
}
.battery__body i { flex: 1; background: currentColor; transition: opacity .3s; }
.battery__body i.is-off { opacity: .12; }
.battery.is-mid { color: var(--ember); }
.battery.is-low { color: var(--rec); }
.battery__pct { min-width: 4ch; text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .bodycam__unit { display: none; }
  .bodycam__corner { width: 22px; height: 22px; }
  .bodycam__corner--tl, .bodycam__corner--tr { top: 8px; }
  .bodycam__corner--bl, .bodycam__corner--br { bottom: 8px; }
  .bodycam__corner--tl, .bodycam__corner--bl { left: 8px; }
  .bodycam__corner--tr, .bodycam__corner--br { right: 8px; }
  .bodycam__hud { bottom: 12px; font-size: .6875rem; gap: 8px; }
  .bodycam__hud--left { left: 16px; }
  .bodycam__hud--right { right: 16px; }
}

/* Grain de film, vignette, scanlines (très subtils) */
.fx-grain {
  position: fixed;
  inset: -10%;
  z-index: 44;
  pointer-events: none;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift .9s steps(6, end) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  17% { transform: translate3d(-3%, 2%, 0); }
  33% { transform: translate3d(2%, -4%, 0); }
  50% { transform: translate3d(-4%, 3%, 0); }
  67% { transform: translate3d(4%, 1%, 0); }
  83% { transform: translate3d(-1%, -3%, 0); }
}
.fx-vignette {
  position: fixed;
  inset: 0;
  z-index: 43;
  pointer-events: none;
  background: radial-gradient(130% 95% at 50% 45%, transparent 58%, var(--vignette));
}
.fx-scanlines {
  position: fixed;
  inset: 0;
  z-index: 43;
  pointer-events: none;
  opacity: var(--scan-op);
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px);
}

/* ---------- En-tête habillé ---------- */
.site-header--al .back-link,
.site-header--al .brand__name {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}
.site-header--al .back-link { font-size: .9375rem; }
.site-header--al .back-link__arrow { color: var(--ember); }
.site-header--al.is-scrolled { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: none; }
.site-header--al .lang-switch,
.site-header--al .icon-btn { border-radius: 0; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.site-header--al .lang-switch button { border-radius: 0; font-family: var(--font-mono); font-size: .875rem; }
.site-header--al .lang-switch button::before { border-radius: 0; }

/* ---------- Boutons ---------- */
.al-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.al-btn .icon { width: 18px; height: 18px; }
.al-btn:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--focus); }
.al-btn--primary { background: var(--accent); color: var(--accent-text); }
.al-btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.al-btn--primary:focus-visible { box-shadow: inset 0 0 0 3px var(--accent-text); }
.al-btn--ghost {
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border-color: color-mix(in srgb, var(--text) 40%, transparent);
  color: var(--text);
}
.al-btn--ghost:hover { border-color: var(--text); transform: translateY(-1px); }
.al-btn--disabled,
.al-btn:disabled {
  cursor: not-allowed;
  background: var(--surface-2);
  border: 1px dashed color-mix(in srgb, var(--text-2) 60%, transparent);
  color: var(--text-2);
  transform: none;
}

/* ---------- Hero ---------- */
.al-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: max(620px, 100svh);
  padding: calc(var(--header-h) + 48px) 0 clamp(80px, 13vh, 150px);
  overflow: clip;
}
.al-scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.al-scene__layer { position: absolute; inset: -8% 0 0; }
.al-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 55% at 72% 100%, rgba(224, 122, 46, .32), transparent 62%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--bg) 100%);
}
.al-fire {
  position: absolute;
  bottom: min(16%, 13vw);
  width: 46vw;
  aspect-ratio: 2.4 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 140, 60, .7), rgba(170, 52, 30, .35) 55%, transparent);
  animation: al-fire 4.5s ease-in-out infinite alternate;
}
.al-fire--1 { right: 4%; }
.al-fire--2 { left: 8%; bottom: min(22%, 18vw); width: 26vw; animation-duration: 6.5s; animation-delay: -2s; opacity: .7; }
@keyframes al-fire { from { opacity: .55; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
.al-smoke {
  position: absolute;
  width: 90vw;
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(96, 90, 84, .32), transparent);
  animation: al-smoke 42s linear infinite alternate;
}
.al-smoke--1 { top: 2%; left: -25%; }
.al-smoke--2 { top: 20%; right: -35%; animation-duration: 58s; animation-direction: alternate-reverse; }
@keyframes al-smoke { to { transform: translate3d(18vw, -4vh, 0); } }
:root[data-theme="light"] .al-smoke { background: radial-gradient(closest-side, rgba(110, 102, 92, .35), transparent); }
/* Hauteur liée à la largeur : les ruines gardent les mêmes proportions en portrait */
.al-city { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(200px, 40vw, 66%); }
.al-city--far { height: clamp(250px, 50vw, 74%); }
.al-city--far path { fill: var(--city-far); }
.al-city--near path { fill: var(--city-near); }
.al-fog {
  position: absolute;
  left: -50%;
  bottom: 0;
  width: 200%;
  height: 38%;
  background:
    radial-gradient(30% 70% at 15% 90%, var(--fog), transparent 70%),
    radial-gradient(28% 60% at 45% 100%, var(--fog), transparent 70%),
    radial-gradient(30% 70% at 80% 90%, var(--fog), transparent 70%);
  animation: al-fog 34s linear infinite alternate;
}
@keyframes al-fog { to { transform: translate3d(20%, 0, 0); } }
.al-ash { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Lampe de poche : un calque sombre percé d'un halo, déplacé uniquement en transform */
.al-flash {
  position: absolute;
  left: -50%; top: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  opacity: var(--flash-op);
  background: radial-gradient(circle at center,
    rgba(255, 226, 180, .12) 0,
    rgba(255, 226, 180, .05) 9%,
    rgba(5, 5, 6, .3) 17%,
    rgba(5, 5, 6, .66) 30%,
    rgba(5, 5, 6, .74) 60%);
  animation: al-sweep 16s ease-in-out infinite;
  will-change: transform;
}
.al-flash.is-tracking { animation: none; }
.al-hero.is-paused .al-fire,
.al-hero.is-paused .al-smoke,
.al-hero.is-paused .al-fog,
.al-hero.is-paused .al-flash,
.al-hero.is-paused .al-title,
.al-hero.is-paused .al-title::before,
.al-hero.is-paused .al-title::after { animation-play-state: paused; }
@keyframes al-sweep {
  0%, 100% { transform: translate3d(-16%, 6%, 0); }
  50% { transform: translate3d(14%, -2%, 0); }
}

.al-hero__content { position: relative; display: grid; justify-items: start; gap: 22px; }
.al-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.al-title {
  position: relative;
  isolation: isolate;
  margin-left: -.04em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(3.25rem, 14vw, 11rem);
  line-height: .92;
  letter-spacing: .08em;
  color: var(--title);
  animation: al-flicker 7s linear infinite;
}
/* Aberration chromatique : copies rouge et cyan légèrement décalées */
.al-title::before,
.al-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.al-title::before { color: rgba(229, 50, 45, .75); transform: translate3d(-.022em, 0, 0); animation: al-ab-r 6s steps(1, end) infinite; }
.al-title::after { color: rgba(34, 211, 238, .5); transform: translate3d(.022em, 0, 0); animation: al-ab-c 6s steps(1, end) infinite; }
:root[data-theme="light"] .al-title::before { color: rgba(179, 38, 30, .55); }
:root[data-theme="light"] .al-title::after { color: rgba(8, 145, 178, .45); }
/* Deux légères baisses d'intensité toutes les 7 s (bien sous 3 flashs/s) */
@keyframes al-flicker {
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: .62; }
  92.5% { opacity: 1; }
  95% { opacity: .78; }
  96.5% { opacity: 1; }
}
@keyframes al-ab-r {
  0% { transform: translate3d(-.022em, 0, 0); }
  70% { transform: translate3d(-.045em, .01em, 0); }
  73% { transform: translate3d(-.015em, 0, 0); }
  88% { transform: translate3d(-.03em, -.008em, 0); }
}
@keyframes al-ab-c {
  0% { transform: translate3d(.022em, 0, 0); }
  70% { transform: translate3d(.04em, -.01em, 0); }
  73% { transform: translate3d(.015em, 0, 0); }
  88% { transform: translate3d(.03em, .006em, 0); }
}
.al-tagline { max-width: 54ch; font-size: 1.1875rem; color: var(--text); }
.al-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.al-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--text) 32%, transparent);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.al-tag .icon { width: 14px; height: 14px; }
.al-tag--live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ember);
  animation: rec-blink 2s ease-in-out infinite;
}
.al-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* ---------- Dossiers numérotés ---------- */
.dossier { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.dossier__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.8vw, 3.125rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--title);
}
.dossier__no {
  padding: 3px 10px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: max(.95rem, .42em);
  letter-spacing: .16em;
  color: var(--ember-text);
}
.dossier__sep { color: var(--text-2); font-weight: 500; }

.file {
  position: relative;
  margin-top: 28px;
  padding: clamp(20px, 4vw, 36px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--rust);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.file::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background: linear-gradient(225deg, transparent 50%, var(--border) 50%);
}
.file__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.file__stamp {
  padding: 1px 8px;
  border: 2px solid currentColor;
  color: var(--stamp);
  font-size: .8125rem;
  transform: rotate(-3deg);
}
.file__title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.file__body { max-width: 74ch; }
.file__body p + p { margin-top: 1em; }

/* Placeholders caviardés */
.redact--block { display: grid; gap: 16px; }
.redact__bars { display: grid; gap: 10px; }
.redact__line { display: flex; flex-wrap: wrap; gap: 8px; }
.redact__bar {
  display: inline-block;
  width: var(--w, 6ch);
  max-width: 100%;
  height: 1.05em;
  vertical-align: middle;
  background: var(--redact);
}
.redact--inline { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.redact__label {
  font-family: var(--font-mono);
  font-size: .875rem;
  letter-spacing: .1em;
  color: var(--ember-text);
  animation: data-pulse 3s ease-in-out infinite;
}
@keyframes data-pulse { 50% { opacity: .6; } }

/* Objectifs (quand ils seront remplis) */
.al-goals { display: grid; gap: 14px; counter-reset: g; }
.al-goals li { display: flex; gap: 16px; align-items: baseline; }
.al-goals__num { font-family: var(--font-mono); color: var(--ember-text); letter-spacing: .1em; }

/* Informations */
.info-grid { display: grid; gap: 20px; margin-top: 28px; }
.info-grid .file { margin-top: 0; }
@media (min-width: 960px) { .info-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.al-sheet { display: grid; }
.al-row {
  display: grid;
  grid-template-columns: minmax(110px, 40%) minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.al-row:last-child { border-bottom: 0; }
.al-row dt {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-top: 2px;
}
.al-row dd { color: var(--text); }
.al-req-wrap { overflow-x: auto; }
.al-req { width: 100%; min-width: 420px; border-collapse: collapse; font-size: .9375rem; }
.al-req th, .al-req td { padding: 11px 10px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.al-req th:first-child, .al-req td:first-child { padding-left: 0; }
.al-req thead th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ember-text);
}
.al-req tbody th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.al-req tbody tr:last-child th, .al-req tbody tr:last-child td { border-bottom: 0; }

/* Images : moniteurs « SIGNAL PERDU » */
.feeds {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
}
.feed {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050506;
  border: 1px solid #2a2b2e;
}
.feed::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px),
    radial-gradient(120% 100% at 50% 50%, transparent 50%, rgba(0, 0, 0, .6));
}
.feed__snow {
  position: absolute;
  inset: -50%;
  opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='1' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1.9 0 0 0 -.45 1.9 0 0 0 -.45 1.9 0 0 0 -.45 0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
  animation: snow .45s steps(3, end) infinite;
}
@keyframes snow {
  0% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-7%, 5%, 0); }
  66% { transform: translate3d(6%, -6%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
.feeds.is-paused .feed__snow { animation-play-state: paused; }
.feed__cam {
  position: absolute;
  top: 10px; left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: #d6d3cc;
}
.feed__msg {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
}
.feed__title {
  padding: 4px 14px;
  background: rgba(5, 5, 6, .8);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.125rem, 3vw, 1.625rem);
  letter-spacing: .22em;
  color: #f2efe9;
}
.feed__sub {
  padding: 2px 8px;
  background: rgba(5, 5, 6, .7);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c9c5bd;
}
.feed__btn { position: absolute; inset: 0; display: block; width: 100%; cursor: zoom-in; }
.feed__btn img { width: 100%; height: 100%; object-fit: cover; }
.feed__btn:focus-visible { outline-offset: -4px; }
.feed__hud {
  position: absolute;
  top: 10px; right: 12px;
  z-index: 2;
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .12em;
  color: #d6d3cc;
}
.feed__rec { display: inline-flex; align-items: center; gap: 6px; color: #e5322d; }

/* PC (Windows) */
.file--pc__grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 640px) { .file--pc__grid { grid-template-columns: auto 1fr; gap: 32px; } }
.file--pc__icon { width: 72px; height: 72px; color: var(--text-2); }
.file--pc__lead { max-width: 56ch; }
.file--pc__action { margin-top: 18px; }

/* ---------- Pied de page ---------- */
.al-footer { background: var(--surface); }
.al-footer .footer-title { font-family: var(--font-mono); font-weight: 400; letter-spacing: .16em; color: var(--ember-text); }
.al-footer__back { margin: 0 0 0 -8px; font-family: var(--font-mono); letter-spacing: .04em; }
.al-footer__back .back-link__arrow { color: var(--ember); }
.al-footer .footer-links a:hover { color: var(--ember-text); }
.al-footer .footer-bottom { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .06em; }
.al-footer { padding-bottom: 64px; }

/* ---------- Lightbox thématisée ---------- */
.lightbox__btn { border-radius: 0; }
.lightbox__counter, .lightbox__caption { font-family: var(--font-mono); letter-spacing: .08em; }
.lightbox__cap-title { font-family: var(--font-head); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Reveal en flicker + léger glitch sur les titres de dossiers ---------- */
html.js [data-reveal] { transition: none; }
html.js [data-reveal].is-in { animation: al-in .9s linear var(--rv-delay, 0ms) both; }
@keyframes al-in {
  0% { opacity: 0; transform: translate3d(var(--rv-x), calc(var(--rv-sign) * var(--rv-dy)), 0); }
  12% { opacity: 0; }
  13% { opacity: .7; }
  22% { opacity: .7; }
  23% { opacity: .2; }
  34% { opacity: .2; }
  35% { opacity: .9; }
  50% { transform: none; }
  52% { opacity: .9; }
  53% { opacity: .5; }
  62% { opacity: .5; }
  63%, 100% { opacity: 1; transform: none; }
}
html.js .dossier__title[data-reveal].is-in { animation: al-in .9s linear var(--rv-delay, 0ms) both, al-glitch .7s steps(1, end) calc(var(--rv-delay, 0ms) + .15s) 1; }
@keyframes al-glitch {
  0% { translate: -6px 0; }
  15% { translate: 4px 0; }
  30% { translate: -2px 0; }
  45% { translate: 3px 0; }
  60%, 100% { translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal].is-in,
  html.js .dossier__title[data-reveal].is-in { animation: none; }
  .al-title, .al-title::before, .al-title::after,
  .al-fire, .al-smoke, .al-fog, .al-flash, .fx-grain, .feed__snow,
  .bodycam__rec i, .al-kicker__dot, .al-tag--live i, .redact__label { animation: none !important; }
  .al-ash { display: none; }
}
