/* ============================================================
   LIDESK — Design tokens & primitives
   Direction validée : « Méridien »
   Réutilisable par les landings et la web app.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Archivo+Expanded:wght@600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Couleurs */
  --ink: #0b1b2b;
  --ink-2: #41525f;
  --ink-3: #74828c;
  --ink-on: #ffffff;
  --paper: #f4f4ef;
  --paper-2: #ecece4;
  --surface: #ffffff;
  --line: #e3e3da;
  --line-2: #eeeee8;
  --accent: #0e9b9c;
  --accent-press: #0a8081;
  --accent-soft: #e0f2f2;
  --accent-bright: #16b3a6;
  --warm: #ff5a36;
  --warm-soft: #ffe7e0;
  --ok: #1f9d6b;
  --ok-soft: #e1f3ea;

  /* Type */
  --display: "Archivo Expanded", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(11,27,43,.06), 0 1px 3px rgba(11,27,43,.05);
  --sh-md: 0 6px 18px -8px rgba(11,27,43,.18);
  --sh-lg: 0 22px 48px -22px rgba(11,27,43,.34);
  --sh-xl: 0 40px 80px -30px rgba(11,27,43,.4);

  /* Largeur de contenu */
  --maxw: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; }

/* ---------- Helpers ---------- */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-press);
}
.shell { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  border-radius: 10px; padding: 13px 22px; transition: all .18s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-press); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(11,27,43,.5); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-soft { background: var(--accent-soft); color: var(--accent-press); }
.btn-soft:hover { filter: brightness(.97); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 9px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; letter-spacing: -.005em;
}
.badge .bd { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-accent { background: var(--accent-soft); color: var(--accent-press); }
.badge-warm { background: var(--warm-soft); color: var(--warm); }
.badge-neutral { background: var(--line-2); color: var(--ink-2); }
.badge-outline { border: 1.5px solid var(--line); color: var(--ink-2); }
.badge-white { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

/* ---------- Soft glow motif (replaces the old meridian line grid) ---------- */
.meridian-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.meridian-bg svg { display: none !important; } /* retired: too "scientific" */
