/* Qualitech Lift : thème CLAIR commun aux espaces externes (espace client, bureau d'études, appli mobile, portail API).
 * Le back-office Qualitech garde son thème sombre. Chaque page ajoute ses propres règles après ce fichier. */
:root {
  color-scheme: light;
  --bg: #f4f6fa; --surface: #ffffff; --surface-2: #f8fafc; --surface-3: #eef2f7;
  --border: #e2e8f0; --border-strong: #cbd5e1;
  --text: #0f172a; --text-muted: #475569; --text-dim: #64748b;
  --primary: #5b3df0; --primary-soft: #5b3df014; --primary-strong: #4527d6;
  --navy: #0b2545;
  --ok: #047857; --ok-soft: #04785714;
  --panne: #b91c1c; --panne-soft: #b91c1c12;
  --visite: #1d4ed8; --visite-soft: #1d4ed812;
  --arret: #b45309; --arret-soft: #b4530914;
  --muet: #64748b; --muet-soft: #64748b14;
  --radius: 12px; --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 4px 16px -6px rgb(15 23 42 / .08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.num { font-variant-numeric: tabular-nums; }
.carte-bloc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.pastille::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pastille.ok { color: var(--ok); background: var(--ok-soft); }
.pastille.panne { color: var(--panne); background: var(--panne-soft); }
.pastille.visite { color: var(--visite); background: var(--visite-soft); }
.pastille.arret { color: var(--arret); background: var(--arret-soft); }
.pastille.muet { color: var(--muet); background: var(--muet-soft); }
.bandeau-demo { background: var(--navy); color: #dbe4f3; font-size: 12px; text-align: center; padding: 5px 12px; }
.bandeau-demo a { color: #fff; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
