/* ============================================================
   ALYRIAZ — PREMIUM LAYER  ·  "Award-winning" overhaul
   Chargé APRÈS main.css + mobile.css : surcharge l'esthétique
   sans toucher au backend (Supabase / auth / rendu articles).
   ============================================================ */

/* ── Tokens premium ──────────────────────────────────────── */
:root {
  --ink:        #040409;
  --ink-2:      #07060f;
  --bg:         #050510;
  --surface:    #0a0a18;
  --surface2:   #11112a;
  --violet:     #7C3AED;
  --violet-lt:  #A78BFA;
  --cyan:       #22D3EE;
  --accent:     #7C3AED;
  --accent2:    #22D3EE;
  --text:       #F4F6FF;
  --muted:      #8A8FB0;
  --hair:       rgba(255,255,255,0.08);
  --hair-2:     rgba(255,255,255,0.04);
  --border:     rgba(124, 58, 237, 0.20);
  --glow:       rgba(124, 58, 237, 0.45);
  --radius:     14px;
  --radius-lg:  24px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:    cubic-bezier(0.83, 0, 0.17, 1);
  --maxw:       1320px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }               /* scroll natif lisse (Lenis désactivé) */

body {
  background: var(--ink);
  color: var(--text);
  font-feature-settings: "ss01" on, "cv01" on;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Vignette + grain plus fin */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  background: radial-gradient(130% 90% at 50% 0%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

::selection { background: rgba(124,58,237,0.45); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--violet), var(--cyan));
  border-radius: 8px;
}

/* Curseur "spotlight" optionnel (desktop) */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.16), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 5; mix-blend-mode: screen;
  transition: opacity .4s; opacity: 0;
}

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 14px var(--glow);
}

/* Couches de profondeur du hero (parallaxe) */
.hero-depth { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.h-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.h-orb-1 { width: 46vw; height: 46vw; left: -10vw; top: -12vw;
  background: radial-gradient(circle, rgba(124,58,237,0.55), transparent 65%); }
.h-orb-2 { width: 38vw; height: 38vw; right: -8vw; bottom: -10vw;
  background: radial-gradient(circle, rgba(34,211,238,0.45), transparent 65%); }
.h-orb-3 { width: 24vw; height: 24vw; right: 16vw; top: 6vw;
  background: radial-gradient(circle, rgba(167,139,250,0.42), transparent 60%); }

/* ════════════════════════════════════════════════════════════
   NAVBAR — top-bar premium
   ════════════════════════════════════════════════════════════ */
#navbar {
  height: 76px;
  padding: 0 clamp(18px, 4vw, 56px);
  mix-blend-mode: normal;
}
#navbar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(4,4,9,0.55), transparent);
  opacity: 1; transition: opacity .4s; pointer-events: none;
}
#navbar.scrolled {
  height: 64px;
  background: rgba(6,6,16,0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--hair);
}
#navbar.scrolled::before { opacity: 0; }

.nav-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em;
  background: none; -webkit-text-fill-color: currentColor; color: #fff;
  display: inline-flex; align-items: center; gap: 2px;
  transition: opacity .3s;
}
.nav-logo span { color: var(--violet-lt); -webkit-text-fill-color: var(--violet-lt); }
.nav-logo:hover { opacity: .85; }

.nav-links { gap: 6px; }
.nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px; border-radius: 999px;
  transition: color .25s, background .25s;
  display: inline-flex; align-items: center; gap: 7px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
}

/* badge SOON sur l'onglet Lyriaz */
.nav-soon {
  font-family: var(--font-mono); font-size: 0.56rem; font-weight: 700;
  letter-spacing: 0.16em; padding: 3px 7px; border-radius: 6px;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  color: #fff; line-height: 1; transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(124,58,237,0.55);
}

.nav-actions { gap: 12px; }
.nav-search-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hair); background: rgba(255,255,255,0.02);
  color: var(--muted); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .25s;
}
.nav-search-btn:hover { color: #fff; border-color: var(--violet); box-shadow: 0 0 18px var(--glow); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  color: #fff; position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  opacity: 0; transition: opacity .3s;
}
.nav-cta span, .nav-cta { z-index: 1; }
.nav-cta:hover { box-shadow: 0 8px 30px rgba(124,58,237,0.5); transform: translateY(-1px); }

/* ════════════════════════════════════════════════════════════
   HERO CINÉMATIQUE
   ════════════════════════════════════════════════════════════ */
.hero {
  height: 100vh; min-height: 680px;
  align-items: flex-end;
  padding-bottom: clamp(48px, 9vh, 110px);
  justify-content: flex-start;
}

/* Vidéo / image de fond */
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-media video,
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 120%;
  object-fit: cover; object-position: center;
  will-change: transform;
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--ink) 2%, rgba(5,5,16,0.30) 45%, rgba(5,5,16,0.55) 100%),
    linear-gradient(to right, rgba(5,5,16,0.85) 0%, rgba(5,5,16,0.10) 55%, transparent 100%);
}
/* on garde le canvas neural mais discret, par-dessus la vidéo */
#neural-canvas { z-index: 1; opacity: 0.35; mix-blend-mode: screen; }
.hero-overlay { z-index: 1; background:
  radial-gradient(ellipse 70% 55% at 30% 60%, transparent 40%, var(--ink) 100%); }

.hero-content {
  text-align: left; z-index: 3;
  max-width: min(1100px, 92vw);
  margin: 0; width: 100%;
  padding: 0 clamp(18px, 5vw, 56px);
  margin-left: auto; margin-right: auto;
  will-change: transform, opacity;
}

.hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.22em; color: var(--cyan);
  background: rgba(34,211,238,0.06); border-color: rgba(34,211,238,0.28);
  padding: 7px 16px; backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.9rem, 8.2vw, 7.6rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 0.96;
  margin: 22px 0 26px; max-width: 14ch;
}
.hero-title .line-accent {
  background: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 60%, #fff 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* mots révélés par GSAP : masque */
.reveal-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.reveal-mask > span { display: inline-block; will-change: transform; }

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--muted);
  max-width: 52ch; margin: 0 0 38px; line-height: 1.7;
}
.hero-cta-group { justify-content: flex-start; }

.btn-primary {
  border-radius: 999px; padding: 16px 34px; font-size: 0.92rem;
  background: linear-gradient(120deg, var(--violet), var(--cyan));
  box-shadow: 0 10px 40px rgba(124,58,237,0.45);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 16px 56px rgba(124,58,237,0.6); }
.btn-ghost {
  border-radius: 999px; padding: 16px 30px; border-color: var(--hair);
  backdrop-filter: blur(8px); background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34,211,238,0.06); }

.hero-scroll {
  left: auto; right: clamp(18px, 5vw, 56px); bottom: 40px; transform: none;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.2em;
  align-items: flex-end;
}
.hero-scroll::after { background: linear-gradient(to bottom, var(--cyan), transparent); height: 56px; }

/* ════════════════════════════════════════════════════════════
   TICKER kinétique
   ════════════════════════════════════════════════════════════ */
.ticker-wrap {
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background: linear-gradient(90deg, var(--ink), var(--surface), var(--ink));
  overflow: hidden;
}
.ticker-label {
  background: linear-gradient(120deg, var(--violet), var(--cyan)) !important;
  color: #fff !important; font-family: var(--font-mono);
  letter-spacing: 0.18em; font-weight: 700;
}
.ticker-item {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  text-transform: none;
}
.ticker-item::before { color: var(--violet-lt) !important; }

/* ════════════════════════════════════════════════════════════
   SHOWCASE / sections parallaxe sur-mesure
   ════════════════════════════════════════════════════════════ */
.px-section { position: relative; padding: clamp(90px, 14vh, 200px) 0; overflow: hidden; }
.px-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 5vw, 56px); }

.eyebrow-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 22px;
}

.display-h2 {
  font-size: clamp(2rem, 5vw, 4.2rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 26px;
}
.display-h2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 56ch; line-height: 1.75; }

/* Section "Intelligence" : orbe pinné + texte */
.orb-stage { position: relative; min-height: 100vh; display: grid; place-items: center; }
.orb-wrap {
  position: relative; width: clamp(280px, 42vw, 620px); aspect-ratio: 1;
  will-change: transform;
}
.orb-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: screen;          /* le fond noir du rendu devient transparent */
  filter: drop-shadow(0 0 80px rgba(124,58,237,0.5)) saturate(1.1);
}
.orb-halo {
  position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 62%);
  filter: blur(40px); z-index: -1;
}
.orb-caption {
  position: absolute; max-width: 30ch; z-index: 4;
}
.orb-caption.tl { top: 8%; left: 0; text-align: left; }
.orb-caption.br { bottom: 8%; right: 0; text-align: right; }
.orb-caption h4 { font-size: 1.15rem; margin-bottom: 6px; }
.orb-caption p { font-size: 0.9rem; color: var(--muted); }

/* Pellicule de chiffres (stats) */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 28px); margin-top: 64px;
}
.stat-cell {
  border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 26px 22px; background: rgba(255,255,255,0.015);
  backdrop-filter: blur(6px);
}
.stat-cell .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(120deg, #fff, var(--violet-lt));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-cell .lbl {
  margin-top: 10px; font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}

/* Bandes "manifeste" défilant horizontalement (pin) */
.manifesto-track {
  display: flex; gap: clamp(24px, 4vw, 80px); white-space: nowrap;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 6rem); letter-spacing: -0.03em;
  will-change: transform;
}
.manifesto-track span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.22); }
.manifesto-track span.fill {
  -webkit-text-stroke: 0;
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ════════════════════════════════════════════════════════════
   PRINCIPES — cartes premium (réutilise .principles-bar markup)
   ════════════════════════════════════════════════════════════ */
.principles-bar {
  grid-template-columns: repeat(4, 1fr); gap: 18px;
  border: none; background: transparent;
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px,5vw,56px) 40px;
}
.principle-item {
  flex-direction: column; gap: 16px; border: 1px solid var(--hair);
  border-radius: var(--radius); padding: 30px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.principle-item:hover {
  transform: translateY(-8px); border-color: var(--border);
  background: linear-gradient(180deg, rgba(124,58,237,0.10), transparent);
}
.principle-icon { font-size: 2.2rem; }
.principle-text h3 { font-size: 1.05rem; }

/* ════════════════════════════════════════════════════════════
   SECTION ARTICLES — restylage premium des cartes (app.js)
   ════════════════════════════════════════════════════════════ */
.section-title { font-family: var(--font-mono); letter-spacing: 0.18em; }
.section-title span { background: linear-gradient(120deg,#fff,var(--violet-lt));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent; }

.filter-btn { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; }
.filter-btn.active { background: linear-gradient(120deg, var(--violet), var(--cyan)); border-color: transparent; }

#articles-grid { gap: 22px; }

.article-card {
  background: var(--surface); border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
}
.article-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; background: linear-gradient(130deg, var(--violet), transparent 40%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.article-card:hover::after { opacity: .9; }
.article-card:hover {
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 40px rgba(124,58,237,0.18);
}
.card-thumb { height: 188px; }
.article-card.wide .card-thumb { height: 240px; }
.card-title { letter-spacing: -0.02em; }

.featured-card {
  border-radius: var(--radius-lg); border: 1px solid var(--hair); overflow: hidden;
  background: var(--surface);
}
.featured-title { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -0.03em; }

/* ════════════════════════════════════════════════════════════
   FOOTER premium
   ════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--hair);
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.05));
  margin-top: 40px;
}
.footer-cta {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(70px,10vh,140px) clamp(18px,5vw,56px) 60px;
  text-align: center;
}
.footer-cta h2 {
  font-size: clamp(2.4rem, 6vw, 5.4rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
}
.footer-cta h2 em { font-style: normal;
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent; }
.footer-cta p { color: var(--muted); margin: 22px auto 36px; max-width: 50ch; }

/* ════════════════════════════════════════════════════════════
   REVEAL utilitaires (GSAP ajoute .is-in)
   ════════════════════════════════════════════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(40px); }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ════════════════════════════════════════════════════════════
   PAGE LYRIAZ — teaser SOON
   ════════════════════════════════════════════════════════════ */
.lyriaz-stage {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  overflow: hidden; text-align: center;
}
.lyriaz-bg { position: absolute; inset: 0; z-index: 0; }
.lyriaz-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.lyriaz-bg::after { content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 60% at 50% 45%, transparent 30%, var(--ink) 85%); }
.lyriaz-inner { position: relative; z-index: 2; padding: 0 24px; }
/* voile sombre doux derrière le texte pour la lisibilité sur le visuel lumineux */
.lyriaz-inner::before {
  content: ''; position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: min(760px, 94vw); height: 118%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 52% at 50% 50%, rgba(4,4,9,0.86), rgba(4,4,9,0) 72%);
  filter: blur(22px);
}
.lyriaz-kicker {
  font-family: var(--font-mono); letter-spacing: 0.4em; text-transform: uppercase;
  font-size: 0.74rem; color: var(--cyan); margin-bottom: 28px;
}
.lyriaz-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.4rem, 16vw, 13rem); letter-spacing: -0.04em; line-height: 0.9;
  background: linear-gradient(100deg, #fff 0%, var(--violet-lt) 50%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lyriaz-soon {
  display: inline-block; margin-top: 22px; padding: 8px 22px; border-radius: 999px;
  font-family: var(--font-mono); letter-spacing: 0.3em; font-size: 0.78rem; font-weight: 700;
  border: 1px solid var(--border); background: rgba(124,58,237,0.1); color: #fff;
}
.lyriaz-sub {
  color: #DCE0F0; max-width: 46ch; margin: 30px auto 0; line-height: 1.75;
  font-size: 1.02rem; text-shadow: 0 2px 26px rgba(0,0,0,0.9);
}
.lyriaz-form { display:flex; gap:10px; justify-content:center; margin-top:34px; flex-wrap:wrap; }
.lyriaz-form input {
  background: rgba(8,8,18,0.62); border: 1px solid rgba(255,255,255,0.18); color: #fff;
  padding: 14px 20px; border-radius: 999px; min-width: 280px; font-size: 0.95rem; outline: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lyriaz-form input::placeholder { color: rgba(226,230,246,0.62); }
.lyriaz-form input:focus { border-color: var(--cyan); background: rgba(8,8,18,0.78); }

/* ════════════════════════════════════════════════════════════
   PAGE ACTUALITÉ — hero cinématique + timeline lumineuse
   ════════════════════════════════════════════════════════════ */
.actu-hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  overflow: hidden; padding: 0 clamp(18px,5vw,56px) clamp(100px,17vh,210px);
}
/* Réseau neuronal animé PAR-DESSUS la vidéo du hero */
.actu-hero .actu-hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  opacity: .5; mix-blend-mode: screen; pointer-events: none;
}
.actu-hero .actu-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.actu-hero .actu-bg img,
.actu-hero .actu-bg video { width: 100%; height: 116%; object-fit: cover; opacity: 1; will-change: transform; }
/* Dégradé : sombre à gauche (sous le texte) + bas, mais DROITE claire (vidéo visible). */
.actu-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(5,5,16,0.18) 42%, transparent 72%),
    linear-gradient(to right, rgba(5,5,16,0.82) 0%, rgba(5,5,16,0.20) 50%, transparent 82%);
}
.actu-hero #neural-canvas { z-index: 1; opacity: .35; mix-blend-mode: screen; }
.actu-hero-inner { position: relative; z-index: 3; max-width: var(--maxw); margin: 0 auto; width: 100%; }

.actu-live {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: 24px;
  font-family: var(--font-mono); letter-spacing: 0.24em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--cyan);
}
.actu-live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: livePulse 2.2s infinite; }
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,238,0.55); }
  70%  { box-shadow: 0 0 0 15px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
.actu-hero h1 {
  font-size: clamp(2.9rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.94;
}
.actu-hero h1 em { font-style: normal;
  background: linear-gradient(100deg, var(--violet), var(--cyan) 60%, #fff 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.actu-hero .actu-sub {
  color: #C9CEE6; max-width: 54ch; margin-top: 24px; font-size: clamp(1rem,1.4vw,1.15rem);
  line-height: 1.7; text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}
.actu-scroll {
  position: absolute; right: clamp(18px,5vw,56px); bottom: 38px; z-index: 3;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.actu-scroll::after { content: ''; width: 1px; height: 52px; background: linear-gradient(var(--cyan), transparent);
  animation: bounce 2.5s ease infinite; }

/* Section feed avec fond "réseaux neuronaux animés" */
.news-section { position: relative; overflow: visible; }
/* Bande de flou qui fond la vidéo (hero) et l'image (feed) au raccord */
.news-section::before {
  content: ''; position: absolute; left: 0; right: 0; top: -72px; height: 150px; z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  -webkit-mask: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
          mask: linear-gradient(to bottom, transparent, #000 38%, #000 62%, transparent);
}
.news-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.news-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.news-bg video { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.news-bg #neural-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .6; mix-blend-mode: screen;
}
.news-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(5,5,16,0.30) 14%, rgba(5,5,16,0.30) 86%, var(--ink) 100%);
}
.news-wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,7vh,90px) clamp(18px,5vw,56px) 130px; }

/* Carte "à la une" (actu la plus récente) */
.news-featured {
  position: relative; display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px,4vw,56px);
  align-items: center; border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: clamp(28px,4vw,52px); margin-bottom: 56px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(124,58,237,0.16), transparent 55%),
              radial-gradient(120% 140% at 100% 100%, rgba(34,211,238,0.12), transparent 55%),
              var(--surface);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.news-featured:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 50px rgba(124,58,237,0.2); }
.news-featured .nf-date {
  font-family: var(--font-mono); color: var(--cyan); font-size: 0.8rem; letter-spacing: 0.08em;
}
.news-featured .nf-date .day {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.5rem,7vw,5.5rem); line-height: 0.9; margin-top: 6px;
  background: linear-gradient(120deg,#fff,var(--violet-lt));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.news-featured h2 { font-size: clamp(1.8rem,3.4vw,2.8rem); letter-spacing: -0.03em; margin: 14px 0 14px; line-height: 1.05; }
.news-featured p { color: var(--muted); line-height: 1.75; font-size: 1.02rem; max-width: 60ch; }

/* Timeline */
.news-timeline { position: relative; padding-left: 42px; }
.news-timeline::before {
  content: ''; position: absolute; left: 12px; top: 14px; bottom: 14px; width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--cyan) 60%, transparent);
  opacity: .55;
}
.news-row {
  position: relative; border: 1px solid var(--hair); border-radius: var(--radius-lg);
  padding: 26px 30px; background: var(--surface); margin-bottom: 18px; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.news-row::before {
  content: ''; position: absolute; left: -36px; top: 30px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--cyan); box-shadow: 0 0 16px rgba(34,211,238,0.7);
}
.news-row::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(130deg, var(--violet), transparent 45%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s;
}
.news-row:hover { transform: translateX(6px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.news-row:hover::after { opacity: .9; }
.news-row .nr-date { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 6px; }
.news-row h3 { font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.news-row p { color: var(--muted); line-height: 1.7; }

.news-tag {
  display:inline-block; margin-bottom:12px; padding: 4px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--violet-lt); background: rgba(124,58,237,0.08);
}
.news-link {
  display:inline-flex; align-items:center; gap:7px; margin-top:16px;
  font-weight:700; font-size:0.86rem; color: var(--cyan);
}
.news-link .arrow { transition: transform .25s; }
.news-row:hover .news-link .arrow, .news-featured:hover .news-link .arrow { transform: translateX(5px); }

@media (max-width: 760px) {
  .actu-hero { min-height: 78vh; padding-bottom: clamp(40px,7vh,80px); }
  .actu-hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 4rem);
    word-break: normal; overflow-wrap: normal; hyphens: none;
  }
  .actu-scroll { display: none; }
  .news-featured { grid-template-columns: 1fr; gap: 14px; }
  .news-featured .nf-date { display: flex; align-items: baseline; gap: 12px; }
  .news-featured .nf-date .day { font-size: 2.4rem; margin: 0; }
  .news-timeline { padding-left: 30px; }
  .news-row::before { left: -24px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .orb-caption { position: static; text-align: center !important; max-width: none; margin: 18px auto; }
  .orb-stage { gap: 10px; }
}
@media (max-width: 860px) {
  /* la nav top-bar : on cache les liens, hamburger prend le relais (déjà géré par mobile.css) */
  .hero { align-items: center; padding-bottom: 0; text-align: center; }
  .hero-content { text-align: center; }
  .hero-title { max-width: none; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-media video, .hero-media img { height: 100%; }
  .news-card { grid-template-columns: 1fr; gap: 14px; }
  .news-date { border-right: none; border-bottom: 1px solid var(--hair); padding: 0 0 14px;
    display:flex; align-items:baseline; gap: 12px; }
  .news-date .day { font-size: 1.8rem; margin: 0; }
  .principles-bar { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(1.55rem, 8.2vw, 3rem);
    word-break: normal; overflow-wrap: normal; hyphens: none;
    line-height: 1.02;
  }
  .reveal-mask { white-space: nowrap; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .manifesto-track { font-size: clamp(2rem, 11vw, 3.4rem); }
}

/* ════════════════════════════════════════════════════════════
   ACCUEIL v3 — sections immersives (parallaxe multi-couches)
   ════════════════════════════════════════════════════════════ */
.immersive {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden; text-align: center;
  perspective: 1300px;                 /* profondeur Z réelle pour le scroll-jacking */
}
.immersive-bg, .immersive-inner { transform-style: preserve-3d; will-change: transform, opacity; }
.immersive-tall { min-height: 110vh; }
.immersive-bg { position: absolute; inset: -14% 0; z-index: 0; }
.immersive-bg img,
.immersive-bg video { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.immersive-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 78% 70% at 50% 50%, transparent 28%, rgba(4,4,9,0.80) 100%),
    linear-gradient(to bottom, var(--ink), transparent 22%, transparent 78%, var(--ink));
}
.immersive-veil.strong {
  background:
    radial-gradient(ellipse 85% 75% at 50% 50%, rgba(4,4,9,0.30) 18%, rgba(4,4,9,0.82) 100%),
    linear-gradient(to bottom, var(--ink), transparent 18%, transparent 74%, var(--ink));
}
.immersive-inner { position: relative; z-index: 2; max-width: 1000px; padding: 0 24px; }
.immersive-inner.wide { max-width: var(--maxw); }
.immersive-title {
  font-size: clamp(2.1rem, 6.6vw, 5.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.0;
  text-shadow: 0 4px 50px rgba(0,0,0,0.5);
}
.immersive-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* lettres assemblées (split JS) — mots insécables */
.immersive-title .word { display: inline-block; white-space: nowrap; }
.immersive-title .ltr { display: inline-block; will-change: transform, opacity; }
.immersive-title .ltr-grad {
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.immersive-lead {
  color: #C9CEE6; max-width: 50ch; margin: 22px auto 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.7; text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}
.immersive .stat-strip { margin-top: 52px; }
.immersive .stat-cell { background: rgba(8,8,18,0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* eyebrow centré (avec tiret de chaque côté) */
.eyebrow-line.center { justify-content: center; }

/* En-tête "bibliothèque" de la section articles */
.articles-intro { text-align: center; margin-bottom: 52px; }
.articles-intro .eyebrow-line { justify-content: center; margin-bottom: 18px; }
.articles-intro .display-h2 { margin: 0 auto; }

@media (max-width: 600px) {
  .immersive-title { font-size: clamp(2rem, 9.5vw, 4rem); word-break: normal; overflow-wrap: normal; }
  .immersive { min-height: 84vh; }
  .immersive-tall { min-height: auto; padding: clamp(70px,12vh,120px) 0; }
}

/* ════════════════════════════════════════════════════════════
   HERO — plongée vortex (perspective 3D) + typo glow/sheen
   ════════════════════════════════════════════════════════════ */
/* Journey : hero + scènes empilés ; on plonge et chaque scène se fond
   par-dessus la précédente (aucune impression de scroll vertical). */
.journey { position: relative; perspective: 1300px; }
.jscene { position: absolute; inset: 0; opacity: 0; pointer-events: none; }  /* invisibles → ne bloquent pas les clics du hero */
.jscene.immersive-tall { min-height: 0; }   /* contraint à 100vh dans le voyage */

.hero { perspective: 1300px; }
.hero-content { transform-style: preserve-3d; }
.hero-media { transform-origin: 50% 50%; background: radial-gradient(ellipse at 60% 42%, #160a2e, var(--ink) 72%); }
#hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-title { text-shadow: 0 0 70px rgba(124,58,237,0.40); }
.hero-title .reveal-mask.glow-on { overflow: visible; }   /* glow visible après reveal */
.hero-title .line-accent {
  background: linear-gradient(100deg, var(--violet) 0%, var(--cyan) 38%, #ffffff 58%, var(--violet-lt) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(124,58,237,0.65));
  animation: heroSheen 5.5s linear infinite;
}
@keyframes heroSheen { to { background-position: -250% 0; } }

/* ════════════════════════════════════════════════════════════
   WORD-STACK cinétique (mot central géant qui glow)
   ════════════════════════════════════════════════════════════ */
.wordstack {
  position: relative; min-height: 92vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 34px; overflow: hidden;
  padding: clamp(60px,10vh,120px) 0;
}
.wordstack-eyebrow {
  font-family: var(--font-mono); letter-spacing: 0.32em; text-transform: uppercase;
  font-size: 0.74rem; color: var(--cyan);
}
.wordstack-viewport {
  position: relative; width: 100%; height: 1.25em; overflow: hidden;
  font-size: clamp(2.8rem, 12vw, 10rem);
  display: flex; align-items: center; justify-content: center;
}
.wordstack-word {
  display: inline-block; line-height: 1.1; text-align: center;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(100deg, #fff 0%, var(--violet-lt) 45%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 50px rgba(124,58,237,0.7));
  will-change: transform, opacity;
}

/* Respect prefers-reduced-motion — on garde la vidéo de fond (mouvement doux
   voulu), on neutralise seulement les animations CSS agressives. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ════════════════════════════════════════════════════════════
   MOBILE — hamburger, menu, barre du bas (raccord avec la DA)
   ════════════════════════════════════════════════════════════ */
/* Hamburger : pastille ronde en verre, ligne → croix */
.hamburger {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hair); background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 0;
}
.hamburger span { display:block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform .3s var(--ease), opacity .25s; }
.hamburger.open { background: linear-gradient(120deg, var(--violet), var(--cyan)); border-color: transparent; }
.hamburger.open span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panneau du menu : verre profond + gros liens dégradés */
.mobile-menu-backdrop { background: rgba(4,4,9,0.65); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mobile-menu-panel {
  background: linear-gradient(180deg, rgba(14,12,30,0.92), rgba(6,6,16,0.96));
  backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%);
  border-left: 1px solid var(--hair); padding: 88px 26px 32px;
}
.mobile-menu-label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.mobile-menu-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 6px;
  border-bottom: 1px solid var(--hair-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: -0.02em; color: var(--text); transition: color .25s, padding-left .25s;
}
.mobile-menu-link:hover, .mobile-menu-link:active { color: var(--violet-lt); padding-left: 14px; }
.mobile-menu-link .link-icon { font-size: 1.1rem; width: 26px; text-align: center; opacity: .9; }
.mobile-user-section .mobile-menu-link { font-size: 1rem; font-family: var(--font-body); }

/* Barre du bas : verre + bulle dégradée */
.bottom-nav {
  background: rgba(8,8,18,0.72); backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%); border-top: 1px solid var(--hair);
}
.bottom-nav-item { color: var(--muted); transition: color .25s; }
.bottom-nav-item span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; }
.bottom-nav-item.active { color: #fff; }
.bottom-nav-item.active svg { filter: drop-shadow(0 0 8px var(--glow)); }
.bnav-bubble {
  background: linear-gradient(120deg, var(--violet), var(--cyan)) !important;
  box-shadow: 0 8px 26px var(--glow); border: none;
}

/* ── Réglages MOBILE de l'accueil ────────────────────────────── */
@media (max-width: 760px) {
  /* Chiffres compacts (pour tenir dans l'écran) */
  .immersive .stat-strip { margin-top: 18px; gap: 10px; grid-template-columns: 1fr 1fr; }
  .immersive .stat-cell { padding: 12px 10px; }
  .stat-cell .num { font-size: clamp(1.6rem, 7vw, 2.3rem) !important; }
  .stat-cell .lbl { font-size: 0.58rem; }
  /* sous-texte de la vague RÉ-AFFICHÉ sur mobile (compact pour tenir avec les chiffres) */
  #scene-2 .immersive-lead { display: block; margin: 12px auto 0; font-size: 0.86rem; max-width: 92vw; }

  /* anti-coupure : on réduit les très gros titres pour que les mots tiennent */
  .immersive-title { font-size: clamp(1.9rem, 8.5vw, 3.4rem); line-height: 1.04; }
  .wordstack-viewport { font-size: clamp(2.2rem, 13vw, 4.4rem); }
  .wordstack-word { word-break: normal; overflow-wrap: normal; hyphens: none; }
  .immersive-lead { font-size: 1rem; max-width: 90vw; }
  .display-h2 { font-size: clamp(1.9rem, 8vw, 3.2rem); }

  /* hamburger un peu plus présent */
  .hamburger { display: inline-flex; }

  /* ════ PERF MOBILE : suppression des effets GPU coûteux pendant le scroll ════ */
  /* 3 orbes en blur(70px)+mix-blend qui bougent en parallaxe = compositing très lourd.
     Le vortex fournit déjà le halo → on les retire entièrement. */
  .hero-depth { display: none !important; }

  /* backdrop-filter sur des éléments FIXES = re-flou de tout l'arrière-plan À CHAQUE frame
     de scroll (l'un des effets les plus chers sur mobile) → fond opaque à la place. */
  #navbar { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(8,8,18,0.92) !important; }
  .bottom-nav { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(8,8,18,0.95) !important; }
  .immersive .stat-cell { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(8,8,18,0.72) !important; }
  .hero-eyebrow, .btn-ghost { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

  /* suppression des filtres lourds restants (vortex/orbes/titres) */
  .orb-halo { filter: none !important; display: none !important; }
  .orb-wrap img { filter: none !important; }
  .hero-title .line-accent { filter: none !important; }
  .wordstack-word { filter: none !important; }
  .lyriaz-inner::before { filter: none !important; background: rgba(4,4,9,0.94) !important; }

  /* INVISIBLE : will-change sur ~52 lettres = 52 couches GPU permanentes que le mobile
     doit composer en continu. En 'auto', l'anim est IDENTIQUE mais le compositing est allégé. */
  .immersive-title .ltr { will-change: auto !important; }

  /* INVISIBLE : le fond était surdimensionné (-14% => ~28% de pixels en trop) pour une parallaxe
     yPercent inexistante ici. Le ken-burns part du centre (object-fit:cover) => inset:0 = identique
     à l'écran mais bien moins de pixels à décoder/composer. */
  .immersive-bg { inset: 0 !important; }

  /* INVISIBLE & GROS GAIN : les scènes ont perspective + preserve-3d, mais leurs titres n'utilisent
     QUE des transforms 2D (x, y, rotation 2D, scale) — aucun enfant n'a de profondeur Z. Ce contexte
     3D ne change donc RIEN à l'écran mais oblige le GPU mobile à composer 2 plans 3D plein écran en
     continu. On l'aplatit POUR LES SCÈNES UNIQUEMENT (le hero garde sa 3D => plongée intacte). */
  .immersive { perspective: none !important; }
  .immersive-bg, .immersive-inner { transform-style: flat !important; }
}
