/* OmniBox — site de présentation. Même famille visuelle que sololink.electroconcept.fr
 * (fond sombre, Inter), accent cyan de l'interface OmniBox. */
:root {
  --bg: #0a0e13; --surface: #14191f; --raised: #1d2530; --border: #2c3744;
  --accent: #00b4d8; --accent-hi: #90e0ef; --accent-glow: rgba(0, 180, 216, .14);
  --text: #e6edf3; --text-sec: #9aa6b4; --text-dim: #5e6976;
  --dmx: #58a6ff; --val: #3fb950; --bool: #f0883e; --red: #f85149; --warn: #d29922;
  --radius: 12px; --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'SF Mono', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6;
       -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ── En-tête ─────────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(10, 14, 19, .86); backdrop-filter: blur(10px);
       border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.top .brand { display: flex; align-items: center; color: var(--text); }
.top .brand img { height: 34px; width: auto; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.top nav a { color: var(--text-sec); font-size: 15px; font-weight: 500; }
.top nav a:hover, .top nav a.on { color: var(--text); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 9px;
       font-weight: 600; font-size: 15px; border: 1px solid var(--border); color: var(--text); background: var(--raised); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.main { background: var(--accent); border-color: var(--accent); color: #031418; }
.btn.main:hover { background: var(--accent-hi); }
.top .btn { padding: 7px 14px; font-size: 14px; }
.menu-t { display: none; margin-left: auto; background: none; border: 1px solid var(--border); color: var(--text);
          border-radius: 8px; padding: 6px 10px; font-size: 16px; }
@media (max-width: 760px) {
  .menu-t { display: block; }
  .top nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0;
             background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .top nav.open { display: flex; }
  .top nav a { padding: 10px 0; width: 100%; }
}

/* ── Accueil ─────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -40% -20% auto; height: 120%;
                background: radial-gradient(closest-side, rgba(0, 180, 216, .16), transparent 70%); pointer-events: none; }
.hero .logo { height: 76px; width: auto; color: var(--text); }
.hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.1; margin: 22px auto 14px; max-width: 880px; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--accent-hi); }
.hero p.sub { color: var(--text-sec); font-size: clamp(16px, 2vw, 20px); max-width: 760px; margin: 0 auto 28px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .photo { margin: 40px auto 0; max-width: 640px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); }

section.blk { padding: 72px 0; border-top: 1px solid var(--border); }
section.blk.alt { background: var(--surface); }
.kicker { color: var(--accent-hi); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h2.big { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; margin: 8px 0 14px; letter-spacing: -.01em; }
h2.big em { font-style: normal; color: var(--accent-hi); }
p.intro { color: var(--text-sec); font-size: 18px; max-width: 760px; margin: 0 0 32px; }
.anim { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; }
.anim svg { display: block; width: 100%; height: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.feat { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.feat .ic { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
            background: var(--accent-glow); color: var(--accent-hi); font-size: 20px; margin-bottom: 12px; }
.feat h3 { margin: 0 0 6px; font-size: 17px; }
.feat p { margin: 0; color: var(--text-sec); font-size: 15px; }

.mods { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mods span { font-size: 13px; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); color: var(--text-sec);
             background: var(--bg); }
.mods span b { color: var(--text); font-weight: 600; }

.shots { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: var(--radius); border: 1px solid var(--border); display: block; width: 100%; }
.shots figcaption { color: var(--text-sec); font-size: 14px; margin-top: 8px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

.uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.use { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.use h3 { margin: 0 0 4px; font-size: 17px; }
.use p { margin: 0; color: var(--text-sec); font-size: 15px; }

.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photos figure { margin: 0; text-align: center; }
.photos img { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55)); }
.photos figcaption { color: var(--text-sec); font-size: 14px; }
@media (max-width: 700px) { .photos { grid-template-columns: 1fr; } }

table.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
table.specs th, table.specs td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.specs th { color: var(--text-sec); font-weight: 500; width: 34%; }

.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.opt { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.opt h3 { margin: 0 0 6px; font-size: 16px; }
.opt p { margin: 0 0 10px; color: var(--text-sec); font-size: 14px; }

.eps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
a.ep { display: flex; gap: 14px; align-items: flex-start; background: var(--raised); border: 1px solid var(--border);
       border-radius: var(--radius); padding: 16px; color: var(--text); }
a.ep:hover { border-color: var(--accent); text-decoration: none; }
a.ep .n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--accent-glow); color: var(--accent-hi);
          display: flex; align-items: center; justify-content: center; font-weight: 700; }
a.ep h3 { margin: 0 0 4px; font-size: 16px; }
a.ep p { margin: 0; color: var(--text-sec); font-size: 14px; }
a.ep .d { color: var(--text-dim); font-size: 13px; margin-top: 6px; }

.buy { text-align: center; padding: 80px 0; background: radial-gradient(closest-side, rgba(0, 180, 216, .12), transparent); }
.buy h2 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 10px; }
.buy p { color: var(--text-sec); margin: 0 0 24px; }

/* ── Pied de page ────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--border); padding: 32px 0; color: var(--text-dim); font-size: 14px; }
.foot .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.foot a { color: var(--text-sec); }
.foot .fr { display: inline-flex; gap: 8px; align-items: center; }
.foot .fr i { display: inline-block; width: 18px; height: 12px; background: linear-gradient(90deg, #002395 33%, #fff 33% 66%, #ed2939 66%);
              border-radius: 2px; }

/* ── Documentation ───────────────────────────────────────────────────── */
.docw { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: 60px; }
.side { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; font-size: 14px; }
.side h4 { margin: 18px 0 6px; color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.side a { display: block; padding: 5px 10px; border-radius: 6px; color: var(--text-sec); }
.side a:hover { background: var(--raised); text-decoration: none; color: var(--text); }
.side a.on { background: var(--accent-glow); color: var(--accent-hi); }
.side-t { display: none; }
@media (max-width: 860px) {
  .docw { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; max-height: none; display: none; border: 1px solid var(--border); border-radius: 10px;
          padding: 4px 10px 12px; margin-bottom: 20px; }
  .side.open { display: block; }
  .side-t { display: block; margin-bottom: 14px; }
}
.doc { min-width: 0; }
.doc h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 10px; }
.doc p.lead { font-size: 18px; color: var(--text-sec); margin: 0 0 28px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; padding-top: 8px; scroll-margin-top: 80px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; color: var(--text); }
.doc section { scroll-margin-top: 80px; }
.doc p, .doc li { color: #c9d3dd; }
.doc code { font-family: var(--mono); font-size: .9em; background: var(--raised); border: 1px solid var(--border);
            padding: 1px 5px; border-radius: 4px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 6px 0 14px; display: block; overflow-x: auto; }
.doc table th, .doc table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc table th { color: var(--text-sec); font-weight: 600; font-size: 13px; background: var(--surface); }
.doc .mod { border-top: 1px solid var(--border); margin-top: 40px; }
.doc .mod-head { display: flex; gap: 16px; align-items: center; margin-top: 32px; }
.doc .mod-head img { width: 170px; height: auto; flex: 0 0 auto; border-radius: 6px; }
@media (max-width: 600px) { .doc .mod-head { flex-direction: column; align-items: flex-start; } }
.doc .mod-head h2 { margin: 0; padding: 0; }
.doc .mod-head .cat { margin: 2px 0 0; color: var(--text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; }
.t { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.t.dmx { color: var(--dmx); background: rgba(88, 166, 255, .12); }
.t.val { color: var(--val); background: rgba(63, 185, 80, .12); }
.t.bool { color: var(--bool); background: rgba(240, 136, 62, .12); }
.tip, .warn { border-radius: 10px; padding: 12px 16px; margin: 14px 0; font-size: 15px; }
.tip { background: rgba(0, 180, 216, .08); border: 1px solid rgba(0, 180, 216, .35); }
.tip::before { content: 'Astuce · '; color: var(--accent-hi); font-weight: 700; }
.warn { background: rgba(210, 153, 34, .08); border: 1px solid rgba(210, 153, 34, .4); }
.warn::before { content: 'Attention · '; color: var(--warn); font-weight: 700; }
.see { font-size: 14.5px; }
.see::before { content: '▶ '; color: var(--accent); }
.kbd { font-family: var(--mono); font-size: 13px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px;
       padding: 0 6px; background: var(--raised); }
figure.fig { margin: 18px 0; }
figure.fig img { border: 1px solid var(--border); border-radius: 10px; display: block; }
figure.fig figcaption { color: var(--text-sec); font-size: 14px; margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .grid2 { grid-template-columns: 1fr; } }
.pn { display: flex; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); }
.pn a { padding: 10px 14px; border: 1px solid var(--border); border-radius: 9px; font-size: 14px; }
.pn a:hover { border-color: var(--accent); text-decoration: none; }
.pn .nx { margin-left: auto; text-align: right; }
.docidx { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.docidx a { display: block; background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; color: var(--text); }
.docidx a:hover { border-color: var(--accent); text-decoration: none; }
.docidx b { display: block; margin-bottom: 4px; }
.docidx span { color: var(--text-sec); font-size: 14px; }
