/* NetSaver — site vitrine. Déclinaison « marketing » de la direction Sentinelle :
   nuit profonde, bleu pour l'action, teal réservé à la protection active. */

@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex"; src: url("../fonts/plex-sans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #05080F;
  --bg-2: #080D19;
  --panel: #0D1424;
  --panel-2: #111A2E;
  --line: rgba(160, 180, 220, .12);
  --line-2: rgba(160, 180, 220, .2);
  --ink: #EEF2FA;
  --ink-2: #A3AFC4;
  --ink-3: #6E7B93;
  --blue: #7FA2FF;
  --blue-2: #4F7BFF;
  --blue-3: #2F5BEA;
  --teal: #2DD4BF;
  --teal-2: #14B8A6;
  --warn: #F5B544;
  --radius: 22px;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 32px);
  --sans: "Plex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
[lang="ar"] { --sans: "Plex Arabic", "Plex", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
[lang="ar"] body { font-size: 18px; line-height: 1.75; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(127, 162, 255, .35); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--blue-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0;
  background: linear-gradient(180deg, #4C78FF, var(--blue-3)); color: #fff;
  font: 600 16px/1 var(--sans); cursor: pointer; text-decoration: none !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 10px 30px -10px rgba(47, 91, 234, .8);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 16px 40px -12px rgba(47, 91, 234, .95); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 12px; }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(160,180,220,.35); }
.btn-block { width: 100%; }
.btn-play { min-height: 60px; padding: 0 26px 0 20px; border-radius: 16px; gap: 14px; background: #F4F7FD; color: #0A0F1C; box-shadow: 0 12px 40px -14px rgba(127, 162, 255, .7); }
.btn-play:hover { box-shadow: 0 18px 50px -14px rgba(127, 162, 255, .9); }
.btn-play svg { width: 26px; height: 26px; fill: #0A0F1C; }
[dir="rtl"] .btn-play svg { transform: scaleX(-1); }
.btn-play span { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 18px; }
.btn-play small { font: 500 11.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #4A5670; }
[lang="ar"] .btn-play small { letter-spacing: 0; font-size: 12.5px; }
[aria-disabled="true"] { cursor: default; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.top.scrolled { background: rgba(5, 8, 15, .72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 19px; letter-spacing: -.01em; text-decoration: none !important; }
.brand .logo { width: 32px; height: 32px; color: var(--ink); }
.menu { display: flex; gap: 4px; margin-inline-start: auto; }
.menu a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.menu a:hover { color: var(--ink); background: rgba(255,255,255,.05); text-decoration: none; }
.top-end { display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 12px; cursor: pointer; color: var(--ink-2); font: 500 14px var(--sans); box-shadow: inset 0 0 0 1px var(--line); transition: color .2s, box-shadow .2s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.lang summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: 14px; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -10px rgba(0,0,0,.7); display: grid; animation: pop .18s var(--ease); }
.lang-menu a { color: var(--ink); padding: 10px 12px; border-radius: 9px; font-size: 15px; text-decoration: none; }
.lang-menu a:hover { background: rgba(255,255,255,.06); }
.lang-menu a[aria-current] { color: var(--teal); }
.lang-menu a[lang="ar"] { font-family: "Plex Arabic", var(--sans); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }

/* ---------- Héros ---------- */
.hero { position: relative; padding: 128px 0 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.g1 { width: 640px; height: 640px; background: radial-gradient(circle, #1E3FA8, transparent 65%); top: -220px; inset-inline-end: -120px; animation: drift 16s ease-in-out infinite alternate; }
.g2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(45, 212, 191, .45), transparent 65%); bottom: -260px; inset-inline-start: -160px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); opacity: .5; }
@keyframes drift { to { transform: translate3d(-60px, 40px, 0) scale(1.08); } }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); padding: 9px 14px; border-radius: 999px; background: rgba(45, 212, 191, .08); box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .25); }
[lang="ar"] .eyebrow { font-family: var(--sans); letter-spacing: 0; font-size: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(45,212,191,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); } }
.hero h1 { font-size: clamp(40px, 6vw, 72px); margin: 22px 0 20px; letter-spacing: -.035em; line-height: 1.02; }
[lang="ar"] .hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.25; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--teal) 10%, var(--blue) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 20.5px); color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }
.hero-facts { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 15px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.in { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Téléphone */
.phone {
  position: relative; aspect-ratio: 1080 / 2424; width: 100%;
  border-radius: 13% / 5.8%; padding: 3.2%;
  background: linear-gradient(145deg, #2A3550, #0B1120 40%, #1A2338);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 0 0 1.5px #03050A, 0 50px 100px -30px rgba(0, 0, 0, .9), 0 30px 80px -40px rgba(79, 123, 255, .55);
}
.phone::after { content: ""; position: absolute; top: 4.8%; left: 50%; width: 3.2%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); background: #02040A; box-shadow: 0 0 0 1.5px #1D2638; }
.phone-screen { width: 100%; height: 100%; border-radius: 10.4% / 4.7%; overflow: hidden; background: #F3F6FB; }
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }

.hero-visual { position: relative; width: min(100%, 360px); justify-self: center; perspective: 1200px; }
.phone-hero { transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .6s var(--ease); transform-style: preserve-3d; }
[dir="rtl"] .phone-hero { --ry: 8deg; }
.float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(13, 20, 36, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -15px rgba(0,0,0,.8);
  font-size: 14px; white-space: nowrap; animation: bob 6s ease-in-out infinite;
}
[dir="rtl"] .float { padding: 12px 12px 12px 16px; }
.float b { display: block; font-weight: 600; font-size: 14.5px; }
.float small { display: block; color: var(--ink-2); font-size: 12.5px; }
.fi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.fi svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fi-block { background: rgba(45, 212, 191, .14); color: var(--teal); }
.fi-wifi { background: rgba(127, 162, 255, .14); color: var(--blue); }
.fi-local { background: rgba(255,255,255,.07); color: var(--ink); }
.f1 { top: 22%; inset-inline-start: -34%; animation-delay: -1s; }
.f2 { top: 52%; inset-inline-end: -30%; animation-delay: -3s; }
.f3 { bottom: 9%; inset-inline-start: -24%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Bandeau */
.strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; padding-block: 20px; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.strip i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); opacity: .7; }

/* ---------- Sections ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.kicker { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
[lang="ar"] .kicker { font-family: var(--sans); letter-spacing: 0; font-size: 14.5px; font-weight: 600; }
.sec h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -.03em; }
[lang="ar"] .sec h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-lead { color: var(--ink-2); font-size: clamp(17px, 1.5vw, 19px); margin-top: 18px; }

.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: clamp(24px, 3vw, 36px); }
.card h3 { font-size: 24px; margin: 24px 0 10px; }
.card p { color: var(--ink-2); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.persona-art { height: 120px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: center; padding: 0 24px; position: relative; overflow: hidden; }
.gauge { height: 14px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.gauge-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue) 70%, var(--warn)); transition: width 1.8s var(--ease) .3s; }
.visible .gauge-fill { width: 62%; }
.gauge-legend { display: flex; justify-content: space-between; margin-top: 10px; font: 500 12.5px var(--mono); color: var(--ink-3); }
.plane { width: 100%; height: 70px; overflow: visible; }
[dir="rtl"] .plane { transform: scaleX(-1); }
.route { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 5 7; }
.jet { fill: var(--blue); offset-path: path("M10 58 C 70 6, 150 6, 210 40"); offset-rotate: auto; offset-distance: 0%; }
.visible .jet { animation: fly 5s var(--ease) infinite; }
@keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.roam-chip { position: absolute; inset-inline-end: 18px; top: 14px; font: 500 12px var(--mono); color: var(--teal); background: rgba(45,212,191,.1); box-shadow: inset 0 0 0 1px rgba(45,212,191,.3); padding: 5px 9px; border-radius: 8px; }
[lang="ar"] .roam-chip { font-family: var(--sans); }

/* Comment ça marche */
.flow { margin: 0 0 40px; padding: clamp(14px, 3vw, 32px); border-radius: 28px; background: radial-gradient(120% 120% at 50% 0%, #0E1830, var(--bg-2) 60%); box-shadow: inset 0 0 0 1px var(--line); }
.flow-svg { width: 100%; height: auto; overflow: visible; }
[dir="rtl"] .flow-svg { transform: scaleX(-1); }
[dir="rtl"] .flow-svg .t { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }
.fl-phone { fill: rgba(255,255,255,.015); stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 6 8; }
.fl-tag { fill: var(--ink-3); font: 500 15px var(--sans); letter-spacing: .02em; }
[dir="rtl"] .fl-tag { direction: rtl; unicode-bidi: isolate; letter-spacing: 0; }
.fl-tag.teal { fill: var(--teal); }
.fl-app rect { fill: #17213A; stroke: rgba(160,180,220,.25); }
.fl-app.on rect { fill: rgba(45,212,191,.08); stroke: rgba(45,212,191,.5); }
.fl-app rect.ghost { fill: rgba(45,212,191,.04); stroke-dasharray: 4 5; }
.fl-app .ic { fill: var(--blue); }
.fl-app.on .ic { fill: var(--teal); }
.fl-app .ic-s { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }
.fl-path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.fl-path.pass { stroke: url(#lg-pass); }
.fl-path.stop { stroke: url(#lg-stop); stroke-dasharray: 3 6; }
.fl-shield path:first-child { fill: #0B1D25; stroke: var(--teal); stroke-width: 3; stroke-linejoin: round; }
.fl-shield .sh-l { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.fl-shield .sh-dot { fill: var(--teal); }
.fl-halo { animation: halo 3s ease-in-out infinite; transform-origin: 430px 304px; }
@keyframes halo { 50% { opacity: .5; transform: scale(.9); } }
.fl-net circle { fill: rgba(127,162,255,.06); stroke: rgba(127,162,255,.5); stroke-width: 2; }
.fl-net path { fill: none; stroke: rgba(127,162,255,.5); stroke-width: 2; }
.pk.pass { fill: var(--blue); filter: drop-shadow(0 0 6px rgba(127,162,255,.9)); }
.pk.stop { fill: var(--teal); filter: drop-shadow(0 0 6px rgba(45,212,191,.9)); }
.flow-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.flow-legend span { display: flex; align-items: center; gap: 10px; }
.lg { width: 26px; height: 4px; border-radius: 4px; }
.lg.pass { background: var(--blue); }
.lg.stop { background: repeating-linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 8px); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font: 600 16px var(--mono); color: var(--bg); background: linear-gradient(135deg, var(--teal), var(--blue)); }
.step h3 { font-size: 21px; margin: 20px 0 8px; }
.step p { color: var(--ink-2); font-size: 16px; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 20px 22px; border-radius: 18px; background: rgba(127,162,255,.06); box-shadow: inset 0 0 0 1px rgba(127,162,255,.2); color: var(--ink-2); font-size: 16px; }
.note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }

/* Démos vidéo */
.demo { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.demo-tabs { display: grid; gap: 14px; }
.demo-tab {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; text-align: start;
  padding: 24px 26px; border-radius: 20px; border: 0; cursor: pointer; overflow: hidden;
  background: transparent; color: var(--ink); font: inherit;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.demo-tab:hover { background: rgba(255,255,255,.025); }
.demo-tab[aria-selected="true"] { background: linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -30px rgba(79,123,255,.6); }
.dt-n { font: 500 14px var(--mono); color: var(--ink-3); padding-top: 4px; transition: color .3s; }
.demo-tab[aria-selected="true"] .dt-n { color: var(--teal); }
.dt-body b { display: block; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.dt-body span { display: block; color: var(--ink-2); font-size: 16px; margin-top: 6px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.demo-tab[aria-selected="true"] .dt-body span { max-height: 160px; opacity: 1; }
.dt-bar { position: absolute; inset: auto 0 0; height: 3px; background: transparent; }
.dt-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--teal), var(--blue)); }
[dir="rtl"] .dt-bar i { margin-inline-start: 0; }
.demo-note { color: var(--ink-3); font-size: 14px; padding-inline: 4px; }
.demo-stage { position: relative; width: min(100%, 360px); justify-self: center; }
.phone-demo .phone-screen { background: #F3F6FB; }
.phone-demo video { transition: opacity .35s; }
.phone-demo video.swap { opacity: 0; }
.demo-caption { display: none; margin: -6px auto 0; max-width: 30em; text-align: center; color: var(--ink-2); font-size: 15.5px; min-height: 3.2em; }
.demo-pause { position: absolute; inset-inline-end: -14px; bottom: 9%; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: var(--ink); background: rgba(13,20,36,.85); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px -10px #000; }
.demo-pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.demo-pause .i-play { display: none; fill: currentColor; stroke: none; }
.demo-pause.paused .i-play { display: block; }
.demo-pause.paused .i-pause { display: none; }

/* Grille de fonctions */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { position: relative; padding: 30px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(127,162,255,.12), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.feat:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(0,0,0,.8); }
.feat:hover::before { opacity: 1; }
.fic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(127,162,255,.1); box-shadow: inset 0 0 0 1px rgba(127,162,255,.22); }
.fic svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feat:nth-child(2) .fic { background: rgba(45,212,191,.1); box-shadow: inset 0 0 0 1px rgba(45,212,191,.25); }
.feat:nth-child(2) .fic svg { stroke: var(--teal); }
.feat h3 { font-size: 20px; margin: 22px 0 8px; }
.feat p { color: var(--ink-2); font-size: 16px; }

/* Jeux */
.games { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 32px; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(90% 120% at 100% 0%, rgba(79,123,255,.28), transparent 55%), radial-gradient(80% 100% at 0% 100%, rgba(45,212,191,.18), transparent 60%), linear-gradient(180deg, #0C1530, #080D1B);
  box-shadow: inset 0 0 0 1px var(--line-2); }
[dir="rtl"] .games { background: radial-gradient(90% 120% at 0% 0%, rgba(79,123,255,.28), transparent 55%), radial-gradient(80% 100% at 100% 100%, rgba(45,212,191,.18), transparent 60%), linear-gradient(180deg, #0C1530, #080D1B); }
.games h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 18px; }
.games-copy > p { color: var(--ink-2); font-size: 18px; }
.games-note { margin-top: 22px !important; font-size: 14.5px !important; color: var(--ink-3) !important; padding-inline-start: 14px; border-inline-start: 2px solid var(--line-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 32px; color: var(--ink); font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 21px; height: 21px; border-radius: 7px; background: rgba(45,212,191,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232DD4BF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat; }
.gcard { max-width: 380px; margin-inline: auto; padding: 22px; border-radius: 24px; background: rgba(8, 13, 27, .8); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -30px rgba(0,0,0,.9); transform: rotate(-2deg); transition: transform .8s var(--ease); }
[dir="rtl"] .gcard { transform: rotate(2deg); }
.visible .gcard { transform: rotate(0); }
.gcard-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.gcard-head b { display: block; font-size: 18px; }
.gcard-head small { display: block; color: var(--ink-2); font-size: 13.5px; }
.gcard-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #6D5BFF, #4F7BFF); }
.gcard-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gl { list-style: none; margin: 8px 0; padding: 0; }
.gl li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
[dir="rtl"] .gl li { transform: translateX(12px); }
.visible .gl li { opacity: 1; transform: none; }
.visible .gl li:nth-child(2) { transition-delay: .12s; }
.visible .gl li:nth-child(3) { transition-delay: .24s; }
.visible .gl li:nth-child(4) { transition-delay: .36s; }
.ga { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.a1 { background: conic-gradient(from 45deg, #F59E0B, #EF4444, #F59E0B); }
.a2 { background: linear-gradient(135deg, #22C55E, #0EA5E9); }
.a3 { background: radial-gradient(circle at 30% 30%, #F472B6, #7C3AED); }
.a4 { background: linear-gradient(135deg, #FACC15, #FB923C 60%, #F43F5E); }
.gn { flex: 1; font-weight: 500; }
.gs { font-size: 12.5px; font-weight: 600; color: var(--teal); background: rgba(45,212,191,.1); padding: 4px 9px; border-radius: 8px; white-space: nowrap; }
.gcard-foot { display: flex; align-items: center; gap: 12px; padding-top: 14px; color: var(--ink-2); font-size: 14.5px; }
.sw { width: 46px; height: 28px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; flex: none; transition: background .5s; }
.sw i { position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: inset-inline-start .5s var(--ease); }
.visible .sw.on { background: var(--teal-2); }
.visible .sw.on i { inset-inline-start: 21px; }

/* Captures */
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.shots-copy > p { color: var(--ink-2); font-size: 18px; margin-top: 18px; }
.shots-art { position: relative; height: clamp(520px, 52vw, 640px); }
.shots-art .phone { position: absolute; width: min(62%, 290px); }
.phone-back { inset-inline-start: 4%; top: 0; opacity: .9; }
.phone-front { inset-inline-end: 4%; bottom: 0; }
.shots-art .phone.reveal { transition: opacity 1s var(--ease), translate 1s var(--ease); }
.shots-art .phone { transform: translateY(var(--py, 0px)); }

/* Confidentialité */
.privacy { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line); }
.privacy-logo { width: 64px; height: 64px; color: var(--ink); margin-bottom: 24px; filter: drop-shadow(0 10px 30px rgba(45,212,191,.35)); }
.privacy h2 { font-size: clamp(30px, 3.6vw, 44px); }
.privacy-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.privacy-list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.privacy-list li:last-child { border-bottom: 0; }
.privacy-list b { font-size: 18px; font-weight: 600; }
.privacy-list span { color: var(--ink-2); font-size: 16px; }
.privacy-foot { grid-column: 1 / -1; color: var(--ink-3); font-size: 14.5px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Bon à savoir */
.know { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.know li { padding: 26px 28px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.know li::before { content: ""; position: absolute; inset-inline-start: 0; top: 26px; bottom: 26px; width: 3px; border-radius: 3px; background: var(--warn); opacity: .8; }
.know h3 { font-size: 19px; margin-bottom: 8px; }
.know p { color: var(--ink-2); font-size: 16px; }

/* Prix */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 20px; }
.plan { position: relative; padding: 34px; border-radius: 26px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.plan h3 { font-size: 18px; color: var(--ink-2); font-weight: 500; }
.amount { font-size: 56px; font-weight: 600; letter-spacing: -.04em; margin-top: 14px; line-height: 1; font-variant-numeric: tabular-nums; }
[dir="rtl"] .amount { text-align: end; }
.per { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; min-height: 1.6em; }
.plan .ticks { margin: 24px 0 30px; flex: 1; }
.plan-best { background: radial-gradient(120% 80% at 50% 0%, rgba(79,123,255,.22), transparent 60%), linear-gradient(180deg, var(--panel-2), var(--panel)); box-shadow: inset 0 0 0 1px rgba(127,162,255,.45), 0 40px 90px -40px rgba(79,123,255,.7); }
.badge { position: absolute; top: 24px; inset-inline-end: 24px; font: 600 13px var(--sans); color: var(--bg); background: linear-gradient(135deg, var(--teal), #7FE3D6); padding: 6px 11px; border-radius: 99px; }
.price-note { text-align: center; color: var(--ink-3); font-size: 14.5px; margin: 26px auto 0; max-width: 680px; }

/* FAQ */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s; }
.faq details[open] { background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-inline-end: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { padding: 0 26px 24px; color: var(--ink-2); font-size: 16.5px; }
.faq details[open] p { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* Appel final */
.final { position: relative; margin-top: clamp(80px, 11vw, 140px); padding: clamp(80px, 10vw, 130px) 0; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.g3 { width: 900px; height: 600px; left: 50%; top: 10%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(47,91,234,.45), transparent 60%); filter: blur(60px); opacity: .8; }
.final-in { display: grid; justify-items: center; gap: 20px; }
.final-logo { width: 76px; height: 76px; color: var(--ink); filter: drop-shadow(0 12px 40px rgba(127,162,255,.5)); }
.final h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.035em; max-width: 14em; }
.final p { color: var(--ink-2); font-size: 19px; max-width: 34em; margin-bottom: 12px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--ink-3); font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 18px 30px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.foot-brand .logo { width: 26px; height: 26px; color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; align-items: center; }
.foot-links a { color: var(--ink-2); }
.foot-lang { display: inline-flex; gap: 14px; }
.foot-lang a[aria-current] { color: var(--teal); }
.foot-legal { grid-column: 1 / -1; }

/* Notification « bientôt » */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 14px 20px; border-radius: 14px; background: var(--panel-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -10px #000; font-size: 15px; transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.visible { opacity: 1; translate: 0 0; }

/* ---------- Adaptation ---------- */
@media (max-width: 1080px) {
  .menu { display: none; }
  .top-end { margin-inline-start: auto; }
  .f1 { inset-inline-start: -18%; }
  .f2 { inset-inline-end: -16%; }
  .f3 { inset-inline-start: -12%; }
}
@media (max-width: 900px) {
  .hero { padding-top: 112px; }
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { width: min(72%, 320px); }
  .duo, .steps, .grid, .know, .shots, .privacy, .games { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; gap: 24px; }
  .demo-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .demo-tab { grid-template-columns: 1fr; padding: 14px 12px; border-radius: 14px; text-align: center; gap: 4px; }
  .dt-n { padding: 0; font-size: 12px; }
  .dt-body b { font-size: 14.5px; line-height: 1.3; }
  .dt-body span, .demo-note { display: none; }
  .demo-stage { width: min(64%, 290px); }
  .demo-caption { display: block; }
  .demo-pause { bottom: 30%; }
  .fl-tag { font-size: 30px; }
  .shots-art { height: clamp(460px, 110vw, 620px); max-width: 520px; width: 100%; margin-inline: auto; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
  .games-art { order: -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .btn-sm { padding: 0 12px; font-size: 13.5px; }
  .lang summary span { display: none; }
  .hero { padding-top: 100px; padding-bottom: 56px; }
  .cta-row .btn { width: 100%; }
  .plans { grid-template-columns: minmax(0, 460px); }
  .hero-visual { width: min(78%, 300px); }
  .float { padding: 9px 12px 9px 9px; gap: 9px; }
  [dir="rtl"] .float { padding: 9px 9px 9px 12px; }
  .float b { font-size: 13px; } .float small { font-size: 11.5px; }
  .fi { width: 32px; height: 32px; border-radius: 9px; }
  .fi svg { width: 18px; height: 18px; }
  .f1 { inset-inline-start: -14%; top: 16%; }
  .f2 { inset-inline-end: -14%; top: 50%; }
  .f3 { inset-inline-start: -10%; bottom: 6%; }
  .grid { grid-template-columns: 1fr; }
  .strip-in { gap: 10px 18px; font-size: 14px; }
  .dt-body b { font-size: 13.5px; }
  .demo-stage { width: min(70%, 270px); }
  .demo-pause { inset-inline-end: -8px; }
  .amount { font-size: 48px; }
  .plan { padding: 28px 24px; }
  .faq summary { padding: 18px 20px; font-size: 16.5px; }
  .faq details p { padding: 0 20px 20px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .in { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; translate: none; }
  .pk { display: none; }
}

@view-transition { navigation: auto; }
