/* ============================================================
   Alixo — Site vitrine (v2)
   Moderne, sobre, lumineux. Teinte de l'app : #33658a.
   ============================================================ */

:root {
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-serif: "Iowan Old Style", Palatino, Georgia, serif;
  --font-mono: "SF Mono", ui-monospace, Consolas, monospace;

  --bg: #fafbfc;
  --bg-alt: #f2f4f7;
  --surface: #ffffff;
  --border: #e3e6ea;
  --border-strong: #cfd4da;
  --ink: #16191d;
  --ink-2: #565d66;
  --ink-3: #8a929c;
  --hover: rgba(22, 25, 29, .05);

  --tint: #33658a;
  --tint-2: #4f86ad;
  --tint-soft: rgba(51, 101, 138, .10);
  --tint-ink: #27506e;

  --c-def: #3d6bb5;
  --c-arret: #8c4351;
  --c-ret: #b3762a;
  --c-ex: #2e8b6a;
  --c-demand: #b0483f;
  --c-supply: #2f7d68;
  --ok: #2e8b6a;

  --shadow-sm: 0 1px 2px rgba(22,25,29,.05), 0 1px 1px rgba(22,25,29,.03);
  --shadow: 0 10px 30px -10px rgba(22,25,29,.18), 0 2px 6px rgba(22,25,29,.05);
  --shadow-lg: 0 40px 80px -30px rgba(22,25,29,.30), 0 10px 24px -10px rgba(22,25,29,.12);

  --r: 10px;
  --r-lg: 18px;
  --r-xl: 26px;
  --nav-h: 64px;
  --max: 1160px;
}

html[data-theme="dark"] {
  --bg: #0f1114;
  --bg-alt: #14171b;
  --surface: #1a1e23;
  --border: #272c33;
  --border-strong: #363d46;
  --ink: #eef0f3;
  --ink-2: #aab2bc;
  --ink-3: #737c87;
  --hover: rgba(255,255,255,.06);
  --tint: #5b93ba;
  --tint-2: #7fb0d1;
  --tint-soft: rgba(91,147,186,.16);
  --tint-ink: #a9cbe3;
  --c-def: #7fa4dc; --c-arret: #c98795; --c-ret: #d3a05e; --c-ex: #5cb896;
  --c-demand: #d8756b; --c-supply: #52ab90; --ok: #5cb896;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font-ui); color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.55;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: rgba(51,101,138,.25); }
em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
h1, h2, h3, h4 { letter-spacing: -.02em; line-height: 1.1; }
kbd {
  font-family: var(--font-ui); font-size: .78em; font-weight: 600;
  border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px;
  padding: 1px 6px 2px; background: var(--surface); color: var(--ink-2);
  white-space: nowrap; margin: 0 1px;
}
.hnum { color: var(--tint); font-weight: 700; margin-right: .35em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--tint); color: #fff; box-shadow: 0 6px 18px -6px rgba(51,101,138,.6), inset 0 1px 0 rgba(255,255,255,.15); }
.btn.primary:hover { background: var(--tint-ink); box-shadow: 0 10px 24px -8px rgba(51,101,138,.7); }
html[data-theme="dark"] .btn.primary { background: #3c78a6; color: #fff; }
html[data-theme="dark"] .btn.primary:hover { background: #4b8bbb; }
.btn.ghost { background: var(--surface); border-color: var(--border-strong); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: var(--ink-3); }
.btn.invert { background: #fff; color: var(--tint-ink); }
.btn.invert:hover { background: #f3f6f9; }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn.big { padding: 14px 22px; font-size: 16px; border-radius: 14px; }
.btn.full { width: 100%; }
.btn-meta { font-weight: 500; font-size: 12.5px; opacity: .8; margin-left: 4px; }
.btn.big.primary { flex-wrap: wrap; }
.soon-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  background: var(--tint-soft); color: var(--tint-ink); padding: 3px 8px; border-radius: 999px;
}
.win-logo, .apple-logo { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
#nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
#nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 20px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--tint); color: #fff;
  display: inline-grid; place-items: center; font-weight: 800; font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2);
}
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 7px 11px; border-radius: 8px; font-size: 14px; color: var(--ink-2); font-weight: 500; transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--hover); color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-2); transition: background .15s; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.ico-moon { display: none; }
html[data-theme="dark"] .ico-sun { display: none; }
html[data-theme="dark"] .ico-moon { display: block; }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 20px 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .45;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.o1 { width: 520px; height: 520px; left: 50%; top: -260px; transform: translateX(-70%); background: radial-gradient(circle, rgba(51,101,138,.45), transparent 65%); }
.o2 { width: 420px; height: 420px; left: 50%; top: -160px; transform: translateX(10%); background: radial-gradient(circle, rgba(179,118,42,.28), transparent 65%); }
html[data-theme="dark"] .orb { opacity: .35; }
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: border-color .15s;
}
.pill:hover { border-color: var(--border-strong); }
.pill-tag { background: var(--tint); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.pill-arrow { color: var(--ink-3); }

.hero h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 800; margin-top: 26px; letter-spacing: -.035em; line-height: 1.02; }
.hero h1 em { color: var(--tint); font-weight: 400; }
.hero-sub { font-size: clamp(17px, 2vw, 19.5px); color: var(--ink-2); max-width: 640px; margin-top: 22px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.mac-soon { color: var(--ink-2); }
.hero-trust { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.mac-notice {
  margin-top: 18px; font-size: 14px; padding: 10px 16px; border-radius: 12px;
  background: var(--tint-soft); color: var(--tint-ink); border: 1px solid rgba(51,101,138,.2);
}
.mac-notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Maquette ---------- */
.mock-wrap { position: relative; z-index: 1; max-width: 1080px; margin: 64px auto 0; }
.mock-window {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px;
}
.mock-titlebar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.dots i:nth-child(1) { background: #ec6a5e; } .dots i:nth-child(2) { background: #f4bf4f; } .dots i:nth-child(3) { background: #61c554; }
.mock-tabs { display: flex; gap: 4px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); padding: 3px; border-radius: 9px; }
.mock-tab { padding: 5px 12px; border-radius: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
.mock-tab.active { background: var(--tint); color: #fff; }
.mock-sync { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.sync-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(46,139,106,.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(46,139,106,.2); } 50% { box-shadow: 0 0 0 6px rgba(46,139,106,.05); } }

.mock-body { display: grid; grid-template-columns: 210px 1fr 200px; min-height: 520px; text-align: left; }
.mock-side { border-right: 1px solid var(--border); padding: 12px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 6px; }
.ms-search { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink-3); font-size: 12px; }
.ms-search kbd { margin-left: auto; font-size: 10px; }
.ms-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; margin-top: 10px; padding: 0 4px; }
.ms-tree { display: flex; flex-direction: column; gap: 1px; }
.ms-item { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 7px; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-item.l2 { padding-left: 22px; } .ms-item.l3 { padding-left: 36px; font-size: 12px; }
.ms-item.cur { background: var(--tint-soft); color: var(--tint-ink); font-weight: 600; }
.ms-item .fi { font-size: 9px; padding: 1px 5px; border-radius: 4px; font-weight: 700; }
.ms-agenda { display: flex; flex-direction: column; gap: 4px; }
.ms-ev { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); padding: 3px 4px; }
.ms-ev i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }

.mock-main { display: flex; flex-direction: column; min-width: 0; position: relative; }
.mock-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--ink-2); }
.mt-crumb { font-weight: 600; color: var(--ink); }
.mt-sep { color: var(--ink-3); }
.mt-spacer { flex: 1; }
.mt-btn { width: 26px; height: 24px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.mt-btn.ai { width: auto; padding: 0 8px; background: var(--tint-soft); color: var(--tint-ink); border-color: transparent; font-weight: 600; }
.mock-doc { padding: 22px 30px 60px; font-family: var(--font-serif); font-size: 14.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.mock-doc.switching > * { animation: fadeUp .45s both; }
.mock-doc.switching > *:nth-child(2) { animation-delay: .05s; } .mock-doc.switching > *:nth-child(3) { animation-delay: .1s; }
.mock-doc.switching > *:nth-child(4) { animation-delay: .15s; } .mock-doc.switching > *:nth-child(5) { animation-delay: .2s; } .mock-doc.switching > *:nth-child(6) { animation-delay: .25s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.md-title { font-family: var(--font-ui); font-weight: 800; font-size: 20px; letter-spacing: -.02em; margin-bottom: 4px; }
.md-meta { font-family: var(--font-ui); font-size: 11.5px; color: var(--ink-3); margin-bottom: 14px; }
.md-h1 { font-family: var(--font-ui); font-weight: 700; font-size: 16px; margin: 12px 0 6px; }
.md-h2 { font-family: var(--font-ui); font-weight: 600; font-size: 14.5px; margin: 12px 0 6px; padding-left: 14px; }
.md-p { margin: 4px 0 8px; }
.md-p .hl { background: rgba(179,118,42,.22); padding: 0 2px; border-radius: 3px; }
.refart { font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--tint-ink); background: var(--tint-soft); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }
.md-callout { border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 8%, transparent); padding: 8px 12px; border-radius: 0 8px 8px 0; margin: 8px 0; font-size: 13.5px; }
.md-callout .ct { display: block; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c); margin-bottom: 2px; }
.md-callout.def { --c: var(--c-def); } .md-callout.ret { --c: var(--c-ret); } .md-callout.ex { --c: var(--c-ex); } .md-callout.flag { --c: var(--c-demand); }
.md-juris { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 10px 0; font-family: var(--font-ui); font-size: 12.5px; }
.md-juris-head { background: color-mix(in srgb, var(--c-arret) 10%, transparent); color: var(--c-arret); font-weight: 700; padding: 6px 10px; }
.md-juris-row { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 5px 10px; border-top: 1px solid var(--border); }
.md-juris-row span { color: var(--ink-3); font-weight: 600; } .md-juris-row i { font-style: normal; color: var(--ink-2); }
.md-formula { font-family: var(--font-serif); font-size: 16px; text-align: center; padding: 8px; margin: 8px 0; background: var(--bg-alt); border-radius: 8px; }
.frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 4px; font-size: .9em; line-height: 1.15; }
.frac .num { border-bottom: 1.5px solid currentColor; padding: 0 4px 1px; } .frac .den { padding: 1px 4px 0; }
.md-graph { margin: 8px 0; border: 1px solid var(--border); border-radius: 10px; padding: 8px; background: var(--surface); }
.md-graph svg { width: 100%; height: 130px; font-family: var(--font-ui); font-size: 11px; }
.md-graph .gx { stroke: var(--ink-3); } .md-graph .gd { stroke: var(--c-demand); stroke-width: 2.2; } .md-graph .gs { stroke: var(--c-supply); stroke-width: 2.2; }
.md-graph .gdash { stroke: var(--ink-3); stroke-dasharray: 3 3; stroke-width: 1; } .md-graph .gpt { fill: var(--ink); stroke: var(--surface); stroke-width: 2; }
.md-graph text { fill: var(--ink-2); stroke: none; }
.md-gbar { display: flex; gap: 4px; font-family: var(--font-ui); font-size: 11px; margin-top: 6px; }
.md-gbar span { padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border); color: var(--ink-2); }
.md-gbar span.on { background: var(--tint); color: #fff; border-color: transparent; }
.md-score { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-family: var(--font-ui); font-size: 12.5px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.md-score b.total { grid-column: 1 / -1; text-align: right; color: var(--c-ex); font-size: 14px; border-top: 1px solid var(--border); padding-top: 4px; }
.md-rang { font-family: var(--font-ui); font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: rgba(46,139,106,.15); color: var(--c-ex); vertical-align: middle; }
.md-slash { display: inline-flex; flex-direction: column; font-family: var(--font-ui); font-size: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); padding: 5px; margin-top: 6px; min-width: 200px; }
.md-slash span { padding: 5px 9px; border-radius: 6px; color: var(--ink-2); }
.md-slash span.on { background: var(--tint-soft); color: var(--tint-ink); font-weight: 600; }
.mock-caret { display: inline-block; width: 1.5px; height: 1em; background: var(--tint); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-ai {
  position: absolute; left: 30px; right: 30px; bottom: 14px; display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  font-size: 12.5px; color: var(--ink-2); font-family: var(--font-ui);
}
.ai-ico { font-size: 14px; } .ai-keys { margin-left: auto; color: var(--ink-3); font-size: 11.5px; white-space: nowrap; }
.mock-plan { border-left: 1px solid var(--border); padding: 14px 12px; background: var(--bg-alt); display: flex; flex-direction: column; }
.mp-title { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; display: flex; justify-content: space-between; }
.mp-pct { color: var(--tint-ink); }
.mp-progress { height: 4px; border-radius: 2px; background: var(--border); margin: 8px 0 12px; overflow: hidden; }
.mp-progress span { display: block; height: 100%; background: var(--tint); border-radius: 2px; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.mp-items { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mp-item { display: flex; gap: 6px; padding: 4px 6px; border-radius: 6px; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-item .n { color: var(--tint); font-weight: 700; flex: none; }
.mp-item.i2 { padding-left: 16px; } .mp-item.i3 { padding-left: 28px; font-size: 11.5px; }
.mp-item.cur { background: var(--tint-soft); color: var(--tint-ink); font-weight: 600; }
.mp-insert { margin-top: 10px; font-size: 11.5px; padding: 6px 9px; border: 1px dashed var(--border-strong); border-radius: 8px; color: var(--ink-3); text-align: center; }
.mock-caption { text-align: center; font-size: 13px; color: var(--ink-3); padding: 14px 0 0; }

/* ---------- Bandeau filières ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); padding: 22px 20px; }
.strip-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.strip-label { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.strip-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); color: var(--ink-3); background: var(--surface); }
.chip.on { color: var(--ink); border-color: var(--border-strong); }

/* ---------- Sections ---------- */
.section { padding: 96px 20px; max-width: var(--max); margin: 0 auto; }
.section.alt { max-width: none; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.alt > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.eyebrow { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--tint); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.section-head h2 em { color: var(--tint); }
.section-head p { color: var(--ink-2); font-size: 17px; margin-top: 16px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
  min-width: 0;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card.span2 { grid-column: span 2; }
.card.accent { border-color: rgba(51,101,138,.35); background: linear-gradient(180deg, var(--tint-soft), var(--surface) 60%); }
.card h3 { font-size: 17px; font-weight: 700; margin-top: 12px; }
.card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.card-visual {
  border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--border); min-height: 150px; padding: 16px;
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.card.accent .card-visual { background: var(--surface); }

.v-doc { width: 100%; font-family: var(--font-ui); display: flex; flex-direction: column; gap: 6px; }
.v-h { font-weight: 600; font-size: 14px; }
.v-h.l2 { padding-left: 16px; } .v-h.l3 { padding-left: 32px; font-weight: 500; } .v-h.l4 { padding-left: 48px; font-weight: 500; }
.v-caret { display: inline-block; width: 1.5px; height: 1em; background: var(--tint); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.v-hint { margin-top: 8px; margin-left: 48px; font-size: 12px; color: var(--ink-3); }

.v-ai { width: 100%; font-family: var(--font-serif); font-size: 14px; line-height: 1.6; }
.v-ai s { text-decoration: line-through; text-decoration-color: var(--c-demand); color: var(--ink-3); }
.v-ai mark { background: rgba(46,139,106,.18); color: var(--ink); text-decoration: underline wavy var(--c-ex); text-underline-offset: 3px; border-radius: 3px; padding: 0 2px; }
.v-ai-pop { display: inline-block; margin-top: 10px; font-family: var(--font-ui); font-size: 12px; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--ink-2); }

.v-juris { width: 100%; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); font-size: 12.5px; }
.v-juris-head { background: color-mix(in srgb, var(--c-arret) 10%, transparent); color: var(--c-arret); font-weight: 700; padding: 7px 10px; }
.v-juris-row { display: grid; grid-template-columns: 62px 1fr; gap: 8px; padding: 6px 10px; border-top: 1px solid var(--border); }
.v-juris-row span { color: var(--ink-3); font-weight: 600; } .v-juris-row i { font-style: normal; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.v-formula { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; font-family: var(--font-serif); font-size: 18px; }
.v-src { font-family: var(--font-mono); font-size: 12.5px; background: var(--surface); border: 1px solid var(--border); padding: 6px 9px; border-radius: 7px; color: var(--ink-2); }
.v-eq { color: var(--ink-3); } .v-render { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; }

.v-graph { width: 100%; max-width: 260px; font-family: var(--font-ui); font-size: 11px; }
.v-graph .axis { stroke: var(--ink-3); } .v-graph .demand { stroke: var(--c-demand); stroke-width: 2.4; } .v-graph .supply { stroke: var(--c-supply); stroke-width: 2.4; }
.v-graph .dash { stroke: var(--ink-3); stroke-dasharray: 3 3; stroke-width: 1; } .v-graph .pt { fill: var(--ink); stroke: var(--bg-alt); stroke-width: 2.5; }
.v-graph text { fill: var(--ink-2); stroke: none; }

.v-search { width: 100%; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.v-search-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--surface); border: 1px solid var(--tint); box-shadow: 0 0 0 3px var(--tint-soft); font-weight: 500; }
.v-search-bar kbd { margin-left: auto; font-size: 10.5px; }
.v-hit { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.hit-chip { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: var(--tint-soft); color: var(--tint-ink); flex: none; }
.hit-chip.pdf { background: rgba(176,72,63,.14); color: var(--c-demand); }
.v-hit mark { background: rgba(179,118,42,.25); color: inherit; border-radius: 3px; }

.v-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.v-file { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi { font-size: 9.5px; font-weight: 800; padding: 3px 5px; border-radius: 5px; color: #fff; flex: none; letter-spacing: .03em; }
.fi.pdf { background: #d24d3f; } .fi.doc { background: #2b5fb4; } .fi.ppt { background: #d06b21; } .fi.xls { background: #1f7f4c; } .fi.img { background: #7c4dbd; } .fi.aud { background: #b78a1e; }

.v-cal { width: 100%; font-family: var(--font-ui); }
.v-cal-head { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.v-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.v-cal-grid i { height: 26px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); font-style: normal; font-size: 11px; display: grid; place-items: center; position: relative; }
.v-cal-grid i.ev::after { content: ""; position: absolute; bottom: 4px; width: 14px; height: 3px; border-radius: 2px; background: var(--c-def); }
.v-cal-grid i.ev.o::after { background: var(--c-ret); } .v-cal-grid i.ev.g::after { background: var(--c-ex); }
.v-cal-grid i.today { background: var(--tint); color: #fff; border-color: transparent; font-weight: 700; }
.v-cal-now { margin-top: 10px; font-size: 12px; padding: 6px 9px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); }
.v-cal-now b { color: var(--ok); margin-right: 4px; }

.v-score { width: 100%; max-width: 220px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 12.5px; }
.v-score-head { font-weight: 700; margin-bottom: 6px; }
.v-score-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-2); } .v-score-row b { color: var(--ink); }
.v-score-total { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--border); text-align: right; font-weight: 800; color: var(--c-ex); font-size: 15px; }

.v-table { width: 100%; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--surface); font-size: 12.5px; }
.v-tr { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.v-tr span { padding: 6px 9px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); }
.v-tr span:last-child { border-right: 0; } .v-tr:last-child span { border-bottom: 0; }
.v-tr.th span { background: var(--tint-soft); font-weight: 700; color: var(--tint-ink); }

.v-calc { width: 100%; max-width: 220px; }
.v-calc-screen { background: #1c2a35; color: #d7e6f0; font-family: var(--font-mono); font-size: 14px; padding: 10px 12px; border-radius: 9px 9px 0 0; display: flex; flex-direction: column; gap: 2px; }
.v-calc-screen span { align-self: flex-end; color: #8fd3a8; }
.v-calc-tabs { display: flex; background: var(--surface); border: 1px solid var(--border); border-top: 0; border-radius: 0 0 9px 9px; font-size: 11.5px; }
.v-calc-tabs span { flex: 1; text-align: center; padding: 6px 4px; color: var(--ink-3); }
.v-calc-tabs span.on { color: var(--tint-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--tint); }

.v-split { gap: 12px; }
.v-page { width: 92px; height: 116px; border-radius: 6px; background: #fff; border: 1px solid var(--border); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; position: relative; box-shadow: var(--shadow-sm); flex: none; }
.v-line { height: 4px; border-radius: 2px; background: #cfd4da; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; }
.v-box { height: 26px; border-radius: 4px; background: rgba(51,101,138,.15); margin-top: 4px; }
.v-badge { position: absolute; right: -6px; top: -6px; font-size: 9.5px; font-weight: 800; padding: 3px 6px; border-radius: 5px; background: var(--tint); color: #fff; }
.v-share { flex: 1; min-width: 150px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px; font-size: 12.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.v-share b { color: var(--ink); } .v-share-ico { width: 26px; height: 26px; border-radius: 7px; background: var(--tint-soft); color: var(--tint-ink); display: grid; place-items: center; font-weight: 800; }

.v-sync { display: flex; align-items: center; gap: 10px; font-size: 26px; }
.v-cloud { color: var(--tint); font-size: 30px; }
.v-link { width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--tint) 0 6px, transparent 6px 10px); animation: flow 1.2s linear infinite; background-size: 10px 2px; }
@keyframes flow { to { background-position: 10px 0; } }

.v-themes { display: flex; gap: 12px; }
.v-theme { width: 84px; height: 104px; border-radius: 8px; padding: 12px 10px; display: flex; flex-direction: column; gap: 7px; border: 1px solid var(--border); }
.v-theme span { height: 5px; border-radius: 3px; width: 100%; }
.v-theme.light { background: #fff; } .v-theme.light span { background: #cfd4da; } .v-theme.light span:first-child { background: #33658a; width: 40%; }
.v-theme.dark { background: #1a1e23; border-color: #2c323a; } .v-theme.dark span { background: #3a424c; } .v-theme.dark span:first-child { background: #5b93ba; width: 40%; }

/* ---------- Timeline ---------- */
.timeline { max-width: 760px; display: flex; flex-direction: column; position: relative; }
.timeline::before { content: ""; position: absolute; left: 80px; top: 12px; bottom: 12px; width: 1px; background: var(--border-strong); }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 36px; padding: 16px 0; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 76px; top: 24px; width: 9px; height: 9px; border-radius: 50%; background: var(--tint); box-shadow: 0 0 0 4px var(--bg-alt); }
.tl-time { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); text-align: right; padding-top: 2px; }
.tl-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.tl-item p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Raccourcis ---------- */
.keys { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.key-row { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.key-row > span { display: flex; gap: 4px; flex-wrap: wrap; }
.key-row kbd { font-size: 12.5px; padding: 3px 8px; }
.key-row p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Comparatif ---------- */
.compare { max-width: 860px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.compare th, .compare td { padding: 12px 16px; text-align: center; border-bottom: 1px solid var(--border); }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { text-align: left; color: var(--ink-2); }
.compare th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); background: var(--bg-alt); }
.compare .me { background: var(--tint-soft); color: var(--tint-ink); font-weight: 700; }
.compare th.me { color: var(--tint); }
.compare .no { color: var(--ink-3); } .compare .part { color: var(--ink-3); font-size: 13px; }

/* ---------- Stats ---------- */
.stats-band { padding-top: 40px; padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.stat { text-align: center; padding: 22px 12px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.stat-n { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--tint); line-height: 1; }
.stat-l { display: block; font-size: 13px; color: var(--ink-2); margin-top: 8px; }

/* ---------- Téléchargement ---------- */
.dl-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.dl-card { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.dl-card.win { border-color: rgba(51,101,138,.4); box-shadow: 0 0 0 4px var(--tint-soft), var(--shadow); }
.dl-card.mac { background: var(--bg-alt); }
.dl-head { display: flex; align-items: center; gap: 14px; }
.os-logo { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tint-soft); color: var(--tint); flex: none; }
.dl-card.mac .os-logo { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.dl-head h3 { font-size: 22px; font-weight: 800; }
.dl-avail { font-size: 13px; color: var(--ok); font-weight: 600; }
.dl-soon-tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tint-ink); background: var(--tint-soft); padding: 3px 9px; border-radius: 999px; }
.dl-alt { font-size: 14px; color: var(--tint-ink); font-weight: 600; text-align: center; margin-top: -6px; }
.dl-alt:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-list { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.dl-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.dl-list.muted li::before { content: "•"; color: var(--ink-3); }
.dl-hint { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--border); padding-top: 12px; line-height: 1.5; }
.dl-mac-txt { font-size: 14.5px; color: var(--ink-2); }
.dl-card.mac.available { background: var(--surface); border-color: rgba(51,101,138,.4); }
.dl-card.mac.available .dl-soon-tag { display: none; }

/* ---------- Changelog ---------- */
.changelog { max-width: 720px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.cl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cl-tag { font-family: var(--font-mono); font-size: 13px; font-weight: 700; background: var(--tint-soft); color: var(--tint-ink); padding: 3px 9px; border-radius: 7px; }
.cl-date { font-size: 13px; color: var(--ink-3); }
.cl-body { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.cl-body h3, .cl-body h4 { font-size: 15px; color: var(--ink); margin: 14px 0 6px; }
.cl-body ul { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.cl-body strong { color: var(--ink); }
.cl-body code { font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-alt); border: 1px solid var(--border); padding: 0 5px; border-radius: 4px; }
.cl-body p { margin: 6px 0; }
.cl-more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--tint-ink); }
.cl-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 15.5px; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--ink-3); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: 14.5px; color: var(--ink-2); padding: 0 0 18px; }
.faq a { color: var(--tint-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA final ---------- */
#cta { padding-top: 40px; }
.cta-card {
  position: relative; overflow: hidden; text-align: center; padding: 72px 28px; border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--tint-ink), var(--tint) 60%, #4f86ad); color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-glow { position: absolute; inset: -40%; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 40%), radial-gradient(circle at 80% 90%, rgba(255,255,255,.12), transparent 40%); pointer-events: none; }
.cta-card h2 { position: relative; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; letter-spacing: -.03em; }
.cta-card h2 em { color: #fff; }
.cta-card p { position: relative; margin-top: 14px; font-size: 17px; opacity: .9; }
.cta-btns { position: relative; margin-top: 30px; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta-mac { font-size: 14px; opacity: .85; font-weight: 500; }
.cta-note { position: relative; margin-top: 16px; font-size: 13px; opacity: .8; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); margin-top: 40px; }
.foot-inner { max-width: var(--max); margin: 0 auto; padding: 36px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-name { font-weight: 700; } .foot-tag { font-size: 13px; color: var(--ink-3); }
.foot-links { display: flex; gap: 18px; font-size: 14px; color: var(--ink-2); margin-left: auto; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { width: 100%; font-size: 13px; color: var(--ink-3); }

/* ---------- Toast ---------- */
.dl-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); font-size: 14px; max-width: calc(100% - 32px);
  animation: toastIn .35s cubic-bezier(.2,.7,.2,1);
}
.dl-toast[hidden] { display: none; }
.dl-toast svg { width: 22px; height: 22px; flex: none; }
.dl-toast strong { display: block; } .dl-toast span { font-size: 13px; opacity: .8; }
.dl-toast a { text-decoration: underline; }
.dl-toast-close { margin-left: 8px; opacity: .7; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .mock-body { grid-template-columns: 190px 1fr; }
  .mock-plan { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span2 { grid-column: span 2; }
  .dl-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 16px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .pill-txt { white-space: normal; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-doc { padding: 16px 16px 70px; }
  .mock-toolbar { padding: 8px 12px; }
  .mt-crumb, .mt-session { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .mt-btn:not(.ai) { display: none; }
  .mock-ai { left: 12px; right: 12px; } .ai-keys { display: none; }
  .mock-sync { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card.span2 { grid-column: span 1; }
  .v-files { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .tl-item::before { left: 4px; }
  .tl-time { text-align: left; }
  .keys { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dl-card { padding: 22px 18px; }
  .btn.big { white-space: normal; text-align: center; }
  .cta-card { padding: 52px 20px; }
  .foot-links { margin-left: 0; }
}

/* ============================================================
   v2.1 — logo réel, captures réelles, section « Bien plus »,
   carte Navigateur, téléphone
   ============================================================ */
.logo-img { width: 30px; height: 30px; object-fit: contain; display: block; }
.hero-web { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.hero-web strong { color: var(--tint-ink); font-weight: 600; }
.hero-web:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* Visionneuse de captures */
.shots { position: relative; z-index: 1; max-width: 1120px; margin: 56px auto 0; }
.shots-tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.shots-tab { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--border); background: var(--surface); transition: background .15s, color .15s, border-color .15s; }
.shots-tab:hover { border-color: var(--border-strong); color: var(--ink); }
.shots-tab.active { background: var(--tint); color: #fff; border-color: transparent; }
.shots-frame { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.shots-bar { display: flex; align-items: center; gap: 14px; padding: 9px 14px; border-bottom: 1px solid var(--border); background: var(--bg-alt); font-size: 12.5px; color: var(--ink-3); }
.shots-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shots-stage { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .45s ease; display: block; }
.shot.on { opacity: 1; position: relative; }

/* Rangées image + texte */
.feat-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; margin-bottom: 64px; }
.feat-row.rev .feat-img { order: 2; }
.feat-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface); }
.feat-img img { display: block; width: 100%; height: auto; }
.feat-img.collab, .feat-img.phone-wrap { border: 0; box-shadow: none; background: transparent; overflow: visible; display: flex; justify-content: center; }
.feat-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--tint); margin-bottom: 10px; }
.feat-txt h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.feat-txt p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.feat-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.feat-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.feat-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.collab-card { width: 100%; max-width: 520px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px 20px; font-family: var(--font-serif); font-size: 15px; line-height: 1.6; }
.collab-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-ui); font-weight: 700; font-size: 14px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.collab-avatars { display: flex; }
.collab-avatars i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--surface); margin-left: -8px; position: relative; }
.collab-avatars i::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); border: 2px solid var(--surface); }
.collab-line { margin: 6px 0; }
.collab-line.edited { position: relative; padding: 8px 10px; border-radius: 8px; background: rgba(46,139,106,.09); outline: 2px solid rgba(46,139,106,.55); }
.collab-line.edited::before { content: attr(data-who); position: absolute; top: -11px; right: 10px; font-family: var(--font-ui); font-size: 10.5px; font-weight: 700; color: #fff; background: #2e8b6a; padding: 2px 7px; border-radius: 5px; }
.collab-foot { font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-3); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.collab-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2.4s infinite; }

.phone { width: 260px; padding: 10px; border-radius: 38px; background: #111; box-shadow: var(--shadow-lg), inset 0 0 0 2px #333; }
.phone img { width: 100%; height: auto; border-radius: 28px; display: block; }

.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.mini { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-sm); }
.mini h4 { font-size: 15.5px; font-weight: 700; margin-top: 12px; }
.mini p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; line-height: 1.5; }
.mini-visual { height: 96px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.swatches i { width: 100%; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.08); }
.todo { display: flex; flex-direction: column; gap: 5px; width: 100%; font-size: 12px; }
.todo span { display: flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-2); }
.todo span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--border-strong); flex: none; }
.todo span.done { text-decoration: line-through; color: var(--ink-3); } .todo span.done::before { background: var(--ok); border-color: var(--ok); }
.todo b { margin-left: auto; font-size: 10px; color: var(--c-demand); text-transform: uppercase; }
.bilan { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--ink-2); width: 100%; }
.bilan b { font-size: 13.5px; color: var(--ink); } .bilan strong { color: var(--tint-ink); }
.tabs-v { display: flex; gap: 4px; width: 100%; border-bottom: 1px solid var(--border-strong); padding-bottom: 0; font-size: 12.5px; }
.tabs-v span { padding: 6px 10px; border-radius: 8px 8px 0 0; border: 1px solid var(--border); border-bottom: 0; background: var(--surface); color: var(--ink-3); }
.tabs-v span.on { color: var(--tint-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--tint); }

/* Téléchargement : trois cartes */
.dl-grid { grid-template-columns: 1.15fr 1fr 1fr; max-width: none; }
.dl-card.web .os-logo { background: var(--surface); color: var(--tint); border: 1px solid var(--border); }
.cta-web { font-size: 14px; color: #fff; opacity: .9; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .dl-card.win { grid-column: span 2; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .feat-row { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
  .feat-row.rev .feat-img { order: 0; }
  .dl-grid { grid-template-columns: 1fr; }
  .dl-card.win { grid-column: span 1; }
}
@media (max-width: 640px) {
  .shots-tabs { gap: 4px; } .shots-tab { padding: 6px 10px; font-size: 12.5px; }
  .shots-stage { aspect-ratio: 4 / 3; }
  .mini-grid { grid-template-columns: 1fr; }
  .phone { width: 220px; }
}
.soon-badge.ok { background: rgba(46,139,106,.14); color: var(--ok); }
.btn.mac-ready { border-color: rgba(46,139,106,.5); color: var(--ink); }
.dl-meta-mac { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: -6px; }
.cta-mac a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Images qui suivent le thème ---------- */
.timg { transition: opacity .25s; }
.shots-theme-hint { margin-left: auto; font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.feat-txt code { font-family: var(--font-mono); font-size: .9em; background: var(--surface); border: 1px solid var(--border); padding: 0 5px; border-radius: 4px; }

/* ---------- Alixo+ ---------- */
.plus-badge { display: inline-block; vertical-align: middle; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; background: linear-gradient(135deg, #f59e0b, #ef6c1a); color: #fff; margin-left: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.plan.plus { border-color: rgba(239,108,26,.45); box-shadow: 0 0 0 4px rgba(245,158,11,.10), var(--shadow); background: linear-gradient(180deg, rgba(245,158,11,.07), var(--surface) 40%); }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-head img { width: 36px; height: 36px; object-fit: contain; }
.plan-head h3 { font-size: 22px; font-weight: 800; }
.plan-head span { font-size: 13px; color: var(--ink-3); }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.plan-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.plan.plus .plan-list li::before { color: #ef6c1a; }
.plan-list strong { color: var(--ink); }
.plan-note { font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--border); padding-top: 12px; line-height: 1.5; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .shots-theme-hint { display: none; } }
