/* Concept « Nuit & Lumière » : salles blanches pour la confiance et l'achat, passages de nuit violette pour le spectacle.
   Le violet vif est réservé aux actions. L'aura multicolore n'apparaît que pendant une génération. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --lavender: #f4f1ff;
  --lavender-2: #e9e3ff;
  --ink: #130b3a;          /* le « Pati » du logo */
  --ink-2: #4a4368;
  --ink-3: #7c7699;
  --violet: #6a35f2;       /* le « Pix » du logo, réservé aux actions */
  --violet-hi: #8a5cff;
  --night: #0d0726;
  --night-2: #1a1040;
  --night-line: rgba(196, 180, 255, .16);
  --on-night: #f3efff;
  --on-night-2: #b8aee0;
  --aura-1: #6a35f2; --aura-2: #e04bd8; --aura-3: #33d1ff; --aura-4: #ff9a4d;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --f-script: "Great Vibes", "Segoe Script", cursive;
  --r-s: 10px; --r-m: 18px; --r-l: 28px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255,255,255,.86); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--violet-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--violet); }
.night .eyebrow { color: var(--violet-hi); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; }
.night .lead { color: var(--on-night-2); }
.night { background: var(--night); color: var(--on-night); }

/* ---------- boutons ---------- */
.btn { --bg: var(--violet); --fg: #fff; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; position: relative; isolation: isolate; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; box-shadow: 0 10px 30px -12px rgba(106,53,242,.7); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(106,53,242,.85); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .star { width: 14px; height: 14px; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.btn:hover .star { transform: rotate(90deg) scale(1.15); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(19,11,58,.18); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
.night .btn--ghost { --fg: var(--on-night); box-shadow: inset 0 0 0 1.5px var(--night-line); }
.night .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet-hi); }
.btn[aria-disabled="true"] { --bg: var(--lavender-2); --fg: var(--ink-2); box-shadow: none; }
/* « Créer dans le navigateur » mis en avant (demande de l'utilisateur, 06/11/2026) : la seule aura hors création. Mêmes
   couleurs que l'aura de l'app pendant une création (#a07bff → #f062ff → #3ee0ff → #ffb15c), un tour en 5 s, et un halo
   qui « respire » en 2,6 s. Anneau net (::before), fond sombre (::after), halo flou (.aura). */
.btn--aura { --bg: transparent; --fg: #fff; font-weight: 700; box-shadow: none; }
.btn--aura::before, .btn--aura::after, .btn--aura .aura { content: ""; position: absolute; border-radius: inherit; pointer-events: none; }
.btn--aura::before, .btn--aura .aura { background: conic-gradient(from var(--a), #a07bff, #f062ff, #3ee0ff, #ffb15c, #a07bff); animation: spin 5s linear infinite; }
.btn--aura::before { inset: -2px; z-index: -1; }
.btn--aura::after { inset: 0; z-index: -1; background: linear-gradient(180deg, #24135e, #150b3d); }
.btn--aura .aura { inset: -8px; z-index: -2; filter: blur(16px); opacity: .95; animation: spin 5s linear infinite, respire 2.6s ease-in-out infinite; transition: inset .25s; }
.btn--aura:hover { box-shadow: none; }
.btn--aura:hover .aura { inset: -12px; }
.btn--aura svg { width: 17px; height: 17px; flex: none; }
@keyframes respire { 50% { opacity: .55; } }

/* ---------- intro « Bonjour » ---------- */
.hello { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: var(--white); }
.hello.on { display: grid; }
.hello.out { opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.hello span { font: 400 clamp(84px, 14vw, 190px)/1.2 var(--f-script); padding: 0 .25em; background: linear-gradient(100deg, var(--violet) 10%, #a679ff 60%, var(--violet) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; clip-path: inset(0 100% 0 0); animation: write .85s cubic-bezier(.45,.05,.3,1) .1s forwards; }
.hello span[dir="rtl"] { clip-path: inset(0 0 0 100%); }
@keyframes write { to { clip-path: inset(0 0 0 0); } }

/* ---------- en-tête ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(19,11,58,.07); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: block; width: 128px; height: 37px; overflow: hidden; position: relative; flex: none; }
.logo img { position: absolute; width: 153px; max-width: none; left: -13px; top: -58px; mix-blend-mode: multiply; }
.top nav { display: flex; gap: 22px; margin-inline-start: auto; }
.top nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.top nav a:hover { color: var(--violet); }
/* Lien vers le Studio en ligne (SEO, 11/11/2026). */
.top nav .nav-web { color: var(--violet); font-weight: 600; }
/* 1.5.13 (SEO n° 3) : « Créer dans le navigateur » devient le bouton principal ; « Télécharger » devient un lien discret. */
.top nav { align-items: center; }
.top nav a.nav-web.btn { color: #fff; }
.top .lien-telecharger { display: inline-flex; align-items: center; gap: 6px; flex: none; text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.top .lien-telecharger:hover { color: var(--violet); }
.top .lien-telecharger .tag-soon { margin: 0; padding: 4px 8px; font-size: 11px; }
.top .btn-web-tel { display: none; }
.top .btn { padding: 10px 16px; font-size: 14px; }
/* Sélecteur de langue : drapeau + nom, menu déroulant */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(106,53,242,.28); background: var(--white); border-radius: 12px; padding: 9px 12px; font: 500 14px/1 var(--f-body); color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(106,53,242,.12); }
.lang-btn .chev { width: 14px; height: 14px; transition: transform .25s; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.flag { width: 22px; height: 16px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(19,11,58,.12); overflow: hidden; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--white); border: 1px solid rgba(19,11,58,.1); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(19,11,58,.35); display: grid; gap: 2px; transform-origin: top right; transition: opacity .18s, transform .18s; }
.lang-menu[hidden] { display: none; }
.lang-menu li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; cursor: pointer; color: var(--ink); }
.lang-menu li:hover, .lang-menu li.focus { background: #f8f6ff; }
.lang-menu li[aria-selected="true"] { background: var(--lavender); color: var(--violet); font-weight: 600; }
.lang-menu li .check { margin-inline-start: auto; width: 16px; height: 16px; color: var(--violet); visibility: hidden; }
.lang-menu li[aria-selected="true"] .check { visibility: visible; }
.top .btn { white-space: nowrap; }
@media (max-width: 860px) { .top nav { display: none; } .top .wrap { gap: 12px; } .lang { margin-inline-start: auto; } }
@media (max-width: 440px) { .lang-btn .lang-name { display: none; } .lang-btn { padding: 9px 10px; gap: 6px; } .top .wrap > .btn { padding: 9px 12px; font-size: 13px; } }
/* 1.5.13 (SEO n° 3) : l'en-tête aux largeurs intermédiaires (mesuré dans les 5 langues).
   De 1024 à 1180 px : drapeau seul et espaces réduits, pour garder le menu sur une ligne. */
@media (max-width: 1180px) { .top .wrap { gap: 16px; } .top nav { gap: 14px; } .lang-btn .lang-name { display: none; } .lang-btn { padding: 9px 10px; gap: 6px; } .top:lang(ru) nav { gap: 10px; } }
/* Le menu russe est le plus long : un peu moins d'espace entre ses liens. */
@media (min-width: 1181px) { .top:lang(ru) nav { gap: 18px; } }
/* En dessous de 1024 px, le menu ne tient plus sur une ligne : même en-tête que sur téléphone (logo, langue, bouton du
   Studio en ligne, sur deux lignes quand la place manque). */
@media (max-width: 1023px) { .top nav { display: none; } .top .wrap { gap: 12px; } .lang { margin-inline-start: auto; } .top .lien-telecharger--ordi { display: none; }
  .top .wrap > .btn.btn-web-tel { display: inline-flex; flex: 0 1 auto; min-width: 0; white-space: normal; text-align: center; justify-content: center; line-height: 1.15; } }
@media (max-width: 440px) { .top .wrap > .btn.btn-web-tel { padding: 7px 12px; } }
/* Petits téléphones (moins de 375 px ; 1.5.14 : 360 px compris, la largeur Android la plus courante) : bouton plus
   compact et flèche de la langue masquée, pour 2 lignes au plus. */
@media (max-width: 374px) { .lang-btn .chev { display: none; } .top .wrap > .btn.btn-web-tel { padding: 6px 8px; font-size: 12px; } }

/* ---------- 1. héros 3D ---------- */
.hero { position: relative; background: radial-gradient(120% 70% at 50% 0%, #2a1468 0%, var(--night) 55%); }
/* Sans 3D (chargement, mobile, échec) : héros simple. Avec 3D : scène collante sur 440vh. */
.hero-track { height: auto; }
.hero-stage { position: relative; overflow: hidden; padding-bottom: 48px; }
.hero.has3d .hero-track { height: 440vh; }
.hero.has3d .hero-stage { position: sticky; top: 64px; height: calc(100vh - 64px); min-height: 600px; padding-bottom: 0; }
.hero-copy { text-align: center; padding-top: clamp(28px, 6vh, 64px); display: grid; justify-items: center; gap: 18px; position: relative; z-index: 2; opacity: var(--copy-o, 1); transform: translateY(var(--copy-y, 0px)); }
.hero h1 { display: grid; justify-items: center; gap: .1em; }
.hero h1 .l1 { font-size: clamp(24px, 3.4vw, 50px); font-weight: 600; letter-spacing: -.015em; }
.hero h1 .l1 b { font-weight: 800; color: #d9ccff; white-space: nowrap; }
.hero h1 .l2 { font-size: clamp(38px, min(10.5vw, 9.4vw + 8px), 136px); font-weight: 800; letter-spacing: -.045em; line-height: .95; white-space: nowrap; padding: 0 .04em .08em; background: linear-gradient(90deg, #fff 0%, #c9b6ff 18%, var(--aura-2) 36%, var(--aura-3) 54%, #c9b6ff 76%, #fff 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 10s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); font-size: 13.5px; font-weight: 500; color: var(--on-night); }
.facts svg { width: 16px; height: 16px; color: var(--violet-hi); }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-web { margin: 14px auto 0; max-width: 34em; font-size: 14px; line-height: 1.5; opacity: .85; text-align: center; }
.hero-scene { position: relative; height: min(42vw, 500px); margin-top: 28px; }
.hero.has3d .hero-scene { position: absolute; inset: 0; height: auto; margin: 0; }
.hero:not(.has3d) .scroll-hint { display: none; }
#laptop3d { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.hero.has3d #laptop3d { display: block; }
.hero.has3d .laptop-css { display: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-night-2); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--violet-hi), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1px 1px at 12% 22%, #fff8, transparent), radial-gradient(1px 1px at 78% 18%, #fff6, transparent), radial-gradient(1.5px 1.5px at 64% 42%, #fff5, transparent), radial-gradient(1px 1px at 30% 64%, #fff4, transparent), radial-gradient(1px 1px at 88% 70%, #fff6, transparent), radial-gradient(1.5px 1.5px at 8% 82%, #fff4, transparent), radial-gradient(1px 1px at 46% 12%, #fff7, transparent); }
/* ordinateur de secours (mobile, animations réduites, pas de WebGL) */
.laptop-css { position: absolute; left: 50%; bottom: 0; width: min(760px, 80%); transform: translateX(-50%); }
.laptop-css .lid { background: linear-gradient(160deg, #2b2547, #120e22); border-radius: 18px 18px 6px 6px; padding: 2.2% 2.2% 3%; box-shadow: 0 0 0 1px #3d3466, 0 40px 80px -30px #6a35f2aa; }
.laptop-css .lid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 6px; }
.laptop-css .base { height: 18px; margin: 0 -6%; background: linear-gradient(#3a3360, #15112a); clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%); border-radius: 0 0 14px 14px; position: relative; }
.laptop-css .base::after { content: ""; position: absolute; left: 30%; right: 30%; top: 0; height: 3px; background: var(--violet-hi); box-shadow: 0 0 18px var(--violet-hi); border-radius: 3px; }
@media (max-width: 899px), (pointer: coarse) { .hero-scene { height: min(62vw, 440px); } .laptop-css { width: min(760px, 92%); } }

/* ---------- 2. démo ---------- */
.demo { padding-block: clamp(80px, 12vw, 150px); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.demo h2 { font-size: clamp(32px, 4.4vw, 58px); margin-block: 14px 16px; }
.prompt { margin-top: 30px; background: var(--white); border: 1px solid rgba(19,11,58,.1); border-radius: var(--r-m); padding: 16px; box-shadow: 0 30px 60px -40px rgba(19,11,58,.35); display: grid; gap: 14px; }
.prompt label { font-size: 13px; font-weight: 600; }
.prompt textarea { width: 100%; resize: none; min-height: 78px; border: 1px solid rgba(19,11,58,.12); border-radius: var(--r-s); padding: 12px 14px; font: 400 15px/1.45 var(--f-body); color: var(--ink); background: #fbfaff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid rgba(19,11,58,.14); background: var(--white); color: var(--ink); border-radius: 999px; padding: 8px 13px; font: 500 13px/1.1 var(--f-body); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.chip:hover { border-color: var(--violet); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--lavender); border-color: var(--violet); color: var(--violet); }
.prompt-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ratios { display: flex; gap: 6px; }
.ratios button { border: 1px solid rgba(19,11,58,.14); background: var(--white); border-radius: 8px; padding: 7px 10px; font: 600 12px/1 var(--f-body); color: var(--ink-2); cursor: pointer; font-variant-numeric: tabular-nums; }
.ratios button[aria-pressed="true"] { border-color: var(--violet); color: var(--violet); background: var(--lavender); }
.note { font-size: 12.5px; color: var(--ink-3); }
.canvas-wrap { display: grid; place-items: center; min-height: 520px; }
.frame { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 1; border-radius: var(--r-l); transition: aspect-ratio .6s cubic-bezier(.2,.8,.2,1), width .6s; }
.frame[data-ratio="9:16"] { aspect-ratio: 9 / 16; width: min(100%, 320px); }
.frame[data-ratio="16:9"] { aspect-ratio: 16 / 9; width: min(100%, 560px); }
.frame .pic { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; background: var(--lavender); box-shadow: 0 40px 80px -40px rgba(19,11,58,.5); }
.frame .pic img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s, transform .8s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.frame .glow { position: absolute; inset: -4px; border-radius: calc(var(--r-l) + 4px); background: conic-gradient(from var(--a), var(--aura-1), var(--aura-2), var(--aura-3), var(--aura-4), var(--aura-1)); opacity: 0; filter: blur(0); transition: opacity .4s; z-index: -1; }
.frame .glow.soft { inset: -18px; filter: blur(28px); }
.frame.busy .glow { opacity: 1; animation: spin 2.2s linear infinite; }
.frame.busy .pic img { filter: blur(26px) saturate(1.4); transform: scale(1.12); opacity: .5; }
@keyframes spin { to { --a: 360deg; } }
.frame .status { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #fff; font-weight: 600; font-size: 14px; opacity: 0; transition: opacity .3s; text-shadow: 0 1px 12px rgba(0,0,0,.35); font-variant-numeric: tabular-nums; }
.frame.busy .status { opacity: 1; }
.frame .status svg { width: 34px; height: 34px; animation: twinkle 1.1s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.7) rotate(45deg); opacity: .6; } }
.sparkle { position: absolute; width: 46px; height: 46px; pointer-events: none; color: #fff; opacity: 0; }
.sparkle.go { animation: pop .9s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { 0% { opacity: 0; transform: scale(.2) rotate(-30deg); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6) rotate(40deg); } }
@media (max-width: 860px) { .demo-grid { grid-template-columns: minmax(0, 1fr); } .canvas-wrap { min-height: 0; } }

/* ---------- 3. interface éclatée ---------- */
.explode { position: relative; background: linear-gradient(var(--night), #150b38 60%, var(--night)); }
.explode-track { height: 220vh; }
.explode-stage { position: sticky; top: 64px; height: calc(100vh - 64px); min-height: 620px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.explode-head { text-align: center; padding-top: clamp(36px, 7vh, 80px); display: grid; gap: 14px; justify-items: center; }
.explode h2 { font-size: clamp(30px, 4.4vw, 58px); max-width: 18ch; }
.board { position: relative; perspective: 1400px; display: grid; place-items: center; }
.board .shot { width: min(780px, 74vw); border-radius: 16px; box-shadow: 0 0 0 1px var(--night-line), 0 60px 120px -40px #6a35f299; transform: rotateX(var(--tilt, 14deg)) scale(var(--sc, .94)); transform-origin: 50% 80%; opacity: var(--dim, .9); }
.part { position: absolute; left: 50%; top: 50%; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 14px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); font-size: 13px; transform: translate(-50%, -50%) translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--r, 0deg)); will-change: transform; display: grid; gap: 8px; }
.part b { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.part .seg { display: flex; background: var(--lavender); border-radius: 10px; padding: 3px; }
.part .seg span { padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 12px; color: var(--ink-2); }
.part .seg span:first-child { background: var(--violet); color: #fff; }
.part .ta { border: 1px solid rgba(19,11,58,.12); border-radius: 8px; padding: 8px 10px; min-width: 220px; color: var(--ink-2); }
.part .thumbs { display: flex; gap: 6px; }
.part .thumbs img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.part .rat { display: flex; gap: 6px; }
.part .rat span { border: 1px solid rgba(19,11,58,.14); border-radius: 7px; padding: 6px 8px; font-weight: 600; font-size: 11px; }
.part .rat span.on { border-color: var(--violet); color: var(--violet); background: var(--lavender); }
.part .go { background: var(--violet); color: #fff; border-radius: 10px; padding: 10px 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.part .go svg { width: 14px; }
.part .save { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--violet); }
.tag { position: absolute; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--violet-hi); white-space: nowrap; }
@media (max-width: 899px), (pointer: coarse) {
  .explode-track { height: auto; }
  .explode-stage { position: relative; top: 0; height: auto; min-height: 0; padding-bottom: 60px; }
  .board { display: flex; flex-direction: column; gap: 14px; padding: 28px var(--gutter-r) 0 var(--gutter-l); }
  .board .shot { width: 100%; transform: none; opacity: 1; }
  .part { position: static; transform: none; width: 100%; }
  .part .ta { min-width: 0; }
}

/* ---------- 4. vidéo ---------- */
.video { padding-block: clamp(80px, 12vw, 150px); background: var(--lavender); }
.video-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.video h2 { font-size: clamp(30px, 4.2vw, 56px); margin-block: 14px 16px; }
.screen { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: 0 50px 90px -50px rgba(19,11,58,.6); background: #000; }
.screen video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mode { position: absolute; top: 16px; left: 16px; display: flex; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 4px; font: 600 12px/1 var(--f-body); }
.mode span { padding: 8px 12px; border-radius: 999px; color: var(--ink-2); transition: background .4s, color .4s; }
.mode span.on { background: var(--violet); color: #fff; }
.play { margin-top: 26px; }
.formula { display: inline-flex; gap: 8px; align-items: center; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--violet); }
@media (max-width: 860px) { .video-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 5. local ou Cloud ---------- */
.where { padding-block: clamp(80px, 12vw, 150px); }
.where-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.where h2 { font-size: clamp(30px, 4.4vw, 58px); max-width: 18ch; }
.where-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.side { border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.side--local { background: linear-gradient(160deg, #1d1146, #0f0830); border: 1px solid var(--night-line); }
.side--cloud { background: linear-gradient(160deg, #102046, #0b0f2e); border: 1px solid rgba(120,200,255,.16); }
.side h3 { font-size: clamp(22px, 2.4vw, 30px); }
.side p { color: var(--on-night-2); max-width: 40ch; }
.side svg.art { width: 100%; height: auto; max-height: 230px; }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: var(--on-night); }
.flow span { padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--night-line); }
.flow i { width: 22px; height: 1px; background: repeating-linear-gradient(90deg, var(--violet-hi) 0 4px, transparent 4px 8px); background-size: 16px 1px; animation: dash .8s linear infinite; }
@keyframes dash { to { background-position: 16px 0; } }
.pill { justify-self: start; font: 600 13px/1 var(--f-body); padding: 10px 14px; border-radius: 999px; background: rgba(138,92,255,.16); color: #d9ccff; }
.side--cloud .pill { background: rgba(51,209,255,.12); color: #bfeeff; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.rule { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-m); background: rgba(255,255,255,.05); border: 1px solid var(--night-line); font-weight: 600; }
.rule svg { width: 26px; height: 26px; flex: none; }
.fan { transform-box: fill-box; transform-origin: center; animation: rot 2.4s linear infinite; }
.led { animation: blink 1.6s steps(2) infinite; }
.led:nth-of-type(2n) { animation-delay: .4s; }
.led:nth-of-type(3n) { animation-delay: .9s; }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .25; } }
@media (max-width: 760px) { .where-grid, .rules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 6. galerie ---------- */
.gallery { padding-block: clamp(80px, 12vw, 150px); }
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.gallery h2 { font-size: clamp(30px, 4.2vw, 56px); margin-top: 14px; }
.masonry { columns: 3 260px; column-gap: 16px; }
.tile { break-inside: avoid; margin-bottom: 16px; border-radius: var(--r-m); overflow: hidden; position: relative; transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .35s cubic-bezier(.2,.8,.2,1); box-shadow: 0 30px 60px -40px rgba(19,11,58,.55); }
.tile img { width: 100%; height: auto; }
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.28), transparent 45%); opacity: 0; transition: opacity .3s; }
.tile:hover::after { opacity: 1; }
.tile figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; color: #fff; font-size: 13px; font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* ---------- 7. tarifs ---------- */
.pricing { padding-block: clamp(80px, 12vw, 150px); background: linear-gradient(var(--white), var(--lavender)); }
.pricing-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 40px; }
.pricing h2 { font-size: clamp(32px, 4.6vw, 60px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--white); border-radius: var(--r-l); padding: 28px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; border: 1px solid rgba(19,11,58,.08); box-shadow: 0 30px 60px -45px rgba(19,11,58,.45); position: relative; }
.plan--best { border: 1.5px solid var(--violet); box-shadow: 0 40px 80px -40px rgba(106,53,242,.55); }
.plan--cloud { background: var(--night); color: var(--on-night); border-color: transparent; }
/* « Bientôt » (n° 16, avis du juriste du 07/11/2026) : l'appli n'est pas encore en vente. À retirer à sa sortie. */
.tag-soon { display: inline-block; vertical-align: middle; margin-inline-start: .4em; padding: 6px 11px; border-radius: 999px; background: var(--violet); color: #fff; font: 600 13px/1 var(--f-body); letter-spacing: .02em; white-space: nowrap; }
.pricing h2 .tag-soon { font-size: 15px; padding: 7px 13px; position: relative; top: -.12em; }
.facts .tag-soon { margin-inline-start: 0; padding: 4px 9px; font-size: 12px; }
.faq summary .tag-soon { padding: 4px 9px; font-size: 12px; } /* aide (1.5.12) */
/* Sur-titre plus lumineux sur la nuit (conseil du juriste, 08/11/2026) : le « Bientôt » se voit mieux. */
.hero .eyebrow { color: #c4b4ff; text-wrap: balance; }
.badge { position: absolute; top: -12px; left: 28px; background: var(--violet); color: #fff; font: 600 12px/1 var(--f-body); padding: 7px 11px; border-radius: 999px; }
.plan .kicker { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.plan--cloud .kicker { color: var(--on-night-2); }
.plan h3 { font-size: 21px; line-height: 1.2; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price strong { font: 800 54px/1 var(--f-display); letter-spacing: -.04em; color: var(--violet); }
.plan--cloud .price strong { color: #fff; }
.price small { font-size: 13px; color: var(--ink-3); }
.plan--cloud .price small { color: var(--on-night-2); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.plan li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--violet); }
.plan--cloud li svg { color: var(--aura-3); }
.plan li.no { color: var(--ink-3); }
.plan li.no svg { color: var(--ink-3); }
.plan .btn { justify-content: center; }
.plan-web { margin: 18px 0 0; } .plan-web .btn { width: 100%; }
.plan--cloud .btn[aria-disabled="true"] { --bg: rgba(255,255,255,.1); --fg: var(--on-night); }
.notify { display: none; gap: 8px; }
.notify.on { display: grid; }
.notify input { border: 1px solid rgba(19,11,58,.16); border-radius: 999px; padding: 12px 16px; font: 400 15px var(--f-body); min-width: 0; }
.plan--cloud .notify input { background: transparent; color: #fff; border-color: var(--night-line); }
.notify p { font-size: 12.5px; color: var(--ink-3); }
.plan--cloud .notify p { color: var(--on-night-2); }
.fine { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 26px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); background: var(--white); border: 1px dashed rgba(106,53,242,.5); border-radius: 999px; padding: 8px 12px; }
.switch input { accent-color: var(--violet); width: 18px; height: 18px; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; } }

/* ---------- parcours d'achat ---------- */
.journey { padding-block: clamp(80px, 11vw, 140px); background: var(--white); }
.journey-head { text-align: center; display: grid; gap: 14px; justify-items: center; margin-bottom: 56px; }
.journey h2 { font-size: clamp(30px, 4.2vw, 56px); max-width: 18ch; }
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: j; }
.steps4::before { content: ""; position: absolute; top: 46px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--violet) 0 8px, transparent 8px 16px); background-size: 32px 2px; animation: dash 1.2s linear infinite; opacity: .5; }
.steps4 li { position: relative; display: grid; justify-items: center; text-align: center; gap: 10px; counter-increment: j; }
.steps4 .ico { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--lavender-2); display: grid; place-items: center; color: var(--violet); box-shadow: 0 20px 40px -24px rgba(106,53,242,.55); margin-bottom: 8px; }
.steps4 .ico::after { content: counter(j); position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 13px/28px var(--f-display); text-align: center; }
.steps4 .ico svg { width: 38px; height: 38px; }
.steps4 .ico--go { background: var(--violet); color: #fff; border-color: var(--violet); box-shadow: 0 20px 40px -18px rgba(106,53,242,.9); }
.steps4 b { font: 700 18px/1.2 var(--f-display); letter-spacing: -.01em; }
.steps4 li > span:last-child { color: var(--ink-2); font-size: 15px; }
.row-label { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font: 500 16px/1.3 var(--f-body); color: var(--ink-2); margin-bottom: 30px; letter-spacing: 0; text-transform: none; }
.row-label .tag-l { font: 700 14px/1 var(--f-display); color: #fff; background: var(--violet); padding: 9px 14px; border-radius: 999px; }
.row-label--cloud { margin-top: 72px; }
.row-label--cloud .tag-l { background: #0b7fa3; }
.steps4--cloud::before { background: repeating-linear-gradient(90deg, #22b8e0 0 8px, transparent 8px 16px); background-size: 32px 2px; }
.steps4--cloud .ico { color: #0b7fa3; border-color: #cdeef8; box-shadow: 0 20px 40px -24px rgba(34,184,224,.6); }
.steps4--cloud .ico--go { background: linear-gradient(135deg, #22b8e0, var(--violet)); color: #fff; border-color: transparent; }
.journey-notes { list-style: none; margin: 72px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.journey-notes li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-m); background: var(--lavender); color: var(--ink-2); font-size: 15px; }
.journey-notes b { color: var(--ink); }
.journey-notes svg { width: 24px; height: 24px; flex: none; color: var(--violet); margin-top: 1px; }
@media (max-width: 760px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .steps4::before { display: none; } .journey-notes { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 8. confiance ---------- */
.trust { padding-block: clamp(80px, 10vw, 130px); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.trust h2 { font-size: clamp(30px, 4vw, 52px); max-width: 20ch; margin-top: 14px; }
.t-item { padding: 26px; border-radius: var(--r-l); background: var(--lavender); display: grid; gap: 10px; align-content: start; }
.t-item svg { width: 30px; height: 30px; color: var(--violet); }
.t-item h3 { font-size: 18px; line-height: 1.25; }
.t-item p { color: var(--ink-2); font-size: 15px; }
.mail { font-weight: 600; color: var(--violet); user-select: all; }
.faq { margin-top: 56px; display: grid; gap: 10px; max-width: 820px; }
.faq details { border-bottom: 1px solid rgba(19,11,58,.1); padding-block: 16px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 22px/1 var(--f-display); color: var(--violet); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-2); max-width: 65ch; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 9. appel final ---------- */
.final { position: relative; overflow: hidden; padding-block: clamp(90px, 14vw, 170px); text-align: center; }
.final .halo { position: absolute; left: 50%; top: 50%; width: 760px; max-width: 120vw; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from var(--a), var(--aura-1), var(--aura-2), var(--aura-3), var(--aura-4), var(--aura-1)); filter: blur(120px); opacity: .32; animation: spin 14s linear infinite; }
.final .wrap { position: relative; display: grid; gap: 22px; justify-items: center; }
.final h2 { font-size: clamp(38px, 6vw, 84px); }
.final small { color: var(--on-night-2); font-size: 14px; }

/* ---------- pied de page ---------- */
.foot { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); padding-block: 40px 56px; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .credit { font-size: 12px; max-width: 560px; line-height: 1.5; }
.foot .credit a { text-decoration: underline; text-underline-offset: 2px; }
.foot .agence a { text-decoration: underline; text-underline-offset: 2px; }
/* Instagram, TikTok, YouTube (SEO, 11/11/2026) : dessins du thème, rien n'est chargé depuis les réseaux. */
.foot-reseaux { display: inline-flex; align-items: center; gap: 14px; }
.foot-reseaux a { display: inline-flex; width: 22px; height: 22px; color: var(--on-night-2); }
.foot-reseaux a:hover, .foot-reseaux a:focus-visible { color: #fff; }
.foot-reseaux svg { width: 100%; height: 100%; display: block; }

/* ---------- curseur étoile + repère prototype ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 18px; height: 18px; color: var(--violet); pointer-events: none; z-index: 90; opacity: 0; transition: opacity .3s, width .25s, height .25s; mix-blend-mode: normal; }
.cursor.on { opacity: .9; }
.cursor.big { width: 30px; height: 30px; }
.proto { position: fixed; left: max(12px, env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 80; background: var(--ink); color: #fff; font: 600 11.5px/1 var(--f-body); letter-spacing: .04em; padding: 9px 12px; border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }

.pre { transform: translateY(34px); }
.reveal { transition: transform 1s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .pre { transform: none; }
}

/* ---------- WordPress : sélecteur de langue en liens (Polylang) ---------- */
.lang-menu li { display: block; padding: 0; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--ink); text-decoration: none; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: #f8f6ff; }
.lang-menu a[aria-current="true"] { background: var(--lavender); color: var(--violet); font-weight: 600; }
.lang-menu a .check { margin-inline-start: auto; width: 16px; height: 16px; color: var(--violet); visibility: hidden; }
.lang-menu a[aria-current="true"] .check { visibility: visible; }
.final .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ---------- Arabe : écriture de droite à gauche ---------- */
.hello span.hello-ar { font-family: "Aref Ruqaa", "Segoe UI", serif; clip-path: inset(0 0 0 100%); }
html[lang="ar"] body { font-family: "Readex Pro", var(--f-body); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .price strong, html[lang="ar"] .steps4 b { font-family: "Readex Pro", var(--f-display); letter-spacing: 0; }
html[lang="ar"] .eyebrow, html[lang="ar"] .scroll-hint { letter-spacing: 0; }
html[dir="rtl"] .lang-menu { transform-origin: top left; }
html[dir="rtl"] .flow i { transform: scaleX(-1); }
html[dir="rtl"] .steps4::before { transform: scaleX(-1); }
html[dir="rtl"] .faq summary::after { margin-inline-start: auto; }
html[dir="rtl"] .cursor { display: none; }

/* ---------- Photo de référence : avant / après ---------- */
.ref { padding-block: clamp(64px, 10vw, 130px); background: linear-gradient(180deg, var(--white) 0%, var(--lavender) 100%); }
.ref-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.ref-head h2 { font-size: clamp(30px, 4.2vw, 54px); margin-block: 14px 16px; }
.ref-head .lead { margin-inline: auto; }
.ref-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 3vw, 36px); max-width: 980px; margin-inline: auto; }
.ref-card { margin: 0; position: relative; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: 0 30px 70px -40px rgba(19,11,58,.45); }
.ref-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.ref-card--after { box-shadow: 0 40px 90px -36px rgba(106,53,242,.65); }
.ref-card figcaption { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 13px; font-weight: 500; backdrop-filter: blur(6px); }
.ref-card .tag { position: static; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ref-card--after .tag { background: var(--violet); }
.ref-arrow { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: #fff; box-shadow: 0 12px 30px -10px rgba(106,53,242,.8); }
.ref-arrow svg { width: 22px; height: 22px; }
@media (max-width: 700px) { .ref-pair { grid-template-columns: minmax(0, 1fr); justify-items: center; } .ref-card { width: min(100%, 420px); } .ref-arrow { transform: rotate(90deg); } }
.ref-tabs { justify-content: center; margin-top: 22px; }
.ref-card img { transition: opacity .22s ease, transform .4s cubic-bezier(.2,.8,.2,1); }
.ref-pair.switch .ref-card img { opacity: 0; transform: scale(.98); }
.ref-card figcaption { white-space: nowrap; width: max-content; max-width: calc(100% - 28px); }
[dir="rtl"] .ref-card figcaption { left: auto; right: 14px; padding: 7px 7px 7px 12px; }
/* Galerie : deux colonnes sur téléphone, sinon une seule image très haute à la fois */
@media (max-width: 600px) { .masonry { columns: 2; column-gap: 10px; } .tile { margin-bottom: 10px; border-radius: var(--r-s); } .tile figcaption { left: 8px; right: 8px; bottom: 8px; font-size: 11.5px; } }
/* Prix : le montant ne se coupe jamais (« 0,10 € » restait sur deux lignes vers 1000 px) */
.price strong { white-space: nowrap; }
.price { flex-wrap: wrap; }
.plan--cloud .price strong { font-size: clamp(40px, 4.4vw, 54px); }
.fine--compat { margin-top: 18px; color: var(--ink-2); }
.fine--compat a { color: var(--violet); font-weight: 600; }
