/* ═══════════════════════════════════════════════════════
   ALGOR INT — Nouvelle direction artistique
   Refonte 2026 · épurée, claire, commerciale
   ═══════════════════════════════════════════════════════ */

:root {
  /* ─── Surfaces — DARK violet-night par défaut (la première page reste sombre, mais bcp plus douce que noir pur) ─── */
  --bg:       #100C20;           /* nuit violet-encré, jamais noir */
  --bg-soft:  #15112A;           /* bandes alternées */
  --surface:  #1A1535;           /* cartes, panneaux */
  --surface-2:#221C42;           /* hover, inputs */
  --tint:     #2A2148;           /* fond accent */

  /* ─── Ink ─── */
  --ink:      #F3EFFB;           /* texte principal — blanc cassé, jamais blanc pur */
  --ink-2:    #CFC8E2;           /* sous-titres */
  --muted:    #9089AA;           /* texte secondaire, labels */
  --muted-2:  #5A5378;           /* tertiaire */
  --line:     rgba(255,255,255,0.06); /* bordures discrètes */
  --line-2:   rgba(255,255,255,0.12); /* bordures fortes */

  /* ─── Accent (issu du logo Algor) ─── */
  --violet:    #B596E0;          /* signature — clair sur fond sombre */
  --violet-h:  #C8B0EA;          /* hover */
  --violet-2:  #8B5FBF;          /* secondaire, gradients */
  --violet-d:  #6B3FA0;          /* profond — couleur signature logo */
  --violet-bg: rgba(181,150,224,0.08); /* wash */
  --violet-bd: rgba(181,150,224,0.22); /* bordure accent */
  --violet-grad: linear-gradient(130deg, #6B3FA0 0%, #5650C6 48%, #2E84D4 100%); /* degrade violet -> bleu */

  /* ─── Or — accent secondaire, heritage Algor Int ─── */
  --gold:    #c49a3c;
  --gold-h:  #a87f2e;
  --gold-bg: rgba(196,154,60,0.10);
  --gold-bd: rgba(196,154,60,0.32);

  /* ─── Signaux (sobres, jamais saturés à 100%) ─── */
  --ok:       #2F8A6B;
  --warn:     #C97E2A;
  --alert:    #B83A4A;
  --info:     #2E6FB8;

  /* ─── Typo ─── */
  --sans:     'Plus Jakarta Sans', system-ui, sans-serif;
  --mono:     'JetBrains Mono', ui-monospace, monospace;
  --serif:    'Instrument Serif', Georgia, serif;

  /* ─── Spacing scale (8pt) ─── */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --s9: 96px; --s10:128px;

  /* ─── Radii (douceur = moins agressif) ─── */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-full: 999px;

  /* ─── Shadows (très douces) ─── */
  --shadow-1: 0 1px 0 rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.18);
  --shadow-2: 0 1px 0 rgba(0,0,0,0.2), 0 12px 32px -10px rgba(0,0,0,0.4);
  --shadow-3: 0 32px 80px -24px rgba(46,24,87,0.55), 0 12px 28px -12px rgba(0,0,0,0.4);

  /* ─── Motion ─── */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Light theme override (basculable via Tweaks) ─── */
[data-theme="light"] {
  --bg:       #FFFFFF;
  --bg-soft:  #F7F6FA;
  --surface:  #FFFFFF;
  --surface-2:#F5F3FA;
  --tint:     #F1EDF7;

  --ink:      #181428;
  --ink-2:    #3A3450;
  --muted:    #6E6982;
  --muted-2:  #A19DB0;
  --line:     rgba(24,20,40,0.08);
  --line-2:   rgba(24,20,40,0.14);

  --violet:    #6B3FA0;
  --violet-h:  #5A2F8C;
  --violet-2:  #8B5FBF;
  --violet-d:  #2E1857;
  --violet-bg: rgba(107,63,160,0.06);
  --violet-bd: rgba(107,63,160,0.18);

  --shadow-1: 0 1px 0 rgba(24,20,40,0.04), 0 1px 2px rgba(24,20,40,0.04);
  --shadow-2: 0 1px 0 rgba(24,20,40,0.04), 0 8px 24px -8px rgba(24,20,40,0.08);
  --shadow-3: 0 24px 60px -20px rgba(46,24,87,0.18), 0 8px 20px -10px rgba(24,20,40,0.06);
}

/* ─── Accent variants (via Tweaks) — adapt to current theme ─── */
[data-accent="violet"] {} /* default */
[data-accent="indigo"] {
  --violet:#A7B0E0; --violet-h:#BDC4EC; --violet-2:#7180C8; --violet-d:#3F4CA0;
  --violet-bg:rgba(167,176,224,0.08); --violet-bd:rgba(167,176,224,0.22); --tint:#1F2440;
}
[data-theme="light"][data-accent="indigo"] {
  --violet:#3F4CA0; --violet-h:#2F3B8C; --violet-2:#5F6FBF; --violet-d:#1A1F57;
  --violet-bg:rgba(63,76,160,0.06); --violet-bd:rgba(63,76,160,0.18); --tint:#EDF0F7;
}
[data-accent="teal"] {
  --violet:#74C4C4; --violet-h:#8FD3D3; --violet-2:#4FA0A0; --violet-d:#0F7A7A;
  --violet-bg:rgba(116,196,196,0.08); --violet-bd:rgba(116,196,196,0.22); --tint:#163838;
}
[data-theme="light"][data-accent="teal"] {
  --violet:#0F7A7A; --violet-h:#0A6363; --violet-2:#3FA0A0; --violet-d:#063B3B;
  --violet-bg:rgba(15,122,122,0.06); --violet-bd:rgba(15,122,122,0.18); --tint:#E8F3F2;
}
[data-accent="bronze"] {
  --violet:#D4A672; --violet-h:#E0B98C; --violet-2:#B57F4F; --violet-d:#8E5A2D;
  --violet-bg:rgba(212,166,114,0.08); --violet-bd:rgba(212,166,114,0.22); --tint:#332618;
}
[data-theme="light"][data-accent="bronze"] {
  --violet:#8E5A2D; --violet-h:#754620; --violet-2:#B57F4F; --violet-d:#4A2D14;
  --violet-bg:rgba(142,90,45,0.06); --violet-bd:rgba(142,90,45,0.20); --tint:#F4EEE6;
}

/* ─── Reset ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html, body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  min-height: 100vh;
  overflow-x: hidden;
}

/* — Transition entre rubriques (navigation cross-document).
   Active la View Transitions API sur Chrome 126+ / Safari TP.
   Le header et le footer ont un nom partage : ils sont identifies entre les
   pages et restent en place pendant que SEUL le contenu (main) cross-fade. */
@view-transition { navigation: auto; }

.site-header,
.app-header  { view-transition-name: site-header; }
.site-footer { view-transition-name: site-footer; }
main         { view-transition-name: page-main; }

/* Les elements nommes ne sont PAS anim&eacute;s par defaut (ils sont "matches"
   entre l'ancienne et la nouvelle page). Seul `page-main` cross-fade rapidement. */
::view-transition-old(site-header),
::view-transition-new(site-header),
::view-transition-old(site-footer),
::view-transition-new(site-footer) {
  animation: none;
}
::view-transition-old(page-main) {
  animation: 140ms cubic-bezier(0.4, 0, 0.2, 1) both vtFadeOut;
}
::view-transition-new(page-main) {
  animation: 220ms cubic-bezier(0.22, 0.61, 0.36, 1) both vtFadeIn;
}
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtFadeIn  { from { opacity: 0; transform: translateY(4px); } }

/* — Fallback (Safari/Firefox sans View Transitions) : fade-in du contenu UNIQUEMENT,
   pas du body entier — le header reste stable visuellement entre les pages. */
@keyframes mainFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
main {
  animation: mainFadeIn 220ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
  ::view-transition-old(page-main),
  ::view-transition-new(page-main) { animation: none; }
}

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* ─── Type utilities ─── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mono { font-family: var(--mono); }
.serif { font-family: var(--serif); }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.app-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background-image: url('../../favicon.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 14px rgba(46,24,87,0.28);
  flex-shrink: 0;
}
.brand__body { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand__name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink);
  line-height: 1;
}
.brand__tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}
.app-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 28px;
}
.app-header__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  background: var(--violet-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--violet) 55%, transparent);
  transition: filter 0.15s var(--ease), transform 0.15s var(--ease);
}
.header-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.header-cta__star { width: 14px; height: 14px; flex-shrink: 0; }

/* Popover premium au survol du bouton */
.header-cta-wrap { position: relative; }
.cta-pop {
  position: absolute;
  top: 100%;
  right: 0;
  width: 340px;
  padding-top: 12px;          /* pont transparent : evite le clignotement */
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 60;
}
.header-cta-wrap:hover .cta-pop,
.header-cta-wrap:focus-within .cta-pop {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cta-pop__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 22px 54px -14px rgba(46,24,87,0.40);
  padding: 18px 18px 16px;
}
.cta-pop__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet);
}
.cta-pop__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 5px;
}
.cta-pop__lede {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
  margin: 4px 0 13px;
}
.cta-pop__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  list-style: none;
  padding: 0;
}
.cta-pop__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}
.cta-pop__check {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--violet);
}
.cta-pop__custom {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.cta-pop__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-bg);
  border: 1px solid var(--violet-bd);
  padding: 3px 7px;
  border-radius: 999px;
  margin-right: 6px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.nav-link:hover { background: var(--surface-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--violet); background: var(--violet-bg); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.status-pill__group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.status-pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
.status-pill__clock {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.status-pill__loc { color: var(--muted); }
.status-pill__sep { width: 1px; height: 14px; background: var(--line-2); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

.icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.12s var(--ease), background 0.15s, color 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--violet-grad);
  color: #fff;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--violet) 55%, transparent);
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--violet) 60%, transparent); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--surface); border-color: var(--ink-2); }
.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: var(--r-md); }

/* Bouton neon — liseres lumineux qui s'allument au survol */
.btn--neon { position: relative; }
.btn-neon {
  position: absolute;
  left: 50%;
  width: 75%;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #7FB4FF, transparent);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.btn-neon--top {
  top: -1px;
  box-shadow: 0 0 10px 1px rgba(127,180,255,0.85), 0 0 24px 4px rgba(127,180,255,0.45);
}
.btn-neon--bottom {
  bottom: -1px;
  box-shadow: 0 0 10px 1px rgba(127,180,255,0.6);
}
.btn--neon:hover .btn-neon--top { opacity: 1; }
.btn--neon:hover .btn-neon--bottom { opacity: 0.4; }
.btn__arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Ghost text-link (Console admin ↗ etc.) */
.btn--ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: none;
  border: none;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.15s;
  cursor: pointer;
}
.btn--ghost-link:hover { color: var(--violet); }
.btn--ghost-link svg { opacity: 0.7; transition: transform 0.2s var(--ease-out); }
.btn--ghost-link:hover svg { transform: translate(2px, -2px); opacity: 1; }

/* ═══════════════════════════════════════════════════════
   BACKGROUND — starfield (sombre) / mosaïque diluée (clair)
   ═══════════════════════════════════════════════════════ */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Subtle vignette */
.bg-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%,
    transparent 0%,
    transparent 45%,
    color-mix(in srgb, var(--bg) 60%, transparent) 85%,
    var(--bg) 100%);
  pointer-events: none;
}

/* Above background */
.app-header, main, .video-band, .da-fab, .panel-overlay, .side-panel { position: relative; z-index: 10; }
/* Header au-dessus de main : sinon le popover premium est traverse par le titre. */
.app-header { z-index: 40; }

/* ═══════════════════════════════════════════════════════
   GLOBE / SPHERE
   ═══════════════════════════════════════════════════════ */
.globe-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.globe-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translate(8px, -50%);
  pointer-events: none;
  z-index: 3;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.globe-label--left { transform: translate(calc(-100% - 8px), -50%); }
.globe-label__connector {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.globe-label--left .globe-label__connector {
  order: 3;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 100%);
}
.globe-label--left .globe-label__code { order: 2; }
.globe-label--left .globe-label__name { order: 1; }
.globe-label__code {
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.globe-label__code::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: inline-block;
}
.globe-label__name {
  color: var(--ink-2);
  font-weight: 400;
}

/* Old sphere-label fallback styles (kept simple) */
.sphere-wrap { position: relative; width: 100%; height: 100%; }
.sphere-canvas { width: 100%; height: 100%; display: block; }
.hero {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 48px 48px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  min-height: 78vh;
}
.hero__copy { max-width: 600px; position: relative; z-index: 2; }

/* Page « Console interne » (vue console) */
.console-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 90px 48px 120px;
}
.console-back {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  transition: color 0.15s var(--ease);
}
.console-back:hover { color: var(--violet); }
.console-page .hero__title,
.console-page .hero__lede { max-width: 680px; }

/* Onglets de la console interne */
.console-tabs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.console-tab-wrap { position: relative; }
.console-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.console-tab:hover {
  border-color: var(--violet);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--violet) 50%, transparent);
}
.console-tab svg { width: 17px; height: 17px; color: var(--violet); flex-shrink: 0; }
.console-tab--soon { opacity: 0.65; cursor: default; }
.console-tab--soon:hover { border-color: var(--line-2); transform: none; box-shadow: none; }
.console-tab__badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--violet-bg);
  border: 1px solid var(--violet-bd);
  padding: 2px 6px;
  border-radius: 999px;
}
.console-tab-pop {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  padding-top: 10px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  z-index: 20;
}
.console-tab-wrap:hover .console-tab-pop {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.console-tab-pop__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 18px 44px -14px rgba(46,24,87,0.35);
  padding: 14px 16px;
}
.console-tab-pop__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.console-tab-pop__text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* Veille — outil OSINT plein ecran */
.veille-fs {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #FFFFFF;
}
.veille-fs__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.veille-fs__bar {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 101;
  display: flex;
  gap: 8px;
}
.veille-fs__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font: 600 13px var(--sans);
  color: #FFFFFF;
  background: var(--violet);
  border: 1px solid var(--violet);
  border-radius: var(--r-sm);
  cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(46,24,87,0.4);
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.veille-fs__btn:hover { background: var(--violet-h); transform: translateY(-1px); }

/* Dashboard Archives */
.dash-msg {
  font-size: 14px;
  color: var(--muted);
  padding: 22px 0;
}
.dash-msg--err { color: #c0392b; }
.dash-zone { margin-top: 34px; }
.dash-zone__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}
.dash-zone__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.dash-zone__count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--violet);
}
.dash-table-wrap {
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dash-table th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
  text-align: left;
  padding: 9px 12px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}
.dash-table td {
  padding: 8px 12px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover td { background: var(--surface-2); }
.dash-tag {
  font-family: var(--mono);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
}
.dash-tag--live { color: #1f8a4c; background: rgba(31,138,76,0.12); }
.dash-tag--archived { color: var(--muted); background: var(--surface-2); }

/* Barre de recherche Archives */
.dash-search {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.dash-search .search-input { max-width: 480px; }
.dash-search__count {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* Lignes cliquables */
.dash-row { cursor: pointer; }
.dash-row:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: -2px;
}

/* Popup detail d'un point */
.point-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,14,40,0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  animation: pm-fade 0.16s var(--ease);
}
@keyframes pm-fade { from { opacity: 0; } to { opacity: 1; } }
.point-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -16px rgba(46,24,87,0.5);
  padding: 26px 26px 22px;
  animation: pm-rise 0.18s var(--ease);
}
@keyframes pm-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.point-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.point-modal__close:hover { color: var(--ink); border-color: var(--violet); }
.point-modal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 36px;
  margin-bottom: 14px;
}
.point-modal__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.point-modal__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.point-modal__period {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--violet);
  background: var(--violet-bg);
  border: 1px solid var(--violet-bd);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.point-modal__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  white-space: pre-line;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.point-modal__rows {
  display: flex;
  flex-direction: column;
}
.point-modal__rows--event {
  margin-bottom: 16px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.point-modal__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.point-modal__row:last-child { border-bottom: 0; }
.point-modal__key { color: var(--muted); flex-shrink: 0; }
.point-modal__val {
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}
.point-modal__rows--event .point-modal__row {
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 9px 0;
}
.point-modal__rows--event .point-modal__key {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.point-modal__rows--event .point-modal__val {
  text-align: left;
  line-height: 1.55;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--violet);
  margin-bottom: 56px;
  text-transform: lowercase;
  white-space: nowrap;
  flex-wrap: wrap;
}
.hero__eyebrow::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-bg);
}
.hero__eyebrow-sep {
  width: 1px; height: 12px;
  background: var(--line-2);
}
.hero__eyebrow-muted { color: var(--muted); }

.hero__title {
  font-size: clamp(40px, 5.1vw, 76px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 32px;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: var(--violet-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero__lede {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 40px;
  text-wrap: pretty;
}
.hero__cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero__textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s;
}
.hero__textlink:hover { color: var(--violet); }
.hero__textlink svg { opacity: 0.6; }

.hero__foot-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}
.hero__foot-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s;
}
.hero__foot-nav a:hover { color: var(--ink); }
.hero__foot-nav a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--violet);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.hero__foot-nav a:hover::after { transform: scaleX(1); }

.hero__visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════
   BANDE VIDÉO BAS DE PAGE
   ═══════════════════════════════════════════════════════ */
.video-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}
.video-band::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 1440px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bd) 50%, transparent 100%);
}
.video-band__head {
  max-width: 1440px;
  margin: 0 auto 36px;
  padding: 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.video-band__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-top: 12px;
  line-height: 1.05;
  max-width: 600px;
  text-wrap: balance;
}
.video-band__title em {
  font-style: normal;
  background: var(--violet-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.video-band__intro {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 380px;
  line-height: 1.55;
}
.video-band__strip {
  display: flex;
  gap: 20px;
  padding: 4px 48px 24px;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.video-band__strip::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.2s;
  position: relative;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--violet-bd);
}
.video-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.video-card__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
    #2E1857 0%,
    #6B3FA0 55%,
    #8B5FBF 100%);
  mix-blend-mode: normal;
}
.video-card__thumb svg {
  position: absolute; inset: 0; z-index: 1; opacity: 0.22; pointer-events: none;
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.play-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.2s var(--ease-out);
}
.video-card:hover .play-circle { transform: scale(1.08); }
.play-circle svg { color: var(--violet-d); margin-left: 3px; }

.video-card__duration {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(20,17,31,0.78);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.video-card__body { padding: 18px 20px 20px; }
.video-card__cat {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.video-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.video-card__meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════
   PAGE 2 — Plateforme
   ═══════════════════════════════════════════════════════ */
.platform {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 48px 96px;
}
.platform__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 8px 8px;
  margin: 0 0 28px -8px;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.platform__back:hover { color: var(--violet); background: var(--violet-bg); }

.platform__intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.platform__title {
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}
.platform__title em {
  font-style: normal;
  background: var(--violet-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.platform__lede {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 380px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1320px) {
  .actions-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .platform__intro { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
}

/* ─── Cascade au survol : carte -> sous-elements -> actions ─── */
.action-card-wrap { position: relative; }

.cascade-pop {
  position: absolute;
  top: 100%;
  left: 0;
  width: 322px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: 6px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.action-card-wrap:hover > .cascade-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .15s ease, transform .15s ease, visibility 0s;
}

.cascade-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 11px;
  border-radius: var(--r-sm);
  cursor: default;
}
.cascade-row:hover { background: var(--violet-bg); }
.cascade-row__label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cascade-row__meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cascade-row__chev { color: var(--muted-2); flex-shrink: 0; transition: color .14s ease; }
.cascade-row:hover .cascade-row__chev { color: var(--violet); }

.cascade-sub {
  position: absolute;
  top: -7px;
  left: 100%;
  width: 302px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s;
}
.cascade-row:hover > .cascade-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity .14s ease, transform .14s ease, visibility 0s;
}

.cascade-sub__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
a.cascade-sub__item:hover { background: var(--violet-bg); }
.cascade-sub__label { font-size: 12.5px; font-weight: 500; color: var(--ink); }
a.cascade-sub__item:hover .cascade-sub__label { color: var(--violet); }
.cascade-sub__meta { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.cascade-sub__item--static { opacity: 0.68; }

/* Deux dernieres cartes : sous-popup vers la gauche pour ne pas deborder */
.actions-grid > .action-card-wrap:last-child .cascade-pop { left: auto; right: 0; }
.actions-grid > .action-card-wrap:nth-last-child(-n+2) .cascade-sub {
  left: auto;
  right: 100%;
  transform: translateX(6px);
}
.actions-grid > .action-card-wrap:nth-last-child(-n+2) .cascade-row:hover > .cascade-sub {
  transform: translateX(0);
}

/* Apercu video en fond de carte — visible au survol uniquement */
.action-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.action-card:hover .action-card__media { opacity: 1; }
.action-card__media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Voile sombre leger : la video reste bien visible, le texte blanc reste lisible */
.action-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13,9,28,0.38) 0%,
    rgba(13,9,28,0.32) 46%,
    rgba(13,9,28,0.78) 100%);
}

.action-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 26px 22px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.25s, border-color 0.2s;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.action-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--violet-bg) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
  border-color: var(--violet-bd);
}
.action-card:hover::before { opacity: 1; }

/* Au survol : la carte s'illumine en video, le texte passe en blanc */
.action-card__title,
.action-card__desc,
.action-card__num,
.action-card__count { transition: color 0.25s var(--ease); }
.action-card:hover .action-card__title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 0 5px rgba(0,0,0,0.45);
}
.action-card:hover .action-card__desc {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 10px rgba(0,0,0,0.65);
}
.action-card:hover .action-card__num { color: rgba(255,255,255,0.66); }
.action-card:hover .action-card__count {
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.action-card:hover .action-card__foot { border-top-color: rgba(255,255,255,0.20); }
.action-card:hover .action-card__icon {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}
.action-card__top {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.action-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.action-card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--violet-bg);
  border: 1px solid var(--violet-bd);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-out), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.action-card:hover .action-card__icon { transform: rotate(-6deg) scale(1.08); }
.action-card__title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1;
  position: relative; z-index: 1;
}
.action-card__desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  position: relative; z-index: 1;
}
.action-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  position: relative; z-index: 1;
}
.action-card__count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: lowercase;
  white-space: nowrap;
}
.action-card__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.22s var(--ease-out);
}
.action-card:hover .action-card__arrow { transform: translateX(4px); }

/* Highlighted card */
.section-rule {
  margin: 80px 0 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-rule__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-rule__line {
  flex: 1;
  height: 1px;
  background: transparent;
}

/* Récents */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .recent-grid { grid-template-columns: 1fr; } }
.recent-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
  text-align: left;
  width: 100%;
}
.recent-item:hover { border-color: var(--violet-bd); background: var(--surface-2); transform: translateY(-1px); }
.recent-item__type {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--violet-bg);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.recent-item__body { flex: 1; min-width: 0; }
.recent-item__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recent-item__meta {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════
   PANNEAU LATÉRAL (side panel)
   ═══════════════════════════════════════════════════════ */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 48%, transparent);
  backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.panel-overlay.open { opacity: 1; pointer-events: auto; }
.side-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(560px, 96vw);
  background: var(--bg);
  border-left: 1px solid var(--line);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -32px 0 80px -20px rgba(46,24,87,0.18);
}
.side-panel.open { transform: translateX(0); }
.side-panel__head {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}
.side-panel__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.side-panel__breadcrumb button {
  color: var(--muted);
  transition: color 0.15s;
  padding: 2px 4px;
  border-radius: 4px;
}
.side-panel__breadcrumb button:hover { color: var(--violet); }
.side-panel__breadcrumb button:disabled { color: var(--ink); cursor: default; }
.side-panel__breadcrumb-sep { color: var(--muted-2); }
.side-panel__head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.side-panel__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 6px;
}
.side-panel__subtitle {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 380px;
}
.side-panel__close {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.side-panel__close:hover { background: var(--surface-2); color: var(--ink); }

.side-panel__search {
  padding: 14px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
}
.search-input {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, background 0.15s;
}
.search-input:focus-within { border-color: var(--violet); background: var(--surface); }
.search-input svg { color: var(--muted); flex-shrink: 0; }
.search-input input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.search-input input::placeholder { color: var(--muted-2); }

.side-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px 28px;
}
.panel-list { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.panel-list__group-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 16px 4px 8px;
}

.panel-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.14s;
  text-align: left;
  width: 100%;
}
.panel-row:hover { background: var(--surface); }
.panel-row__flag {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--violet-bg);
  color: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.panel-row__body { flex: 1; min-width: 0; }
.panel-row__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 3px;
}
.panel-row__meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-row__badge {
  padding: 4px 9px;
  border-radius: var(--r-full);
  background: var(--gold-bg);
  color: var(--gold-h);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}
.panel-row__badge.ok { background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--ok); }
.panel-row__badge.alert { background: color-mix(in srgb, var(--alert) 10%, transparent); color: var(--alert); }
.panel-row__chev {
  color: var(--muted-2);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out), color 0.2s;
}
.panel-row:hover .panel-row__chev { color: var(--violet); transform: translateX(3px); }

/* Quick filter chips */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 4px;
}
.chip {
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.active { background: var(--violet); border-color: var(--violet); color: #fff; }

/* Detail view inside panel */
.detail-section {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.detail-section:last-child { border-bottom: none; }
.detail-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.detail-section__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-section__count {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}
.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.detail-stat {
  padding: 14px 14px 12px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.detail-stat__value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.detail-stat__value.up { color: var(--ok); }
.detail-stat__value.down { color: var(--alert); }
.detail-stat__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.action-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.action-row .btn { flex: 1; }

/* DA Note (designer's note overlay) */
.da-fab {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 80;
  padding: 10px 16px 10px 12px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-3);
  transition: transform 0.18s var(--ease-out);
}
.da-fab:hover { transform: translateY(-2px); }
.da-fab__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 30%, transparent);
}

/* Note modal */
.da-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 60%, transparent);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.da-overlay.open { opacity: 1; pointer-events: auto; }
.da-modal {
  background: var(--bg);
  border-radius: var(--r-xl);
  max-width: 820px;
  width: 100%;
  max-height: 86vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-3);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s var(--ease-out);
}
.da-overlay.open .da-modal { transform: translateY(0) scale(1); }
.da-modal__head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface);
}
.da-modal__head h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.da-modal__head h3 em { font-family: var(--serif); font-style: normal; color: var(--violet); font-weight: 400; }
.da-modal__body {
  padding: 32px 36px;
  overflow-y: auto;
}
.da-modal__body h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 26px 0 12px;
}
.da-modal__body h4:first-child { margin-top: 0; }
.da-modal__body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.da-modal__body ul { padding-left: 0; list-style: none; }
.da-modal__body li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.da-modal__body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--violet);
}
.da-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0 6px; }
.da-swatch {
  border-radius: var(--r-sm);
  padding: 14px 10px 10px;
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line);
}
.da-swatch__chip { height: 36px; border-radius: 6px; margin-bottom: 6px; }
.da-swatch__name { font-size: 11px; font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
.da-swatch__hex { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }

.section-rule__action {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
  white-space: nowrap;
}
.section-rule__action:hover { background: var(--violet-bg); }
.section-rule__label { white-space: nowrap; }

/* Empty state */
.empty {
  padding: 32px 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.empty p { line-height: 1.5; }

/* Search input — clear button */
.search-input__clear {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--line-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.search-input__clear:hover { background: var(--muted); }

/* Panel row flag color variants */
.panel-row__flag--doc { background: color-mix(in srgb, var(--info) 14%, transparent); color: var(--info); }
.panel-row__flag--graph { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.side-panel__body::-webkit-scrollbar,
.da-modal__body::-webkit-scrollbar { width: 6px; }
.side-panel__body::-webkit-scrollbar-track,
.da-modal__body::-webkit-scrollbar-track { background: transparent; }
.side-panel__body::-webkit-scrollbar-thumb,
.da-modal__body::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }

/* ─── View transitions ─── */
.view-enter { opacity: 0; transform: translateY(8px); }
.view-enter-active { opacity: 1; transform: translateY(0); transition: opacity 0.35s var(--ease-out), transform 0.4s var(--ease-out); }

/* ─── Responsive (small screens) ─── */
@media (max-width: 700px) {
  .app-header__inner { padding: 14px 18px; gap: 16px; }
  .nav-link { display: none; }
  .nav-link.always { display: inline-flex; }
  .status-pill { display: none; }
  .hero { padding: 48px 18px; }
  .video-band__head, .video-band__strip { padding-left: 18px; padding-right: 18px; }
  .platform { padding: 40px 18px 64px; }
  .actions-grid { grid-template-columns: 1fr; }
  .recent-grid { grid-template-columns: 1fr; }
  .da-swatches { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════
   SECTIONS DE PRESENTATION — page d'accueil (inspiration vigideep)
   ═══════════════════════════════════════════════════════ */
.home-sec {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.home-sec--alt { background: var(--bg-soft); }
.home-sec__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 48px;
}
.home-sec__head { max-width: 680px; margin-bottom: 56px; }
.home-sec__head .eyebrow { display: block; margin-bottom: 18px; font-size: 12px; }
.home-sec__title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.024em;
  line-height: 1.06;
  color: var(--ink);
  text-wrap: balance;
}
.home-sec__title em {
  font-style: normal;
  background: var(--violet-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.home-sec__intro {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 560px;
}

/* — Cadre visuel reserve (en attente des captures) */
.media-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background:
    linear-gradient(135deg, var(--violet-bg), transparent 70%),
    var(--surface-2);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted-2);
  overflow: hidden;
}
.media-frame svg { width: 32px; height: 32px; opacity: 0.55; }
.media-frame__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero__visual .media-frame--planisphere {
  padding: 0;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.media-frame--planisphere .planisphere-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* — Hero solo : pas de visuel a droite, le texte prend tout */
.page-hero--solo .page-hero__wrap {
  grid-template-columns: 1fr;
}
.page-hero--solo .page-hero__copy {
  max-width: 880px;
}
.page-hero--solo .page-hero__title {
  max-width: 22ch;
}
.page-hero--solo .page-hero__lede {
  max-width: 64ch;
}

/* — Hero chips : mini aperçu des formules sous les CTAs (toujours stack vertical) */
.hero-chips {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 36px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  max-width: 360px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
}
.hero-chips li {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.hero-chips__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(107, 63, 160, 0.45);
  display: inline-block;
}
.hero-chips__dot--strong {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(107, 63, 160, 0.12);
}

/* — Badge "Dernière mise à jour" en haut du hero homepage */
.last-update {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 5px 12px 5px 10px;
  border: 1px solid rgba(107, 63, 160, 0.22);
  border-radius: 999px;
  background: rgba(168, 130, 255, 0.06);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--violet);
}
.last-update__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ED38C;
  box-shadow: 0 0 0 3px rgba(78, 211, 140, 0.18);
  animation: lastUpdatePulse 2.4s ease-in-out infinite;
}
@keyframes lastUpdatePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(78, 211, 140, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(78, 211, 140, 0.08); }
}
.last-update__label {
  white-space: nowrap;
}

/* — Production récente : 3 vignettes de notes en home */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.prod-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.prod-card:hover {
  border-color: var(--violet-bd);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.prod-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.prod-card__zone {
  color: var(--violet);
  font-weight: 600;
}
.prod-card__date {
  color: var(--muted);
}
.prod-card__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.32;
  color: var(--ink);
  flex: 1;
}
.prod-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.prod-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}
.prod-card__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--violet-bg);
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 880px) {
  .prod-grid { grid-template-columns: 1fr; }
}

/* — Trust band : chiffres cles sous le hero homepage */
.trust-band {
  border-top: 1px solid rgba(168, 130, 255, 0.18);
  border-bottom: 1px solid rgba(168, 130, 255, 0.18);
  background: linear-gradient(180deg, rgba(168, 130, 255, 0.035) 0%, rgba(168, 130, 255, 0) 100%);
  padding: 28px 0;
}
.trust-band__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-band__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 0;
}
.trust-band__value {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}
.trust-band__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
@media (max-width: 880px) {
  .trust-band__wrap { grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 0 22px; }
  .trust-band__value { font-size: 24px; }
}

/* — A-propos / equipe : tour de plaques 3D (chaos -> structure) */
.feature-row__visual .media-frame--plates,
.media-frame--plates {
  padding: 0;
  gap: 0;
  background: #0B0716;
  border: 1px solid var(--violet-bd);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 11;
  box-shadow:
    0 30px 80px -30px rgba(76, 39, 178, 0.55),
    inset 0 0 0 1px rgba(168, 130, 255, 0.06);
}
.media-frame--plates .plates-canvas {
  width: 100%;
  height: 100%;
  display: block;
  animation: platesHueShift 22s ease-in-out infinite;
}
.media-frame--plates::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%,
    rgba(11, 7, 22, 0) 55%,
    rgba(11, 7, 22, 0.55) 100%);
}
@keyframes platesHueShift {
  0%   { filter: hue-rotate(-12deg) saturate(1.00); }
  50%  { filter: hue-rotate( 14deg) saturate(1.08); }
  100% { filter: hue-rotate(-12deg) saturate(1.00); }
}
@media (prefers-reduced-motion: reduce) {
  .media-frame--plates .plates-canvas { animation: none; }
}

/* — Hero /a-propos/ : cubes 3D (chaos -> structure) */
.page-hero__visual .media-frame--cubes {
  padding: 0;
  gap: 0;
  background: #0B0716;
  border: 1px solid var(--violet-bd);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 30px 80px -30px rgba(76, 39, 178, 0.55),
    inset 0 0 0 1px rgba(168, 130, 255, 0.06);
}
.media-frame--cubes .cubes-canvas {
  width: 100%;
  height: 100%;
  display: block;
  /* Oscillation hue tres lente, raccord avec swarm */
  animation: cubesHueShift 22s ease-in-out infinite;
}
.media-frame--cubes::after {
  /* Vignette subtile pour adoucir les bords */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%,
    rgba(11, 7, 22, 0) 55%,
    rgba(11, 7, 22, 0.55) 100%);
}
@keyframes cubesHueShift {
  0%   { filter: hue-rotate(-12deg) saturate(1.00); }
  50%  { filter: hue-rotate( 14deg) saturate(1.08); }
  100% { filter: hue-rotate(-12deg) saturate(1.00); }
}
@media (prefers-reduced-motion: reduce) {
  .media-frame--cubes .cubes-canvas { animation: none; }
}

/* — Ce que vous obtenez : cartes livrables */
.get-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.get-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 16px 0;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.2s var(--ease);
}
.get-card:hover {
  border-color: var(--violet-bd);
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.get-card__body { padding: 22px 12px 26px; }
.get-card__tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
.get-card__title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 10px 0;
}
.get-card__text {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-2);
}

/* — Notre difference : piliers */
.pillar-list { border-top: 1px solid var(--line-2); }
.pillar {
  display: grid;
  grid-template-columns: 88px 1fr 128px;
  align-items: center;
  gap: 28px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.pillar__icon {
  width: 112px;
  height: 112px;
  color: var(--violet);
  display: block;
  justify-self: end;
}
.pillar__icon svg { width: 100%; height: 100%; display: block; }
.pillar__num {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--violet);
  padding-top: 5px;
  align-self: start;
}
.pillar__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 12px;
}
.pillar__text {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 720px;
}

/* — Pour qui : segments clients */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.aud-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px 28px;
}
.aud-card__rule {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--violet-grad);
  margin-bottom: 18px;
}
.aud-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.aud-card__text {
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--ink-2);
}

/* — Comparatif : tableau (police agrandie) */
.cmp-table {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.cmp-table__row {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr;
}
.cmp-table__row + .cmp-table__row { border-top: 1px solid var(--line); }
.cmp-table__cell {
  padding: 22px 26px;
  font-size: 15.5px;
  line-height: 1.5;
}
.cmp-table__cell + .cmp-table__cell { border-left: 1px solid var(--line); }
.cmp-table__row--head .cmp-table__cell {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  padding-top: 16px;
  padding-bottom: 16px;
}
.cmp-table__cell--pos { background: var(--violet-bg); }
.cmp-table__row--head .cmp-table__cell--pos { color: var(--violet); }
.cmp-table__crit { font-weight: 700; color: var(--ink); }
.cmp-table__neg { color: var(--muted); }
.cmp-table__pos {
  color: var(--ink);
  font-weight: 600;
  display: flex;
  gap: 10px;
}
.cmp-table__pos::before {
  content: '';
  flex: none;
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}

/* — Responsive */
@media (max-width: 980px) {
  .home-sec__wrap { padding: 76px 32px; }
  .get-grid { grid-template-columns: 1fr; max-width: 460px; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { grid-template-columns: 1fr auto; gap: 18px 22px; padding: 32px 0; }
  .pillar__num { grid-column: 1; grid-row: 1; padding-top: 0; }
  .pillar__body { grid-column: 1 / -1; grid-row: 2; }
  .pillar__icon { grid-column: 2; grid-row: 1; width: 72px; height: 72px; }
}
@media (max-width: 680px) {
  .home-sec__wrap { padding: 60px 22px; }
  .get-grid { max-width: none; }
  .aud-grid { grid-template-columns: 1fr; }
  .cmp-table__row { grid-template-columns: 1fr; }
  .cmp-table__cell { padding: 16px 20px; }
  .cmp-table__cell + .cmp-table__cell { border-left: none; border-top: 1px solid var(--line); }
  .cmp-table__row--head { display: none; }
}

/* ═══════════════════════════════════════════════════════
   SITE CHROME — header / footer (pages rubriques)
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-brand { display: flex; align-items: center; gap: 11px; }
.site-brand__mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: url('../../favicon.jpg') center / cover;
  box-shadow: 0 3px 10px rgba(46,24,87,0.25);
  flex-shrink: 0;
}
.site-brand__name {
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.14em; color: var(--ink);
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-size: 14.5px; font-weight: 500;
  color: var(--muted);
  transition: color 0.15s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); font-weight: 600; }
.site-header__right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.site-login { font-size: 14px; font-weight: 500; color: var(--ink-2); transition: color 0.15s; }
.site-login:hover { color: var(--violet); }
.site-cta {
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--violet-grad);
  color: #fff;
  font-size: 14px; font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--violet) 55%, transparent);
  transition: filter 0.15s var(--ease), transform 0.15s var(--ease);
}
.site-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }

.site-footer { background: #14102A; color: #CFC8E2; }
.site-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 48px 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
}
.site-footer__brand-name {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.14em; color: #fff;
  margin-bottom: 16px;
}
.site-footer__brand-name span {
  width: 30px; height: 30px; border-radius: 7px;
  background: url('../../favicon.jpg') center / cover;
}
.site-footer__blurb {
  font-size: 14px; line-height: 1.6; color: #9089AA;
  max-width: 340px;
}
.site-footer__col h4 {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
}
.site-footer__col a {
  display: block;
  font-size: 14px; color: #9089AA;
  padding: 7px 0;
  transition: color 0.15s var(--ease);
}
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.site-footer__bottom-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 22px 48px 14px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.04em; color: #5A5378;
}
.site-footer__legal-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 6px 48px 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 26px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.06em; color: #443D6A;
  padding-top: 14px;
  margin-top: 4px;
}
.site-footer__legal-inner a {
  color: #5A5378;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.site-footer__legal-inner a:hover { color: #A88AFF; }

/* ═══════════════════════════════════════════════════════
   PAGES RUBRIQUES — composants
   ═══════════════════════════════════════════════════════ */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero__wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 76px 48px 72px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.page-hero__visual { width: 100%; }
.page-hero__visual .media-frame { aspect-ratio: 5 / 4; }
.page-hero__visual .media-frame.media-frame--planisphere { aspect-ratio: 4 / 3; }
.page-hero__visual .media-frame.media-frame--swarm {
  aspect-ratio: 4 / 3;
  padding: 0;
  gap: 0;
  background: #0B0716;
  border: 1px solid var(--violet-bd);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.media-frame--swarm .swarm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation:
    swarmHueShift 18s ease-in-out infinite,
    swarmBreath   22s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: filter, transform;
}
/* Respiration tres lente : zoom + petit pan, donne l'impression que la photo vit. */
@keyframes swarmBreath {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  25%  { transform: scale(1.04) translate3d(-1%, 0.5%, 0); }
  50%  { transform: scale(1.06) translate3d(0.8%, -0.8%, 0); }
  75%  { transform: scale(1.03) translate3d(1%, 0.4%, 0); }
  100% { transform: scale(1.00) translate3d(0, 0, 0); }
}
.media-frame--swarm .swarm-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(11, 7, 22, 0.18) 0%,
    rgba(46, 24, 87, 0.12) 100%);
  pointer-events: none;
}
.media-frame--swarm .swarm-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
  display: block;
}
/* Oscillation lente du hue autour du violet de base (±25°) pour "couleurs qui changent". */
@keyframes swarmHueShift {
  0%   { filter: hue-rotate(-20deg) saturate(0.95); }
  25%  { filter: hue-rotate(  0deg) saturate(1.05); }
  50%  { filter: hue-rotate( 25deg) saturate(1.10); }
  75%  { filter: hue-rotate(  5deg) saturate(1.00); }
  100% { filter: hue-rotate(-20deg) saturate(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .media-frame--swarm .swarm-img { animation: none; }
  .media-frame--swarm .swarm-fx  { display: none; }
}
.page-hero__eyebrow {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet);
  display: inline-block;
  margin-bottom: 26px;
}
.page-hero__title {
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 700; letter-spacing: -0.028em; line-height: 1.04;
  color: var(--ink); max-width: 20ch; text-wrap: balance;
}
.page-hero__title em {
  font-style: normal;
  background: var(--violet-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-hero__lede {
  font-size: 18px; line-height: 1.62; color: var(--ink-2);
  max-width: 640px; margin-top: 24px;
}
.page-hero__cta { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Bande de chiffres */
.stat-band {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin-top: 48px;
}
.stat { background: var(--surface); padding: 32px 28px; }
.stat__num {
  font-size: 38px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--violet); line-height: 1;
}
.stat__label {
  margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2);
}
.prose-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 8px;
}
.prose-2col p { font-size: 16.5px; line-height: 1.66; color: var(--ink-2); }
.prose-2col p + p { margin-top: 16px; }
.prose-2col strong { color: var(--ink); font-weight: 600; }

/* Chaine de traitement — etapes detaillees */
.method-steps { border-top: 1px solid var(--line-2); }
.method-step {
  display: grid; grid-template-columns: 132px 1fr;
  gap: 36px; padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.method-step__num {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--violet);
}
.method-step__num b {
  display: block; font-family: var(--sans);
  font-size: 60px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink); opacity: 0.10; margin-top: 4px;
}
.method-step__title {
  font-size: 24px; font-weight: 700; letter-spacing: -0.022em;
  color: var(--ink); margin-bottom: 12px;
}
.method-step__text {
  font-size: 16.5px; line-height: 1.64; color: var(--ink-2);
  max-width: 740px;
}
.method-step__detail {
  margin-top: 16px;
  font-family: var(--mono); font-size: 13px; line-height: 1.55;
  color: var(--muted);
  padding-left: 14px; border-left: 2px solid var(--violet-bd);
}

/* Cotation */
.cote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cote-block {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface);
}
.cote-block__head {
  padding: 20px 24px;
  background: var(--surface-2);
  font-size: 15px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.cote-row { display: grid; grid-template-columns: 70px 1fr; }
.cote-row + .cote-row { border-top: 1px solid var(--line); }
.cote-row__code {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 17px; font-weight: 700;
  color: var(--violet); background: var(--violet-bg);
}
.cote-row__desc {
  padding: 15px 22px;
  font-size: 14.5px; line-height: 1.5; color: var(--ink-2);
}

/* Sources */
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.src-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 26px 28px;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.src-card:hover { border-color: var(--violet-bd); transform: translateY(-3px); }
.src-card__title {
  font-size: 17px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 9px;
}
.src-card__text { font-size: 14px; line-height: 1.58; color: var(--ink-2); }

/* Liste de signaux suivis */
.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.feat-list__item {
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.feat-list__k {
  display: flex; align-items: center; gap: 11px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.feat-list__k::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet-grad); flex: none;
}
.feat-list__v { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); padding-left: 18px; }

/* Garanties */
.princ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.princ-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 24px 28px;
}
.princ-card__icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  background: var(--violet-bg); border: 1px solid var(--violet-bd);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.princ-card__icon svg { width: 20px; height: 20px; color: var(--violet); }
.princ-card__title {
  font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 7px;
}
.princ-card__text { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); max-width: 880px; }
.faq-item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.faq-item__q {
  font-size: 19px; font-weight: 700; letter-spacing: -0.018em;
  color: var(--ink); margin-bottom: 10px;
}
.faq-item__a { font-size: 15.5px; line-height: 1.64; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--violet-grad); }
.cta-band__wrap {
  max-width: 1440px; margin: 0 auto;
  padding: 84px 48px; text-align: center;
}
.cta-band__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700; letter-spacing: -0.024em; color: #fff;
  text-wrap: balance;
}
.cta-band__text {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.86);
  max-width: 540px; margin: 18px auto 0;
}
.cta-band__row { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn--on-violet { background: #fff; color: var(--violet-d); }
.btn--on-violet:hover { filter: brightness(0.97); transform: translateY(-1px); }
.btn--ghost-violet {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--ghost-violet:hover { background: rgba(255,255,255,0.1); }

/* Responsive — pages rubriques */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .site-header__inner, .page-hero__wrap { padding-left: 32px; padding-right: 32px; }
  .page-hero__wrap { grid-template-columns: 1fr; gap: 40px; }
  .page-hero__visual .media-frame { aspect-ratio: 16 / 9; }
  .src-grid, .princ-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .page-hero__wrap { padding: 56px 22px 52px; }
  .stat-band { grid-template-columns: 1fr; }
  .prose-2col, .cote-grid, .src-grid, .princ-grid, .feat-list { grid-template-columns: 1fr; }
  .method-step { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .method-step__num b { font-size: 44px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 52px 22px 36px; }
  .site-footer__bottom-inner { padding: 18px 22px; }
}

/* ═══════════════════════════════════════════════════════
   PLATEFORME — lignes feature alternées
   ═══════════════════════════════════════════════════════ */
.feature-rows { display: flex; flex-direction: column; gap: 40px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.feature-row:nth-child(even) .feature-row__visual { order: -1; }
.feature-row__tag {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.feature-row__title {
  font-size: 26px; font-weight: 700;
  letter-spacing: -0.022em; line-height: 1.12;
  color: var(--ink); margin-bottom: 13px;
}
.feature-row__text {
  font-size: 16px; line-height: 1.62;
  color: var(--ink-2); margin-bottom: 20px;
}
.feature-row__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.feature-row__list li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px; font-weight: 500; color: var(--ink);
}
.feature-row__list svg { flex: none; width: 18px; height: 18px; color: var(--violet); }
.feature-row__visual .media-frame { aspect-ratio: 16 / 11; }

/* Étape d'accès numérotée */
.step-num {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--violet);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--violet-bg); border: 1px solid var(--violet-bd);
  margin-bottom: 16px;
}

@media (max-width: 1080px) {
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row__visual,
  .feature-row:nth-child(even) .feature-row__visual { order: -1; }
}

/* Bande compacte de théâtres (renvoi vers la rubrique Théâtres) */
.zone-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.zone-strip span {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  padding: 9px 15px; border-radius: var(--r-full);
  border: 1px solid var(--line-2); color: var(--ink-2);
  background: var(--surface);
}

/* ═══════════════════════════════════════════════════════
   OFFRES — cartes de formule
   ═══════════════════════════════════════════════════════ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.offer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px 32px;
  display: flex;
  flex-direction: column;
}
.offer-card--featured {
  border-color: var(--violet);
  box-shadow: 0 24px 56px -24px color-mix(in srgb, var(--violet) 45%, transparent);
}
.offer-card__badge {
  position: absolute; top: -11px; left: 30px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--violet-grad);
  padding: 5px 12px; border-radius: var(--r-full);
}
.offer-card__name {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.018em; color: var(--ink);
}
.offer-card__price {
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  color: var(--violet); margin-top: 9px;
}
.offer-card__desc {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
  margin-top: 12px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.offer-card__list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin: 22px 0 28px;
}
.offer-card__list li {
  display: flex; gap: 10px;
  font-size: 14px; line-height: 1.45; color: var(--ink);
}
.offer-card__list svg {
  flex: none; width: 16px; height: 16px;
  color: var(--violet); margin-top: 1px;
}
.offer-card .btn { margin-top: auto; width: 100%; }

@media (max-width: 1080px) {
  .offer-grid { grid-template-columns: 1fr; max-width: 460px; }
}

/* ═══════════════════════════════════════════════════════
   CONTACT — carte coordonnées + formulaire
   ═══════════════════════════════════════════════════════ */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 30px;
}
.contact-card__row { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-card__row:last-child { border-bottom: none; }
.contact-card__label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.contact-card__value { font-size: 16px; font-weight: 600; color: var(--ink); }
.contact-card__value a { color: var(--violet); }
.contact-card__value a:hover { text-decoration: underline; }
.contact-card__sub { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink);
  transition: border-color 0.15s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet);
}
.contact-form__actions {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.contact-form__note { font-size: 13px; color: var(--muted); }

@media (max-width: 680px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   MENU MOBILE — burger (header rubriques + accueil)
   ═══════════════════════════════════════════════════════ */
.site-brand__name { white-space: nowrap; }
.site-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  flex: none;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
}
.site-burger span {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.site-header.is-open .site-burger span:nth-child(1),
.app-header.is-open .site-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .site-burger span:nth-child(2),
.app-header.is-open .site-burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .site-burger span:nth-child(3),
.app-header.is-open .site-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-burger { display: flex; }
  .site-header__inner, .app-header__inner { flex-wrap: wrap; row-gap: 0; }
  .app-header__inner { padding-left: 24px; padding-right: 24px; }
  .site-nav { display: none; }
  .site-header__right, .app-header__right { display: none; }
  .site-header.is-open .site-nav,
  .app-header.is-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch;
    width: 100%; gap: 0; order: 9;
    margin-top: 14px; padding-top: 4px;
    border-top: 1px solid var(--line);
  }
  .site-header.is-open .site-nav a,
  .app-header.is-open .site-nav a {
    padding: 14px 2px; font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.is-open .site-header__right,
  .app-header.is-open .app-header__right {
    display: flex; flex-wrap: wrap; align-items: center;
    width: 100%; gap: 14px; order: 10;
    margin-top: 16px; margin-left: 0;
  }
  .site-header.is-open .site-cta,
  .site-header.is-open .site-login { flex: 1; text-align: center; justify-content: center; }
}
