/* Site Kiklip : sobre, éditorial, noir et blanc comme le logo, une seule touche de couleur (lavande grise, celle de l'app).
   Aucune ressource externe (polices hébergées ici) : rien n'est envoyé à des tiers. */
@font-face { font-family: "Montserrat"; font-weight: 800; font-display: swap; src: url(fonts/Montserrat-ExtraBold.ttf); }
/* polices des sous-titres de l'app (chargées seulement quand un style les affiche) */
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url(fonts/Montserrat-Bold.ttf); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(fonts/Poppins-Bold.ttf); }
@font-face { font-family: "Anton"; font-display: swap; src: url(fonts/Anton-Regular.ttf); }
@font-face { font-family: "Bebas Neue"; font-display: swap; src: url(fonts/BebasNeue-Regular.ttf); }
@font-face { font-family: "Bangers"; font-display: swap; src: url(fonts/Bangers-Regular.ttf); }
@font-face { font-family: "Luckiest Guy"; font-display: swap; src: url(fonts/LuckiestGuy-Regular.ttf); }
@font-face { font-family: "Permanent Marker"; font-display: swap; src: url(fonts/PermanentMarker-Regular.ttf); }

:root {
  --bg: #0b0b0b;
  --bg-2: #111111;
  --panel: #151515;
  --line: #222222;
  --line-2: #333333;
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --faint: #6f6f6f;
  --accent: #aba4de;
  --accent-soft: rgba(171, 164, 222, .14);
  --display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .3); }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 11, 11, .82); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 30px; height: 30px; }
.brand .k-t, .brand .k-b { transition: transform .35s var(--ease); }
.brand .k-t { transform: translate(2.2px, -1.25px); }
.brand .k-b { transform: translate(-2.2px, 1.25px); }
.brand:hover .k-t { transform: translate(5px, -2.9px); }
.brand:hover .k-b { transform: translate(-5px, 2.9px); }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; }
.top nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  text-decoration: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { background: #fff; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- accroche ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 40px; overflow-x: clip; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #f0525f; animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 8.4vw, 104px); margin-top: 22px; }
h1 .cut { position: relative; display: inline-block; }
h1 .cut::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: .09em; background: var(--bg);
  transform: rotate(-8deg) scaleX(0); transform-origin: left; animation: slice .7s .5s var(--ease) forwards; }
@keyframes slice { to { transform: rotate(-8deg) scaleX(1); } }
.lead { max-width: 58ch; margin: 26px 0 0; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); text-wrap: pretty; }
.lead b { color: var(--text); font-weight: 600; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.cta small { color: var(--faint); font-size: 13.5px; }

/* ---------- sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0 0; }
.kicker { color: var(--accent); }
h2 { font-size: clamp(32px, 4.6vw, 56px); margin-top: 14px; max-width: 18ch; }
.intro { max-width: 60ch; color: var(--muted); margin: 20px 0 0; font-size: 17.5px; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 44px; }
.feature { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature .tag { color: var(--faint); padding-top: 3px; }
.feature h3 { font: 600 17px/1.35 var(--body); letter-spacing: 0; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

.local { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.local ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.local li { display: flex; justify-content: space-between; gap: 18px; padding: 18px 20px; background: var(--bg-2); }
.local li span { color: var(--muted); }
.local li b { font-weight: 600; text-align: right; }
.local li b.yes { color: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; max-width: 1040px; }
.billing { display: inline-flex; gap: 4px; margin-top: 30px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.billing button { padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 14px var(--body); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.billing .mono { color: var(--accent); font-size: 12px; }
.billing button[aria-pressed="true"] .mono { color: inherit; }
.plan li b { color: var(--text); font-weight: 600; }
.plan { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.plan.best { border-color: var(--accent); }
.plan .badge { position: absolute; top: -11px; left: 28px; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 12px; font-weight: 700; }
.plan h3 { font: 600 16px/1 var(--body); letter-spacing: 0; color: var(--muted); }
.price { margin: 16px 0 4px; font: 800 44px/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.price small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.plan .was { margin: 6px 0 0; color: var(--faint); font-size: 13.5px; }
.plan .was s { color: var(--muted); }
.plan ul { margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--muted); font-size: 15px; }
.plan li::before { content: "—"; color: var(--faint); margin-right: 10px; }
.plan .btn { width: 100%; justify-content: center; }
.note { margin-top: 18px; color: var(--faint); font-size: 14px; }

.faq { margin-top: 40px; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--faint); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--muted); max-width: 70ch; }

.end { padding-bottom: clamp(72px, 10vw, 120px); text-align: left; }
.end h2 { max-width: 14ch; }

/* ---------- pied de page ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer p { flex-basis: 100%; margin: 6px 0 0; font-size: 13px; }

/* ---------- pages légales ---------- */
.doc { padding: 56px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin: 10px 0 8px; }
.doc h2 { font-size: 22px; margin: 44px 0 12px; max-width: none; letter-spacing: -.02em; }
.doc p, .doc li { color: #d0d0d0; overflow-wrap: anywhere; }  /* longues adresses : coupées plutôt que de déborder sur mobile */
.doc em { color: var(--muted); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .table { margin: 18px 0; overflow-x: auto; }  /* le tableau défile seul sur mobile, la page ne s'élargit pas */
.doc table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc blockquote { margin: 18px 0; padding: 12px 16px; border-left: 2px solid var(--accent); background: var(--accent-soft); color: var(--muted); }
.doc blockquote p { margin: 0; color: inherit; }
.doc code { font: 13.5px var(--mono); }
/* page bêta (téléchargement pour les testeurs) */
.beta h1 { font-size: clamp(38px, 6vw, 64px); }
.beta .lead { margin-top: 14px; }
.dl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 32px 0 8px; padding: 22px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.dl .btn { padding: 14px 22px; font-size: 15.5px; }
.howto { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.howto li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 14px; margin: 0; }
.howto li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2); font: 500 13px/1 var(--mono); color: var(--accent); }
mark.todo { background: rgba(240, 82, 95, .18); color: #ffb3ba; padding: 0 4px; border-radius: 3px; }
.back { color: var(--muted); text-decoration: none; }

/* ---------- maquettes : téléphone, stream, démos (mêmes réglages que l'app) ---------- */
.btn.big { padding: 14px 24px; font-size: 15.5px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.hero h1 { margin-top: 18px; }
.proof { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.proof dt { color: var(--faint); font: 12.5px var(--mono); }
.proof dd { margin: 4px 0 0; font: 800 30px/1 var(--display); letter-spacing: -.03em; }
.hero-visual { position: relative; display: grid; place-items: center; perspective: 1200px; padding: 20px 0; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(171, 164, 222, .28), transparent);
  filter: blur(20px); }
.hero-visual .phone { --pw: 290px; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .5s var(--ease); }
.float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(21, 21, 21, .88); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: bob 5s ease-in-out infinite; }
.float svg { width: 14px; height: 14px; fill: #ff8a3d; }
.float.f1 { top: 30%; left: -10%; }
.float.f2 { top: 56%; right: -10%; animation-delay: -1.6s; }
.float.f3 { bottom: 12%; left: -4%; animation-delay: -3.2s; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #7cf29c; box-shadow: 0 0 0 0 rgba(124, 242, 156, .6); animation: ping 1.8s infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(124, 242, 156, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 242, 156, 0); } }

.phone { --pw: 280px; position: relative; width: var(--pw); max-width: 100%; padding: 9px; border-radius: 40px; background: #161616;
  border: 1px solid #2c2c2c; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 2px #0b0b0b; }
.phone.small { --pw: 230px; }
.screen { position: relative; aspect-ratio: 9 / 16; border-radius: 31px; overflow: hidden; background: #000; container-type: inline-size; isolation: isolate; }
.screen::after { content: ""; position: absolute; top: 2.2%; left: 50%; width: 26%; height: 3.4%; translate: -50% 0; border-radius: 99px; background: #000; z-index: 9; }
.ph-bg { position: absolute; inset: -12%; filter: blur(14px) brightness(.55); opacity: 0; transition: opacity .8s var(--ease); }
.ph-bg svg, .ph-main svg, .stream-img > svg, .ph-cam svg, .ph-ov svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-main, .stream-img { position: absolute; transition: top .8s var(--ease), left .8s var(--ease), width .8s var(--ease), height .8s var(--ease); }
.ph-ov { position: absolute; left: 2.5%; top: 63%; width: 24%; height: 32%; border-radius: 6px; overflow: hidden; outline: 2px solid rgba(255, 255, 255, .85);
  transition: opacity .6s; }
.ph-cam { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 40%; overflow: hidden; transition: height .8s var(--ease); }
[data-layout="split"] > .ph-main { top: 40%; height: 60%; width: 189.6%; left: -44.8%; }
[data-layout="split"] .ph-ov { opacity: 0; }
[data-layout="center"] > .ph-main { top: 0; height: 100%; width: 316%; left: -108%; }
[data-layout="center"] > .ph-cam, [data-layout="blur"] > .ph-cam { height: 0; }
[data-layout="blur"] > .ph-main { top: 34.18%; height: 31.64%; width: 100%; left: 0; }
[data-layout="blur"] > .ph-bg { opacity: 1; }
.ph-hook { position: absolute; z-index: 3; top: 9%; left: 50%; translate: -50% 0; width: max-content; max-width: 85%; text-align: center;
  font: 800 calc(62 * 100cqw / 1080)/1.3 "Montserrat", sans-serif; color: #141414; transition: opacity .35s; }
.ph-hook span { background: #ffd23f; padding: .12em .45em; border-radius: calc(12 * 100cqw / 1080); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ph-subs { position: absolute; z-index: 3; left: 7%; right: 7%; top: var(--sub-top, 74%); translate: 0 -50%; text-align: center;
  font-family: var(--f); font-weight: var(--fw); font-size: calc(var(--fs) * 100cqw / 1080); line-height: 1.08; color: var(--c);
  -webkit-text-stroke: calc(var(--ol) * 2 * 100cqw / 1080) var(--olc); paint-order: stroke fill;
  text-shadow: calc(var(--sh) * 100cqw / 1080) calc(var(--sh) * 100cqw / 1080) 0 rgba(0, 0, 0, .6); transition: top .5s var(--ease); }
.ph-subs .w { display: inline-block; transition: transform .12s, color .12s; }
.ph-subs .w.on { color: var(--hl); transform: scale(1.08); }
.ph-ui { position: absolute; z-index: 4; right: 4%; bottom: 20%; display: grid; gap: 7cqw; justify-items: center; }
.ph-ui i { width: 8cqw; height: 8cqw; border-radius: 50%; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.ph-ui i:first-child { background: #ff4d6d; }
.ph-meta { position: absolute; z-index: 4; left: 5%; right: 22%; bottom: 5%; color: #fff; font: 600 4.6cqw/1.3 var(--body); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); }
.ph-meta small { display: block; font-weight: 400; opacity: .85; }
.ph-bar { position: absolute; z-index: 4; left: 0; bottom: 0; height: 3px; width: var(--p, 0%); background: #fff; transition: width .3s linear; }

/* démo : la vraie courbe d'un live */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; margin-top: 44px; padding: 24px; border: 1px solid var(--line);
  border-radius: 18px; background: var(--bg-2); align-items: center; }
.chart-head, .axis { display: flex; justify-content: space-between; color: var(--faint); }
.chart-head b { color: var(--text); font-weight: 600; }
.chart { position: relative; height: 260px; margin: 14px 0 10px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.marks { position: absolute; inset: 0; }
.mark { position: absolute; top: 0; bottom: 0; width: 26px; translate: -50% 0; padding: 0; border: 0; background: none; cursor: pointer;
  opacity: 0; transition: opacity .3s; }
.mark.seen { opacity: 1; }
.mark::before { content: ""; position: absolute; left: 50%; top: 24px; bottom: 0; border-left: 1px dashed rgba(171, 164, 222, .3); }
.mark span { position: absolute; left: 50%; top: var(--y, 0); translate: -50% 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--line-2); transition: transform .2s var(--ease), background .2s; }
.mark span svg { width: 12px; height: 12px; fill: #ff8a3d; }
.mark[data-f="3"] span { border-color: #ff8a3d; }
.mark:hover span, .mark[aria-pressed="true"] span { transform: scale(1.25); background: #ff8a3d; }
.mark:hover span svg, .mark[aria-pressed="true"] span svg { fill: #0b0b0b; }
.mark[aria-pressed="true"]::before { border-left: 2px solid #ff8a3d; }
.demo-side { display: grid; gap: 16px; justify-items: center; }
.clip-info { display: grid; gap: 4px; text-align: center; min-height: 92px; }
.clip-info b { font: 800 18px/1.2 var(--display); letter-spacing: -.02em; }
.flames { display: flex; justify-content: center; gap: 2px; }
.flames svg { width: 16px; height: 16px; fill: #ff8a3d; }
.flames svg.off { fill: #333; }

/* cadrage */
.reframe { display: grid; grid-template-columns: minmax(0, 1fr) auto 250px; gap: 28px; align-items: center; margin-top: 44px; }
.reframe .phone { --pw: 250px; }
.stream-box { display: grid; gap: 14px; }
.stream { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); }
.stream .stream-img { inset: 0; }
.crop-game { position: absolute; z-index: 2; top: 0; bottom: 0; border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55);
  transition: left .8s var(--ease), width .8s var(--ease), box-shadow .8s, border-color .8s; }
.stream[data-layout="split"] .crop-game { left: 23.6%; width: 52.7%; }
.stream[data-layout="center"] .crop-game { left: 34.2%; width: 31.6%; }
.stream[data-layout="blur"] .crop-game { left: 0; width: 100%; box-shadow: 0 0 0 999px rgba(0, 0, 0, 0); border-color: transparent; }
.crop-cam { position: absolute; z-index: 3; left: 2.5%; top: 63%; width: 24%; height: 32%; border: 2px dashed #7cf29c; border-radius: 6px; transition: opacity .5s; }
.crop-cam span { position: absolute; left: -2px; bottom: 100%; margin-bottom: 6px; padding: 2px 8px; border-radius: 4px; background: #7cf29c; color: #0b0b0b; font-weight: 700; font-size: 11px; white-space: nowrap; }
.stream:not([data-layout="split"]) .crop-cam { opacity: .3; }
.arrow { font: 400 34px/1 var(--mono); color: var(--faint); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); justify-self: start; }
.seg button { padding: 9px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 14px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

/* sous-titres */
.styles { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 44px; }
.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.presets button { display: grid; gap: 8px; justify-items: center; padding: 16px 8px 12px; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(160deg, #241b3d, #121019); color: var(--muted); font: 500 12.5px var(--body); cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease); }
.presets button:hover { border-color: var(--line-2); transform: translateY(-2px); }
.presets button[aria-pressed="true"] { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 1px var(--accent); }
.presets .sample { font-size: 22px; line-height: 1; letter-spacing: .01em; paint-order: stroke fill; white-space: nowrap; }

/* montage */
.cut-demo { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.profile-desc { margin: 16px 0 0; color: var(--muted); min-height: 1.6em; }
.track-box { margin-top: 30px; }
.track { position: relative; height: 150px; }
.bars { position: absolute; left: 0; right: 0; top: 46px; height: 70px; display: flex; align-items: center; gap: 2px; }
.bars i { flex: 1; height: var(--h); border-radius: 2px; background: #3a3a3a; transition: background .4s, opacity .4s; }
.bars i.in { background: #d8d8d8; }
.bars i.cut { opacity: .18; }
.win { position: absolute; top: 34px; height: 94px; border: 2px solid var(--accent); border-radius: 10px; background: var(--accent-soft);
  transition: left .7s var(--ease), width .7s var(--ease); }
.cutz { position: absolute; top: 40px; height: 82px; border-radius: 4px; background: repeating-linear-gradient(135deg, rgba(240, 82, 95, .35) 0 4px, transparent 4px 8px);
  border: 1px solid rgba(240, 82, 95, .5); animation: fade .5s both; }
.tick { position: absolute; translate: -50% 0; display: grid; justify-items: center; gap: 3px; font: 600 11px var(--mono); white-space: nowrap; animation: fade .5s both; }
.tick.zoom { top: 0; color: var(--accent); }
.tick.zoom::after { content: ""; width: 0; height: 22px; border-left: 2px solid var(--accent); }
.tick.sfx { bottom: 0; color: #ffd23f; }
.tick.sfx::before { content: ""; width: 0; height: 14px; border-left: 2px dotted #ffd23f; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }
.track-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; color: var(--faint); }
.track-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.lg-win { border: 2px solid var(--accent); }
.lg-cut { background: repeating-linear-gradient(135deg, rgba(240, 82, 95, .6) 0 3px, transparent 3px 6px); }
.lg-zoom { background: var(--accent); }
.lg-sfx { background: #ffd23f; }
.cut-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 24px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.cut-facts div { padding: 14px 16px; background: var(--bg); }
.cut-facts dt { color: var(--faint); font: 12px var(--mono); }
.cut-facts dd { margin: 4px 0 0; font-weight: 600; }

/* ---------- apparition au défilement (légère) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- petits écrans ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { padding: 30px 0 10px; width: min(100%, 460px); justify-self: center; }
  .reframe { grid-template-columns: 1fr; justify-items: center; }
  .reframe .stream-box { width: 100%; }
  .arrow { rotate: 90deg; }
  .cut-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .top nav a:not(.btn) { display: none; }
  .local, .demo, .styles { grid-template-columns: 1fr; }
  .styles { justify-items: center; }
  .styles .presets { width: 100%; }
  .features, .plans { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 6px; }
  .chart { height: 200px; }
  .mark { width: 18px; }
  .mark span { width: 16px; height: 16px; }
  .mark span svg { width: 9px; height: 9px; }
}
@media (max-width: 520px) {
  .hero-visual .phone { --pw: 240px; }
  .float { font-size: 11.5px; padding: 6px 10px; }
  .float.f1 { left: 0; } .float.f2 { right: 0; } .float.f3 { left: 2%; }
  .demo, .cut-demo { padding: 16px; }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .presets .sample { font-size: 18px; }
  .seg button { padding: 8px 12px; font-size: 13px; }
}
