/* =========================================================================
   RATONUSTRE MULTI TOOLS — site de vente
   Identité : noir / graphite monochrome (reprise de gui/ui_kit.py)
   ========================================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 800 900;
  font-display: swap;
  src: url("../fonts/inter-display.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
}

:root {
  --bg: #09090a;
  --sidebar: #0c0c0d;
  --panel: #0d0d0e;
  --s1: #121213;
  --s2: #17171a;
  --s3: #1e1e21;
  --b1: #1d1d20;
  --b2: #2a2a2e;
  --bf: #3f3f46;
  --t1: #f4f4f5;
  --t2: #a1a1aa;
  --t3: #8a8a93;   /* #71717a éclairci pour le texte courant (contraste AA) */
  --t3-app: #71717a;
  --t4: #4a4a52;
  --accent: #ffffff;
  --accent-h: #e4e4e7;
  --on-accent: #09090a;
  --ok: #4ade80;
  --danger: #f43f5e;
  --warn: #fbbf24;

  --f-ui: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-display: "Inter", "Segoe UI Black", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;

  --r-sm: 7px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --wrap: 1200px;
  --gutter: 24px;
  --nav-h: 68px;
  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font: 400 16px/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: #fff; color: #09090a; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: #09090a; padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- typographie ---------- */
.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.015em;
  line-height: .98;
}
.upper { text-transform: uppercase; }
.label {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--t3);
  line-height: 1.4;
}
.label--hi { color: var(--t2); }
.muted { color: var(--t2); }
.dim { color: var(--t3); }
.mono { font-family: var(--f-mono); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- icônes ---------- */
.i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.i--sm { width: 14px; height: 14px; }
.i--lg { width: 22px; height: 22px; }
.i--b { stroke-width: 2; }

/* ---------- boutons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border-radius: var(--r-sm);
  font-family: var(--f-display); font-style: italic; font-weight: 900;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s, transform .18s var(--ease), box-shadow .18s;
  user-select: none;
}
.btn .i { width: 16px; height: 16px; stroke-width: 2; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
.btn--primary:hover { background: var(--accent-h); box-shadow: 0 8px 30px -8px rgba(255,255,255,.35); }
.btn--secondary { background: var(--s1); color: var(--t1); border: 1px solid var(--b2); }
.btn--secondary:hover { background: var(--s3); border-color: var(--bf); }
.btn--ghost { color: var(--t2); padding: 0 12px; }
.btn--ghost:hover { color: var(--t1); }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 14px; }
.btn--sm { --h: 38px; padding: 0 14px; font-size: 12px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- puces / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--s2); border: 1px solid var(--b2);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--t2);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; box-shadow: 0 0 0 3px rgba(74,222,128,.14); }
.dot--off { background: var(--t4); box-shadow: none; }
.dot--warn { background: var(--warn); box-shadow: 0 0 0 3px rgba(251,191,36,.14); }
.dot--danger { background: var(--danger); box-shadow: 0 0 0 3px rgba(244,63,94,.14); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: #fff; color: #09090a;
  font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}

/* ---------- barre d'annonce ---------- */
.announce {
  position: relative; z-index: 60;
  background: #fff; color: #09090a;
  font-size: 14px; font-weight: 500;
  padding-top: var(--safe-t);
}
.announce .wrap { display: flex; align-items: center; gap: 12px; min-height: 42px; padding-top: 8px; padding-bottom: 8px; }
.announce__txt { flex: 1; white-space: pre-line; }
.announce__tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; flex: none; }
.announce__close { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; flex: none; }
.announce__close:hover { background: rgba(0,0,0,.08); }
.announce--warn { background: var(--warn); }

/* ---------- navigation desktop ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(9, 9, 10, .72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.is-scrolled { border-bottom-color: var(--b1); background: rgba(9, 9, 10, .86); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; letter-spacing: -.01em; }
.brand__sub { font-family: var(--f-mono); font-size: 9px; letter-spacing: .6em; color: var(--t3); margin-top: 5px; }
.nav__links { display: flex; gap: 4px; margin-left: 8px; }
.nav__links a {
  padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--t2);
  transition: color .15s, background .15s;
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--t1); background: var(--s1); }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__mobile-act { display: none; }

/* ---------- barre d'onglets mobile ---------- */
.tabbar { display: none; }

/* ---------- sections ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec--tight { padding: 80px 0; }
.sec__head { max-width: 760px; margin-bottom: 52px; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head .label { display: block; margin-bottom: 18px; }
.sec__title { font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; }
.sec__lead { margin-top: 20px; font-size: 18px; color: var(--t2); max-width: 640px; }
.sec__head--center .sec__lead { margin-left: auto; margin-right: auto; }
.hr { height: 1px; background: var(--b1); border: 0; margin: 0; }

.card {
  background: var(--s1);
  border: 1px solid var(--b1);
  border-radius: var(--r-lg);
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; isolation: isolate; }
.hero__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__fx canvas { width: 100%; height: 100%; }
.hero__fx::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 72% 38%, rgba(255,255,255,.07), transparent 70%),
    linear-gradient(to bottom, transparent 60%, var(--bg));
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(44px, 6.6vw, 84px); text-transform: uppercase; margin: 26px 0 24px; }
.hero__title .nw { white-space: nowrap; }
.hero__title .ghost { color: transparent; -webkit-text-stroke: 1.5px rgba(244,244,245,.55); }
.hero__lead { font-size: 19px; color: var(--t2); max-width: 560px; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; align-items: center; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.stat__v { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1.1; }
.stat .label { font-size: 9.5px; display: block; margin-top: 4px; }
.stat-sep { width: 1px; height: 38px; background: var(--b2); }

.hero__art { position: relative; justify-self: center; width: min(100%, 440px); }
.logo-frame {
  position: relative;
  background: var(--s2); border: 1px solid var(--b2); border-radius: 26px; padding: 10px;
  box-shadow: 0 40px 120px -30px rgba(160, 90, 255, .35), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform: rotate(-2deg);
  transition: transform .6s var(--ease);
}
.logo-frame:hover { transform: rotate(0deg) scale(1.01); }
.logo-frame img { border-radius: 18px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(18,18,19,.88); border: 1px solid var(--b2); border-radius: 10px;
  padding: 9px 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; color: var(--t2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  animation: floaty 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip .i { width: 15px; height: 15px; color: var(--t1); }
.float-chip--a { left: -38px; top: 14%; }
.float-chip--b { right: -30px; top: 46%; animation-delay: -2s; }
.float-chip--c { left: -18px; bottom: 9%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- capture produit (reconstitution de la fenêtre de l'app) ---------- */
.shot { container-type: inline-size; position: relative; margin-top: 64px; }
.shot__glow {
  position: absolute; inset: -6% 6% auto; height: 70%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.10), transparent 70%);
  filter: blur(30px);
}
.shot__cap { display: flex; justify-content: center; gap: 10px; margin-top: 18px; text-align: center; }
.shot__cap .label { font-size: 9.5px; letter-spacing: .24em; }

.appwin {
  --u: calc(100cqw / 128);
  font-size: var(--u);
  width: 100%;
  aspect-ratio: 1280 / 800;
  background: var(--bg);
  border: 1px solid var(--b2);
  border-radius: 1.2em;
  overflow: hidden;
  display: grid;
  grid-template-rows: 3.4em 1fr;
  box-shadow: 0 50px 140px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.03) inset;
  color: var(--t1);
  font-family: var(--f-ui);
  line-height: 1.25;
  user-select: none;
}
.aw-bar { background: var(--sidebar); border-bottom: 1px solid var(--b1); display: flex; align-items: center; padding: 0 1.4em; gap: 1em; }
.aw-bar img { width: 1.7em; height: 1.7em; border-radius: 50%; }
.aw-bar span { font-size: 1.2em; color: var(--t2); font-weight: 600; }
.aw-ctl { margin-left: auto; display: flex; gap: 2.6em; color: var(--t3-app); }
.aw-ctl i { display: block; width: 1.1em; height: 1.1em; border: 1px solid currentColor; border-radius: .15em; }
.aw-ctl i:first-child { border-width: 0 0 1px; border-radius: 0; height: .6em; }
.aw-ctl i:last-child { border: 0; position: relative; }
.aw-ctl i:last-child::before, .aw-ctl i:last-child::after { content: ""; position: absolute; left: 50%; top: -15%; width: 1px; height: 130%; background: currentColor; transform: rotate(45deg); }
.aw-ctl i:last-child::after { transform: rotate(-45deg); }
.aw-body { display: grid; grid-template-columns: 25.6em 1px 1fr; min-height: 0; }
.aw-vline { background: var(--b1); }
.aw-side { background: var(--sidebar); display: flex; flex-direction: column; padding: 2.6em 1.8em 0; min-height: 0; }
.aw-brand { padding: 0 .8em 2.2em; }
.aw-brand b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 2.5em; line-height: 1.1; letter-spacing: -.01em; }
.aw-brand small { display: block; font-family: var(--f-mono); font-size: 1em; letter-spacing: .6em; color: var(--t3-app); margin-top: .3em; }
.aw-nav { display: flex; align-items: center; height: 4em; border-radius: .8em; border: 1px solid transparent; padding: 0 1.4em; gap: 1em; color: var(--t2); font-size: 1em; }
.aw-nav svg { width: 1.8em; height: 1.8em; color: var(--t3-app); stroke-width: 1.65; }
.aw-nav span { font-size: 1.3em; font-weight: 600; flex: 1; white-space: nowrap; }
.aw-nav em { width: .8em; height: .8em; border-radius: 50%; background: var(--t2); }
.aw-nav--boxed { height: 4.8em; background: var(--s1); border-color: var(--b2); color: var(--t1); margin-bottom: .6em; }
.aw-nav--boxed svg { color: var(--t2); }
.aw-nav--boxed .arr { width: 1.4em; height: 1.4em; color: var(--t3-app); }
.aw-nav--on { background: var(--s3); border-color: var(--b2); color: var(--t1); }
.aw-nav--on svg { color: var(--t1); }
.aw-lbl { font-family: var(--f-mono); font-size: .9em; letter-spacing: .32em; color: var(--t4); padding: 2.4em 1.2em 1em; }
.aw-list { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: .1em; }
.aw-bottom { border-top: 1px solid var(--b1); margin: 0 -1.8em; padding: 1.6em 2.2em; display: flex; align-items: center; gap: 1.2em; }
.aw-bottom img { width: 3.6em; height: 3.6em; border-radius: 50%; }
.aw-bottom b { display: block; font-size: 1.3em; }
.aw-bottom small { display: flex; align-items: center; gap: .5em; font-size: 1.1em; color: var(--t3-app); }
.aw-bottom small i { width: .7em; height: .7em; border-radius: 50%; background: var(--ok); }
.aw-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.aw-top { height: 6.4em; flex: none; display: flex; align-items: center; padding: 0 3.6em; border-bottom: 1px solid var(--b1); gap: 1.4em; }
.aw-top .crumb { font-family: var(--f-mono); font-size: .9em; letter-spacing: .32em; color: var(--t4); }
.aw-top .slash { font-family: var(--f-mono); font-size: 1.3em; color: var(--t4); }
.aw-top b { font-size: 1.3em; font-weight: 600; }
.aw-top .lang { margin-left: auto; display: flex; align-items: center; gap: 1em; font-size: 1.3em; font-weight: 600; }
.aw-top .lang svg { width: 1.3em; height: 1.3em; color: var(--t2); }
.aw-head { flex: none; display: flex; align-items: center; gap: 1.8em; padding: 2em 3.6em; border-bottom: 1px solid var(--b1); }
.aw-tile { width: 5.8em; height: 5.8em; border-radius: 1.2em; background: var(--s1); border: 1px solid var(--b2); display: grid; place-items: center; flex: none; }
.aw-tile svg { width: 2.4em; height: 2.4em; }
.aw-head small { display: block; font-family: var(--f-mono); font-size: .9em; letter-spacing: .32em; color: var(--t4); }
.aw-head b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 3em; line-height: 1.25; }
.aw-head .aw-acts { margin-left: auto; display: flex; gap: 1em; }
.aw-btn { height: 4em; padding: 0 1.8em; border-radius: .7em; display: inline-flex; align-items: center; gap: .8em; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 1.2em; white-space: nowrap; }
.aw-btn svg { width: 1.25em; height: 1.25em; stroke-width: 2; }
.aw-btn--p { background: #fff; color: #09090a; }
.aw-btn--s { background: var(--s1); border: 1px solid var(--b2); }
.aw-content { flex: 1; min-height: 0; display: grid; grid-template-columns: 40em 1fr; gap: 2.4em; padding: 2.4em 3.6em 2.6em; }
.aw-col { display: flex; flex-direction: column; gap: .8em; min-height: 0; overflow: hidden; }
.aw-sec { font-family: var(--f-mono); font-size: .9em; letter-spacing: .32em; color: var(--t3-app); margin: .6em 0 .4em; }
.aw-file { display: flex; align-items: center; gap: 1.4em; background: var(--s1); border: 1px solid var(--b1); border-radius: 1.2em; padding: 1.3em 1.6em; }
.aw-file .tag { width: 4.8em; height: 3.4em; border-radius: .8em; background: var(--s3); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: 1.1em; }
.aw-file b { display: block; font-size: 1.3em; font-weight: 600; }
.aw-file small { display: block; font-family: var(--f-mono); font-size: 1.05em; color: var(--t3-app); }
.aw-file .st { margin-left: auto; display: flex; align-items: center; gap: .6em; font-family: var(--f-mono); font-size: 1em; color: var(--ok); }
.aw-file .st i { width: .7em; height: .7em; border-radius: 50%; background: var(--ok); }
.aw-el { display: grid; grid-template-columns: 3.4em 1fr auto; align-items: center; gap: 1.2em; background: var(--s1); border: 1px solid var(--b1); border-radius: 1.2em; padding: 1.1em 1.4em; }
.aw-el .sw { width: 3.4em; height: 3.4em; border-radius: .8em; background: radial-gradient(circle at 40% 35%, #e0414f, #7a0d16 70%); border: 1px solid var(--b2); }
.aw-el .sw--2 { background: radial-gradient(circle at 40% 35%, #c42a38 0 18%, transparent 20%), radial-gradient(circle at 65% 60%, #a81e28 0 14%, transparent 16%), radial-gradient(circle at 30% 70%, #8f1520 0 10%, transparent 12%), var(--s2); }
.aw-el b { display: block; font-size: 1.25em; font-weight: 600; }
.aw-el small { display: block; font-family: var(--f-mono); font-size: 1em; color: var(--t3-app); letter-spacing: .1em; }
.aw-slider { height: .5em; border-radius: 1em; background: #232327; position: relative; margin-top: .9em; }
.aw-slider i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 1em; background: #d4d4d8; }
.aw-slider i::after { content: ""; position: absolute; right: -.8em; top: 50%; width: 1.6em; height: 1.6em; border-radius: 50%; background: #fff; transform: translateY(-50%); }
.aw-el .val { font-family: var(--f-mono); font-size: 1.1em; color: var(--t2); }
.aw-add { border: 1px dashed #2f2f34; border-radius: 1.2em; height: 4.4em; display: flex; align-items: center; justify-content: center; gap: .8em; font-family: var(--f-mono); font-size: 1em; letter-spacing: .3em; color: var(--t3-app); }
.aw-add svg { width: 1.4em; height: 1.4em; }
.aw-swatches { display: flex; gap: .8em; align-items: center; }
.aw-swatches i { width: 3em; height: 3em; border-radius: .7em; border: 1px solid var(--b2); }
.aw-swatches i.on { outline: 2px solid #fff; outline-offset: 2px; }
.aw-swatches span { margin-left: auto; font-family: var(--f-mono); font-size: 1.1em; background: var(--s1); border: 1px solid var(--b2); border-radius: .7em; padding: .7em 1em; color: var(--t1); }
.aw-vp { position: relative; background: var(--panel); border: 1px solid var(--b1); border-radius: 1.4em; overflow: hidden; min-height: 0; }
.aw-vp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.aw-hud { position: absolute; inset: 1.4em; pointer-events: none; }
.aw-hud i { position: absolute; width: 1.4em; height: 1.4em; border-color: #3a3a3f; border-style: solid; border-width: 0; }
.aw-hud i:nth-child(1) { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.aw-hud i:nth-child(2) { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.aw-hud i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.aw-hud i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.aw-hud small { position: absolute; font-family: var(--f-mono); font-size: .9em; color: #66666d; letter-spacing: .08em; }
.aw-hud .tl { left: .8em; top: .8em; }
.aw-hud .tr { right: .8em; top: .8em; text-align: right; }
.aw-hud .bc { left: 0; right: 0; bottom: .3em; text-align: center; color: #4a4a50; letter-spacing: .12em; }

/* ---------- modules ---------- */
.seg {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--s1); border: 1px solid var(--b2); border-radius: 10px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button {
  height: 36px; padding: 0 16px; border-radius: 7px; white-space: nowrap;
  font-family: var(--f-mono); font-size: 12.5px; color: var(--t3);
  transition: background .15s, color .15s;
}
.seg button:hover { color: var(--t1); background: var(--s2); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--s3); color: var(--t1); }
.seg button .cnt { margin-left: 6px; color: var(--t4); }

.mods-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.mods-count { display: flex; align-items: center; gap: 12px; }
.mods-count h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26px; }
.mods-count span { font-family: var(--f-mono); font-size: 12px; background: var(--s2); color: var(--t2); border-radius: 6px; padding: 2px 9px; }

.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mod {
  position: relative; display: flex; flex-direction: column;
  background: var(--s1); border: 1px solid var(--b1); border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s, background .2s, transform .3s var(--ease);
}
.mod:hover { border-color: var(--bf); background: var(--s2); }
.mod__vis { position: relative; height: 176px; overflow: hidden; background: var(--panel); border-bottom: 1px solid var(--b1); }
.mod__vis img { width: 100%; height: 100%; object-fit: cover; }
.mod__body { padding: 20px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.mod__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: var(--s2); border: 1px solid var(--b2); display: grid; place-items: center; color: var(--t2);
  transition: color .2s;
}
.tile .i { width: 19px; height: 19px; }
.mod:hover .tile { color: var(--t1); }
.mod__tag { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .3em; color: var(--t3-app); padding-top: 4px; text-align: right; }
.mod h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 21px; margin: 16px 0 6px; }
.mod p { font-size: 14px; color: var(--t3); margin: 0; }
.mod .mod__more { display: none; }
.mod__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mod__plan { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; color: var(--t3); text-transform: uppercase; }
.mod__plan b { color: var(--t1); font-weight: 600; }
.mod__foot .i { color: var(--t3); transition: color .2s, transform .2s; }
.mod:hover .mod__foot .i { color: var(--t1); transform: translate(2px, -2px); }

@media (min-width: 761px) {
  .mods { grid-auto-flow: row dense; }
  .mods[data-f="all"] .mod--wide { grid-column: span 2; flex-direction: row; }
  .mods[data-f="all"] .mod--wide .mod__vis { width: 50%; height: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid var(--b1); flex: none; }
  .mods[data-f="all"] .mod--wide .mod__body { padding: 28px 30px; justify-content: center; }
  .mods[data-f="all"] .mod--wide h3 { font-size: 28px; }
  .mods[data-f="all"] .mod--wide p { font-size: 15px; }
  .mods[data-f="all"] .mod--wide .vis-ui { padding: 22px 26px; gap: 8px; }
  .mods[data-f="all"] .mod--wide .mod__vis > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .mods[data-f="all"] .mod--wide .mod__more { display: flex; margin-top: 20px; }
}

/* visuels CSS des modules */
.vis-checker { background-color: #121214; background-image: linear-gradient(45deg, #18181b 25%, transparent 25%, transparent 75%, #18181b 75%), linear-gradient(45deg, #18181b 25%, transparent 25%, transparent 75%, #18181b 75%); background-size: 24px 24px; background-position: 0 0, 12px 12px; }
.vis-tex { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 18px; align-content: center; }
.vis-tex span { aspect-ratio: 1; border-radius: 10px; background: rgba(9,9,10,.55); border: 1px solid var(--b2); display: grid; place-items: center; }
.vis-tex img { width: 70%; height: 70%; object-fit: contain; image-rendering: auto; filter: drop-shadow(0 0 6px rgba(255,255,255,.15)); }
.vis-tex span:nth-child(3) { outline: 1px solid #fff; outline-offset: 2px; }
.vis-sky { position: absolute; inset: 0; }
.vis-sky img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: skyfade 15s infinite; }
.vis-sky img:nth-child(1) { animation-delay: 0s; }
.vis-sky img:nth-child(2) { animation-delay: 3s; }
.vis-sky img:nth-child(3) { animation-delay: 6s; }
.vis-sky img:nth-child(4) { animation-delay: 9s; }
.vis-sky img:nth-child(5) { animation-delay: 12s; }
@keyframes skyfade { 0% { opacity: 0; } 5% { opacity: 1; } 20% { opacity: 1; } 26% { opacity: 0; } 100% { opacity: 0; } }
.vis-snow { position: absolute; inset: 0; }
.vis-snow > img { width: 100%; height: 100%; object-fit: cover; }
.vis-snow::before, .vis-snow::after {
  content: ""; position: absolute; inset: -100% 0 0; pointer-events: none;
  background-image: radial-gradient(1.6px 1.6px at 20px 30px, #fff 50%, transparent 52%), radial-gradient(1.2px 1.2px at 80px 70px, #fff 50%, transparent 52%), radial-gradient(2px 2px at 140px 20px, #fff 50%, transparent 52%), radial-gradient(1.4px 1.4px at 190px 110px, #fff 50%, transparent 52%), radial-gradient(1px 1px at 60px 140px, #fff 50%, transparent 52%), radial-gradient(1.8px 1.8px at 110px 160px, #fff 50%, transparent 52%);
  background-size: 220px 180px;
  animation: snowfall 9s linear infinite;
  opacity: .85;
}
.vis-snow::after { background-size: 160px 140px; animation-duration: 6s; opacity: .55; filter: blur(.4px); }
@keyframes snowfall { to { transform: translateY(50%); } }
.vis-snow .ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, transparent, rgba(240,244,255,.55) 55%, rgba(250,252,255,.8)); }
.vis-ui { position: absolute; inset: 0; padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.vrow { display: flex; align-items: center; gap: 10px; background: var(--s1); border: 1px solid var(--b1); border-radius: 9px; padding: 6px 10px; font-size: 12.5px; min-height: 32px; }
.vrow .i { width: 15px; height: 15px; color: var(--t3); }
.vrow b { font-weight: 600; }
.vrow small { margin-left: auto; font-family: var(--f-mono); font-size: 10px; color: var(--t3); letter-spacing: .12em; }
.vrow.on { border-color: var(--b2); background: var(--s3); }
.vrow.on .i { color: var(--t1); }
.vrow .ok { color: var(--ok); }
.vrow.indent { margin-left: 22px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; }
.vchips span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; padding: 5px 8px; border-radius: 6px; background: var(--s2); border: 1px solid var(--b2); color: var(--t2); }
.vchips span.on { background: #fff; color: #09090a; border-color: #fff; }
.vis-lock { position: absolute; inset: 0; display: grid; place-items: center; }
.vis-lock .ring { width: 108px; height: 108px; border-radius: 50%; border: 1px solid var(--b2); display: grid; place-items: center; position: relative; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%); }
.vis-lock .ring::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed #2f2f34; animation: spin 26s linear infinite; }
.vis-lock .ring .i { width: 40px; height: 40px; stroke-width: 1.4; }
.vis-lock .hash { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 10px; color: var(--t3-app); letter-spacing: .08em; }
@keyframes spin { to { transform: rotate(360deg); } }
.gauge-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gauge-row div { background: var(--s1); border: 1px solid var(--b1); border-radius: 10px; padding: 10px; text-align: left; }
.gauge-row div.on { background: var(--s3); border-color: var(--bf); }
.gauge-row .i { width: 16px; height: 16px; color: var(--t2); }
.gauge-row b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 13px; margin-top: 8px; }
.gauge-row small { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: .2em; color: var(--t3-app); }
.bar-fps { height: 6px; border-radius: 6px; background: #232327; overflow: hidden; margin-top: 4px; }
.bar-fps i { display: block; height: 100%; width: 82%; background: linear-gradient(90deg, #d4d4d8, #fff); animation: fpsbar 3.2s ease-in-out infinite alternate; }
@keyframes fpsbar { from { width: 58%; } to { width: 92%; } }

/* ---------- vitrines (spotlights) ---------- */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 56px 0; }
.spot + .spot { border-top: 1px solid var(--b1); }
.spot--rev .spot__media { order: 2; }
.spot__media { position: relative; }
.spot__title { font-size: clamp(32px, 4.4vw, 52px); text-transform: uppercase; margin: 14px 0 18px; }
.spot__lead { color: var(--t2); font-size: 17px; }
.ticks { display: grid; gap: 12px; margin: 26px 0 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--t2); font-size: 15.5px; }
.ticks li .i { width: 18px; height: 18px; color: var(--t1); margin-top: 3px; stroke-width: 2; }
.ticks li b { color: var(--t1); font-weight: 600; }
.vp-frame {
  position: relative; border-radius: 18px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--b2);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
}
.vp-frame img { width: 100%; height: auto; max-height: 660px; object-fit: cover; object-position: 50% 0; }
.vp-frame .aw-hud { font-size: 10px; inset: 14px; }
.vp-frame .aw-hud small { font-size: 9.5px; }
.vp-pair { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.vp-pair .vp-frame:last-child { transform: translateY(-36px); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 8px; background: var(--s1); border: 1px solid var(--b1); font-size: 13px; color: var(--t2); }
.swatch i { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 0 12px -2px var(--c); background: var(--c); }

.sky-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(330px, 1fr);
  gap: 14px; overflow-x: auto; padding: 4px 0 18px; scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--b2) transparent;
  -webkit-overflow-scrolling: touch;
}
.sky-strip::-webkit-scrollbar { height: 6px; }
.sky-strip::-webkit-scrollbar-thumb { background: var(--b2); border-radius: 6px; }
.sky-card { scroll-snap-align: start; background: var(--s1); border: 1px solid var(--b1); border-radius: 14px; overflow: hidden; }
.sky-card img { width: 100%; aspect-ratio: 560 / 256; object-fit: cover; }
.sky-card figcaption { padding: 12px 14px 14px; }
.sky-card b { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 16px; display: block; }
.sky-card small { display: block; color: var(--t3); font-size: 13px; margin-top: 2px; }
.sky-card .label { font-size: 9px; letter-spacing: .26em; float: right; margin-top: 4px; }

.d10 { display: grid; gap: 10px; }
.d10 .step { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; background: var(--s1); border: 1px solid var(--b1); border-radius: 12px; padding: 14px 16px; }
.d10 .step .n { width: 44px; height: 44px; border-radius: 10px; background: var(--s3); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 600; }
.d10 .step b { display: block; font-weight: 600; }
.d10 .step small { color: var(--t3); font-size: 13px; }
.d10 .step .sw { width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--b2); }
.d10 .final { display: flex; align-items: center; gap: 12px; justify-content: center; border-radius: 12px; background: #fff; color: #09090a; height: 54px; font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
.d10 .final .i { stroke-width: 2.2; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { background: var(--s1); border: 1px solid var(--b1); border-radius: 16px; padding: 22px; }
.mini h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; margin: 14px 0 8px; }
.mini p { color: var(--t3); font-size: 14.5px; }

/* ---------- comment ça marche ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.step-c { position: relative; background: var(--s1); border: 1px solid var(--b1); border-radius: 18px; padding: 28px 26px 26px; overflow: hidden; }
.step-c__n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 84px; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--b2); position: absolute; right: 18px; top: 18px; }
.step-c h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 24px; text-transform: uppercase; margin: 22px 0 10px; }
.step-c p { color: var(--t2); font-size: 15px; margin: 0; }
.step-c .tile { width: 48px; height: 48px; color: var(--t1); }
.login-mock { margin-top: 22px; display: grid; gap: 8px; }
.login-mock div { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; background: var(--bg); border: 1px solid var(--b2); border-radius: 7px; font-family: var(--f-mono); font-size: 12.5px; color: var(--t2); }
.login-mock div small { font-size: 9px; letter-spacing: .3em; color: var(--t3-app); width: 74px; flex: none; }
.login-mock .go { justify-content: center; background: #fff; color: #09090a; border-color: #fff; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 12px; letter-spacing: .05em; }

/* ---------- offres ---------- */
.price-toggle { display: flex; justify-content: center; margin-bottom: 34px; }
.price-toggle .seg button { height: 42px; padding: 0 20px; font-size: 13px; }
.price-toggle .seg button small { color: var(--ok); margin-left: 6px; font-size: 10.5px; letter-spacing: .08em; }
.plans { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
.plans[data-count="2"] { --cols: 2; max-width: 780px; }
.plans[data-count="1"] { --cols: 1; max-width: 400px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--s1); border: 1px solid var(--b1); border-radius: 20px;
  padding: 30px 28px 28px;
  transition: border-color .2s, transform .3s var(--ease);
}
.plan:hover { border-color: var(--b2); }
.plan--hi {
  background: linear-gradient(180deg, #1b1b1e 0%, var(--s1) 55%);
  border-color: rgba(255,255,255,.55);
  box-shadow: 0 30px 90px -40px rgba(255,255,255,.28), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.plan__badge { position: absolute; top: -12px; left: 28px; }
.plan__tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan__name { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 28px; text-transform: uppercase; line-height: 1.05; }
.plan__tag { color: var(--t2); font-size: 14.5px; margin: 8px 0 22px; min-height: 2.6em; }
.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__amount { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 50px; line-height: 1; letter-spacing: -.02em; }
.plan__per { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--t3); text-transform: uppercase; }
.plan__eq { font-size: 13px; color: var(--t3); margin-top: 8px; min-height: 1.4em; }
.plan__desc { font-size: 14.5px; color: var(--t2); margin: 18px 0 20px; }
.plan .btn { margin-bottom: 24px; }
.plan__list { display: grid; gap: 9px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--b1); }
.plan__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--t1); }
.plan__list li .i { width: 16px; height: 16px; stroke-width: 2.2; }
.plan__list li.off { color: var(--t4); }
.plan__list li.off .i { stroke-width: 1.6; }
.plan__count { font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; color: var(--t3); text-transform: uppercase; }
.pricing-note { text-align: center; color: var(--t3); font-size: 14px; margin-top: 26px; }
.pricing-note a { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }
.api-warn { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--t3); font-size: 13px; margin-top: 10px; }

.cmp-wrap { margin-top: 90px; }
.cmp-scroll { contain: paint; overflow-x: auto; border: 1px solid var(--b1); border-radius: 18px; background: var(--s1); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--b1); }
.cmp thead th { position: sticky; top: 0; background: var(--s1); vertical-align: bottom; padding-top: 22px; }
.cmp thead th b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 16px; text-transform: uppercase; }
.cmp thead th small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--t3); margin-top: 4px; letter-spacing: .05em; }
.cmp thead th.hi { background: #1a1a1d; }
.cmp th[scope="row"] { text-align: left; font-weight: 500; color: var(--t1); position: sticky; left: 0; background: var(--s1); z-index: 1; min-width: 210px; }
.cmp th[scope="row"] span { display: block; font-size: 12.5px; color: var(--t3); font-weight: 400; }
.cmp td.hi { background: rgba(255,255,255,.025); }
.cmp td .i { margin: 0 auto; width: 18px; height: 18px; stroke-width: 2.2; }
.cmp td.no .i { color: var(--t4); stroke-width: 1.6; }
.cmp tr.grp th { text-align: left; background: var(--panel); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em; color: var(--t3); text-transform: uppercase; font-weight: 500; padding: 12px 16px; position: sticky; left: 0; }
.cmp tbody tr:last-child td, .cmp tbody tr:last-child th { border-bottom: 0; }
.cmp tfoot td, .cmp tfoot th { border-bottom: 0; border-top: 1px solid var(--b1); padding: 18px 12px; }
.cmp tfoot th { background: var(--s1); position: sticky; left: 0; }

/* ---------- sécurité ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--s1); border: 1px solid var(--b1); border-radius: 18px; padding: 26px 24px; }
.feat h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 20px; margin: 20px 0 10px; }
.feat p { color: var(--t3); font-size: 14.5px; margin: 0; }
.feat .tile { width: 48px; height: 48px; color: var(--t1); }

/* ---------- changelog ---------- */
.cl-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.ver-card { background: var(--s1); border: 1px solid var(--b1); border-radius: 18px; padding: 28px; }
.ver-card .v { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 64px; line-height: 1; margin: 16px 0 8px; }
.ver-card .meta { color: var(--t3); font-size: 14px; }
.ver-card ul { margin-top: 22px; display: grid; gap: 10px; }
.ver-card li { display: flex; align-items: center; gap: 10px; color: var(--t2); font-size: 14.5px; }
.ver-card li .i { color: var(--t1); }
.timeline { position: relative; display: grid; gap: 12px; }
.rel { position: relative; background: var(--s1); border: 1px solid var(--b1); border-radius: 14px; padding: 18px 20px 18px 22px; }
.rel__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.rel__v { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 20px; }
.rel__d { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--t3); text-transform: uppercase; }
.rel__tag { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .2em; padding: 3px 8px; border-radius: 5px; border: 1px solid var(--b2); color: var(--t2); text-transform: uppercase; }
.rel__tag--m { border-color: rgba(244,63,94,.45); color: #fda4af; }
.rel__tag--new { background: #fff; color: #09090a; border-color: #fff; }
.rel__txt { color: var(--t2); font-size: 14.5px; white-space: pre-line; margin: 0; overflow-wrap: anywhere; }
.empty { color: var(--t3); font-size: 14.5px; padding: 20px; border: 1px dashed var(--b2); border-radius: 14px; text-align: center; }

/* ---------- téléchargement ---------- */
.dl { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; background: var(--s1); border: 1px solid var(--b1); border-radius: 24px; overflow: hidden; }
.dl__main { padding: 44px; }
.dl__side { padding: 44px; background: var(--panel); border-left: 1px solid var(--b1); }
.dl__title { font-size: clamp(32px, 4vw, 48px); text-transform: uppercase; margin: 16px 0 14px; }
.dl__btns { display: grid; gap: 12px; margin: 28px 0 18px; }
.dl-btn { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--b2); background: var(--s2); transition: background .15s, border-color .15s; }
.dl-btn:hover { background: var(--s3); border-color: var(--bf); }
.dl-btn--p { background: #fff; color: #09090a; border-color: #fff; }
.dl-btn--p:hover { background: var(--accent-h); border-color: var(--accent-h); }
.dl-btn .tile { background: transparent; }
.dl-btn--p .tile { border-color: rgba(0,0,0,.15); color: #09090a; }
.dl-btn b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; text-transform: uppercase; }
.dl-btn small { display: block; font-size: 13px; opacity: .72; }
.dl-btn .i:last-child { margin-left: auto; }
.dl-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.req { display: flex; flex-wrap: wrap; gap: 8px; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; border: 1px solid var(--b2); background: var(--s1); margin-top: 22px; }
.notice .i { color: var(--warn); margin-top: 2px; }
.notice b { display: block; font-weight: 600; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--t2); font-size: 14.5px; }
.notice kbd { font-family: var(--f-mono); font-size: 12px; background: var(--s3); border: 1px solid var(--b2); border-radius: 5px; padding: 1px 6px; color: var(--t1); white-space: nowrap; }
.ol-steps { counter-reset: s; display: grid; gap: 16px; margin-top: 22px; }
.ol-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; color: var(--t2); font-size: 15px; }
.ol-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 9px; background: var(--s3); border: 1px solid var(--b2); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; color: var(--t1); }
.ol-steps b { color: var(--t1); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--s1); border: 1px solid var(--b1); border-radius: 14px; transition: border-color .2s; }
.faq__item.is-open { border-color: var(--b2); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; font-size: 16px; font-weight: 600; min-height: 60px; border-radius: 14px; }
.faq__q .i { margin-left: auto; color: var(--t3); transition: transform .25s var(--ease); }
.faq__q[aria-expanded="true"] .i { transform: rotate(180deg); color: var(--t1); }
.faq__a { padding: 0 22px 20px; color: var(--t2); font-size: 15px; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }

.buy-box { background: var(--s1); border: 1px solid var(--b2); border-radius: 18px; padding: 26px; margin-top: 26px; }
.buy-box h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; text-transform: uppercase; margin: 14px 0 10px; }
.buy-box p { color: var(--t2); font-size: 15px; }
.buy-box .btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- CTA final ---------- */
.final-cta { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--b2); background: var(--s1); padding: 72px 48px; text-align: center; isolation: isolate; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(255,255,255,.09), transparent 70%); }
.final-cta img.av { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 22px; box-shadow: 0 0 0 6px var(--s2), 0 0 60px rgba(168, 85, 247, .45); }
.final-cta h2 { font-size: clamp(34px, 5vw, 64px); text-transform: uppercase; }
.final-cta p { color: var(--t2); font-size: 18px; margin: 18px auto 30px; max-width: 560px; }
.final-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--b1); padding: 56px 0 40px; margin-top: 120px; background: var(--sidebar); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em; color: var(--t3); text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.foot ul { display: grid; gap: 10px; }
.foot a { color: var(--t2); font-size: 14.5px; }
.foot a:hover { color: var(--t1); }
.foot__legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--b1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--t3); font-size: 13px; }
.foot__about { color: var(--t3); font-size: 14px; margin-top: 16px; max-width: 360px; }

/* ---------- pages simples (espace, légal, 404) ---------- */
.page { padding: 64px 0 40px; min-height: 60vh; }
.page__head { margin-bottom: 40px; }
.page__head h1 { font-size: clamp(38px, 6vw, 72px); text-transform: uppercase; margin-top: 16px; }
.page__head p { color: var(--t2); font-size: 18px; margin-top: 16px; max-width: 640px; }

.legal { max-width: 820px; }
.legal h2 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 24px; text-transform: uppercase; margin: 44px 0 14px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--t2); font-size: 15.5px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--t1); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0 0 1em; }
.legal dt { color: var(--t3); font-size: 14px; }
.legal dd { margin: 0; color: var(--t1); font-size: 15px; }
.todo {
  display: inline-block; padding: 1px 8px; border-radius: 5px;
  background: rgba(251,191,36,.12); border: 1px dashed rgba(251,191,36,.55); color: #fcd34d;
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .02em;
}
.legal-note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; border: 1px dashed rgba(251,191,36,.45); background: rgba(251,191,36,.06); color: #fde68a; font-size: 14.5px; margin-bottom: 30px; }
.legal-note .i { color: var(--warn); margin-top: 2px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.toc a { font-size: 13px; padding: 6px 10px; border-radius: 7px; background: var(--s1); border: 1px solid var(--b1); color: var(--t2); text-decoration: none; }

/* espace membre */
.esp { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card { background: var(--s1); border: 1px solid var(--b1); border-radius: 20px; padding: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .3em; color: var(--t2); text-transform: uppercase; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input {
  width: 100%; height: 50px; padding: 0 14px;
  background: var(--bg); border: 1px solid var(--b2); border-radius: var(--r-sm);
  font-family: var(--f-mono); font-size: 15px; color: var(--t1);
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--t4); }
.input:focus { border-color: var(--bf); box-shadow: 0 0 0 3px rgba(255,255,255,.08); outline: none; }
.input[aria-invalid="true"] { border-color: rgba(244,63,94,.6); }
.input--pad-r { padding-right: 52px; }
.input-btn { position: absolute; right: 4px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 6px; color: var(--t3); }
.input-btn:hover { color: var(--t1); background: var(--s2); }
.check { display: flex; align-items: center; gap: 10px; color: var(--t2); font-size: 14px; margin: 4px 0 22px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: #fff; }
.form-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-top: 16px; }
.form-msg--err { background: rgba(244,63,94,.08); border: 1px solid rgba(244,63,94,.35); color: #fecdd3; }
.form-msg--err .i { color: var(--danger); }
.form-hint { color: var(--t3); font-size: 13px; margin-top: 18px; display: flex; gap: 10px; }
.form-hint .i { margin-top: 2px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(9,9,10,.25); border-top-color: #09090a; animation: spin .7s linear infinite; }

.lic { background: var(--s1); border: 1px solid var(--b1); border-radius: 20px; overflow: hidden; }
.lic__head { display: flex; align-items: center; gap: 18px; padding: 26px 28px; border-bottom: 1px solid var(--b1); flex-wrap: wrap; }
.lic__head .tile { width: 58px; height: 58px; border-radius: 12px; color: var(--t1); }
.lic__head h2 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; text-transform: uppercase; }
.lic__status { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: var(--s2); border: 1px solid var(--b2); font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.lic__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--b1); }
.lic__cell { padding: 22px 28px; border-right: 1px solid var(--b1); min-width: 0; }
.lic__cell:last-child { border-right: 0; }
.lic__cell .label { font-size: 9.5px; }
.lic__cell b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1.1; margin-top: 8px; overflow-wrap: anywhere; }
.lic__cell small { color: var(--t3); font-size: 13px; display: block; margin-top: 2px; }
.lic__bar { height: 6px; border-radius: 6px; background: #232327; overflow: hidden; margin-top: 12px; }
.lic__bar i { display: block; height: 100%; background: #fff; border-radius: 6px; transition: width .8s var(--ease); }
.lic__body { padding: 24px 28px 28px; }
.lic__mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.lic__mod { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--b1); font-size: 14.5px; }
.lic__mod .tile { width: 34px; height: 34px; border-radius: 8px; }
.lic__mod .tile .i { width: 16px; height: 16px; }
.lic__mod.off { color: var(--t4); }
.lic__mod.off .tile { color: var(--t4); }
.lic__mod .st { margin-left: auto; }
.lic__mod:not(.off) .st { color: var(--ok); stroke-width: 2.2; }
.lic__up { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--b2); background: linear-gradient(90deg, #1b1b1e, var(--s1)); }
.lic__up p { margin: 0; color: var(--t2); font-size: 14.5px; }
.lic__up b { color: var(--t1); }
.lic__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.esp-empty { display: grid; place-items: center; text-align: center; min-height: 420px; padding: 40px; border: 1px dashed var(--b2); border-radius: 20px; color: var(--t3); }
.esp-empty .tile { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 22px; color: var(--t2); }
.esp-empty .tile .i { width: 30px; height: 30px; }
.esp-empty h2 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26px; color: var(--t1); margin: 8px 0; }

.e404 { text-align: center; padding: 100px 0 60px; }
.e404 .big { font-size: clamp(120px, 26vw, 260px); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--b2); }
.e404 h1 { font-size: clamp(30px, 5vw, 48px); text-transform: uppercase; margin: 20px 0 14px; }
.e404 p { color: var(--t2); margin-bottom: 28px; }

/* ---------- révélation au scroll ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .08s; }
.js .rv-d2 { transition-delay: .16s; }
.js .rv-d3 { transition-delay: .24s; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links a { padding: 8px 9px; }
  .float-chip--a { left: -10px; }
  .float-chip--b { right: -6px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { width: min(100%, 380px); }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot { grid-template-columns: 1fr; gap: 36px; }
  .spot--rev .spot__media { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .cl-grid, .faq-grid, .dl, .esp { grid-template-columns: 1fr; }
  .dl__side { border-left: 0; border-top: 1px solid var(--b1); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .plans { --cols: 3; }
}

/* ---- Mobile : interface type application ---- */
@media (max-width: 760px) {
  :root { --gutter: 16px; --nav-h: 58px; }
  html { scroll-padding-top: calc(var(--nav-h) + 10px); }
  body { padding-bottom: calc(var(--tab-h) + var(--safe-b)); font-size: 15.5px; }

  .nav { background: rgba(12, 12, 13, .9); border-bottom-color: var(--b1); }
  .nav .wrap { gap: 12px; }
  .brand img { width: 32px; height: 32px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 8px; letter-spacing: .5em; }
  .nav__cta { display: none; }
  .nav__mobile-act { display: flex; margin-left: auto; gap: 6px; }
  .icon-btn { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--s1); border: 1px solid var(--b2); color: var(--t1); }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b);
    background: rgba(12, 12, 13, .94);
    -webkit-backdrop-filter: saturate(140%) blur(18px);
    backdrop-filter: saturate(140%) blur(18px);
    border-top: 1px solid var(--b1);
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    color: var(--t3); font-size: 10.5px; font-weight: 600; letter-spacing: .01em;
    position: relative; min-height: 48px;
    -webkit-tap-highlight-color: transparent;
  }
  .tabbar a .i { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"], .tabbar a[aria-current="true"] { color: var(--t1); }
  .tabbar a[aria-current="page"]::before, .tabbar a[aria-current="true"]::before {
    content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: #fff;
  }
  .tabbar a:active .i { transform: scale(.9); }

  .sec { padding: 72px 0; }
  .sec--tight { padding: 56px 0; }
  .sec__head { margin-bottom: 30px; }
  .sec__title { font-size: clamp(30px, 9vw, 42px); }
  .sec__lead { font-size: 16px; }

  .hero { padding: 36px 0 12px; }
  .hero__title { font-size: clamp(38px, 11.5vw, 54px); margin: 20px 0 16px; }
  .hero__lead { font-size: 16px; margin-bottom: 26px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 32px; }
  .hero__stats .stat-sep { display: none; }
  .hero__stats .stat { padding-left: 14px; border-left: 1px solid var(--b2); }
  .stat-sep { height: 30px; }
  .stat__v { font-size: 21px; }
  .hero__art { width: min(78%, 320px); }
  .float-chip { font-size: 8.5px; padding: 7px 9px; letter-spacing: .2em; }
  .float-chip--a { left: -14px; }
  .float-chip--b { right: -14px; }
  .float-chip--c { display: none; }
  .shot { margin-top: 40px; }
  .appwin { border-radius: 10px; }

  /* carrousels horizontaux */
  .snap {
    display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
    grid-auto-columns: 84%;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 6px var(--gutter) 16px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .snap::-webkit-scrollbar { display: none; }
  .snap > * { scroll-snap-align: start; }
  .plans.snap { grid-auto-columns: 86%; max-width: none; padding-top: 18px; }
  .plans.snap[data-count="1"] { grid-auto-columns: 100%; }
  .snap-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .snap-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--b2); transition: width .25s, background .25s; }
  .snap-dots i.on { width: 18px; background: #fff; }

  .mods-bar { flex-direction: column; align-items: stretch; }
  .mods-bar .seg { align-self: stretch; justify-content: space-between; }
  .mods-bar .seg button { padding: 0 9px; font-size: 11.5px; flex: 1 0 auto; }
  .vp-frame img { max-height: 440px; }
  .cmp { min-width: 640px; font-size: 13.5px; }
  .cmp th[scope="row"] { min-width: 150px; max-width: 170px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .mod__vis { height: 160px; }
  .plan { padding: 26px 22px 22px; }
  .plan__amount { font-size: 44px; }
  .spot { padding: 40px 0; }
  .vp-pair { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vp-pair .vp-frame:last-child { transform: translateY(-18px); }
  .mini-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { display: grid; grid-template-columns: 48px 1fr; gap: 0 16px; padding: 20px; }
  .feat h3 { margin: 2px 0 6px; font-size: 18px; }
  .feat p { grid-column: 2; }
  .cmp-wrap { margin-top: 64px; }
  .dl__main, .dl__side { padding: 26px 20px; }
  .final-cta { padding: 48px 20px; border-radius: 20px; }
  .foot { margin-top: 72px; padding: 40px 0 28px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  .lic__grid { grid-template-columns: 1fr; }
  .lic__cell { border-right: 0; border-bottom: 1px solid var(--b1); padding: 18px 20px; }
  .lic__cell:last-child { border-bottom: 0; }
  .lic__head, .lic__body { padding: 20px; }
  .lic__status { margin-left: 0; }
  .lic__mods { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .esp-empty { min-height: 260px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 12px; }
  .page { padding: 36px 0 24px; }
  .announce .wrap { min-height: 40px; font-size: 13.5px; }
  .faq__q { padding: 18px; font-size: 15.5px; }
  .faq__a { padding: 0 18px 18px; }
  .btn { --h: 50px; }
}

@media (min-width: 761px) {
  .snap-dots { display: none; }
}

@media (max-width: 380px) {
  .hero__stats .stat-sep { display: none; }
  .brand__sub { display: none; }
}

@media (hover: none) {
  .mod:hover { background: var(--s1); border-color: var(--b1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .vis-sky img:first-child { opacity: 1; }
  .logo-frame { transform: none; }
}

@media print {
  .nav, .tabbar, .announce, .hero__fx { display: none !important; }
  body { background: #fff; color: #000; }
}
