/*
  megga.io : le catalogue des services de MEGGA pour l'ère de l'IA.

  Le cadre (barre du haut, accueil, index, page 404) suit la DA de Megga Agents, celle du logiciel du
  clone et de la console « Dossiers » (megga/megga-agents, console/src/app/globals.css, bloc .dossiers,
  choisi par Julien le 27.11.2026) : Poppins, le clair #F7FAFE et l'encre #010714, le sombre Graphite
  #1A1B1E, le bleu des onglets, le rouge de la mascotte pour les boutons pleins. Il suit le thème de
  l'appareil.

  Chaque service garde sa propre DA dans son panneau, quel que soit le thème :
  - Unmark (.um) : la sienne, reprise de megga/megga-unmark (public/src/styles.css) : encre, lime,
    champ de pixels, Poppins ;
  - Unlist (.ul) : violet électrique, barres de caviardage, Archivo étroit ;
  - Cyber (.cy) : celle de megga.dev/cyber : la nuit, Inter Tight, la frise H+0 à H+24 ;
  - le radar (.rd) : orange signal, écran circulaire, Archivo large.

  Le bandeau MEGGA a sa propre feuille (ecosystem.css), identique aux autres sites.
*/

/* ── Polices, servies par megga.io (aucune requête vers un tiers) ─────────────────────────── */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-tight-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-tight-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-tight-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-tight-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-tight-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-tight-latin-ext-600-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url('/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Les jetons du cadre : Megga Agents, clair puis Graphite ──────────────────────────────── */

:root {
  --bg: #f7fafe;
  --side: #eff4fa;
  --hover: #ebf1f8;
  --line: #dce5f1;
  --ink: #010714;
  --muted: #5e636c;
  --faint: #6b717c;
  --accent: #d2372d;
  --on-accent: #ffffff;
  --bleu: #05379a;
  --carte: #ebf1f8;
  --champ: #e1eaf5;
  --eleve: #ffffff;
  --police: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 3.2vw, 40px);
  --max: 1440px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1b1e;
    --side: #1e1f22;
    --hover: #212226;
    --line: #2c2d32;
    --ink: #ecedef;
    --muted: #a0a3aa;
    --faint: #7c7f87;
    --bleu: #0866ff;
    --carte: #212226;
    --champ: #2a2b30;
    --eleve: #26272b;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/26px var(--police);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: -999px; top: 12px; z-index: 100;
  padding: 8px 14px; border-radius: 40px; background: var(--ink); color: var(--bg);
  font: 500 14px var(--police); text-decoration: none;
}
.skip:focus { left: 12px; }

/* ── La barre du haut ───────────────────────────────────────────────────────────────────────── */

.top {
  display: flex; align-items: center; gap: 28px;
  max-width: calc(var(--max) + 2 * var(--gut)); height: 78px; margin: 0 auto; padding: 0 var(--gut);
}
.top__brand { display: inline-flex; color: var(--ink); border-radius: 4px; }
.top__logo { display: block; height: 22px; width: auto; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { font: 500 14px/1 var(--police); text-decoration: none; padding: 8px 0; }
.top__lang { display: flex; gap: 2px; padding: 3px; border-radius: 40px; background: var(--champ); }
.top__lang-link {
  display: inline-block; padding: 5px 11px; border-radius: 40px;
  font: 500 13px/18px var(--police); color: var(--muted); text-decoration: none;
}
.top__lang-link[aria-current='true'] { background: var(--eleve); color: var(--ink); }
@media (hover: hover) {
  .top__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .top__lang-link:hover { color: var(--ink); }
}
@media (min-width: 900px) { .top { height: 88px; } .top__logo { height: 26px; } }
@media (max-width: 760px) { .top__nav { display: none; } .top__lang { margin-left: auto; } }

/* ── L'accueil : le titre, puis l'index des services ──────────────────────────────────────── */

.intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); align-items: end;
  gap: 32px clamp(32px, 5vw, 88px);
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto;
  padding: clamp(28px, 6vw, 88px) var(--gut) clamp(32px, 5vw, 64px);
}
.intro__title {
  margin: 0; max-width: 13ch;
  font: 500 clamp(40px, 6.2vw, 88px)/1.02 var(--police); letter-spacing: -0.035em;
  text-wrap: balance;
}
.intro__lede { margin: 24px 0 0; max-width: 44ch; font-size: 17px; line-height: 28px; color: var(--muted); text-wrap: pretty; }

.index { margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--carte); }
.index li + li { border-top: 1px solid var(--line); }
.index__row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-areas: 'mark name tag' 'mark line line';
  column-gap: 14px; row-gap: 2px; padding: 14px; border-radius: 12px;
  text-decoration: none; color: inherit;
}
.index__mark { grid-area: mark; width: 34px; height: 34px; margin-top: 2px; border-radius: 8px; overflow: hidden; }
.index__mark svg { display: block; width: 100%; height: 100%; }
.index__name { grid-area: name; font-weight: 500; font-size: 17px; line-height: 24px; letter-spacing: -0.01em; }
.index__line { grid-area: line; font-size: 14px; line-height: 21px; color: var(--muted); }
.tag {
  grid-area: tag; align-self: start; padding: 3px 10px; border-radius: 40px;
  font: 500 12px/18px var(--police); white-space: nowrap;
}
.tag--live { background: var(--bleu); color: #ffffff; }
.tag--soon { background: var(--champ); color: var(--muted); }
@media (hover: hover) { .index__row:hover { background: var(--eleve); } }

@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
}

/* ── Les panneaux des services : chacun dans sa DA, posé dans le cadre ────────────────────── */

.svc {
  position: relative; overflow: hidden;
  width: calc(100% - 2 * var(--gut)); max-width: var(--max); margin: 0 auto 16px;
  border-radius: 24px; scroll-margin-top: 16px;
}
main { padding-bottom: clamp(32px, 5vw, 64px); }

/* ── Unmark : encre, lime et pixels (la DA d'unmark.megga.io) ─────────────────────────────── */

.um {
  --um-ink: #0b0b0b; --um-white: #fbfbf8; --um-lime: #d4ff3a; --um-gut: clamp(18px, 4vw, 48px);
  display: flex; align-items: flex-end; min-height: clamp(560px, 86vh, 820px);
  background: var(--um-ink); color: var(--um-white); font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}
.um ::selection { background: var(--um-lime); color: var(--um-ink); }
.um :focus-visible { outline-color: var(--um-lime); }
.um__pixels { position: absolute; inset: 0; width: 100%; height: 100%; }
.um__chips { position: absolute; inset: 0; pointer-events: none; }
.um__chip {
  position: absolute; padding: 4px 8px; background: var(--um-lime); color: var(--um-ink);
  font: 500 11px/1 'Poppins', sans-serif; letter-spacing: 0.03em; white-space: nowrap;
  box-shadow: 0 0 0 1px var(--um-ink);
}
.um__chip--a { left: 22%; top: 37%; }
.um__chip--b { left: 48%; top: 44%; }
.um__chip--c { left: 74%; top: 36%; }
.um__lockup {
  position: absolute; top: 0; left: 0; z-index: 1; display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 20px var(--um-gut); font: 500 12px/1 'Poppins', sans-serif;
}
.um__pix {
  width: 12px; height: 12px; flex: none; --c: linear-gradient(currentColor 0 0);
  background: var(--c) 0 0, var(--c) 100% 0, var(--c) 0 50%, var(--c) 100% 50%, var(--c) 50% 100%;
  background-size: 33.4% 33.4%; background-repeat: no-repeat;
}
.um__megga { display: block; height: 13px; width: auto; }
.um__sep { width: 1px; height: 14px; background: currentColor; opacity: 0.4; }
.um__product { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.um__inner {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 1fr minmax(220px, 300px); align-items: end; gap: 32px;
  padding: 0 var(--um-gut) clamp(28px, 5vw, 56px);
}
.um__title { margin: 0; font-weight: 500; line-height: 0.9; letter-spacing: -0.055em; font-size: clamp(76px, 15.5vw, 224px); }
.um__dot { color: var(--um-lime); }
.um__side { font-size: 13px; line-height: 1.45; color: #cfcfca; }
.um__side p { margin: 0 0 14px; }
.um__side strong { color: var(--um-white); font-weight: 600; }
.um__btn {
  display: inline-block; padding: 6px 10px; text-decoration: none;
  font: 500 12px/1 'Poppins', sans-serif; letter-spacing: 0.03em; text-transform: uppercase;
  border: 1px solid var(--um-lime); color: var(--um-lime); transition: background 0.15s, color 0.15s;
}
.um__btn:hover { background: var(--um-lime); color: var(--um-ink); }
.um__side .um__domain { margin: 14px 0 0; font-size: 12px; color: #8a8a85; }
@media (max-width: 760px) {
  .um__inner { grid-template-columns: 1fr; }
  .um__chip--a { left: 8%; top: 30%; }
  .um__chip--b { left: 42%; top: 38%; }
  .um__chip--c { left: 62%; top: 24%; }
}

/* ── Unlist : violet électrique, la fiche caviardée ───────────────────────────────────────── */

.ul {
  --ul-violet: #3b1ff2; --ul-night: #0d0a1c; --ul-paper: #fbfaff; --ul-soft: #5b5670;
  background: var(--ul-violet); color: #ffffff;
  font-family: 'Archivo', 'Arial Narrow', ui-sans-serif, system-ui, sans-serif; font-stretch: 100%;
}
.ul ::selection { background: var(--ul-night); color: #ffffff; }
.ul :focus-visible { outline-color: #ffffff; }
.ul__inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center;
  gap: clamp(36px, 5vw, 80px); padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(40px, 6vw, 88px);
}
.ul__lockup { margin: 0 0 14px; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
.ul__lockup b { font-weight: 800; font-stretch: 80%; }
.ul__title {
  margin: 0; font-size: clamp(104px, 17vw, 248px); font-weight: 860; font-stretch: 62%;
  line-height: 0.8; letter-spacing: -0.01em;
}
.ul__word { position: relative; display: inline-block; padding-right: 0.02em; }
.ul__word::after {
  content: ''; position: absolute; left: -0.04em; right: -0.06em; top: 0.47em; height: 0.12em;
  background: var(--ul-night);
}
.ul__lede { margin: 32px 0 0; max-width: 34ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.45; font-weight: 450; text-wrap: pretty; }
.ul__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.ul__facts li { padding: 6px 10px; border: 1.5px solid rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 18px; font-weight: 600; font-stretch: 82%; }
.ul__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.ul__btn {
  display: inline-block; padding: 14px 20px; background: #ffffff; color: #2410c4; text-decoration: none;
  font-size: 16px; line-height: 20px; font-weight: 760; font-stretch: 86%;
  transition: background 0.15s, color 0.15s;
}
.ul__btn:hover { background: var(--ul-night); color: #ffffff; }
.ul__domain { font-size: 14px; line-height: 18px; font-weight: 600; font-stretch: 86%; }

.ul__sheet { margin: 0; padding: clamp(20px, 2.6vw, 32px); background: var(--ul-paper); color: var(--ul-night); box-shadow: 14px 14px 0 var(--ul-night); }
.ul__caption { margin: 0 0 10px; font-size: 13px; line-height: 18px; color: var(--ul-soft); }
.ul__rows { margin: 0; padding: 0; list-style: none; }
.ul__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'value sent' 'source sent';
  align-items: center; column-gap: 16px; row-gap: 2px; padding: 14px 0; border-top: 1px solid #e4e1f2;
}
.ul__value { grid-area: value; position: relative; justify-self: start; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.25; font-weight: 600; font-stretch: 90%; overflow-wrap: anywhere; }
.ul__bar { position: absolute; inset: -3px -6px; background: var(--ul-night); transform-origin: 0 50%; }
.ul__source { grid-area: source; font-size: 13px; line-height: 18px; color: var(--ul-soft); }
.ul__sent {
  grid-area: sent; padding: 4px 8px; border: 1.5px solid var(--ul-violet); color: var(--ul-violet);
  font-size: 12px; line-height: 16px; font-weight: 700; font-stretch: 86%; white-space: nowrap;
}
@media (max-width: 900px) {
  .ul__inner { grid-template-columns: 1fr; }
  .ul__sheet { margin-right: 14px; }
}
@media (max-width: 420px) {
  .ul__row { grid-template-columns: 1fr; grid-template-areas: 'value' 'source' 'sent'; }
  .ul__sent { justify-self: start; margin-top: 6px; }
}

/* ── Cyber : la nuit de megga.dev/cyber et sa frise ────────────────────────────────── */

.cy {
  --cy-night: #0a0a0f; --cy-panel: #13131a; --cy-line: #24242e; --cy-body: #b9bac4; --cy-soft: #8b8c96; --cy-blue: #86a8ff;
  background: var(--cy-night); color: #ffffff;
  font-family: 'Inter Tight', 'Helvetica Neue', Arial, system-ui, sans-serif;
}
.cy ::selection { background: var(--cy-blue); color: var(--cy-night); }
.cy :focus-visible { outline-color: var(--cy-blue); }
.cy__inner { padding: clamp(28px, 5vw, 72px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 64px); }
.cy__kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 28px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--cy-body); }
.cy__kicker svg { width: 16px; height: 16px; flex: none; }
.cy__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr); align-items: start; gap: 40px clamp(32px, 5vw, 88px); }
.cy__title { margin: 0; font-size: clamp(40px, 5.8vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.cy__title span { display: block; }
.cy__grid { margin-top: 28px; }
.cy__lede { margin: 0; max-width: 52ch; font-size: 17px; line-height: 1.55; color: var(--cy-body); text-wrap: pretty; }
.cy__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cy__btn {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid #3a3a46; border-radius: 10px;
  color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color 0.15s, background 0.15s;
}
.cy__btn--solid { background: #ffffff; border-color: #ffffff; color: var(--cy-night); }
@media (hover: hover) {
  .cy__btn:hover { border-color: var(--cy-blue); }
  .cy__btn--solid:hover { background: #dfe6ff; border-color: #dfe6ff; }
}
.cy__note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: 13px; line-height: 18px; color: var(--cy-soft); }
.cy__note svg { width: 14px; height: 14px; flex: none; }
.cy__facts { margin: 0; padding: 4px 20px; border: 1px solid var(--cy-line); border-radius: 14px; background: var(--cy-panel); }
.cy__facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; }
.cy__facts div + div { border-top: 1px solid var(--cy-line); }
.cy__facts dt { font-size: 13px; color: var(--cy-soft); }
.cy__facts dd { margin: 0; text-align: right; font-size: 14px; font-weight: 500; }

/* La frise : chaque étape à sa place dans les 24 heures. */
.cy__timeline { position: relative; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; list-style: none; height: 64px; }
.cy__rail { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #2e2e3a; }
.cy__fill { position: absolute; inset: 0; background: var(--cy-blue); transform-origin: 0 50%; }
.cy__step { position: absolute; top: 0; padding-top: 18px; }
.cy__step::before {
  content: ''; position: absolute; top: -5px; left: 0; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cy-blue); border: 1.5px solid var(--cy-blue);
}
.cy__step--h0 { left: 0; }
.cy__step--h2 { left: calc(100% * 2 / 24); }
.cy__step--h14 { left: calc(100% * 14 / 24); }
.cy__step--h20 { left: calc(100% * 20 / 24); }
.cy__step--h24 { right: 0; text-align: right; }
.cy__step--h24::before { left: auto; right: 0; }
.cy__hour { display: block; font-size: 12px; line-height: 16px; color: var(--cy-soft); font-variant-numeric: tabular-nums; }
.cy__what { display: block; margin-top: 4px; font-size: 14px; line-height: 18px; font-weight: 500; white-space: nowrap; }
@media (max-width: 1080px) {
  .cy__grid { grid-template-columns: 1fr; }
  .cy__timeline { height: auto; display: grid; gap: 18px; padding-left: 26px; }
  .cy__rail { left: 5px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .cy__fill { transform-origin: 50% 0; }
  .cy__step { position: relative; left: auto; right: auto; padding-top: 0; text-align: left; }
  .cy__step::before, .cy__step--h24::before { left: -26px; right: auto; top: 3px; }
  .cy__step--h24 { text-align: left; }
  .cy__what { white-space: normal; }
}

/* ── Le radar : orange signal, l'écran et ses échos ───────────────────────────────────────── */

.rd {
  --rd-orange: #ff5a1f; --rd-ink: #140800;
  background: var(--rd-orange); color: var(--rd-ink);
  font-family: 'Archivo', 'Arial', ui-sans-serif, system-ui, sans-serif; font-stretch: 100%;
}
.rd ::selection { background: var(--rd-ink); color: var(--rd-orange); }
.rd :focus-visible { outline-color: var(--rd-ink); }
.rd__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr); align-items: center;
  gap: clamp(36px, 5vw, 80px); padding: clamp(28px, 5vw, 72px);
}
.rd__lockup { margin: 0 0 12px; font-size: 14px; font-weight: 500; font-stretch: 110%; }
.rd__lockup b { font-weight: 800; }
.rd__title { margin: 0; font-size: clamp(84px, 12.5vw, 196px); line-height: 0.82; font-weight: 820; font-stretch: 125%; letter-spacing: -0.035em; }
.rd__lede { margin: 28px 0 0; max-width: 28ch; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.28; font-weight: 620; font-stretch: 108%; letter-spacing: -0.01em; text-wrap: pretty; }
.rd__sources { display: grid; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.rd__sources li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 20px; font-weight: 520; }
.rd__sources li::before { content: ''; width: 8px; height: 8px; flex: none; background: var(--rd-ink); }
.rd__note { margin: 22px 0 0; max-width: 42ch; font-size: 14px; line-height: 20px; font-weight: 450; }
.rd__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
.rd__btn {
  display: inline-block; padding: 14px 20px; background: var(--rd-ink); color: var(--rd-orange); text-decoration: none;
  font-size: 15px; line-height: 20px; font-weight: 760; font-stretch: 112%; transition: background 0.15s, color 0.15s;
}
.rd__btn:hover { background: #fff4ee; color: var(--rd-ink); }
.rd__domain { font-size: 14px; line-height: 18px; font-weight: 600; font-stretch: 112%; }

.rd__scope { position: relative; justify-self: center; width: 100%; max-width: 500px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.rd__scope svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd__ring { fill: none; stroke: var(--rd-ink); stroke-width: 1.6; }
.rd__axis { stroke: var(--rd-ink); stroke-width: 1.2; stroke-dasharray: 2 7; }
.rd__blip, .rd__center { fill: var(--rd-ink); }
.rd__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(20, 8, 0, 0) 0deg 300deg, rgba(20, 8, 0, 0.05) 318deg, rgba(20, 8, 0, 0.3) 358.6deg, rgba(20, 8, 0, 0.85) 359.3deg, rgba(20, 8, 0, 0) 360deg);
  animation: rd-turn 6s linear infinite;
}
/* Chaque écho s'allume quand le balayage passe sur lui (6 s par tour, angle compté depuis le haut). */
.rd__blip { animation: rd-ping 6s linear infinite; }
.rd__blip--1 { animation-delay: -5.38s; }
.rd__blip--2 { animation-delay: -4.22s; }
.rd__blip--3 { animation-delay: -2.47s; }
.rd__blip--4 { animation-delay: -5.53s; }
.rd__blip--5 { animation-delay: -1.08s; }
.rd__blip--6 { animation-delay: -3.53s; }
@keyframes rd-turn { to { transform: rotate(360deg); } }
@keyframes rd-ping { 0% { opacity: 1; } 40% { opacity: 0.18; } 100% { opacity: 0.18; } }
@media (max-width: 900px) {
  .rd__inner { grid-template-columns: 1fr; }
  .rd__scope { max-width: 420px; }
}

/* ── Les mouvements qui répondent au défilement (posés par js/site.js) ────────────────────── */

/* Sans JavaScript, ou avec « réduire les animations », tout est déjà à sa place. */
.reveal-ready .ul__sheet:not(.is-on) .ul__bar { transform: scaleX(0); }
.reveal-ready .ul__sheet:not(.is-on) .ul__sent { opacity: 0; }
.reveal-ready .ul__bar { transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1); }
.reveal-ready .ul__sent { transition: opacity 0.3s ease-out; }
.reveal-ready .ul__row:nth-child(1) .ul__bar { transition-delay: 0.25s; }
.reveal-ready .ul__row:nth-child(2) .ul__bar { transition-delay: 0.6s; }
.reveal-ready .ul__row:nth-child(3) .ul__bar { transition-delay: 0.95s; }
.reveal-ready .ul__row:nth-child(4) .ul__bar { transition-delay: 1.3s; }
.reveal-ready .ul__row:nth-child(5) .ul__bar { transition-delay: 1.65s; }
.reveal-ready .ul__row:nth-child(1) .ul__sent { transition-delay: 0.8s; }
.reveal-ready .ul__row:nth-child(2) .ul__sent { transition-delay: 1.15s; }
.reveal-ready .ul__row:nth-child(3) .ul__sent { transition-delay: 1.5s; }
.reveal-ready .ul__row:nth-child(4) .ul__sent { transition-delay: 1.85s; }
.reveal-ready .ul__row:nth-child(5) .ul__sent { transition-delay: 2.2s; }

.reveal-ready .cy__timeline:not(.is-on) .cy__fill { transform: scaleX(0); }
.reveal-ready .cy__timeline:not(.is-on) .cy__step::before { background: var(--cy-night); border-color: #4a4a58; }
.reveal-ready .cy__fill { transition: transform 2.4s cubic-bezier(0.45, 0, 0.25, 1); }
.reveal-ready .cy__step::before { transition: background 0.25s, border-color 0.25s; }
.reveal-ready .cy__step--h2::before { transition-delay: 0.3s; }
.reveal-ready .cy__step--h14::before { transition-delay: 1.5s; }
.reveal-ready .cy__step--h20::before { transition-delay: 2s; }
.reveal-ready .cy__step--h24::before { transition-delay: 2.35s; }
@media (max-width: 1080px) {
  .reveal-ready .cy__timeline:not(.is-on) .cy__fill { transform: scaleY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .rd__sweep { animation: none; }
  .rd__blip { animation: none; }
  .um__btn, .ul__btn, .cy__btn, .rd__btn { transition: none; }
}

/* ── La page 404, dans le cadre ───────────────────────────────────────────────────────────── */

.lost { max-width: calc(760px + 2 * var(--gut)); margin: 0 auto; padding: clamp(56px, 10vw, 120px) var(--gut) clamp(72px, 12vw, 160px); }
.lost__title { margin: 0; font: 500 clamp(36px, 5vw, 56px)/1.08 var(--police); letter-spacing: -0.03em; }
.lost__lede { margin: 18px 0 0; max-width: 44ch; font-size: 17px; line-height: 28px; color: var(--muted); }
.lost__btn {
  display: inline-flex; align-items: center; height: 46px; margin-top: 32px; padding: 0 22px; border-radius: 40px;
  background: var(--accent); color: var(--on-accent); font: 500 15px var(--police); text-decoration: none;
}
.lost__btn:focus-visible { outline-offset: 3px; }
