@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/fonts/poppins-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(/fonts/poppins-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #07060f; --card: #110f1f; --line: #25223d; --text: #f2f0ff; --mute: #a39fc4;
  --brand: #7c5cff; --brand-hi: #c9a5ff; --danger: #ff8a7a; --r: 16px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: radial-gradient(120% 60% at 50% -10%, #231a52 0%, var(--bg) 60%) fixed var(--bg); color: var(--text); min-height: 100dvh; line-height: 1.45; }
[hidden] { display: none !important; }
#app { max-width: 1080px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; position: sticky; top: 0; z-index: 5; padding: 10px 0; background: linear-gradient(#07060fee 70%, #07060f00); }
.view:not(.landing) { max-width: 520px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); position: relative; }
.mark::after { content: ""; position: absolute; left: 10px; top: 7px; border: 6px solid transparent; border-left: 9px solid #fff; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; font-size: 11px; color: var(--mute); }
.steps li { padding: 4px 8px; border-radius: 99px; border: 1px solid var(--line); }
.steps li.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.steps li.done { color: var(--brand-hi); border-color: #3b3470; }
@media (max-width: 380px) { .steps li:not(.on) { display: none; } }

h1 { font-size: clamp(38px, 12vw, 54px); line-height: 1.02; letter-spacing: -.04em; font-weight: 800; }
h1 em { font-style: normal; color: var(--brand-hi); }
h2 { font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
h3 { font-size: 15px; margin: 24px 0 10px; color: var(--mute); font-weight: 600; }
.lead { color: var(--mute); margin: 14px 0 24px; font-size: 16px; }
label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 6px; }
input { width: 100%; font: inherit; font-size: 17px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--text); }
input::placeholder { color: #6c6890; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
.btn { display: block; width: 100%; margin-top: 12px; padding: 16px; min-height: 54px; border: 0; border-radius: var(--r); background: var(--brand); color: #fff; font: inherit; font-weight: 700; font-size: 17px; text-align: center; text-decoration: none; cursor: pointer; transition: transform .1s, background .15s; }
.btn:hover { background: #8f73ff; } .btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.link { display: block; margin: 14px auto 0; padding: 10px; background: none; border: 0; color: var(--mute); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #3a1512; color: var(--danger); font-size: 14px; }
.meta { font-size: 12px; color: var(--mute); margin: 10px 0 16px; }

.scan { display: grid; place-items: center; height: 180px; }
.ring { width: 84px; height: 84px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--brand-hi); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#s-inspect { text-align: center; }

.site { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); overflow: hidden; }
.site img { display: block; width: 100%; aspect-ratio: 1.91; object-fit: cover; background: #16132a; }
.site-body { padding: 14px 16px 16px; }
.host { font-size: 12px; color: var(--brand-hi); margin-bottom: 4px; }
.site-body p:last-child { color: var(--mute); font-size: 14px; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.types { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.type { position: relative; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; padding: 38px 14px 16px; min-height: 104px; border-radius: var(--r); border: 2px solid var(--line); background: var(--card); color: var(--text); font: inherit; cursor: pointer; }
.type b { display: block; font-size: 18px; margin-bottom: 4px; }
.type span { font-size: 13px; color: var(--mute); }
.type[aria-checked="true"] { border-color: var(--brand-hi); background: #1b1638; }
.badge { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 99px; background: var(--brand); color: #fff; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand p { font-size: 14px; color: var(--mute); margin-top: 2px; }
.brand > div { flex: 1; min-width: 0; }
.sw { width: 18px; height: 40px; border-radius: 6px; flex: none; border: 1px solid #ffffff22; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 16px; }
.seg button { padding: 10px 4px; min-height: 44px; border: 0; border-radius: 10px; background: none; color: var(--mute); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--brand); color: #fff; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-bottom: 12px; }
.opts select, .music select { width: 100%; min-height: 50px; padding: 0 12px; font: inherit; font-size: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #2a2152; color: #e6dcff; font-size: 14px; border: 1px solid #4a3d8f; }
.navbtn { background: none; border: 1px solid var(--line); color: var(--text); font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 99px; cursor: pointer; }
/* Avatar circulaire dans la nav (utilisateur connecté) */
.navbtn.nav-avatar { width: 36px; height: 36px; padding: 0; border: none; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.navbtn.nav-avatar::before { content: attr(data-avatar); }
dialog#account { width: min(420px, 94vw); border: 1px solid var(--line); border-radius: 22px; background: #0d0b1a; color: var(--text); padding: 18px; }
dialog#account::backdrop { background: #000b; }
#account label { margin-top: 10px; } #account input { font-size: 16px; padding: 13px; }
.hint { font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 4px; }
.photos button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; aspect-ratio: 1; opacity: .5; }
.photos button[aria-pressed="true"] { border-color: var(--brand-hi); opacity: 1; }
.photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos b { position: absolute; top: 4px; left: 4px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.chips button[aria-checked="true"] { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.chips button.off { opacity: .45; text-decoration: line-through; }
.vprice { font-size: 14px; color: var(--brand-hi); margin-top: 10px; font-weight: 600; }
.music { margin-bottom: 16px; }
.music .row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.music select { width: 100%; min-height: 50px; padding: 0 12px; font: inherit; font-size: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--text); }
.music .btn { margin: 0; width: auto; min-height: 50px; padding: 0 18px; font-size: 15px; }
.ad { border: 1px solid var(--line); background: var(--card); border-radius: var(--r); padding: 14px; margin-bottom: 14px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.thumbs img, .thumbs i { width: 100%; aspect-ratio: 9/14; object-fit: cover; border-radius: 8px; background: linear-gradient(160deg, #2a2360, #110f1f); display: block; }
.angle { font-size: 12px; font-weight: 700; color: var(--brand-hi); text-transform: uppercase; letter-spacing: .06em; }
.scenes { margin: 8px 0 10px; padding-left: 20px; font-size: 15px; }
.scenes li { margin: 5px 0; }
.scenes li::marker { color: var(--mute); font-size: 12px; }
.scenes small { display: block; color: var(--mute); font-size: 13px; }
.cta { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); }

#studio { position: fixed; inset: 0; z-index: 10; background: #05040b; display: flex; flex-direction: column; }
.stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: max(12px, env(safe-area-inset-top)) 12px 0; }
.stage canvas, .stage video { max-width: 100%; max-height: 100%; border-radius: 14px; background: #000; box-shadow: 0 10px 50px #000; }
.panel { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); max-width: 520px; width: 100%; margin: 0 auto; }
#st-status { font-size: 14px; color: var(--mute); text-align: center; min-height: 20px; }
.bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--brand-hi); transition: width .2s; }
.actions { display: grid; grid-template-columns: 1fr; gap: 0 10px; }
.actions:has(#b-share:not([hidden])) { grid-template-columns: 1fr 1fr; }
@media (prefers-reduced-motion: reduce) { .ring { animation-duration: 3s; } .btn { transition: none; } }

/* ---------- page d'accueil ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav a { color: var(--mute); text-decoration: none; }
.nav a:hover { color: var(--text); }
.nav .pillbtn { color: #fff; background: var(--brand); padding: 9px 16px; border-radius: 99px; font-weight: 700; }
@media (max-width: 640px) { .nav a:not(.pillbtn) { display: none; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-hi); margin-bottom: 12px; }
.hero { display: grid; gap: 36px; align-items: center; padding: 12px 0 28px; }
.hero h1 { font-size: clamp(40px, 11vw, 76px); }
.hero .lead { font-size: clamp(16px, 2.2vw, 19px); max-width: 34em; }
.field { display: grid; gap: 10px; }
.field .btn { margin: 0; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin-top: 16px; font-size: 13px; color: var(--mute); }
.trust li::before { content: "✓ "; color: var(--brand-hi); font-weight: 700; }
.hero-art { position: relative; height: 380px; max-width: 420px; width: 100%; margin: 0 auto; }
.hero-art::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(closest-side, #9a5cff55, transparent); filter: blur(30px); }
.mock { position: absolute; width: 46%; aspect-ratio: 9/16; border-radius: 22px; border: 1px solid #ffffff22; background: linear-gradient(170deg, #2a2360, #0b0920 70%); box-shadow: 0 30px 60px #000a; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; overflow: hidden; }
.mock.m1 { left: 4%; top: 6%; transform: rotate(-6deg); background: linear-gradient(170deg, #e9d9c2, #b98d62 62%, #2a1c12); }
.mock.m2 { right: 4%; top: 0; transform: rotate(5deg); }
.mock .bar { position: absolute; top: 10px; left: 12px; right: 12px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #fff 40%, #fff5 40%); }
.mock .chip { position: absolute; top: 22px; left: 12px; width: 18px; height: 18px; border-radius: 6px; background: #fff; }
.mock .prod { position: absolute; left: 22%; right: 22%; top: 24%; aspect-ratio: 1; border-radius: 28% 28% 14% 14%; background: linear-gradient(160deg, #7a4a2a, #3b2212); box-shadow: 0 26px 22px -14px #0009; }
.mock .screen { position: absolute; left: 20%; right: 20%; top: 14%; height: 52%; border-radius: 14px; border: 4px solid #0b0b0d; background: #141030; display: grid; gap: 6px; padding: 12px 8px; align-content: start; }
.mock .screen u { height: 8px; border-radius: 4px; background: #c9a5ff; }
.mock .screen u:nth-child(2) { width: 70%; background: #ffffff55; } .mock .screen u:nth-child(3) { width: 45%; background: #ffffff33; }
.mock b { align-self: flex-start; font-size: clamp(11px, 2.6vw, 15px); font-weight: 800; padding: 3px 8px; border-radius: 6px; background: var(--brand); color: #fff; }
.mock b.alt { background: #ffd166; color: #111; }
.mock small { font-size: 10px; color: #fffc; }
.block { padding: 56px 0 8px; }
.block > h2, .cta-end h2 { font-size: clamp(26px, 5.5vw, 42px); letter-spacing: -.03em; line-height: 1.08; margin-bottom: 24px; max-width: 18em; }
.how { list-style: none; padding: 0; display: grid; gap: 12px; }
.how li, .bento article, .plan, details { border: 1px solid var(--line); background: linear-gradient(180deg, #15122a, var(--card)); border-radius: 20px; padding: 20px; }
.how span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 14px; }
.how h3, .bento h3, .plan h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); font-weight: 700; }
.how p, .bento p, details p { color: var(--mute); font-size: 15px; }
.bento { display: grid; gap: 12px; }
.plans { display: grid; gap: 12px; align-items: start; }
.plan { position: relative; }
.plan.featured { border-color: var(--brand-hi); box-shadow: 0 0 0 1px var(--brand-hi), 0 20px 60px #7c5cff33; }
.plan .tag { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--mute); }
.plan.featured .tag { background: var(--brand); border-color: var(--brand); color: #fff; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 14px; }
.price small { font-size: 15px; font-weight: 500; color: var(--mute); }
.plan ul { list-style: none; padding: 0; margin-bottom: 8px; font-size: 15px; }
.plan li { padding: 5px 0 5px 24px; position: relative; color: #dcd8f5; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-hi); font-weight: 700; }
details { margin-bottom: 10px; padding: 0; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--brand-hi); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
summary::-webkit-details-marker { display: none; }
details p { padding: 0 20px 18px; }
.cta-end { margin: 56px 0 28px; padding: 40px 22px; border-radius: 28px; text-align: center; background: linear-gradient(115deg, #5b4bff, #b44dff 55%, #ff6b8b); }
.cta-end h2 { margin: 0 auto 20px; }
.cta-end .btn { display: inline-block; width: auto; padding: 16px 30px; background: #fff; color: #140f2e; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
footer .logo { font-size: 15px; }
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.15fr .85fr; padding: 36px 0 44px; }
  .field { grid-template-columns: 1fr auto; padding: 6px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); }
  .field input { border: 0; background: none; }
  .field .btn { width: auto; padding: 0 26px; }
  .hero-art { height: 480px; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .wide { grid-column: span 2; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  #faq { max-width: 760px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- ClipMotion : dégradé de marque ---------- */
:root { --grad: linear-gradient(100deg, #6a5cff 0%, #c44dff 52%, #ff6b8b 100%); }
.mark, .btn:not(.ghost), .nav .pillbtn, .steps li.on, .seg button[aria-checked="true"], .chips button[aria-checked="true"], .how span, .plan.featured .tag, .badge, .photos b { background: var(--grad); border-color: transparent; }
.btn:not(.ghost):hover { background: var(--grad); filter: brightness(1.1); }
.cta-end .btn, .cta-end .btn:hover { background: #fff; color: #140f2e; filter: none; }
h1 em, .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow, .angle, .host, .vprice { color: #c9a5ff; }
.bar i { background: var(--grad); }
.ring { border-top-color: #c44dff; }
.type[aria-checked="true"], .photos button[aria-pressed="true"], .plan.featured { border-color: #a57bff; }
.plan.featured { box-shadow: 0 0 0 1px #a57bff, 0 20px 70px #7c5cff40; }
.mock.m1 { background: linear-gradient(170deg, #ffd9c2, #ff8f7a 55%, #3a1638); }
.mock.m2 { background: linear-gradient(170deg, #3a2f8f, #120d33 70%); }
.mock .prod { background: linear-gradient(160deg, #2b1d5c, #130b33); }
.mock .screen u { background: #c44dff; }
.mock b { background: #6a5cff; } .mock b.alt { background: #ff6b8b; color: #fff; }
body { background: radial-gradient(90% 50% at 15% -5%, #3a2a8f66 0%, transparent 60%), radial-gradient(70% 40% at 95% 0%, #a13dff3d 0%, transparent 60%) fixed, #07060f; background-attachment: fixed; }

/* ---------- assistant : carte de marque, intention, vue vidéo, éditeur ---------- */
.brandcard { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; padding: 28px 20px 22px; text-align: center; background: #0d0b1a; }
.brandcard .glow { position: absolute; inset: -40% -20% auto; height: 220px; filter: blur(50px); opacity: .55; background: var(--grad); }
.brandcard > :not(.glow) { position: relative; }
.brandlogo { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px #0008; overflow: hidden; }
.brandlogo.wide { width: 200px; height: 84px; }
.brandlogo.dark { background: #14121f; }
.brandlogo img { max-width: 78%; max-height: 70%; object-fit: contain; }
.brandlogo span { font-size: 38px; font-weight: 800; color: #140f2e; }
.brandcard p:last-of-type { color: var(--mute); font-size: 14px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.swatches { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.swatches i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #ffffff33; }
.intents { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intents button { text-align: left; padding: 14px; min-height: 84px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); color: var(--text); font: inherit; cursor: pointer; }
.intents b { display: block; font-size: 15px; margin-bottom: 3px; }
.intents span { font-size: 12.5px; color: var(--mute); }
.intents button[aria-checked="true"] { border-color: #a57bff; background: #1b1638; }
#s-video .stage { display: grid; place-items: center; padding: 0; }
#s-video .stage canvas, #s-video .stage video { max-width: 100%; max-height: 68dvh; border-radius: 18px; background: #000; box-shadow: 0 20px 70px #000a; }
#st-status { margin-top: 14px; }
#editor { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.edscene { border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 12px; margin-bottom: 10px; display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.edscene .thumb { width: 64px; aspect-ratio: 9/14; border-radius: 10px; object-fit: cover; background: linear-gradient(160deg, #2a2360, #110f1f); border: 0; padding: 0; overflow: hidden; cursor: pointer; position: relative; color: #fff; font: inherit; font-size: 10px; }
.edscene .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edscene .thumb[disabled] { cursor: default; }
.edscene .thumb em { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 0; background: #000a; font-style: normal; text-align: center; }
.edscene label { font-size: 11px; margin: 0 0 3px; text-transform: uppercase; letter-spacing: .06em; }
.edscene input, .edscene textarea { width: 100%; font: inherit; font-size: 15px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #0b0a16; color: var(--text); margin-bottom: 8px; resize: vertical; }
dialog#picker { width: min(560px, 94vw); max-height: 88dvh; border: 1px solid var(--line); border-radius: 22px; background: #0d0b1a; color: var(--text); padding: 16px; }
dialog#picker::backdrop { background: #000b; }
.pk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pk-head h3 { margin: 0; color: var(--text); font-size: 17px; } .pk-head .link { margin: 0; }
#picker .row { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 10px; }
#picker .row .btn { margin: 0; width: auto; padding: 0 18px; min-height: 50px; }
#picker input { font-size: 16px; padding: 12px; }
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pk-grid button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; background: #16132a; cursor: pointer; position: relative; }
.pk-grid button:hover, .pk-grid button:focus-visible { border-color: #a57bff; }
.pk-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pk-grid b { position: absolute; top: 5px; right: 5px; font-size: 10px; padding: 2px 6px; border-radius: 6px; background: #000a; color: #fff; }

/* ---------- landing v2 : icônes, schéma du workflow, exemples ---------- */
.ic { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: #c9a5ff; flex: none; }
.flow { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.flow li { position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, #15122a, var(--card)); border-radius: 18px; padding: 16px 16px 16px 62px; }
.flow .ic { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; padding: 6px; border-radius: 11px; background: #231a52; }
.flow h3 { margin: 0 0 3px; font-size: 16px; color: var(--text); font-weight: 700; }
.flow p { color: var(--mute); font-size: 14px; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 32px; bottom: -11px; width: 2px; height: 10px; background: var(--grad); }
.engines { display: grid; gap: 12px; margin-top: 14px; }
.engines article { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: linear-gradient(180deg, #15122a, var(--card)); }
.engines header { position: static; display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 0; background: none; }
.engines h3 { margin: 0; font-size: 18px; color: var(--text); font-weight: 700; }
.engines p { color: var(--mute); font-size: 15px; margin-bottom: 10px; }
.engines ol { list-style: none; padding: 0; counter-reset: s; font-size: 14.5px; }
.engines ol li { counter-increment: s; position: relative; padding: 7px 0 7px 34px; color: #dcd8f5; border-top: 1px solid #1d1a33; }
.engines ol li::before { content: counter(s); position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #231a52; color: #c9a5ff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.bento article .ic { margin-bottom: 12px; }
.demo { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid #ffffff22; background: #110f1f; box-shadow: 0 30px 60px #000a; aspect-ratio: 9/16; }
.demo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 14px; display: flex; flex-direction: column; align-items: center; gap: 5px; background: linear-gradient(transparent, #000c); }
.demo b { font-size: clamp(12px, 2.4vw, 17px); font-weight: 800; padding: 4px 10px; border-radius: 8px; background: #6a5cff; color: #fff; transform: rotate(-1deg); }
.demo b.alt { background: #ff6b8b; transform: rotate(1deg); }
.demo small { margin-top: 6px; font-size: 11px; color: #fffc; letter-spacing: .06em; text-transform: uppercase; }
.hero-art { height: auto; max-width: 460px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items: center; }
.hero-art::before { inset: 10% 0; }
.hero-art .d1 { transform: rotate(-4deg) translateY(10px); } .hero-art .d2 { transform: translateY(-12px); z-index: 1; } .hero-art .d3 { transform: rotate(4deg) translateY(10px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.center { text-align: center; margin-top: 12px; }
.posts { display: grid; gap: 12px; }
.posts a { display: block; border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: linear-gradient(180deg, #15122a, var(--card)); text-decoration: none; color: inherit; transition: border-color .15s; }
.posts a:hover { border-color: #a57bff; }
.posts h3 { margin: 0 0 6px; font-size: 17px; color: var(--text); font-weight: 700; }
.posts p { color: var(--mute); font-size: 14.5px; }
.posts a::after { content: "Read the guide →"; display: block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #c9a5ff; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; } footer nav a { color: var(--mute); text-decoration: none; } footer nav a:hover { color: var(--text); }
@media (min-width: 760px) {
  .flow { grid-template-columns: repeat(6, 1fr); }
  .flow li { padding: 62px 14px 16px; }
  .flow li:not(:last-child)::after { left: auto; right: -11px; bottom: auto; top: 32px; width: 10px; height: 2px; }
  .engines { grid-template-columns: 1fr 1fr; }
  .gallery { gap: 18px; max-width: 760px; margin: 0 auto; }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .hero-art { max-width: 520px; }
}

/* ---------- articles ---------- */
.post { max-width: 720px; margin: 0 auto; }
.post h1, .h-blog { font-size: clamp(32px, 7vw, 52px); margin-bottom: 6px; }
.post h2 { font-size: clamp(22px, 4vw, 28px); margin: 38px 0 12px; }
.post h3 { font-size: 18px; margin: 24px 0 8px; color: var(--text); font-weight: 700; }
.post p, .post li { font-size: 17px; line-height: 1.65; color: #d6d2ee; }
.post p { margin-bottom: 16px; }
.post ul, .post ol { padding-left: 22px; margin-bottom: 18px; }
.post li { margin-bottom: 8px; }
.post a { color: #c9a5ff; }
.post .eyebrow a { color: inherit; text-decoration: none; }
.post .cta-end p { color: #fffd; margin: 0 auto 18px; max-width: 30em; }
.post .cta-end .btn { color: #140f2e; }

.engines header { justify-content: flex-start; }
.hero-art .demo b { white-space: nowrap; font-size: clamp(9px, 1.25vw, 13px); padding: 3px 7px; }
.hero-art .demo figcaption { padding: 24px 6px 10px; gap: 4px; }
@media (max-width: 759px) { .hero-art .demo b { font-size: clamp(9px, 2.6vw, 13px); } }

/* ---------- page d'édition ---------- */
.link.back { margin: 0 0 14px; padding-left: 0; text-decoration: none; }
.edbar { position: sticky; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(#07060f00, #07060f 35%); }
.edbar .btn { margin: 0; }
#b-edit { margin-top: 10px; }

/* ---------- landing : mobile d'abord ---------- */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  header { margin-bottom: 14px; }
  .hero { gap: 22px; padding: 4px 0 8px; }
  .hero h1 { font-size: clamp(38px, 11.5vw, 52px); }
  .hero .lead { font-size: 16px; margin: 12px 0 18px; }
  .trust { gap: 4px 14px; margin-top: 12px; }
  .hero-art { max-width: 340px; gap: 8px; }
  .block { padding: 40px 0 4px; }
  .block > h2 { font-size: 26px; margin-bottom: 16px; }
  /* rangées à faire défiler au doigt, au lieu de longues piles de cartes */
  .flow, .gallery, .plans, .posts { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .flow::-webkit-scrollbar, .gallery::-webkit-scrollbar, .plans::-webkit-scrollbar, .posts::-webkit-scrollbar { display: none; }
  .flow > *, .gallery > *, .plans > *, .posts > * { flex: 0 0 78%; scroll-snap-align: center; }
  .flow > * { flex-basis: 62%; padding: 62px 14px 16px; }
  .flow li:not(:last-child)::after { left: auto; right: -11px; bottom: auto; top: 32px; width: 10px; height: 2px; }
  .gallery > * { flex-basis: 58%; }
  .plans > * { flex-basis: 84%; }
  .bento { grid-template-columns: 1fr 1fr; gap: 8px; }
  .bento article { padding: 14px; }
  .bento .wide { grid-column: span 2; }
  .bento h3 { font-size: 15px; } .bento p { font-size: 13.5px; }
  .engines article { padding: 16px; }
  summary { padding: 16px; min-height: 52px; align-items: center; }
  .cta-end { margin: 40px 0 20px; padding: 30px 18px; }
  footer { padding-bottom: 84px; }
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 6; padding: 15px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; box-shadow: 0 12px 40px #000c; }
  .nav { gap: 8px; } .navbtn { padding: 8px 12px; }
}

/* ---------- étape « Style » : tout en boutons de sélection ---------- */
#s-opts h3 { margin: 20px 0 8px; }
#s-opts .seg { margin-bottom: 0; }
.seg.two { grid-template-columns: 1fr 1fr; } .seg.four { grid-template-columns: repeat(4, 1fr); } .seg.five { grid-template-columns: repeat(5, 1fr); }
.seg.intents { gap: 4px; }
.seg.intents button { text-align: center; min-height: 48px; padding: 10px 4px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 600; color: var(--mute); }
.seg.intents button[aria-checked="true"] { background: var(--grad); color: #fff; }
#s-opts #b-gen { margin-top: 26px; }
.site img { aspect-ratio: 1; object-fit: contain; background: #fff; max-height: 46dvh; }

/* ---------- mobile d'abord, deuxième passe ---------- */
.engtabs { display: none; }
@media (max-width: 759px) {
  #app { padding-left: 16px; padding-right: 16px; }
  header { margin: 0 -16px 12px; padding: 10px 16px; background: #07060fe6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff10; }
  .logo { font-size: 17px; }
  .nav .pillbtn { padding: 10px 14px; } .navbtn { min-height: 40px; }
  .hero h1 { font-size: clamp(40px, 12.5vw, 56px); }
  .field input, .field .btn { min-height: 56px; font-size: 17px; }
  .hero-art { max-width: none; margin-top: 4px; }
  .eyebrow { margin-bottom: 8px; }
  /* moins de texte : l'essentiel d'abord */
  .flow p { display: none; } .flow > * { flex-basis: 44%; padding: 58px 12px 14px; } .flow h3 { font-size: 15px; }
  .engtabs { display: grid; margin: 14px 0 10px; }
  .engines { margin-top: 0; }
  .engines[data-show="0"] article:nth-child(2), .engines[data-show="1"] article:nth-child(1) { display: none; }
  .engines header { margin: 0 0 6px; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .engines ol li { padding: 9px 0 9px 34px; font-size: 15px; }
  .bento p { display: none; } .bento .wide p { display: block; }
  .bento article { display: flex; flex-direction: column; gap: 8px; min-height: 96px; }
  .bento article .ic { margin: 0; }
  .gallery > * { flex-basis: 66%; }
  .posts > * { flex-basis: 80%; }
  .price { font-size: 34px; }
  .sticky-cta { left: 16px; right: 16px; padding: 14px; }
  .sticky-cta[hidden] { display: none; }
}

/* ---------- profil, historique, passage à l'offre payante ---------- */
dialog#upgrade { width: min(420px, 94vw); border: 1px solid #a57bff; border-radius: 22px; background: #0d0b1a; color: var(--text); padding: 18px; box-shadow: 0 20px 80px #7c5cff55; }
dialog#upgrade::backdrop { background: #000c; }
.perks { list-style: none; padding: 0; margin: 12px 0; }
.perks li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; }
.perks li::before { content: "✓"; position: absolute; left: 0; color: #c9a5ff; font-weight: 700; }
.profile { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.profile b { display: block; font-size: 15px; word-break: break-all; } .profile span:not(.avatar) { font-size: 13px; color: #c9a5ff; }
#account h3 { margin: 18px 0 8px; }
.history { list-style: none; padding: 0; margin: 0 0 14px; max-height: 34dvh; overflow: auto; }
.history li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hist-ic { font-size: 22px; flex-shrink: 0; width: 40px; text-align: center; }
.history small { color: var(--mute); display: block; font-size: 12px; }
.history button { background: none; border: 0; color: #c9a5ff; font: inherit; font-size: 13px; cursor: pointer; padding: 6px 0; white-space: nowrap; }
.history .empty { color: var(--mute); justify-content: flex-start; }

/* ---------- avis clients ---------- */
.reviews { display: grid; gap: 12px; }
.review { margin: 0; border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: linear-gradient(180deg, #15122a, var(--card)); }
.stars { color: #ffc93c; font-size: 20px; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: #e4e0f7; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review img, .review .avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; font-size: 16px; }
.review b { display: block; font-size: 14px; } .review small { color: var(--mute); font-size: 12.5px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 759px) { .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; } .reviews > * { flex: 0 0 82%; scroll-snap-align: center; } }

/* ---------- fenêtres : toujours centrées, fond assombri à moitié ---------- */
dialog { margin: auto; inset: 0; max-height: 90dvh; overflow: auto; }
dialog::backdrop, dialog#picker::backdrop, dialog#account::backdrop, dialog#upgrade::backdrop { background: rgba(7, 6, 15, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
/* ---------- logo : « Clip » blanc, « Motion » en dégradé ---------- */
.wm { font-weight: 800; letter-spacing: -.03em; }
.wm b { font-weight: 800; background: linear-gradient(100deg, #c44dff, #ff6b8b); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* ---------- bloc de vente après l'export ---------- */
.upsell { margin-top: 12px; padding: 14px; border-radius: 18px; border: 1px solid #a57bff; background: linear-gradient(135deg, #2a1f66, #3a1640); box-shadow: 0 12px 50px #7c5cff33; text-align: center; }
.upsell b { display: block; font-size: 16px; margin-bottom: 10px; }
.upsell .row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.upsell .btn { margin: 0; min-height: 50px; padding: 12px 8px; font-size: 15px; }
.upsell small { display: block; margin-top: 8px; color: #cfc8f0; font-size: 12.5px; }

#upgrade label { margin-top: 6px; } #upgrade input { font-size: 16px; padding: 12px; text-transform: uppercase; }

/* ---------- bandeau d'annonce, écran vidéo, fenêtre de téléchargement ---------- */
.topbar { position: sticky; top: 0; z-index: 9; display: flex; align-items: center; gap: 10px; justify-content: center; padding: 9px 12px; background: var(--grad); color: #fff; font-size: 13.5px; font-weight: 600; }
.topbar #topbar-go { background: #fff; color: #140f2e; border: 0; border-radius: 99px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; flex: none; }
.topbar #topbar-x { background: none; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; flex: none; }
body.in-video header { position: static; margin-bottom: 12px; }
dialog#dlgate { width: min(440px, 94vw); border: 1px solid #a57bff; border-radius: 22px; background: #0d0b1a; color: var(--text); padding: 18px; box-shadow: 0 20px 80px #7c5cff55; }
.choice { position: relative; display: block; width: 100%; text-align: left; margin-top: 10px; padding: 14px 84px 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; cursor: pointer; text-decoration: none; }
.choice b { display: block; font-size: 16px; } .choice span { font-size: 13px; color: var(--mute); }
.choice i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; font-size: 15px; max-width: 76px; text-align: right; }
.choice.best { border-color: transparent; background: var(--grad); } .choice.best span { color: #ffffffd9; }
.choice.plain { background: none; } .choice.plain b { font-size: 14px; font-weight: 600; }

.seg button small{display:block;font-size:11px;font-weight:500;opacity:.65;margin-top:1px}
