/* Direction artistique « coucher de soleil sur la côte » : palette relevée par Codex sur les affiches
   officielles de GTA VI (violet nuit, rose, corail, pêche, turquoise), sans reprendre logo ni lettrage. */
:root {
  --bg: #170f22;
  --bg-2: #211831;
  --card: #261b38;
  --card-2: #2f2244;
  --line: #45325c;
  --text: #fff3dd;
  --muted: #c4b3c9;
  --faint: #8d7b97;
  --rose: #e98cb5;
  --coral: #f49b82;
  --peach: #f7c69b;
  --teal: #66bdb7;
  --plum: #56345e;
  --accent: #f49b82;
  --accent-ink: #211831;
  --sunset: linear-gradient(100deg, #e98cb5 0%, #f49b82 52%, #f7c69b 100%);
  --pink: #e98cb5;
  --green: #66bdb7;
  --red: #ff6b7a;
  --blue: #8fb8ff;
  --radius: 16px;
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 25px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--sunset); display: grid; place-items: center; color: var(--accent-ink); font-size: 14px; transform: rotate(-6deg); box-shadow: 0 6px 18px rgba(233, 140, 181, .35); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--card-2); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .12s ease-out, background .12s ease-out, border-color .12s; white-space: nowrap; }
.btn:hover { border-color: #3a3a48; background: #242430; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--sunset); border-color: transparent; color: var(--accent-ink); box-shadow: 0 8px 24px rgba(244, 155, 130, .28); }
.btn.primary:hover { filter: brightness(1.06); background: var(--sunset); }
.btn.ghost { background: transparent; }
.btn.danger:hover { border-color: var(--red); color: var(--red); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Page d'accueil ---------- */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(10, 10, 13, .72); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-links { display: flex; gap: 22px; color: var(--muted); font-weight: 600; font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

.hero { padding: 96px 0 84px; position: relative; overflow: hidden; min-height: min(92vh, 860px); display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/img/hero.jpg") center 60% / cover no-repeat; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 15, 34, .94) 0%, rgba(23, 15, 34, .78) 42%, rgba(23, 15, 34, .2) 75%, rgba(23, 15, 34, .35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 28%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(23, 15, 34, .55) 0%, rgba(23, 15, 34, .92) 55%, var(--bg) 100%); }
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 243, 221, .18); background: rgba(33, 24, 49, .7); backdrop-filter: blur(8px); color: var(--text); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow b { color: var(--rose); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; line-height: .98; margin: 0; text-transform: uppercase; }
.hero h1 { font-size: clamp(50px, 7.4vw, 104px); margin: 22px 0 22px; text-shadow: 0 4px 30px rgba(23, 15, 34, .5); }
.hero h1 .hl { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.hero p.lead { font-size: 20px; color: #eadbe6; max-width: 560px; margin: 0 0 30px; font-weight: 500; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas .btn { padding: 14px 22px; font-size: 16px; }
.hero-meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-meta span::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 7px; }

/* Téléphone */
.phone { width: min(330px, 80vw); aspect-ratio: 9 / 19.5; margin: 0 auto; border-radius: 44px; padding: 12px; background: linear-gradient(160deg, #2b2b35, #0f0f14); box-shadow: 0 40px 120px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); position: relative; transform: rotate(3deg); }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; position: relative; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.mock { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr 2fr; }
.mock-cam { background: linear-gradient(135deg, #56345e, #2f2244); display: grid; place-items: center; font-size: 54px; }
.mock-game { background: url("/img/chaos.jpg") center / cover; position: relative; }
.mock-cap { position: absolute; left: 50%; top: 33.3%; transform: translate(-50%, -50%); font-family: var(--display); font-size: 21px; color: #fff; text-shadow: 0 0 6px #000, 2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000; white-space: nowrap; }
.mock-cap em { color: #ffe14d; font-style: normal; }
.mock-hook { position: absolute; left: 50%; top: 48%; transform: translateX(-50%); background: #fff; color: #111; font-family: var(--display); font-size: 13px; padding: 7px 10px; white-space: nowrap; }
.phone-tag { position: absolute; bottom: 22px; left: -26px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 13px; transform: rotate(-3deg); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.phone-tag b { color: var(--accent); }

section.block { padding: 96px 0; position: relative; }
.block h2 { font-size: clamp(40px, 5.4vw, 72px); margin-bottom: 16px; }
.block h2 .hl, .cta-band h2 .hl { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
section.block.photo { overflow: hidden; }
section.block.photo::before { content: ""; position: absolute; inset: 0; background: var(--photo) center / cover no-repeat; opacity: .9; }
section.block.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 15, 34, .95) 0%, rgba(23, 15, 34, .82) 48%, rgba(23, 15, 34, .35) 100%); }
section.block.photo > .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { section.block.photo::after { background: rgba(23, 15, 34, .86); } }
.streamers { display: flex; flex-wrap: wrap; gap: 10px; }
.streamer { padding: 9px 15px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.streamer small { color: var(--muted); font-weight: 500; margin-left: 6px; }
.block p.sub { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 0 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step .num { font-family: var(--display); font-size: 18px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--sunset); color: var(--accent-ink); margin-bottom: 18px; }
.step h3 { font-size: 28px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: #d3d3dc; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 7px; background: var(--peach) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141400' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 1px; }
.layout-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ld { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.ld .frame { aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; margin-bottom: 10px; position: relative; display: grid; }
.ld .frame.cam { grid-template-rows: 1fr 2fr; }
.ld .frame.cam div:first-child { background: linear-gradient(135deg, #56345e, #2f2244); }
.ld .frame.cam div:last-child { background: url("/img/chaos.jpg") center / cover; }
.ld .frame.full { background: linear-gradient(180deg, #3a2550, #211831); place-items: center; }
.ld .frame.full div { width: 100%; aspect-ratio: 16 / 10; background: url("/img/plage.jpg") center / cover; }
.ld .frame .seam { position: absolute; left: 12%; right: 12%; top: calc(33.3% - 7px); height: 14px; background: #fff; border-radius: 3px; box-shadow: 0 0 0 3px #000; }
.ld .frame.full .seam { top: 78%; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-family: var(--display); font-size: 40px; line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: 14px; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 12px 0 0; }

.cta-band { text-align: center; padding: 90px 0; }
.cta-band h2 { font-size: clamp(34px, 5vw, 64px); margin-bottom: 26px; }
footer.foot { border-top: 1px solid rgba(255, 255, 255, .05); padding: 30px 0 40px; color: var(--faint); font-size: 13px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Studio ---------- */
.app-top { position: sticky; top: 0; z-index: 20; background: rgba(10, 10, 13, .86); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.app-top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.tabs { display: flex; gap: 4px; background: var(--bg-2); border: 1px solid var(--line); padding: 4px; border-radius: 999px; }
.tabs a { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); display: inline-flex; gap: 7px; align-items: center; }
.tabs a.on { background: var(--card-2); color: var(--text); }
.tabs .count { font-size: 11px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 1px 7px; }
.status-pill { margin-left: auto; display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); min-width: 0; }
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(102, 189, 183, .18); flex: none; }
.status-pill .dot.busy { background: var(--accent); box-shadow: 0 0 0 4px rgba(244, 155, 130, .18); animation: pulse 1.2s ease-in-out infinite; }
.status-pill .dot.off { background: var(--red); box-shadow: 0 0 0 4px rgba(255, 92, 92, .15); }
.status-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes pulse { 50% { opacity: .35; } }
@media (max-width: 900px) {
  .app-top .wrap { height: auto; padding: 10px 0; flex-wrap: wrap; }
  .status-pill { margin-left: 0; width: 100%; order: 3; }
  .tabs { order: 2; overflow-x: auto; max-width: 100%; }
}

main.app { padding: 28px 0 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 46px; }
.page-head p { color: var(--muted); margin: 6px 0 0; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: var(--bg-2); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; }
.chip.on { background: var(--text); color: #000; border-color: var(--text); }

.empty { border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); }
.empty h3 { color: var(--text); font-size: 22px; margin-bottom: 8px; }

.add-channel { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; margin-bottom: 22px; }
.add-channel input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 8px 10px; font-size: 16px; }
.add-channel.big { padding: 14px; }
.add-channel.big input { font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 7px; background: rgba(0, 0, 0, .72); }
.badge.tl { top: 8px; left: 8px; } .badge.tr { top: 8px; right: 8px; } .badge.bl { bottom: 8px; left: 8px; } .badge.br { bottom: 8px; right: 8px; }
.score { font-family: var(--display); }
.score.hi { background: var(--green); color: #032; } .score.mid { background: var(--accent); color: var(--accent-ink); } .score.lo { background: #3a3a46; color: #ddd; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 13px; }
.card-meta b { color: var(--text); }
.hook-line { font-family: var(--display); font-size: 15px; line-height: 1.2; text-transform: uppercase; }
.hook-line.none { color: var(--faint); font-family: var(--body); text-transform: none; font-size: 14px; }
.reason { color: var(--muted); font-size: 13px; }
.state { font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state.nouveau, .state.telecharge, .state.a_monter { color: var(--accent); }
.state.propose { color: var(--blue); } .state.monte { color: var(--green); } .state.ecarte { color: var(--faint); } .state.erreur { color: var(--red); }
.state.busy::before { animation: pulse 1s infinite; }
.err { color: #ffb3b3; font-size: 12.5px; background: rgba(255, 92, 92, .08); border: 1px solid rgba(255, 92, 92, .25); border-radius: 8px; padding: 8px 10px; word-break: break-word; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }

.renders { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.render { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.render video { width: 100%; aspect-ratio: 9 / 16; background: #000; object-fit: cover; }
.render .card-body { gap: 6px; }

.channels { display: grid; gap: 14px; }
.channel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
@media (max-width: 820px) { .channel { grid-template-columns: 1fr; } }
.channel h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.channel .muted { color: var(--muted); font-size: 13.5px; }
.channel-info { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 10px; border-radius: 7px; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--card-2); color: var(--text); }
.toggle { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #33333f; border: 0; cursor: pointer; flex: none; transition: background .15s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .15s ease-out; }
.toggle.on { background: var(--green); }
.toggle.on::after { transform: translateX(18px); }

.cam-editor { position: relative; border-radius: 10px; overflow: hidden; background: #000; user-select: none; touch-action: none; aspect-ratio: 16 / 9; }
.cam-editor img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cam-box { position: absolute; border: 2px solid var(--accent); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .55); cursor: move; }
.cam-box .h { position: absolute; width: 14px; height: 14px; background: var(--accent); border-radius: 3px; right: -8px; bottom: -8px; cursor: nwse-resize; }
.cam-box .lbl { position: absolute; top: -24px; left: -2px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; padding: 2px 6px; border-radius: 5px 5px 0 0; white-space: nowrap; }
.cam-none { aspect-ratio: 16 / 9; border-radius: 10px; border: 1px dashed var(--line); display: grid; place-items: center; color: var(--faint); font-size: 13px; text-align: center; padding: 10px; }

.settings { display: grid; gap: 12px; max-width: 760px; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.setting label { font-weight: 700; }
.setting small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; margin-top: 2px; }
.setting input[type=number], .setting select { width: 120px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }

.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); display: grid; place-items: center; z-index: 50; padding: 16px; animation: fade .15s ease-out; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--card); border: 1px solid var(--line); border-radius: 18px; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 20px; display: grid; gap: 14px; }
.modal h2 { font-size: 24px; }
.modal video { width: 100%; border-radius: 10px; background: #000; aspect-ratio: 16 / 9; }
.trim { display: grid; gap: 8px; }
.trim-bar { position: relative; height: 34px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; }
.trim-sel { position: absolute; top: 0; bottom: 0; background: rgba(244, 155, 130, .22); border-left: 3px solid var(--accent); border-right: 3px solid var(--accent); }
.trim input[type=range] { width: 100%; accent-color: var(--accent); }
.field { display: grid; gap: 6px; }
.field input { background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; font-family: var(--display); text-transform: uppercase; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--text); color: #000; padding: 11px 18px; border-radius: 999px; font-weight: 700; z-index: 60; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: fade .15s ease-out; max-width: calc(100% - 32px); }
.toast.bad { background: var(--red); color: #fff; }

/* Ajouts : streamers, jeux, découverte */
a.streamer { text-decoration: none; transition: border-color .15s, transform .12s ease-out; }
a.streamer:hover { border-color: var(--rose); transform: translateY(-1px); }
.game-tag { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.game-small { font-size: 11px; font-weight: 700; color: var(--teal); background: rgba(102, 189, 183, .12); border: 1px solid rgba(102, 189, 183, .3); padding: 1px 7px; border-radius: 999px; margin-left: 4px; white-space: nowrap; }
.settings-title { font-size: 30px; margin-top: 26px; }
.settings .muted { color: var(--muted); }
.settings a { color: var(--rose); }
.live-list { display: grid; gap: 8px; }
.live-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.live-title { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.muted { color: var(--muted); }
.hero-meta span::before { color: var(--teal); }
.cta-band h2 { margin-bottom: 30px; }

/* ---------- Page d'accueil SaaS ---------- */
.ticker { overflow: hidden; background: var(--sunset); color: var(--accent-ink); padding: 12px 0; position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; padding: 0 22px; white-space: nowrap; }
.ticker span::after { content: "✦"; margin-left: 44px; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }
.vs-col { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background: var(--card); }
.vs-col h3 { font-size: 30px; margin-bottom: 14px; }
.vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-col li { display: flex; gap: 10px; color: var(--muted); }
.vs-col.bad li::before { content: "✕"; color: var(--red); font-weight: 800; }
.vs-col.good { background: linear-gradient(160deg, rgba(233, 140, 181, .16), rgba(247, 198, 155, .08)); border-color: rgba(244, 155, 130, .5); }
.vs-col.good li { color: var(--text); }
.vs-col.good li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.vs-total { margin: 20px 0 0; font-family: var(--display); font-size: 26px; text-transform: uppercase; }
.vs-col.bad .vs-total { color: var(--red); }
.vs-col.good .vs-total { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: rgba(33, 24, 49, .82); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 6px; }
.feature b { font-family: var(--display); font-weight: 400; font-size: 21px; text-transform: uppercase; }
.feature span { color: var(--muted); font-size: 14.5px; }

.fine { color: var(--faint); font-size: 13px; margin-top: 18px; }
.fine.center { text-align: center; }
.money-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.money-k { display: block; font-family: var(--display); font-size: 26px; text-transform: uppercase; margin-bottom: 14px; }
.money-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.money-row b { color: var(--text); font-family: var(--display); font-weight: 400; font-size: 22px; white-space: nowrap; }
.money-row:last-of-type b { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }

.billing-toggle { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.billing-toggle button { border: 0; background: transparent; padding: 9px 18px; border-radius: 999px; font-weight: 700; color: var(--muted); cursor: pointer; }
.billing-toggle button.on { background: var(--card-2); color: var(--text); }
.billing-toggle em { font-style: normal; color: var(--teal); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
@media (max-width: 1050px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan h3 { font-size: 30px; }
.plan-for { color: var(--muted); margin: 0; font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.price b { font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; }
.price span { color: var(--muted); }
.price-note { color: var(--teal); font-size: 13px; font-weight: 700; margin: 0 0 6px; min-height: 18px; }
.plan .btn { width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 9px; font-size: 14.5px; color: #e6d6e3; }
.plan li { display: flex; gap: 9px; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.plan.popular { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--sunset) border-box; border: 2px solid transparent; transform: translateY(-8px); box-shadow: 0 30px 70px rgba(233, 140, 181, .18); }
@media (max-width: 1050px) { .plan.popular { transform: none; } }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sunset); color: var(--accent-ink); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.packs { margin-top: 22px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 12px; align-items: stretch; }
@media (max-width: 860px) { .packs { grid-template-columns: 1fr; } }
.packs-head h3 { font-size: 26px; }
.packs-head p { color: var(--muted); margin: 4px 0 0; font-size: 14px; }
.pack { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.pack b { font-size: 16px; }
.pack span { font-family: var(--display); font-size: 26px; grid-row: 1 / 3; grid-column: 2; }
.pack .btn { justify-self: start; }
.hero h1 { font-size: clamp(46px, 6vw, 86px); }
.plan li { display: block; position: relative; padding-left: 20px; }
.plan li::before { position: absolute; left: 0; top: 0; }

/* ---------- Marque NeonKlip ---------- */
.logo img { height: 34px; width: auto; display: block; }
.app-top .logo img { height: 30px; }
@media (max-width: 560px) { .nav .logo img { height: 28px; } }

/* ---------- Page 404 : enseigne néon ---------- */
.page-404 { min-height: 100vh; display: flex; flex-direction: column; }
.lost { flex: 1; position: relative; display: grid; place-items: center; padding: 70px 16px 90px; overflow: hidden; text-align: center; }
.lost::before { content: ""; position: absolute; inset: 0; background: url("/img/chaos.jpg") center / cover no-repeat; opacity: .35; filter: saturate(1.2); }
.lost::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(23, 15, 34, .55) 0%, var(--bg) 75%); }
.lost-inner { position: relative; z-index: 1; max-width: 680px; display: grid; justify-items: center; gap: 6px; }
.lost-tag { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); font-size: 13px; margin: 0; }
.neon-404 { font-family: var(--display); font-size: clamp(130px, 26vw, 260px); line-height: .9; display: flex; gap: .04em; color: #ffe9f2;
  text-shadow: 0 0 6px #fff, 0 0 18px var(--rose), 0 0 42px var(--rose), 0 0 80px var(--coral); transform: skewX(-8deg); margin: 6px 0 10px; }
.neon-404 .flicker { animation: neon-flicker 3.2s linear infinite; }
@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: .25; text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .neon-404 .flicker { animation: none; } }
.lost h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 14px; }
.lost h1 .hl { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost-text { color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.lost .hero-ctas { justify-content: center; }
