/* ===== Rythmo Studio – thème sombre ===== */
:root {
  --bg: #0e171c;
  --bg-2: #0a0f12;
  --panel: #131d22;
  --panel-2: #1b2429;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.2);
  --text: #f6f6f6;
  --muted: #b8c1c6;
  --accent: #ff7629;
  --accent-2: #f67229;
  --danger: #dd3333;
  --ok: #16a34a;
  --radius: 10px;
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--font); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 28px; } h3 { font-size: 17px; }
p { margin: 0 0 .8em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 16px 0; }
kbd { font: 12px var(--mono); background: rgba(255,255,255,.1); border-radius: 3px; padding: 1px 6px; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.grow { flex: 1; } .sep { width: 1px; height: 22px; background: var(--border-strong); margin: 0 4px; }
.sr-only { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* ---- top bar ---- */
.topbar { height: 65px; display: flex; align-items: center; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--border); background: rgba(14,23,28,.88); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.brand { color: var(--text); font-weight: 700; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 26px; height: 26px; border-radius: 7px; display: block; }
.brand-word span { font-weight: 400; color: var(--muted); }
body.landing .brand-word span, body.app .brand-word span { color: #b8c1c6; }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar nav a { color: var(--text); }
.inline { display: inline; }
.main { max-width: 1100px; margin: 0 auto; padding: 32px 20px 60px; }
.main-wide { padding: 12px 16px 16px; }

/* ---- boutons & formulaires ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; height: 34px; border-radius: 5px; border: 0; background: rgba(255,255,255,.06); color: var(--muted); font: 600 14px var(--font); cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; }
.btn:hover { background: rgba(255,255,255,.1); color: var(--text); text-decoration: none; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: rgba(255,255,255,.06); }
.btn.danger { color: #fca5a5; }
.btn.danger:hover { background: rgba(221,51,51,.15); }
.btn.lg { height: 42px; padding: 0 14px; font-size: 18.5217px; }
.btn.small { height: 28px; padding: 0 8px; font-size: 13px; }
.btn.icon { width: 34px; padding: 0; height: 34px; font-size: 15px; }
.btn.rec { background: rgba(221,51,51,.15); color: #fca5a5; box-shadow: inset 0 0 0 1px rgba(221,51,51,.5); }
.btn.rec.on { background: var(--danger); color: #fff; animation: pulse 1s infinite; }
.btn[aria-pressed="true"] { background: rgba(255,118,41,.15); color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
@keyframes pulse { 50% { opacity: .65; } }
.form { display: flex; flex-direction: column; gap: 14px; }
.form.compact { gap: 10px; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
input, select, textarea { font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 5px; padding: 7px 10px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--accent); padding: 0; }
.check { flex-direction: row; align-items: center; gap: 7px; color: var(--text); white-space: nowrap; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.alert { background: rgba(221,51,51,.15); color: #fecaca; padding: 10px 14px; border-radius: 5px; }
.card { background: rgba(245,245,245,.05); border-radius: var(--radius); padding: 22px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { font: 12px var(--mono); background: rgba(255,255,255,.1); border-radius: 5px; padding: 4px 10px; }

/* ---- landing ---- */
.hero { text-align: center; padding: 30px 0 20px; }
.hero h1 { font-size: 44px; max-width: 800px; margin: 0 auto 16px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0 auto 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; }
.illu { background: var(--panel); border: 1px solid var(--border-strong); border-radius: 16px; padding: 14px; text-align: left; max-width: 980px; margin: 0 auto; overflow: hidden; }
.illu-ruler { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); padding: 4px 4px 8px; border-bottom: 1px solid var(--border); }
.illu-ruler .now { background: var(--accent); color: #fff; border-radius: 6px; padding: 0 8px; font-weight: 600; }
.illu-lanes { position: relative; }
.illu-lane { position: relative; height: 82px; border-bottom: 1px solid var(--border); }
.illu-lane:last-child { border-bottom: 0; }
.pill { position: absolute; top: 10px; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; border: 1px solid; }
.illu-text { position: absolute; top: 38px; font-size: 22px; white-space: nowrap; transform-origin: left center; }
.stretch { transform: scaleX(1.55); }
.pink { color: #f9a8d4; border-color: rgba(244,114,182,.6); background: rgba(244,114,182,.2); }
.blue { color: #93c5fd; border-color: rgba(96,165,250,.6); background: rgba(96,165,250,.2); }
.green { color: #86efac; border-color: rgba(74,222,128,.6); background: rgba(74,222,128,.2); }
.illu-text.pink, .illu-text.blue, .illu-text.green { background: none; border: 0; }
.illu-playhead { position: absolute; top: 0; bottom: 0; left: 49%; width: 2px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.features .card:first-child { grid-column: span 2; }
.features .card:last-child { grid-column: span 2; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } .features .card { grid-column: span 1 !important; } .hero h1 { font-size: 32px; } }

/* ---- auth ---- */
.auth { max-width: 420px; margin: 40px auto; background: rgba(245,245,245,.05); border-radius: 17px; padding: 32px; }
.auth .btn.lg { width: 100%; height: 50px; font-size: 18px; }
.auth input { padding: 10px 12px; }
.auth h1 { margin-bottom: 20px; }
.auth .form { margin-bottom: 16px; }
.auth label { color: var(--text); }

/* ---- projets ---- */
.projects-head { margin-bottom: 20px; }
.new-project { margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.new-project .row { align-items: flex-end; } .new-project label { color: var(--text); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.project-title { font-size: 18px; font-weight: 600; color: var(--text); display: block; margin-bottom: 4px; }
.project .row { margin-top: 10px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px; }

/* ===== Éditeur ===== */
.editor { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; height: calc(100vh - 56px - 24px); min-height: 640px; }
@media (max-width: 1100px) { .editor { grid-template-columns: 1fr; height: auto; } .panel { max-height: 600px; } }
.stage { display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 0; }
.stage-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.project-name { font-size: 18px; margin: 0; flex: 1; min-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-switch { display: flex; gap: 6px; align-items: center; }
.band-switch select { padding: 5px 10px; }
.view-switch, .panel-tabs { display: flex; gap: 2px; background: rgba(245,245,245,.05); border-radius: 5px; padding: 3px; }
.tab { border: 0; background: transparent; color: var(--muted); font: 600 14px var(--font); padding: 5px 12px; border-radius: 4px; cursor: pointer; }
.tab.active { background: rgba(255,255,255,.1); color: var(--text); }

.video-wrap { position: relative; flex: 1; min-height: 180px; background: #0a0f12; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.video-wrap video { width: 100%; height: 100%; object-fit: contain; display: block; }
.video-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: linear-gradient(#182126, #363f44); text-align: center; padding: 20px; }
.video-empty p { margin: 0; }
.rec-indicator { position: absolute; top: 12px; left: 12px; background: var(--danger); color: #fff; font: 600 12px var(--mono); padding: 3px 9px; border-radius: 5px; animation: pulse 1s infinite; }

.transport, .toolbar, .statusbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.transport { padding: 0 2px; }
.time { font: 600 15px var(--mono); color: var(--text); min-width: 88px; }
.band-wrap { background: #0a0f12; border-radius: var(--radius); overflow: hidden; }
.toolbar { padding: 8px 10px; border-bottom: 1px solid var(--border); background: rgba(245,245,245,.05); }
.toolbar .zoom { flex-direction: row; align-items: center; gap: 6px; }
.toolbar .zoom input { width: 110px; padding: 0; accent-color: var(--accent); }
.badge { font: 600 12px var(--mono); background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 25px; }
.band { display: block; width: 100%; height: 300px; cursor: default; touch-action: none; user-select: none; }
.band-scroll { overflow-x: auto; overflow-y: hidden; height: 12px; background: #0a0f12; border-top: 1px solid var(--border); }
.band-scroll > div { height: 1px; }
.band-scroll::-webkit-scrollbar { height: 10px; }
.band-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 6px; }
.dropdown { position: relative; }
.menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; background: #293136; border-radius: 5px; padding: 4px; display: flex; flex-direction: column; min-width: 190px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.menu button { text-align: left; background: transparent; border: 0; color: var(--text); font: inherit; padding: 7px 10px; border-radius: 6px; cursor: pointer; display: flex; gap: 10px; }
.menu button b { font-family: var(--mono); color: var(--accent); min-width: 44px; }
.menu button:hover { background: rgba(255,255,255,.06); }
.status { font-size: 13px; color: var(--ok); }
.status.dirty { color: #ff7629; } .status.error { color: #fca5a5; } .status.busy { color: var(--muted); }

/* ---- transcription IA ---- */
.ai-box { background: rgba(255,255,255,.06); border-radius: 8px; padding: 0; }
.ai-box summary { cursor: pointer; padding: 9px 12px; font-weight: 600; font-size: 13px; color: var(--accent); list-style: none; }
.ai-box summary::-webkit-details-marker { display: none; }
.ai-box .ai-body { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.ai-box .row label { flex: 1; min-width: 120px; }
.ai-box select, .ai-box input { padding: 6px 8px; font-size: 13px; }
.cue-empty .btn { margin-top: 10px; }

/* ---- panneau latéral ---- */
.panel { background: rgba(245,245,245,.05); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.panel-tabs { margin: 10px; }
.panel-body { flex: 1; overflow-y: auto; padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.panel-body h3 { margin-top: 6px; }
.field label { color: var(--muted); }
.cue-list, .take-list { display: flex; flex-direction: column; gap: 8px; }
.cue { background: rgba(245,245,245,.05); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; box-shadow: inset 3px 0 0 var(--cue-color, transparent); }
.cue.selected { background: rgba(251,169,123,.117); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 .5px var(--accent); }
.cue.active { background: rgba(255,255,255,.1); }
.cue-head { display: flex; gap: 6px; align-items: center; }
.cue-head .f-char { flex: 1; padding: 4px 8px; font-weight: 600; font-size: 13px; }
.cue .f-text { resize: vertical; min-height: 44px; font-size: 14px; padding: 6px 8px; }
.cue-times { display: flex; gap: 5px; align-items: center; font-size: 12px; color: var(--muted); }
.cue-times input { width: 92px; font: 12px var(--mono); padding: 3px 6px; text-align: center; }
.cue .btn.icon { width: 28px; height: 28px; font-size: 12px; }
.cue-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.take { background: rgba(245,245,245,.05); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.take-head { display: flex; gap: 8px; align-items: center; }
.take-head b { flex: 1; }
.take .meta { font: 12px var(--mono); color: var(--muted); }
.progress { height: 6px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden; }
.progress .bar { height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.compose-preview { width: 100%; border-radius: 5px; background: #000; max-height: 260px; object-fit: contain; }
#exp-result video { width: 100%; border-radius: 8px; margin-top: 8px; }
.shortcuts { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.user-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== Landing (structure et valeurs de la page de référence, Open Sans) ===== */
body.landing { background: #0e171c; color: #fff; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: normal; min-height: 100vh; }
body.landing .topbar { height: 65px; background: #0e171c; border-bottom: 0; padding: 0 24px; backdrop-filter: none; }
body.landing .topbar .brand { font-size: 15px; font-weight: 600; gap: 8px; }
body.landing .topbar .icon-btn { width: 34px; padding: 0; }
body.landing .topbar nav { gap: 8px; }
body.landing .topbar .nav-link { font-size: 14px; color: #b8c1c6; margin-right: 20px; }
body.landing .topbar .nav-link:hover { color: #fff; text-decoration: none; }
body.landing .topbar .btn { height: 34px; padding: 0 10px; border-radius: 5px; border: 2px solid transparent; background: rgba(255,255,255,.06); color: #b8c1c6; font-size: 14px; font-weight: 600; line-height: 14px; }
body.landing .topbar .btn.primary { background: #ff7629; color: #fff; }
body.landing .topbar .btn:hover { filter: brightness(1.1); }
.main-landing { max-width: 1170px; margin: 0 auto; padding: 0; }
.main-landing h1, .main-landing h2, .main-landing h3, .main-landing p { margin: 0; }
.main-landing a { color: #b8c1c6; }
.lp-mark { display: block; border-radius: 25%; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8.1px; border-radius: 5px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; }
.lp-btn:hover { text-decoration: none; filter: brightness(1.08); }
.lp-btn.primary { background: #ff7629; color: #fff; }
.lp-btn.secondary { background: #37383f; color: #f6f6f6; }
.lp-btn.lg { padding: 7px 14px; font-size: 18.5217px; line-height: 27.7826px; }
.lp-btn.block { width: 100%; height: 50px; font-size: 18px; padding: 0 24px; }
.lp-small { font-size: 12.9574px; line-height: 20.7318px; color: rgba(255,255,255,.53); }

/* héros et appel final : dégradé de section exact + cadre écran de PC */
.lp-hero { position: relative; padding: 80px 25px 0; display: flex; flex-direction: column; align-items: center; gap: 60px; overflow: hidden; background: linear-gradient(#0e171c 66%, #1b2429 100%); }
.lp-hero.final { padding-top: 100px; }
.lp-hero-text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.lp-hero-text h1, .lp-hero-text h2 { font-size: 55.0257px; line-height: 61.9039px; font-weight: 600; max-width: 625px; }
.lp-hero-text p { font-size: 16px; line-height: normal; max-width: 550px; }
/* Halo animé de la référence : teinte hsl(--fls-glow-h 60% 60%) qui tourne 220→290→330→360 en 30 s, alpha 0→.35 en 2 s */
@property --fls-glow-h { syntax: "<number>"; inherits: true; initial-value: 220; }
@property --fls-glow-a { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes fl-studio-screen-fade { 0% { --fls-glow-a: 0; } 100% { --fls-glow-a: .35; } }
@keyframes fl-studio-screen-hue { 0% { --fls-glow-h: 220; } 25% { --fls-glow-h: 290; } 50% { --fls-glow-h: 330; } 75% { --fls-glow-h: 360; } 100% { --fls-glow-h: 220; } }
.lp-pc { position: relative; width: 100%; max-width: 1120px; height: 560px; border-radius: 28px 28px 0 0; overflow: hidden; --fls-glow-h: 220; --fls-glow-a: 0; animation: fl-studio-screen-hue 30s linear infinite, fl-studio-screen-fade 2s ease-out forwards; box-shadow: hsl(calc(var(--fls-glow-h) * 1deg) 60% 60% / var(--fls-glow-a)) 0 0 150px 0, hsl(calc(var(--fls-glow-h) * 1deg) 60% 60% / var(--fls-glow-a)) 0 100px 300px 25px, hsl(calc(var(--fls-glow-h) * 1deg) 60% 60% / var(--fls-glow-a)) 0 200px 450px 50px, hsl(calc(var(--fls-glow-h) * 1deg) 60% 60% / var(--fls-glow-a)) 0 300px 600px 75px; }
.lp-pc.rose2 { animation-delay: -12s, 0s; }
@media (prefers-reduced-motion: reduce) { .lp-pc { animation: none; --fls-glow-h: 341; --fls-glow-a: .35; } }
.lp-pc-bezel { background: #000; height: 833px; padding: 23.5156px 23.5156px 0; box-sizing: border-box; overflow: hidden; }
.lp-pc-screen { position: relative; height: 809px; border-radius: 5.365px 5.365px 0 0; background: linear-gradient(#182126, #363f44); overflow: hidden; }
.lp-pc-sysbar { height: 42.9141px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 11px; color: #fff; }
.lp-pc-sysbar span { display: inline-flex; align-items: center; gap: 6px; }
.lp-pc-window { margin: 0 21.4531px; border-radius: 6px 6px 0 0; overflow: hidden; background: #0b0c10; }

/* démo interactive */
.demo { display: flex; flex-direction: column; background: #0b0c10; font-family: "Open Sans", sans-serif; }
.demo-video { width: 100%; object-fit: cover; display: block; background: #000; cursor: pointer; }
.demo-bar { display: flex; align-items: center; gap: 12px; padding: 6px 12px; background: #0f1116; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #b8c1c6; }
.demo-play { width: 26px; height: 26px; border-radius: 5px; border: 0; background: #ff7629; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.demo-time { font-family: ui-monospace, Menlo, monospace; font-weight: 600; color: #fff; }
.demo-credit { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-mute { height: 26px; padding: 0 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.1); color: #fff; font: 600 12px "Open Sans", sans-serif; cursor: pointer; }
.demo-band { display: block; width: 100%; cursor: ew-resize; touch-action: none; user-select: none; }

/* bandeau fonctionnalités (structure « créateurs » de la référence) */
.lp-tech { padding: 40px 25px 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.lp-tech > p { font-size: 14.9239px; line-height: 23.8783px; color: rgba(245,245,245,.77); }
.lp-tech-row { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.lp-tech-item { display: flex; align-items: center; gap: 10px; }
.lp-tech-item > span:last-child { display: flex; flex-direction: column; }
.lp-tech-item b { font-weight: 400; font-size: 16px; color: #f6f6f6; }
.lp-tech-item small { font-size: 12px; line-height: 12px; color: rgba(245,245,245,.77); margin-top: 4px; }
.lp-avatar { width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #ff7629; flex-shrink: 0; }
.lp-avatar.sm { width: 33px; height: 33px; }

/* bénéfices + sélecteur d'éditions */
.lp-two { padding: 130px 25px 0; display: grid; grid-template-columns: 450px 550px; justify-content: space-between; align-items: center; gap: 30px; }
.lp-benefits > div { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; gap: 10px; }
.lp-benefits h3 { font-size: 18.5217px; line-height: 27.7826px; font-weight: 600; }
.lp-benefits p { font-size: 14.9239px; line-height: 23.8783px; color: rgba(245,245,245,.77); }
.lp-benefits .lp-note { padding-top: 24px; }
.lp-benefits .lp-note a { color: #fff; text-decoration: underline; }
.lp-editions { display: flex; flex-direction: column; gap: 24px; }
.lp-editions-head { display: flex; align-items: center; justify-content: space-between; }
.lp-editions-head h3 { font-size: 20px; line-height: 24px; font-weight: 600; }
.lp-switch { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; color: #fff; cursor: pointer; }
.lp-switch input { appearance: none; -webkit-appearance: none; width: 40px; height: 22px; margin: 0; border-radius: 11px; background: rgba(255,255,255,.12); position: relative; cursor: pointer; transition: background .15s; }
.lp-switch input::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: rgba(0,0,0,.04) 0 3px 1px 0, rgba(0,0,0,.12) 0 3px 8px 0; transition: transform .15s; }
.lp-switch input:checked { background: #ff7629; }
.lp-switch input:checked::after { transform: translateX(18px); }
.lp-badge-plus { font-size: 10px; line-height: 13px; font-weight: 600; background: #fff; color: #1f272c; border-radius: 3px; padding: 1px 4px; }
.lp-price small { font-size: 14px; color: rgba(245,245,245,.77); }
.lp-editions-list { display: flex; flex-direction: column; gap: 8px; }
.lp-edition { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 16px; border-radius: 8px; background: rgba(245,245,245,.05); color: #fff; font-size: 16px; line-height: 20px; font-weight: 500; cursor: pointer; flex-direction: row; }
.lp-edition small { font-size: 12px; font-weight: 400; color: rgba(245,245,245,.77); margin-left: 6px; }
.lp-edition input { width: 20px; height: 20px; accent-color: #ff7629; flex-shrink: 0; }
.lp-edition .grow { flex: 1; }
.lp-edition.selected { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; background: rgba(251,169,123,.117); box-shadow: #ff7629 0 0 0 1.5px inset, #ff7629 0 0 0 .5px; }
.lp-edition-row { display: flex; align-items: center; gap: 14px; }
.lp-tag { font-size: 11px; line-height: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 6px; border-radius: 2px; background: rgba(255,118,41,.15); color: #ff7629; }
.lp-price { font-size: 23.0048px; line-height: 32.7818px; font-weight: 400; color: rgba(245,245,245,.77); }
.lp-price.white { color: #fff; }
.lp-sep { height: 1px; background: rgba(255,255,255,.07); }
.lp-edition-desc { font-size: 14px; line-height: 21px; font-weight: 400; color: rgba(255,255,255,.62); }
.lp-edition-plus { font-size: 14px; line-height: 19.6px; font-weight: 400; }
.lp-edition-plus a { color: #fff; text-decoration: underline; }
.lp-link-muted { align-self: center; padding: 8px 16px; font-size: 14px; font-weight: 600; color: #b8c1c6; text-decoration: none; }
.lp-pay { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lp-pay span { width: 85px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #b8c1c6; }
.lp-editions .lp-small { text-align: center; }

/* grande carte */
.lp-inside { padding: 80px 25px 0; }
.lp-inside-card { border-radius: 17px; background: linear-gradient(rgba(245,245,245,.05) 66%, rgba(245,245,245,.1) 100%); padding: 80px 0 0; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; overflow: hidden; }
.lp-inside-card h2, .lp-section h2 { font-size: 55.0257px; line-height: 61.9039px; font-weight: 600; max-width: 575px; }
.lp-inside-card p, .lp-lead { font-size: 18.5217px; line-height: 27.7826px; color: rgba(245,245,245,.77); max-width: 475px; }
.lp-inside-demo { margin-top: 60px; width: calc(100% - 96px); max-width: 1024px; border-radius: 10px 10px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-bottom: 0; }

/* sections */
.lp-section { padding: 100px 25px 0; display: flex; flex-direction: column; gap: 40px; }
.lp-section.lp-center { align-items: center; text-align: center; gap: 20px; }
.lp-section.lp-center .lp-grid3, .lp-section.lp-center .lp-grid4 { margin-top: 30px; width: 100%; text-align: left; }
.lp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lp-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lp-tile { min-height: 260px; padding: 24px; border-radius: 20px; background: #2f363d; box-shadow: rgba(0,0,0,.1) 0 2px 10px 0; display: flex; flex-direction: column; gap: 10px; }
.lp-tile h3 { font-size: 15px; line-height: 15px; font-weight: 600; }
.lp-tile p { font-size: 14px; line-height: 21px; color: rgba(245,245,245,.77); flex: 1; }
.lp-tile-foot { font-size: 12px; line-height: 12px; color: rgba(245,245,245,.77); }
.lp-reviews-head { display: flex; align-items: center; gap: 16px; }
.lp-reviews-head > div { display: flex; flex-direction: column; gap: 6px; }
.h28 { font-size: 28px !important; line-height: 33.6px !important; }
.lp-grid3 .lp-review { min-height: 225px; padding: 20px; border-radius: 5px; background: rgba(255,255,255,.06); border: 1px dashed rgba(255,255,255,.2); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.lp-post { min-height: 225px; padding: 20px; border-radius: 10px; background: rgba(245,245,245,.05); border: 1px dashed rgba(255,255,255,.2); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.lp-review p { font-size: 17px; line-height: 25.5px; }
.lp-post p { font-size: 18.5px; line-height: 27.75px; color: rgba(245,245,245,.9); }
.lp-review div, .lp-post div { display: flex; gap: 10px; align-items: center; }
.lp-review div, .lp-post div > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.lp-review b { font-size: 15px; line-height: 20px; }
.lp-post b { font-size: 13px; color: #e8ecf2; }
.lp-review small { font-size: 13px; color: rgba(245,245,245,.77); }
.lp-post small { font-size: 13px; color: rgba(255,255,255,.6); }
.lp-post.video { background: #0a0f12; align-items: center; justify-content: center; position: relative; }
.lp-post.video::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 158px; background: linear-gradient(to top, rgba(26,34,39,.95) 0%, rgba(26,34,39,.8) 40%, rgba(26,34,39,.3) 70%, rgba(0,0,0,0) 100%); }
.lp-play { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25); position: relative; z-index: 1; }
.lp-play::after { content: ""; position: absolute; left: 22px; top: 18px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.lp-news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-news-head a { font-size: 18.5217px; line-height: 27.7826px; font-weight: 600; color: rgba(245,245,245,.77); text-decoration: none; display: inline-flex; align-items: center; gap: 8.1px; }
.lp-grid3.news { gap: 35px; }
.lp-grid3.news article { display: flex; flex-direction: column; gap: 16px; }
.lp-grid3.news img { width: 100%; aspect-ratio: 350 / 184; object-fit: cover; border-radius: 10px; display: block; background: rgba(255,255,255,.05); }
.lp-grid3.news h3 { font-size: 18px; line-height: 23.4px; font-weight: 600; }
.lp-grid3.news p { font-size: 16px; line-height: 25.6px; color: rgba(245,245,245,.77); }
.lp-faq { display: flex; flex-direction: column; gap: 8px; max-width: 800px; }
.lp-faq details { border-radius: 5px; background: rgba(255,255,255,.06); padding: 0 20px; }
.lp-faq summary { cursor: pointer; padding: 16px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 22px; color: #b8c1c6; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq summary h3 { font-size: 18px; line-height: 23.4px; font-weight: 600; }
.lp-faq details p { padding: 0 0 18px; font-size: 14.9239px; line-height: 23.8783px; color: rgba(245,245,245,.77); }

/* pied de page */
.lp-footer { padding: 60px 24px; display: flex; flex-direction: column; align-items: center; gap: 40px; color: rgba(245,245,245,.77); background: #0e171c; }
.lp-footer-cols { display: grid; grid-template-columns: repeat(4, 160px); gap: 32px; font-size: 14px; }
.lp-footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.lp-footer-cols h2 { font-size: 14px; font-weight: 600; color: #f6f6f6; }
.lp-footer-cols a { text-decoration: none; }
.lp-footer-cols a:hover { color: #fff; }
.lp-footer-note { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; font-size: 14px; line-height: 22px; }
.lp-footer-note a { color: #f6f6f6; }

@media (max-width: 1000px) {
  .lp-two { grid-template-columns: 1fr; }
  .lp-two .lp-benefits, .lp-two .lp-editions { width: 100%; }
  .lp-grid3, .lp-grid4 { grid-template-columns: 1fr; }
  .lp-footer-cols { grid-template-columns: repeat(2, 1fr); }
  .lp-hero-text h1, .lp-hero-text h2, .lp-inside-card h2, .lp-section h2 { font-size: 36px; line-height: 42px; }
  .lp-pc { height: auto; } .lp-pc-bezel { height: auto; padding: 12px 12px 0; } .lp-pc-screen { height: auto; } .lp-pc-window { margin: 0 8px; }
  .lp-inside-demo { width: calc(100% - 24px); }
  body.landing .topbar .nav-link { display: none; }
}


/* ===== Application (menu des projets) – Rythmo Orange ===== */
body.app { background: #0e171c; color: #fff; font-family: "Open Sans", sans-serif; font-size: 14px; min-height: 100vh; }
body.app .topbar { height: 65px; background: #0e171c; border-bottom: 1px solid rgba(255,255,255,.07); padding: 0 24px; gap: 32px; backdrop-filter: none; }
body.app .topbar .brand { font-size: 15px; font-weight: 600; gap: 8px; }

body.app .topbar nav { gap: 8px; flex: 1; }
body.app .topbar .nav-link { padding: 8px 12px; border-radius: 5px; color: #b8c1c6; font-size: 14px; }
body.app .topbar .nav-link.active { background: rgba(255,255,255,.06); color: #fff; font-weight: 600; }
body.app .topbar .nav-link:hover { color: #fff; text-decoration: none; }
body.app .topbar .grow { flex: 1; }
body.app .topbar .btn { height: 34px; padding: 0 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.06); color: #b8c1c6; font-size: 14px; font-weight: 600; }
body.app .topbar .btn.primary { background: #ff7629; color: #fff; }
body.app .topbar .avatar { width: 33px; height: 33px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: #f6f6f6; text-transform: uppercase; }
body.app .user-name { max-width: none; }
.main-app { max-width: 1170px; margin: 0 auto; padding: 40px 25px 60px; }
.main-app h1, .main-app p { margin: 0; }
body.app.drag .pj-drop { border-color: #ff7629; background: rgba(251,169,123,.117); }
body.app.uploading .pj-drop { pointer-events: none; opacity: .6; }

.pj-first { display: flex; flex-direction: column; align-items: center; gap: 40px; padding-top: 60px; }
.pj-first-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.pj-first-head h1 { font-size: 28px; line-height: 33.6px; font-weight: 600; }
.pj-first-head p { font-size: 18.5217px; line-height: 27.7826px; color: rgba(245,245,245,.77); max-width: 475px; }
.pj-drop { width: 100%; max-width: 1120px; min-height: 360px; box-sizing: border-box; border-radius: 17px; background: linear-gradient(rgba(245,245,245,.05) 66%, rgba(255,255,255,.1) 100%); border: 2px dashed rgba(255,255,255,.2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; cursor: pointer; color: #fff; transition: border-color .12s, background .12s; }
.pj-drop.over, .pj-drop:hover { border-color: #ff7629; }
.pj-drop-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,118,41,.15); display: inline-flex; align-items: center; justify-content: center; }
.pj-drop-title { font-size: 23.0048px; line-height: 32.7818px; }
.pj-drop-hint { font-size: 14.9239px; line-height: 23.8783px; color: rgba(245,245,245,.77); }
.pj-drop-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.pj-or { font-size: 14px; color: #b8c1c6; }
.pj-drop.slim { min-height: 52px; flex-direction: row; gap: 10px; border-radius: 8px; border-width: 1px; background: rgba(245,245,245,.05); font-size: 14px; color: #b8c1c6; padding: 0 16px; }
.pj-drop.slim u { color: #fff; }
.pj-progress { width: 100%; max-width: 1120px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.pj-progress .bar { height: 100%; width: 0; background: #ff7629; transition: width .2s; }
.pj-status { font-size: 14px; color: rgba(245,245,245,.77); min-height: 20px; }
.pj-status.error { color: #dd3333; }
.pj-urlform { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 10px; background: rgba(255,255,255,.06); }
.pj-urlform label { color: #b8c1c6; font-size: 13px; }
.pj-urlform input, .pj-urlform select { background: #0a0f12; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #fff; }
.pj-foot { font-size: 13px; line-height: 19.5px; color: rgba(255,255,255,.53); }
.pj-foot a { color: #ff7629; text-decoration: none; }

.pj-list-page { display: flex; flex-direction: column; gap: 24px; }
.pj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pj-head h1 { font-size: 28px; line-height: 33.6px; font-weight: 600; }
.pj-head p { font-size: 14.9239px; line-height: 23.8783px; color: rgba(245,245,245,.77); margin-top: 6px; }
.pj-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 5px; background: rgba(255,255,255,.06); width: 260px; box-sizing: border-box; flex-direction: row; }
.pj-search input { flex: 1; background: transparent; border: 0; color: #fff; font: inherit; padding: 0; outline: none; }
.pj-table { display: flex; flex-direction: column; gap: 8px; }
.pj-cols, .pj-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 160px 120px 140px 140px; gap: 16px; align-items: center; padding: 0 16px; }
.pj-cols { font-size: 11px; line-height: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.pj-row { min-height: 76px; border-radius: 8px; background: rgba(245,245,245,.05); }
.pj-row:hover { box-shadow: inset 0 0 0 1.5px #ff7629, 0 0 0 .5px #ff7629; background: rgba(251,169,123,.117); }
.pj-thumb { width: 96px; height: 54px; border-radius: 5px; background: #0a0f12; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.pj-play { width: 0; height: 0; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.pj-novideo { font-size: 11px; color: #b8c1c6; }
.pj-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pj-title a { font-size: 16px; line-height: 20px; font-weight: 500; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pj-title small { font-size: 12px; line-height: 12px; color: rgba(245,245,245,.77); }
.pj-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.pj-lang { font-size: 11px; line-height: 11px; font-weight: 700; letter-spacing: .5px; padding: 3px 6px; border-radius: 2px; background: rgba(255,255,255,.1); color: #b8c1c6; }
.pj-date { color: rgba(245,245,245,.77); }
.pj-actions { display: flex; gap: 8px; justify-content: flex-end; }
.pj-actions .btn { height: 34px; padding: 0 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.06); color: #b8c1c6; font-size: 14px; font-weight: 600; }
.pj-actions .btn.primary { background: #ff7629; color: #fff; }
.pj-actions .btn.icon { width: 34px; padding: 0; }
.pj-more { color: #b8c1c6; font-size: 14px; }
.pj-more summary { cursor: pointer; padding: 8px 0; }
.pj-more .pj-urlform { margin-top: 12px; }
@media (max-width: 900px) { .pj-cols { display: none; } .pj-row { grid-template-columns: 96px minmax(0, 1fr); } .pj-langs, .pj-date, .pj-row > div:nth-child(4) { display: none; } .pj-actions { grid-column: 1 / -1; justify-content: flex-start; padding-bottom: 12px; } body.app .topbar .nav-link { display: none; } }
