/* UltraTok — Copyright (c) 2026 UltraTok. Tous droits réservés. Logiciel propriétaire : copie, imitation ou
   ingénierie inverse interdites. Direction artistique reprise de l'appli : nuit violette, dégradé violet → magenta. */

:root {
  --violet: #a866ff;
  --magenta: #f254b8;
  --lavender: #ccadff;
  --bg: #09080e;
  --card: rgba(23, 18, 33, 0.72);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.55);
  --text-3: rgba(255, 255, 255, 0.35);
  --accent: linear-gradient(90deg, var(--violet), var(--magenta));
  --glow: rgba(168, 102, 255, 0.45);
  --orange: #ff9f0a;
  --red: #ff453a;
  --green: #30d158;
  --radius: 18px;
  --sidebar: 240px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-wide: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(168, 102, 255, 0.35); }

/* ---------- fond ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.bg::before, .bg::after { content: ""; position: absolute; inset: 0; }
.bg::before {
  background:
    radial-gradient(650px circle at 0 0, rgba(168, 102, 255, 0.22), transparent 70%),
    radial-gradient(600px circle at 100% 100%, rgba(242, 84, 184, 0.14), transparent 70%);
}
.bg::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 0.5px, transparent 0.5px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0.5px, transparent 0.5px);
  background-size: 46px 46px;
}
.bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#root { position: relative; z-index: 1; min-height: 100vh; }

/* ---------- marque ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 0.6em; text-decoration: none; direction: ltr; }
.wordmark svg { height: 1.4em; width: 2.1em; }
.wordmark span { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; letter-spacing: 0.1em; white-space: nowrap; }

/* ---------- éléments ---------- */
.card {
  position: relative;
  padding: 18px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card.tight { padding: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { cursor: default; opacity: 0.4; transform: none; }
.btn-primary {
  padding: 11px 22px; border-radius: 12px; font-size: 14px; font-weight: 600;
  background: var(--accent); color: #fff; box-shadow: 0 4px 14px var(--glow);
}
.btn-primary:disabled { background: rgba(255, 255, 255, 0.08); color: var(--text-2); box-shadow: none; opacity: 1; }
.btn-secondary {
  padding: 9px 16px; border-radius: 11px; font-size: 13px; font-weight: 500;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.09); }
.btn-small { padding: 5px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 500; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke); }
.btn-ghost { background: none; padding: 6px 8px; border-radius: 8px; color: var(--text-2); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn .ico { width: 16px; height: 16px; }

.screen-header h1 {
  margin: 0; font-family: var(--font-wide); font-weight: 300; font-size: 32px; letter-spacing: 1.5px;
  text-transform: uppercase; font-stretch: expanded; line-height: 1.15;
}
.screen-header h1 .last { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.screen-header p { margin: 8px 0 0; font-size: 13px; color: var(--text-2); }

.step-badge {
  display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px;
  font: 700 11px ui-rounded, var(--font); background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.5);
}
.step-badge.active { background: var(--accent); color: #fff; }

.warning {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 12px; font-size: 13px; line-height: 1.4;
  background: color-mix(in srgb, var(--c, var(--orange)) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--orange)) 22%, transparent);
}
.warning > .ico { color: var(--c, var(--orange)); flex: none; width: 17px; height: 17px; margin-top: 1px; }
.warning.info { --c: var(--lavender); }
.warning.cyan { --c: var(--lavender); }
.warning.red { --c: var(--red); }
.warning.green { --c: var(--green); }
.error-banner .actions { display: flex; gap: 8px; margin: 8px 0 0 34px; flex-wrap: wrap; }

.option-tile {
  display: flex; flex-direction: column; gap: 4px; text-align: start; padding: 12px; min-height: 58px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--stroke); cursor: pointer;
}
.option-tile.selected { background: rgba(242, 84, 184, 0.14); border: 1.5px solid var(--magenta); }
.option-tile .t { font-size: 13px; font-weight: 600; }
.option-tile .h { font-size: 11px; color: var(--text-2); line-height: 1.35; }

.tag { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.5px; padding: 2px 6px; border-radius: 4px; background: rgba(242, 84, 184, 0.2); color: var(--magenta); }

input[type="text"], input[type="email"], input[type="url"], input[type="password"] {
  width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid transparent; outline: none;
  background: rgba(255, 255, 255, 0.06); color: #fff; font: inherit;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus { border-color: rgba(168, 102, 255, 0.5); }
input[type="range"] { accent-color: var(--violet); width: 100%; }
input[type="checkbox"] { accent-color: var(--violet); width: 15px; height: 15px; }
label.check { display: inline-flex; gap: 7px; align-items: center; font-size: 12.5px; cursor: pointer; }

.segmented { display: flex; gap: 2px; padding: 2px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); }
.segmented button { flex: 1; padding: 6px 8px; border-radius: 7px; border: 0; background: none; font-size: 12.5px; cursor: pointer; color: var(--text-2); }
.segmented button.on { background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 600; }

.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }
.ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }

.progress { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress > div { height: 100%; background: var(--magenta); border-radius: 99px; transition: width 0.25s; }

/* ---------- en-tête du site ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(9, 8, 14, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke);
}
.site-nav .links { display: flex; gap: 4px; margin-inline-start: 12px; }
.site-nav .links a { padding: 7px 12px; border-radius: 9px; text-decoration: none; color: var(--text-2); font-size: 13.5px; }
.site-nav .links a:hover, .site-nav .links a.on { color: #fff; background: rgba(255, 255, 255, 0.06); }
.lang-select { position: relative; }
.lang-select > button { display: inline-flex; gap: 6px; align-items: center; padding: 7px 11px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04); cursor: pointer; font-size: 13px; }
.menu {
  position: absolute; top: calc(100% + 6px); inset-inline-end: 0; min-width: 190px; padding: 6px; z-index: 50;
  background: #17121f; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.menu button { display: flex; width: 100%; gap: 9px; padding: 8px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: start; font-size: 13px; }
.menu button:hover { background: rgba(255, 255, 255, 0.07); }
.menu.up { top: auto; bottom: calc(100% + 6px); inset-inline-start: 0; inset-inline-end: auto; }

/* ---------- pages vitrine ---------- */
.page { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.hero { padding-top: clamp(56px, 10vw, 120px); padding-bottom: 60px; text-align: center; }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 99px; font-size: 12px; color: var(--lavender); background: rgba(168, 102, 255, 0.1); border: 1px solid rgba(168, 102, 255, 0.25); }
.hero h1 { margin: 22px auto 0; max-width: 880px; font-family: var(--font-wide); font-weight: 300; font-stretch: expanded; text-transform: uppercase; letter-spacing: 2px; font-size: clamp(34px, 6vw, 64px); line-height: 1.05; }
.hero h1 .grad { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 22px auto 0; max-width: 620px; font-size: clamp(15px, 1.6vw, 18px); color: var(--text-2); line-height: 1.55; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.hero .cta .btn-primary { padding: 14px 28px; font-size: 15px; }
.hero .chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.chip { padding: 6px 12px; border-radius: 99px; font-size: 12px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.03); color: var(--text-2); }

.section { padding-top: 56px; padding-bottom: 56px; }
.section h2 { margin: 0 0 8px; font-family: var(--font-wide); font-weight: 300; font-stretch: expanded; text-transform: uppercase; letter-spacing: 1.5px; font-size: clamp(24px, 3.4vw, 34px); }
.section h2 .grad { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section .sub { color: var(--text-2); margin: 0 0 28px; font-size: 15px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.feature .ico-wrap { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(168, 102, 255, 0.12); color: var(--lavender); margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 16px; }
.feature p { margin: 0; color: var(--text-2); line-height: 1.5; font-size: 13.5px; }
.steps-line .num { font: 300 34px var(--font-wide); background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke); }
.compare > div { padding: 22px; }
.compare > div:first-child { background: rgba(255, 255, 255, 0.02); }
.compare > div:last-child { background: rgba(168, 102, 255, 0.08); }
.compare li { margin: 6px 0; font-size: 13.5px; color: var(--text-2); }

.faq details { border-bottom: 1px solid var(--stroke); padding: 14px 4px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 300; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); line-height: 1.55; margin: 10px 0 0; }

/* ---------- tarifs ---------- */
.price-card { max-width: 460px; margin: 0 auto; padding: 30px; border-radius: 22px; position: relative; background: linear-gradient(160deg, rgba(168, 102, 255, 0.16), rgba(242, 84, 184, 0.08)) , var(--card); border: 1px solid rgba(168, 102, 255, 0.35); box-shadow: 0 30px 80px rgba(168, 102, 255, 0.18); }
.price-card .plan { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--lavender); font-weight: 600; }
.price-card .price { font: 300 46px var(--font-wide); margin: 10px 0 2px; }
.price-card .price small { font-size: 15px; color: var(--text-2); }
.price-card h3 { margin: 16px 0 4px; font-size: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.price-card li .ico { color: var(--green); margin-top: 1px; }
.price-card .fine { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 14px; }

/* ---------- pied de page ---------- */
.site-footer { margin-top: 40px; padding: 30px clamp(16px, 4vw, 40px) 40px; border-top: 1px solid var(--stroke); color: var(--text-3); font-size: 12px; }
.site-footer .inner { max-width: 1120px; margin: 0 auto; display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--text-2); text-decoration: none; }

/* ---------- studio (l'appli) ---------- */
.studio { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 14px;
  background: rgba(0, 0, 0, 0.28); border-inline-end: 1px solid var(--stroke);
}
.sidebar .brand { padding: 26px 8px 22px; }
.sidebar .brand p { margin: 8px 0 0 2px; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.45); }
.sidebar .section-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; font-stretch: expanded; color: var(--text-3); padding: 0 10px 4px; display: flex; gap: 6px; }
.sidebar .section-label + .nav-item { margin-top: 0; }
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 11px; border: 1px solid transparent;
  background: none; cursor: pointer; text-align: start; font-size: 14px; width: 100%; text-decoration: none;
}
.nav-item:hover:not(:disabled) { background: rgba(255, 255, 255, 0.04); }
.nav-item.active { background: rgba(168, 102, 255, 0.14); border-color: rgba(168, 102, 255, 0.35); font-weight: 600; }
.nav-item:disabled { opacity: 0.35; cursor: default; }
.nav-item .ico { color: rgba(255, 255, 255, 0.6); }
.nav-item.active .ico { color: var(--lavender); }
.nav-item.boost { background: rgba(255, 255, 255, 0.03); border-color: var(--stroke); }
.nav-item.boost .ico { color: var(--magenta); }
.sidebar .file-card { padding: 11px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); margin-bottom: 10px; }
.sidebar .file-card .n { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .file-card .d { font-size: 10px; color: rgba(255, 255, 255, 0.45); margin-top: 3px; }
.sidebar .account { display: flex; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 11px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.03); text-decoration: none; font-size: 12.5px; margin-bottom: 10px; }
.sidebar .copyright { padding: 0 10px; }
.sidebar .copyright b { display: block; font-size: 10px; color: rgba(255, 255, 255, 0.5); }
.sidebar .copyright span { font-size: 9px; color: var(--text-3); }
.sidebar .lang-select { margin-bottom: 12px; }
.sidebar .lang-select > button { width: 100%; border-radius: 11px; justify-content: flex-start; }

.studio-main { min-width: 0; }
.studio-main .content { max-width: 880px; margin: 0 auto; padding: 34px 36px; display: flex; flex-direction: column; gap: 18px; }

.mobile-bar { display: none; }

.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 220px; width: 100%;
  border-radius: var(--radius); border: 1.5px dashed var(--stroke); background: rgba(255, 255, 255, 0.03); cursor: pointer; transition: 0.2s;
}
.drop:hover, .drop.over { border-color: var(--magenta); background: rgba(242, 84, 184, 0.08); }
.drop .big { width: 46px; height: 46px; color: var(--magenta); }
.drop .t { font-size: 17px; font-weight: 600; }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.info-grid .l { font-size: 10px; color: var(--text-2); }
.info-grid .v { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player { background: #000; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.player video { width: 100%; height: 100%; object-fit: contain; display: block; }

.file-out { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(242, 84, 184, 0.1); border: 1px solid rgba(242, 84, 184, 0.5); }
.file-out .ico { width: 28px; height: 28px; color: var(--magenta); }

.wave { position: relative; height: 90px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); overflow: hidden; touch-action: none; user-select: none; }
.wave canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave .win { position: absolute; top: 0; bottom: 0; border-radius: 8px; background: rgba(242, 84, 184, 0.18); border: 2px solid var(--magenta); cursor: grab; }
.wave .win:active { cursor: grabbing; }

.two-col { display: flex; gap: 18px; align-items: flex-start; }
.two-col > .grow { flex: 1; min-width: 0; }

.compare-view { position: relative; border-radius: 14px; overflow: hidden; background: #000; user-select: none; touch-action: none; }
.compare-view img, .compare-view canvas { display: block; width: 100%; height: auto; }
.compare-view .before { position: absolute; inset: 0; overflow: hidden; }
.compare-view .handle { position: absolute; top: 0; bottom: 0; width: 1px; background: #fff; }
.compare-view .knob { position: absolute; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; font-weight: 700; cursor: ew-resize; }

.modal-back { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(6px); }
.modal { width: min(440px, 100%); }

/* ---------- téléphone ---------- */
@media (max-width: 860px) {
  .site-nav .links { display: none; }
  .studio { display: block; }
  .sidebar { display: none; }
  .mobile-bar { display: block; position: sticky; top: 0; z-index: 20; padding: 10px 16px 10px; background: rgba(9, 8, 14, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke); }
  .mobile-bar .top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .mobile-bar .steps { display: flex; gap: 6px; }
  .mobile-bar .steps button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 2px; border-radius: 11px; border: 1px solid transparent; background: none; font-size: 11px; cursor: pointer; }
  .mobile-bar .steps button.active { background: rgba(168, 102, 255, 0.14); border-color: rgba(168, 102, 255, 0.35); font-weight: 600; }
  .mobile-bar .steps button:disabled { opacity: 0.35; }
  .studio-main .content { padding: 18px 16px 40px; }
  .screen-header h1 { font-size: 24px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { flex-direction: column; }
  .two-col > .player { align-self: center; }
  .compare { grid-template-columns: 1fr; }
}

/* ---------- studio réservé aux abonnés : écran flouté + abonnement ---------- */
.studio.paywalled { filter: blur(9px) saturate(0.9); pointer-events: none; user-select: none; }
.paywall { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(9, 8, 14, 0.35); }
.paywall-card { width: min(440px, 100%); padding: 28px; gap: 14px; background: linear-gradient(160deg, rgba(168, 102, 255, 0.16), rgba(242, 84, 184, 0.08)), rgba(23, 18, 33, 0.92); border: 1px solid rgba(168, 102, 255, 0.35); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(168, 102, 255, 0.18); }
.paywall-card h2 { margin: 0; text-align: center; font-family: var(--font-wide); font-weight: 300; font-stretch: expanded; text-transform: uppercase; letter-spacing: 1.5px; font-size: 22px; }
.paywall-card h2 .grad, .paywall-card .grad { background: var(--accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.paywall-card .price { font: 300 34px var(--font-wide); }
.paywall-card .price small { font-size: 14px; color: var(--text-2); }
.paywall-list { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 9px; }
.paywall-list li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; }
.paywall-list li .ico { color: var(--green); }
.paywall-login { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; font-size: 13px; padding-top: 8px; border-top: 1px solid var(--stroke); }

/* ---------- amélioration ---------- */
.section-title { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; font-stretch: expanded; color: var(--text-3); text-transform: uppercase; }
.chip-btn { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04); cursor: pointer; font-size: 13px; }
.chip-btn.on { background: rgba(242, 84, 184, 0.14); border-color: var(--magenta); font-weight: 600; }

/* avertissement important (étape Son) : plus visible qu'un avertissement normal */
.warning.important { --c: var(--orange); padding: 14px 16px; font-size: 14px; border-width: 1.5px; background: color-mix(in srgb, var(--orange) 14%, transparent); }
.warning.important > .ico { width: 20px; height: 20px; }
.warning.important b { font-weight: 600; }

/* ---------- amélioration (comme la fenêtre de l'appli) ---------- */
.boost-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.boost-drop { min-height: 280px; background: var(--card); border-radius: 20px; }
.boost-drop-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: rgba(168, 102, 255, 0.18); color: var(--magenta); }
.boost-stage { position: relative; height: 470px; border-radius: 14px; overflow: hidden; background: rgba(0, 0, 0, 0.55); }
.boost-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.boost-canvas:active { cursor: grabbing; }
.boost-tag { position: absolute; top: 10px; padding: 5px 9px; border-radius: 7px; font-size: 10px; font-weight: 700; letter-spacing: 1px; font-stretch: expanded; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.3); pointer-events: none; }
.boost-tag.on { border-color: var(--violet); color: var(--lavender); }
.boost-busy { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 500; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(168, 102, 255, 0.5); white-space: nowrap; }
.boost-section { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; font-stretch: expanded; color: rgba(255, 255, 255, 0.7); }
.boost-chip { padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 500; cursor: pointer; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--stroke); color: rgba(255, 255, 255, 0.75); }
.boost-chip.on { background: var(--accent); border-color: transparent; color: #fff; }
.boost-chip:disabled { opacity: 0.35; cursor: default; }
.boost-mode { display: flex; gap: 11px; align-items: center; width: 100%; padding: 9px; border-radius: 12px; cursor: pointer; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--stroke); }
.boost-mode .ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: rgba(255, 255, 255, 0.06); color: var(--lavender); }
.boost-mode.on { background: rgba(168, 102, 255, 0.12); border-color: rgba(168, 102, 255, 0.7); }
.boost-mode.on .ic { background: var(--accent); color: #fff; }
.boost-divider { height: 1px; background: var(--stroke); }
.boost-disclosure { background: none; border: 0; padding: 0; cursor: pointer; text-align: start; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 1100px) { .boost-layout { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .boost-stage { height: 380px; } }

/* ---------- aperçu de la vidéo importée, dans le cadre « Choisir une vidéo » ---------- */
.drop.import-preview { cursor: default; padding: 12px; gap: 12px; min-height: 0; border-style: solid; }
.import-media { position: relative; width: 100%; height: 340px; border-radius: 12px; overflow: hidden; background: #000; display: grid; place-items: center; }
.import-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.import-bar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 4px; }
.import-bar .name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 860px) { .import-media { height: 300px; } .import-bar .name { display: none; } }

/* ---------- barre du site sur téléphone : rien ne dépasse de l'écran ---------- */
html { overflow-x: hidden; }
.nav-studio { padding: 9px 16px; font-size: 13px; }
@media (max-width: 860px) {
  .site-nav { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .site-nav .wordmark { font-size: 13px !important; }
  .site-nav .nav-label { display: none; }
  .site-nav .nav-account { padding: 8px; }
  .site-nav .lang-select > button { padding: 6px 9px; }
  .nav-studio { padding: 8px 12px; font-size: 12.5px; }
}
@media (max-width: 340px) { .site-nav .wordmark span { display: none; } }

/* ---------- choix de la formule (Mensuel / Annuel) ---------- */
.plan-picker { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 6px 0 2px; }
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.plan-options button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 12px; border-radius: 12px; cursor: pointer; text-align: start;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); font-size: 12px; color: var(--text-2); }
.plan-options button b { font-size: 13.5px; color: #fff; display: inline-flex; gap: 6px; align-items: center; }
.plan-options button.on { background: rgba(242, 84, 184, 0.12); border: 1.5px solid var(--magenta); color: #fff; }
.plan-picker .price { font: 300 40px var(--font-wide); margin-top: 6px; }
.plan-picker .price small { font-size: 15px; color: var(--text-2); }
.plan-note { font-size: 12.5px; color: var(--lavender); }
.paywall-card .plan-picker .price { font-size: 32px; }

/* ---------- comptes et abonnement ---------- */
@keyframes ut-spin { to { transform: rotate(360deg); } }
.spinner { width: 28px; height: 28px; margin: 6px auto; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--magenta); animation: ut-spin 0.8s linear infinite; }
.form-error { padding: 10px 12px; border-radius: 10px; font-size: 13px; background: rgba(255, 77, 109, 0.12); border: 1px solid rgba(255, 77, 109, 0.35); color: #ff9db0; }
.form-info { padding: 10px 12px; border-radius: 10px; font-size: 13px; background: rgba(61, 220, 151, 0.1); border: 1px solid rgba(61, 220, 151, 0.3); color: #9ff0c9; }
.auth-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
button.link { background: none; border: 0; padding: 0; color: var(--text-2); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
button.link:hover { color: #fff; }
.checkout-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; max-width: 1040px; }
.checkout-summary { padding: 26px; background: linear-gradient(160deg, rgba(168, 102, 255, 0.16), rgba(242, 84, 184, 0.08)), var(--card); border: 1px solid rgba(168, 102, 255, 0.35); }
.checkout-box { min-height: 320px; border-radius: 14px; overflow: hidden; }
.checkout-loading { display: grid; justify-items: center; gap: 10px; padding: 60px 0; }
@media (max-width: 820px) { .checkout-page { grid-template-columns: 1fr; } }
