/* filOS — site public (décembre 2026). Une seule feuille, aucune dépendance sauf la police Inter. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #060912;
  --bg-2: #0b1020;
  --panel: #0f1629;
  --panel-2: #141d35;
  --line: rgba(148, 163, 199, 0.14);
  --line-2: rgba(148, 163, 199, 0.24);
  --ink: #eef1f8;
  --ink-2: #c5cbdb;
  --muted: #8b94ab;
  --blue: #3b76ff;
  --blue-2: #6f9bff;
  --cyan: #22c3e6;
  --amber: #ffb020;
  --green: #22c55e;
  --red: #f05252;
  --radius: 14px;
  --max: 1180px;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; letter-spacing: -0.01em; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
code, .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.9em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ── navigation ── */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6, 9, 18, 0.78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; height: 64px; display: flex; align-items: center; gap: 32px; }
.logo { font-weight: 800; font-size: 21px; letter-spacing: -0.04em; display: inline-flex; align-items: center; gap: 9px; }
.logo .fil { color: var(--blue-2); }
.logo .mark { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), var(--cyan)); position: relative; }
.logo .mark::after { content: ''; position: absolute; inset: 5px; border: 2px solid rgba(255,255,255,0.95); border-right: none; border-bottom: none; border-radius: 2px; }
.nav-links { display: flex; gap: 22px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.on { color: var(--ink); }
.nav-links a.on { font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.lang { color: var(--muted); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.lang:hover { color: var(--ink); border-color: var(--ink-2); }
.login { color: var(--ink-2); }
.login:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 28px -8px rgba(59,118,255,0.7); }
.btn-primary:hover { background: #2f66ee; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.nav .btn { padding: 8px 16px; font-size: 14px; }
.menu-toggle { display: none; }

/* ── héros ── */
.hero { position: relative; padding: 108px 0 80px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 760px; background: radial-gradient(60% 55% at 30% 20%, rgba(59,118,255,0.28), transparent 70%), radial-gradient(40% 45% at 80% 10%, rgba(34,195,230,0.18), transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 30%, transparent 80%); opacity: 0.5; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-2); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: rgba(15,22,41,0.6); }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 22px 0 22px; max-width: 16ch; }
h1 .grad, h2 .grad { background: linear-gradient(100deg, var(--blue-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 62ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-shot { margin-top: 64px; }

/* ── sections ── */
section { padding: 96px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 14px; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; max-width: 22ch; }
h3 { font-size: 20px; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 8px; }
.section-lead { color: var(--ink-2); font-size: 18.5px; max-width: 66ch; margin-top: 18px; }
.head { margin-bottom: 52px; }

/* ── grilles ── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(59,118,255,0.14); color: var(--blue-2); margin-bottom: 16px; }
.card .ico svg { width: 22px; height: 22px; }
.card ul { list-style: none; margin-top: 12px; }
.card li { color: var(--ink-2); font-size: 15px; padding: 5px 0 5px 22px; position: relative; }
.card li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); margin: 0 6px 6px 0; }
.tag.ok { color: #7ee2a0; border-color: rgba(34,197,94,0.35); }

/* ── captures ── */
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02); background: #000; }
.shot img { width: 100%; }
.tv { padding: 12px; border-radius: 22px; background: linear-gradient(180deg, #1a2033, #0c111e); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -40px rgba(0,0,0,0.9); }
.tv .shot { border-radius: 12px; box-shadow: none; }
figure figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: 1.15fr 1fr; }
.split.rev > :first-child { order: 2; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ── plateformes ── */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.platform { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; }
.platform b { display: block; font-size: 16px; }
.platform span { color: var(--muted); font-size: 13.5px; }

/* ── schéma ── */
.diagram { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 28px; overflow-x: auto; }
.diagram svg { width: 100%; min-width: 860px; height: auto; display: block; }

/* ── chiffres ── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.fact { background: var(--panel); padding: 24px 22px; }
.fact b { display: block; font-size: 28px; letter-spacing: -0.03em; font-weight: 800; }
.fact span { color: var(--muted); font-size: 14px; }

/* ── tableau ── */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.table td { color: var(--ink-2); }
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }

/* ── étapes ── */
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.step::before { content: counter(s); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(59,118,255,0.16); color: var(--blue-2); font-weight: 700; }
.step b { display: block; margin-bottom: 2px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ── appel final ── */
.cta { text-align: center; padding: 110px 0; background: radial-gradient(50% 80% at 50% 100%, rgba(59,118,255,0.22), transparent 70%); }
.cta h2 { margin: 0 auto; }
.cta p { color: var(--ink-2); margin: 18px auto 30px; max-width: 56ch; }

footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.foot { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .btn { transition: none; } }

@media (max-width: 1120px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; }
  .nav-links.open a { padding: 10px 0; }
  .menu-toggle { display: inline-flex; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; }
}
@media (max-width: 960px) {
  .g3, .g4, .platforms, .facts { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; gap: 36px; }
  .split.rev > :first-child { order: 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 28px 16px; }
  .nav-links.open a { padding: 10px 0; }
  .menu-toggle { display: inline-flex; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; cursor: pointer; }
  .nav .btn { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .nav-inner { padding: 0 16px; }
  .g2, .g3, .g4, .platforms, .facts, .gallery { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0 56px; }
  .login { display: none; }
}
