/* Polices du site, hébergées sur le serveur (plus rapide, et rien n'est demandé à Google). */
/* Anton - latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/anton-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Anton - latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/anton-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter - latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter - latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/static/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Vite & O — interface. Sombre, typographie forte, accents orange : le même langage que les vidéos. */
:root {
  --bg: #0b0a09; --panel: #141210; --panel-2: #1b1815; --line: #2b2622; --line-2: #3a342e;
  --ink: #f7f3ed; --muted: #a59c90; --o: #e6903d; --o-2: #ffb467; --ok: #62d08d; --bad: #ff7466; --warn: #f3c969;
  --display: "Anton", "Arial Narrow", Impact, sans-serif; --ui: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--ui); color: var(--ink); background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 520px at 88% -8%, rgba(230,144,61,.20), transparent 62%), radial-gradient(700px 500px at -10% 108%, rgba(230,144,61,.09), transparent 60%); background-attachment: fixed; }
a { color: var(--o-2); text-underline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }
.wrap.narrow { max-width: 760px; }
.wrap.wide { max-width: 1680px; }

/* En-tête */
header.top { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
.brand { font: 400 30px/1 var(--display); letter-spacing: .02em; text-decoration: none; color: var(--ink); }
.brand img { display: block; height: 44px; width: auto; }
.brand { display: inline-flex; flex-direction: column; gap: 6px; }
.brand .tagline { font: 600 13px/1 var(--ui); letter-spacing: .03em; color: var(--o); white-space: nowrap; }
@media (max-width: 560px) { .brand img { height: 36px; } }
.brand span { color: var(--o); }
nav.main { display: flex; gap: 6px; align-items: center; font-size: 14px; }
nav.main a { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
nav.main a:hover, nav.main a.on { color: var(--ink); background: var(--panel-2); }
.by { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.by img { height: 18px; display: block; }
.by img.vo { height: 20px; margin-right: -3px; }
.by a.onlux { display: inline-block; border-radius: 6px; padding: 4px 6px; margin: -4px -2px; transition: background .15s, transform .15s; }
.by a.onlux:hover { background: rgba(230,144,61,.14); transform: translateY(-1px); }

/* Titres */
.hero { padding: 14px 0 26px; }
.hero h1 { font: 400 clamp(40px, 6vw, 70px)/.98 var(--display); text-transform: uppercase; letter-spacing: .005em; margin: 0 0 18px; }
.hero h1 mark { background: var(--o); color: #14100b; padding: 0 .14em; display: inline-block; transform: skewX(-7deg); }
.hero h1 mark i { display: inline-block; transform: skewX(7deg); font-style: normal; }
/* La ligne du prix passe devant le bandeau et s'en écarte un peu : son accent ne doit pas être caché. */
.hero h1 .from { display: inline-block; position: relative; z-index: 1; margin-top: .14em; }
/* Titre animé : entrée vive (environ 1 s), puis le bandeau « aujourd'hui » flotte doucement et un reflet le traverse régulièrement. */
.hero h1.anim { line-height: 1.06; }
.hero h1.anim .ln { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; }
.hero h1.anim .ln.band { overflow: visible; margin: .1em 0 .26em; }
.hero h1.anim .ln > span { display: inline-block; animation: heroUp .55s cubic-bezier(.2,1,.3,1) var(--d, 0s) both; }
.hero h1.anim .from { margin-top: 0; --d: .42s; }
.hero h1.anim .from b { font-weight: inherit; display: inline-block; animation: heroPop .45s cubic-bezier(.3,1.6,.5,1) .62s both; }
.hero h1.anim mark { position: relative; box-shadow: 0 .14em .35em rgba(0,0,0,.35); animation: heroWipe .4s cubic-bezier(.8,0,.2,1) .2s both, heroFloat 3.4s ease-in-out 1s infinite; }
.hero h1.anim mark i { animation: heroUpSk .45s cubic-bezier(.2,1,.3,1) .32s both; }
.hero h1.anim mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); animation: heroShine 3.4s ease-in-out .9s infinite; pointer-events: none; }
@keyframes heroUp { from { transform: translateY(110%); } }
@keyframes heroUpSk { from { transform: translateY(115%) skewX(7deg); } to { transform: skewX(7deg); } }
@keyframes heroWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-40% -10% -40% -10%); } }
@keyframes heroPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heroFloat { 0%, 100% { transform: skewX(-7deg) translateY(0) rotate(0deg); } 50% { transform: skewX(-7deg) translateY(-.07em) rotate(-1deg); } }
@keyframes heroShine { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .hero h1.anim *, .hero h1.anim mark::after { animation: none !important; } }
.hero p { color: var(--muted); font-size: 17px; max-width: 58ch; margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--ink); background: rgba(255,255,255,.02); }
.chip b { color: var(--o-2); font-weight: 600; }
h1.page { font: 400 clamp(34px, 5vw, 54px)/1 var(--display); text-transform: uppercase; margin: 14px 0 8px; }
h1.page em { font-style: normal; color: var(--o); }
p.lead { color: var(--muted); margin: 0 0 26px; }

/* Cartes */
.card { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; margin-bottom: 18px; }
.card h2 { font-size: 20px; margin: 0 0 6px; letter-spacing: -.01em; }
.card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.note { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.note.warn { color: var(--warn); }
.banner { border: 1px solid var(--line-2); background: rgba(243,201,105,.07); color: var(--warn); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.banner.ok { background: rgba(98,208,141,.08); color: var(--ok); }
.banner.bad, .errors { background: rgba(255,116,102,.09); color: var(--bad); border: 1px solid rgba(255,116,102,.35); border-radius: 12px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; }
.errors ul { margin: 6px 0 0; padding-left: 18px; }

/* Formulaire */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; align-items: start; }
@media (max-width: 940px) { .split { grid-template-columns: 1fr; } .aside { position: static; order: -1; } }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.progress button { all: unset; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line-2); transition: .25s; }
.progress button.on { color: var(--ink); border-color: var(--o); }
.progress button.done { color: var(--o-2); border-color: rgba(230,144,61,.55); }
.step { animation: rise .35s cubic-bezier(.16,1,.3,1); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
label.f { display: block; margin: 18px 0 0; font-weight: 600; font-size: 14px; }
label.f .count { float: right; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.count.over { color: var(--bad) !important; font-weight: 700 !important; }
input[type=text], input[type=email], input[type=password], input[type=date], textarea, select { width: 100%; margin-top: 8px; padding: 13px 14px; font: inherit; color: var(--ink); background: #0f0d0c; border: 1px solid var(--line-2); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: #6f675d; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--o); box-shadow: 0 0 0 4px rgba(230,144,61,.18); }
textarea { min-height: 96px; resize: vertical; }
input.filled, textarea.filled { animation: filled 1.4s ease-out; }
@keyframes filled { from { border-color: var(--o-2); box-shadow: 0 0 0 6px rgba(255,180,103,.35); } }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.formats input { position: absolute; opacity: 0; }
.formats label { border: 1px solid var(--line-2); border-radius: 16px; padding: 20px 10px 14px; text-align: center; cursor: pointer; font-weight: 600; font-size: 14px; background: #0f0d0c; transition: .2s; }
.formats label:hover { border-color: var(--muted); transform: translateY(-2px); }
.formats label i { display: block; margin: 0 auto 12px; height: 64px; border-radius: 7px; border: 2px solid var(--line-2); transition: .2s; }
.formats label small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }
.formats input:checked + label { border-color: var(--o); background: rgba(230,144,61,.10); box-shadow: 0 0 0 4px rgba(230,144,61,.14); }
.formats input:checked + label i { background: var(--o); border-color: var(--o); }
.formats input:focus-visible + label { outline: 2px solid var(--ink); }
.row { display: flex; gap: 16px; flex-wrap: wrap; }
.row > * { flex: 1 1 220px; }
.ai { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: 14px; padding: 16px 18px; margin: 20px 0 4px; background: linear-gradient(120deg, rgba(230,144,61,.18), rgba(230,144,61,.04)); border: 1px solid rgba(230,144,61,.4); }
.ai p { margin: 0; font-size: 14px; max-width: 40ch; }
.ai p b { display: block; font-size: 15px; }
.drop { margin-top: 10px; border: 1.5px dashed var(--line-2); border-radius: 14px; padding: 20px; text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; display: block; transition: .2s; }
.drop:hover { border-color: var(--o); color: var(--ink); }
.drop.over { border-color: var(--o); border-style: solid; color: var(--ink); background: rgba(230,144,61,.10); }
.drop input { display: none; }
.drop > span::after { content: 'Vous pouvez aussi glisser-déposer vos fichiers ici.'; display: block; margin-top: 6px; font-size: 12px; opacity: .75; }
#logoPreview { max-height: 64px; max-width: 220px; margin: 0 auto 8px; display: block; background: #fff; border-radius: 8px; padding: 8px; }
.color { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.color input[type=checkbox], .terms input { width: 18px; height: 18px; accent-color: var(--o); flex: none; }
input[type=color] { width: 52px; height: 40px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: #0f0d0c; cursor: pointer; }
ul.rules { margin: 12px 0 16px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
ul.rules li { padding: 7px 0 7px 26px; position: relative; }
ul.rules li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 8px; height: 8px; background: var(--o); transform: rotate(45deg); }
.terms { font-size: 14px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }
.navs { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

/* Boutons */
button, .btn { font: 700 15px/1 var(--ui); border: 0; border-radius: 999px; padding: 15px 26px; background: var(--o); color: #14100b; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s, background .15s, box-shadow .15s; }
button:hover, .btn:hover { background: var(--o-2); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(230,144,61,.28); }
button.ghost, .btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); font-weight: 700; box-shadow: none; }
button.ghost:hover, .btn.ghost:hover { border-color: var(--o); background: transparent; transform: none; box-shadow: none; }
/* Bouton secondaire avec pastille orange (modèle : « Comment ça fonctionne? ») */
button.ghost:has(> .ico), .btn.ghost:has(> .ico) { gap: 10px; padding: 7px 20px 7px 7px; }
.ico { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--o); color: #14100b; }
.ico svg { display: block; }
button.danger { background: transparent; border: 1px solid rgba(255,116,102,.5); color: var(--bad); font-weight: 600; box-shadow: none; }
button.small { padding: 10px 16px; font-size: 13px; }
button:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }
button.busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Aperçu en direct */
.aside { position: sticky; top: 22px; min-width: 0; }
.aside h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.stage { display: flex; justify-content: center; align-items: center; min-height: 420px; }
.preview { --c: #e6903d; position: relative; overflow: hidden; border-radius: 16px; background: #0d0b0a; border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.55); width: 100%; transition: aspect-ratio .35s, max-width .35s; container-type: inline-size; }
.preview[data-format=vertical] { aspect-ratio: 9/16; max-width: 250px; }
.preview[data-format=square] { aspect-ratio: 1; max-width: 320px; }
.preview[data-format=horizontal] { aspect-ratio: 16/9; max-width: 330px; }
.preview::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 58%, color-mix(in srgb, var(--c) 34%, transparent), transparent 60%); }
.preview .ring { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--c); opacity: .55; right: -12%; top: 34%; animation: spin 18s linear infinite; }
.preview .ring::after { content: ""; position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.preview .inner { position: absolute; inset: 0; padding: 9cqw; display: flex; flex-direction: column; justify-content: center; gap: 4cqw; }
.preview .who { font: 700 3.3cqw/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--c); display: flex; align-items: center; gap: 2cqw; }
.preview .who::before { content: ""; width: 1.6cqw; height: 1.6cqw; background: var(--c); }
.preview .who img { max-height: 11cqw; max-width: 38cqw; background: #fff; padding: 2cqw; border-radius: 2cqw; }
.preview .who.logo::before { display: none; }
.preview .title { font: 400 13cqw/1.04 var(--display); text-transform: uppercase; color: #fff; overflow-wrap: anywhere; }
.preview .title em { font-style: normal; color: var(--c); }
.preview .bar { width: 24cqw; height: 1.2cqw; background: var(--c); }
.preview .tape { position: absolute; left: -10%; width: 120%; bottom: 7%; background: var(--c); color: #14100b; font: 700 2.4cqw/2.4 var(--ui); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; transform: rotate(-3deg); overflow: hidden; }
.preview .tape span { display: inline-block; animation: tape 14s linear infinite; }
@keyframes tape { to { transform: translateX(-50%); } }
.aside .note { text-align: center; }

/* Paiement */
.pay { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
@media (max-width: 860px) { .pay { grid-template-columns: 1fr; } }
table.amounts { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 18px; }
table.amounts td { padding: 11px 0; border-top: 1px solid var(--line); }
table.amounts td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
table.amounts tr.total td { border-top: 2px solid var(--ink); font-weight: 800; font-size: 20px; }
.secure { color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }

/* Suivi */
.steps { list-style: none; padding: 0; margin: 4px 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); }
.steps li { padding: 12px 0 12px 44px; position: relative; color: var(--muted); }
.steps li small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.steps li::before { content: ""; position: absolute; left: 3px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: var(--ok); border-color: var(--ok); }
.steps li.now { color: var(--ink); font-weight: 700; font-size: 18px; }
.steps li.now::before { background: var(--o); border-color: var(--o); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(230,144,61,.6); } 100% { box-shadow: 0 0 0 14px rgba(230,144,61,0); } }
.bar-p { height: 6px; background: var(--line-2); border-radius: 3px; overflow: hidden; margin-top: 10px; max-width: 320px; }
.bar-p i { display: block; height: 100%; background: linear-gradient(90deg, var(--o), var(--o-2)); width: 0; transition: width .5s; }
video { max-width: 100%; max-height: 72vh; border-radius: 14px; background: #000; display: block; margin: 0 auto; }

/* Administration */
table.list { width: 100%; border-collapse: collapse; font-size: 14px; }
table.list th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 12px; border-bottom: 1px solid var(--line-2); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
table.list td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:hover td { background: rgba(255,255,255,.02); }
table.list img { height: 54px; border-radius: 6px; display: block; }
table.list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--line-2); color: var(--ink); white-space: nowrap; }
.pill.a_approuver { background: var(--o); color: #14100b; }
.pill.livree { background: rgba(98,208,141,.16); color: var(--ok); }
.pill.echec, .pill.refusee { background: rgba(255,116,102,.14); color: var(--bad); }
.pill.paiement { background: transparent; border: 1px dashed var(--line-2); color: var(--muted); }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.stills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.stills img { height: 104px; border-radius: 6px; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }
.checks { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.checks li { padding: 3px 0; }
.checks li.ok::before { content: "✓  "; color: var(--ok); font-weight: 700; }
.checks li.ko::before { content: "✗  "; color: var(--bad); font-weight: 700; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.actions form { margin: 0; }
.status { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.status span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.status span.on { color: var(--ok); border-color: rgba(98,208,141,.4); }
.status span.off { color: var(--warn); border-color: rgba(243,201,105,.4); }
.toggle { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; margin-top: 16px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--o); }
footer.site { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Images du client */
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.thumbs figure { margin: 0; position: relative; width: 104px; }
.thumbs img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-2); display: block; background: repeating-conic-gradient(#3a342e 0% 25%, #2b2622 0% 50%) 50% / 16px 16px; }
.thumbs figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.thumbs button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; padding: 0; justify-content: center; border-radius: 50%; background: var(--ink); color: #14100b; font-size: 14px; box-shadow: none; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }

/* Bibliothèque de styles */
.styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 4px; }
.card.style { margin: 0; padding: 18px; }
.card.style video, .card.style .empty { width: 100%; aspect-ratio: 9/16; max-height: none; object-fit: cover; border-radius: 12px; margin-bottom: 14px; background: #000; }
.card.style .empty { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; border: 1px dashed var(--line-2); background: transparent; }
.card.style h2 { font-size: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card.style .actions { margin-top: 10px; gap: 6px; }
.card.style .recipe { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line-2); vertical-align: middle; }
input[type=color] { width: 100%; height: 42px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }

/* Choix du style et aperçu en direct */
.aside h3 .count { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); opacity: .8; margin-left: 6px; }
.gallery { position: relative; margin: 0 -6px; min-width: 0; }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 6px; padding: 4px 6px 10px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; }
.tile { flex: 0 0 104px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 8px; align-items: stretch; background: none; border: 0; padding: 0; box-shadow: none; color: var(--ink); font-weight: 600; font-size: 13px; text-align: center; cursor: pointer; }
.tile:hover { background: none; transform: none; box-shadow: none; }
.tile .thumb { position: relative; display: block; aspect-ratio: 9/16; border-radius: 12px; overflow: hidden; background: #0f0d0c; border: 2px solid var(--line-2); transition: border-color .2s, transform .2s; }
.tile:hover .thumb { border-color: var(--muted); transform: translateY(-2px); }
.tile.on .thumb { border-color: var(--o); box-shadow: 0 0 0 3px color-mix(in srgb, var(--o) 30%, transparent); }
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px; font: 400 22px/1 var(--display); text-transform: uppercase; color: var(--o); background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--o) 22%, transparent), transparent 70%); }
.tile .ph small { font: 500 11px/1.3 var(--ui); text-transform: none; color: var(--muted); }
.tile .check { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--o); color: #14100b; font: 700 12px/20px var(--ui); font-style: normal; opacity: 0; transform: scale(.6); transition: .2s; }
.tile.on .check { opacity: 1; transform: none; }
.tile.on .name { color: var(--o); }
.gallery .nav { position: absolute; top: calc(50% - 30px); z-index: 2; width: 34px; height: 34px; padding: 0; border-radius: 50%; font-size: 22px; line-height: 1; background: rgba(15,13,12,.85); color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.gallery .nav:hover { border-color: var(--o); background: rgba(15,13,12,.95); transform: none; }
.gallery .nav.prev { left: -8px; }
.gallery .nav.next { right: -8px; }
.gallery .nav[disabled] { opacity: 0; pointer-events: none; }
.styledesc { margin: 4px 0 0; min-height: 2.8em; font-size: 13px; line-height: 1.4; color: var(--muted); }
.aside .nextnote { color: var(--ink); opacity: .85; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }
.player { width: 100%; margin: 0 auto; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.55); background: #000; transition: max-width .3s; }
.player[data-format=vertical] { max-width: 270px; }
.player[data-format=square] { max-width: 340px; }
.player[data-format=horizontal] { max-width: 360px; }
.chef { border: 1px dashed var(--line-2); border-radius: 16px; padding: 28px 22px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 300px; }
.chef b { display: block; font: 400 30px/1.1 var(--display); text-transform: uppercase; color: var(--o); margin-bottom: 10px; }

/* Choix de la durée */
.durations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
@media (max-width: 620px) { .durations { grid-template-columns: repeat(2, 1fr); } }
.durations input { position: absolute; opacity: 0; }
.durations label { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 10px; text-align: center; cursor: pointer; background: #0f0d0c; transition: .2s; display: flex; flex-direction: column; gap: 4px; }
.durations label:hover { border-color: var(--muted); transform: translateY(-2px); }
.durations label { position: relative; }
.durations label .popular { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--o); color: #14100b; font: 700 11px/1 var(--ui); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px rgba(230,144,61,.3); }
.durations { padding-top: 6px; }
.durations label .recap { font: 600 11px/1.2 var(--ui); font-style: normal; color: var(--o); letter-spacing: .02em; margin-top: 2px; }
.recapbox { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: #0f0d0c; }
.recapbox p { margin: 0 0 4px; font-size: 14px; }
.recapbox .toggle { margin-top: 10px; }
.recapbox .note { margin: 4px 0 0 28px; }
.durations label b { font-size: 15px; }
.durations label span { font: 400 30px/1 var(--display); color: var(--o-2); }
.durations label small { color: var(--muted); font-size: 12px; }
.durations input:checked + label { border-color: var(--o); background: rgba(230,144,61,.10); box-shadow: 0 0 0 4px rgba(230,144,61,.14); }
.durations input:focus-visible + label { outline: 2px solid var(--ink); }
.thumbs video { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line-2); display: block; background: #000; }
.thumbs figure.envoi img, .thumbs figure.envoi video { opacity: .45; }
.thumbs figure.erreur img, .thumbs figure.erreur video { outline: 2px solid var(--bad); }
.thumbs .file { width: 104px; height: 104px; border-radius: 12px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); text-align: center; padding: 6px; }

/* Musique, versions à comparer */
.tracks { display: grid; gap: 8px; margin-top: 10px; }
.tracks label { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #0f0d0c; }
.tracks label[hidden] { display: none; }
.tracks label:has(input:checked) { border-color: var(--o); background: rgba(230,144,61,.10); }
.tracks input { width: 18px; height: 18px; accent-color: var(--o); flex: none; }
.tracks span { flex: 1; font-size: 14px; }
.tracks small { display: block; color: var(--muted); font-size: 12px; }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .versions { grid-template-columns: 1fr; } }
.chef textarea { margin-top: 10px; }

/* Musique : durées de vidéo couvertes par une piste */
.durpick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.durpick label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; cursor: pointer; }
.durpick label.short { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.durs { display: flex; gap: 4px; flex-wrap: nowrap; }
.durs form { margin: 0; }
.dur { font: 600 12px/1 var(--ui); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); box-shadow: none; white-space: nowrap; }
.dur:hover { transform: none; box-shadow: none; border-color: var(--o); background: transparent; }
.dur.on { background: var(--o); border-color: var(--o); color: #14100b; }
.dur.short { display: inline-block; opacity: .35; text-decoration: line-through; }

/* Ajustement : ce qui est inclus ou non */
.scope { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px 16px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.scope p { margin: 0; }
.scope p + p { margin-top: 8px; }
.scope b { color: var(--ink); }
.scope .yes b { color: var(--ok); }
.scope .no b { color: #e7a35b; }

.durpick label[hidden] { display: none; }
.trackedit summary { cursor: pointer; color: var(--o); font-size: 13px; margin-top: 6px; }
.trackedit form { display: grid; gap: 8px; margin-top: 8px; font-size: 13px; width: 300px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #0f0d0c; }
.trackedit form .f { margin: 0; }
.trackedit form button { justify-self: start; }
/* Filtres de style musical dans le formulaire client */
.tracksearch { width: 100%; margin-top: 10px; }
.genres button[hidden] { display: none; }
.genres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.genres button { padding: 7px 14px; font-size: 13px; font-weight: 600; border-radius: 999px; background: transparent; color: var(--muted); border: 1px solid var(--line-2); box-shadow: none; }
.genres button:hover { transform: none; box-shadow: none; border-color: var(--muted); background: transparent; }
.genres button.on { background: var(--o); border-color: var(--o); color: #14100b; }

.logout { margin: 0 0 0 6px; display: inline; }

/* Téléphone et tablette : le bloc style + aperçu défile avec la page (il ne reste collé en haut que sur grand écran). */
@media (max-width: 940px) { .aside { position: static; top: auto; } }

/* Emplacement d'un fichier du client dans la vidéo */
.thumbs figcaption select { width: 100%; margin: 0; padding: 5px 22px 5px 8px; font-size: 12px; border-radius: 8px; background-position: right 6px center; }

/* Liste des commandes : filtres et sélection */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.chip b { color: var(--ink); margin-left: 4px; }
.chip:hover { border-color: var(--muted); }
.chip.on { background: var(--o); border-color: var(--o); color: #14100b; }
.chip.on b { color: #14100b; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.list input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--o); }

/* ---------- Éditeur de design ---------- */
.ed { margin-top: 18px; }
.ed-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.ed-tabs { display: flex; gap: 4px; background: #15120f; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; }
.ed-tabs button { background: transparent; color: var(--muted); border: 0; box-shadow: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; }
.ed-tabs button:hover { transform: none; box-shadow: none; background: rgba(255,255,255,.04); }
.ed-tabs button.on { background: var(--o); color: #14100b; }
.ed-status { flex: 1; color: var(--muted); font-size: 13px; text-align: right; }
.ed-main { display: grid; grid-template-columns: 280px minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
@media (max-width: 1200px) { .ed-main { grid-template-columns: 1fr; } }
.ed-panel { background: #15120f; border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; max-height: 78vh; overflow: auto; }
.ed-panel h4 { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ed-hint { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 6px 0; }
.ed-layers { list-style: none; margin: 8px 0; padding: 0; }
.ed-layers li { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.ed-layers li:hover { background: rgba(255,255,255,.04); }
.ed-layers li.on { background: rgba(230,144,61,.16); }
.ed-layers .ed-kind { width: 22px; text-align: center; color: var(--o); font-weight: 700; }
.ed-layers .ed-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-layers button { background: transparent; border: 0; box-shadow: none; color: var(--muted); padding: 2px 5px; font-size: 13px; }
.ed-layers button:hover { color: var(--ink); transform: none; box-shadow: none; background: transparent; }
.ed-add { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-f { display: block; margin: 8px 0; font-size: 12px; color: var(--muted); }
.ed-f > span { display: block; margin-bottom: 4px; }
.ed-f input, .ed-f select { margin: 0; padding: 8px 10px; font-size: 14px; width: 100%; min-width: 0; box-sizing: border-box; background: #0f0d0c; color: var(--ink); border: 1px solid var(--line-2); border-radius: 10px; }
.ed-f input[type=color] { padding: 2px; height: 38px; }
.ed-panel { overflow-x: hidden; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.ed-stage-wrap { display: flex; flex-direction: column; align-items: center; }
.ed-stage { position: relative; background: #000; border-radius: 12px; overflow: hidden; }
.ed-overlay { position: absolute; inset: 0; }
.ed-box { position: absolute; border: 1px dashed rgba(255,255,255,.28); cursor: move; }
.ed-box:hover { border-color: rgba(230,144,61,.7); }
.ed-box.on { border: 1.5px solid var(--o); background: rgba(230,144,61,.06); }
.ed-handle { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; background: var(--o); border-radius: 3px; cursor: nwse-resize; }
.ed-bezier { display: flex; flex-direction: column; gap: 8px; }
.ed-bezier svg { background: #0f0d0c; border-radius: 10px; touch-action: none; }
.ed-presets { display: flex; flex-wrap: wrap; gap: 4px; }
.ed-presets button { padding: 4px 9px; font-size: 11px; background: transparent; border: 1px solid var(--line-2); color: var(--muted); box-shadow: none; }
.ed-presets button.on { background: var(--o); border-color: var(--o); color: #14100b; }
.ed-presets button:hover { transform: none; box-shadow: none; }
.ed-bezier code { font-size: 11px; color: var(--muted); }
.ed-timeline { margin-top: 16px; background: #15120f; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px; }
.ed-tl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.ed-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.ed-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 10px; height: 30px; }
.ed-label { font-size: 12px; color: var(--muted); }
.ed-track { position: relative; height: 22px; background: #0f0d0c; border-radius: 6px; cursor: copy; }
.ed-ruler { cursor: pointer; background: transparent; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.ed-ruler span { position: absolute; top: 2px; transform: translateX(-50%); font-size: 10px; color: var(--muted); }
.ed-playhead { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #f4efe8; pointer-events: none; }
.ed-key { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--o); transform: rotate(45deg); cursor: ew-resize; border-radius: 2px; }
.ed-key.end { background: #7fb3ff; }
.ed-key.on { outline: 2px solid #f4efe8; }
.ed-now { position: absolute; right: 6px; top: 3px; font-size: 11px; color: var(--muted); font-style: normal; pointer-events: none; }

/* Page Styles : accès à l'éditeur de design */
.editorhero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; margin-bottom: 22px; border-color: rgba(230,144,61,.45); background: linear-gradient(135deg, rgba(230,144,61,.10), transparent 60%), var(--card, #1b1815); }
@media (max-width: 860px) { .editorhero { grid-template-columns: 1fr; } }
.editornew { display: flex; gap: 10px; flex-wrap: wrap; }
.editornew input { flex: 1; min-width: 200px; margin: 0; }
.designs { list-style: none; margin: 0; padding: 0; }
.designs li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.designs li span:first-child { flex: 1; font-weight: 600; }

/* Conditions et liens juridiques */
.verify { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: #15120f; }
.verify h3 { margin: 0 0 6px; font-size: 15px; }
.terms a, .note a, .legal a { color: var(--o-2); }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--ink); }
.legal h2 { font-size: 18px; margin: 28px 0 8px; color: var(--o-2); }
.legal p, .legal li { line-height: 1.6; color: var(--ink); }
.legal-title { font-size: clamp(30px, 5vw, 44px); }
@media print { header.top, footer.site, .legal .actions { display: none !important; } body { background: #fff; color: #000; } .legal p, .legal li { color: #000; } .legal h2 { color: #8a4b12; } }

.privacy-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); max-width: 760px; line-height: 1.5; }
.verify p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }

/* Liste des musiques : lignes compactes, liste qui défile, filtres sur une seule ligne */
.tracks label { padding: 9px 12px; gap: 10px; }
.tracks span { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 2px; min-width: 0; }
.tracklist span small { display: inline; }
.tracklist { display: grid; gap: 6px; max-height: 360px; overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; }
.tracklist.more { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }
.tracks .play { flex: none; width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: transparent; border: 1px solid var(--line-2); color: var(--ink); box-shadow: none; }
.tracks .play:hover { border-color: var(--o); color: var(--o-2); transform: none; box-shadow: none; }
#trackCount { margin: 6px 0 0; }
.genres { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.genres::-webkit-scrollbar { display: none; }
.genres button { flex: none; }

/* Choix de la couleur : pastille cliquable et code hexadécimal visible */
.colorpick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.swatch-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--line-2); cursor: pointer; flex: none; box-shadow: 0 0 0 4px rgba(255,255,255,.03); transition: .15s; }
.swatch-btn:hover { border-color: var(--o); transform: scale(1.05); }
.swatch-btn input[type=color] { -webkit-appearance: none; appearance: none; position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); border: 0; padding: 0; margin: 0; background: none; cursor: pointer; }
.swatch-btn input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.swatch-btn input[type=color]::-webkit-color-swatch { border: 0; }
.swatch-btn input[type=color]::-moz-color-swatch { border: 0; }
.swatch-hint { font-size: 13px; color: var(--muted); line-height: 1.35; }
.hexfield { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); margin-left: auto; }
.hexfield input { margin: 0; width: 130px; font: 600 15px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-transform: uppercase; padding: 10px 12px; }
.hexfield input.bad { border-color: #e5675a; }
@media (max-width: 520px) { .hexfield { margin-left: 0; } }

/* Vidéo explicative « Comment ça fonctionne? » */
.howbtn { margin-top: 16px; }
.howdialog { padding: 0; border: 0; background: transparent; max-width: min(92vw, 82vh); width: 640px; overflow: visible; }
.howdialog::backdrop { background: rgba(8,6,5,.82); backdrop-filter: blur(4px); }
.howdialog video { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.howclose { position: absolute; top: -14px; right: -14px; width: 38px; height: 38px; padding: 0; border-radius: 50%; display: grid; place-items: center; z-index: 1; }
@media (max-width: 520px) { .howclose { top: -46px; right: 0; } }

/* Courriel du client : bien marqué, confirmé */
.must { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(230,144,61,.16); color: var(--o-2); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
input.bad { border-color: #e5675a !important; }
input.good { border-color: #6fbf73 !important; }
#emailNote { margin-top: 2px; }

/* Mention « Nouveau » sur les styles proposés depuis moins d'une semaine */
.tile .thumb { position: relative; }
.newbadge { position: absolute; left: 6px; top: 6px; padding: 3px 7px; border-radius: 999px; background: var(--o); color: #14100b; font: 800 9px/1 var(--ui); font-style: normal; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.35); }

/* « Je confirme être humain », sous le bouton de rédaction par IA */
.toggle.human { margin-top: 10px; font-weight: 600; }

/* Dés « au hasard » à côté de chaque choix, et option « Laisser l'IA tout choisir » de la page 1 */
.dice { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 6px; padding: 0; vertical-align: middle; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; font-size: 16px; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s; }
.dice:hover { border-color: var(--o); background: rgba(230,144,61,.12); }
.dice.roll { animation: diceRoll .45s ease-out; }
@keyframes diceRoll { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(200deg) scale(1.2); } 100% { transform: rotate(360deg) scale(1); } }
.lookNote { padding: 10px 14px; border-radius: 10px; background: rgba(230,144,61,.12); color: var(--ink); }

/* Récapitulatif des choix de l'IA, sur la page des textes */
.lookbox { margin: 10px 0 4px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(230,144,61,.4); background: rgba(230,144,61,.07); }
.lookhead { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.lookrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.lookkey { width: 80px; flex: none; color: var(--muted); }
.lookval { flex: 1; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.looksw { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.lookrow .ghost.small { padding: 4px 10px; font-size: 12px; }

/* Menus « modifier » du récapitulatif */
.lookselect { width: 100%; max-width: 340px; padding: 7px 10px; border-radius: 9px; border: 1px solid var(--line-2); background: #151210; color: var(--ink); font: 600 14px/1.2 var(--ui); cursor: pointer; }
.lookselect:hover, .lookselect:focus { border-color: var(--o); outline: none; }
.lookcolor { display: inline-flex; align-items: center; gap: 10px; }
.lookcolor input[type=color] { width: 34px; height: 34px; padding: 0; border: 2px solid var(--line-2); border-radius: 50%; background: none; cursor: pointer; }
.lookcolor input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.lookcolor input[type=color]::-webkit-color-swatch { border: none; border-radius: 50%; }
@media (max-width: 560px) { .lookkey { width: 64px; } .lookrow .ghost.small { display: none; } }

/* Compteur d'essais d'IA, sous le bouton */
.aiact { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.aitries { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.aitries.low { color: var(--o); font-weight: 600; }
#aiBtn:disabled { opacity: .55; cursor: not-allowed; }

/* Bouton du son, sous l'aperçu */
.soundbtn { display: flex; width: fit-content; margin: 12px auto 0; }

/* Musique d'exemple sous l'aperçu */
.examplebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 12px 0 0; font-size: 13px; color: var(--ink); text-align: center; }

/* Logo OU nom de l'entreprise */
.idpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.idpick input { position: absolute; opacity: 0; pointer-events: none; }
.idpick label { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.idpick label small { color: var(--muted); font-size: 12px; }
.idpick input:checked + label { border-color: var(--o); background: rgba(230,144,61,.1); }
.idpick input:focus-visible + label { outline: 2px solid var(--o); outline-offset: 2px; }
@media (max-width: 560px) { .idpick { grid-template-columns: 1fr; } }

/* ✦ Réécrire un seul champ avec l'IA */
.redowrap { position: relative; display: block; }
.redowrap input { padding-right: 52px; }
.redo { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid rgba(230,144,61,.45); background: rgba(230,144,61,.12); color: var(--o); font-size: 16px; line-height: 1; cursor: pointer; }
.redo:hover { background: rgba(230,144,61,.25); }
.redo.busy { animation: redoSpin 1s linear infinite; }
@keyframes redoSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* Cadenas : texte gardé tel quel par l'IA */
.redowrap input { padding-right: 98px; }
.lock { position: absolute; right: 52px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; padding: 0; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; font-size: 15px; line-height: 1; cursor: pointer; opacity: .7; }
.lock:hover { opacity: 1; border-color: var(--o); }
.lock.on { opacity: 1; border-color: var(--o); background: rgba(230,144,61,.18); }
input.locked { border-color: rgba(230,144,61,.55); }
.redo:disabled { opacity: .3; cursor: not-allowed; }

/* Cadenas et ✦ : fixes, sans saut (le style général des boutons les déplaçait au survol et une fois désactivés) */
.redo, .lock { top: 0; bottom: 0; margin: auto 0; transform: none; display: grid; place-items: center; box-shadow: none; transition: background .15s, opacity .15s, border-color .15s; }
.redo:hover, .lock:hover, .redo:disabled, .lock:disabled, .redo:active, .lock:active { transform: none; box-shadow: none; }
.redo:hover { background: rgba(230,144,61,.25); }
.lock:hover { background: rgba(255,255,255,.05); border-color: var(--line-2); }
.lock.on, .lock.on:hover { opacity: 1; background: #0a0807; border-color: var(--line-2); }
input.locked, input.locked:focus { border-color: var(--line-2); background: #0d0b0a; }
.redo:disabled { opacity: .25; }
.redo.busy { animation: redoPulse 1s ease-in-out infinite; }
.redo.busy::after { content: none; }
@keyframes redoPulse { 50% { opacity: .35; } }
.dice:hover, .dice:active { transform: none; box-shadow: none; }

/* Icônes des boutons ✦ et cadenas : centrées */
.redo, .lock { padding: 0; line-height: 0; gap: 0; }
.redo svg, .lock svg { display: block; }
.lock { color: var(--muted); }
.lock.on { color: var(--ink); }
.redo { color: var(--o); }

/* ✦ pendant la réécriture : l'étoile tourne, le bouton reste immobile */
.redo.busy { animation: none; opacity: 1; }
.redo.busy svg { animation: redoTurn 1s linear infinite; }
@keyframes redoTurn { to { transform: rotate(360deg); } }

/* « ou écrire mes textes moi-même » */
.linkbtn, .linkbtn:hover { background: none; border: 0; padding: 4px 0 0; color: var(--muted); font: 500 13px/1.3 var(--ui); text-decoration: underline; text-underline-offset: 3px; box-shadow: none; transform: none; cursor: pointer; }
.linkbtn:hover { color: var(--ink); }

/* Effets sonores : type et volume */
.sfxopts { margin: 4px 0 0 30px; }
.sfxvol output { float: right; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.sfxvol input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--o); }

/* Formats inclus (fiche de commande) */
.fmtgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 10px; }
.fmtgrid figure { margin: 0; }
.fmtgrid video { width: 100%; border-radius: 10px; background: #000; }
.fmtgrid figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); text-align: center; }

/* Champs des clés : masqués à l'écran sans être des champs « mot de passe » (que le navigateur remplit tout seul) */
.keyfield { -webkit-text-security: disc; text-security: disc; font-family: monospace; }

/* Précision sous le texte de l'encadré IA */
.ai p .ainote { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* Récapitulatif : place pour « Effets sonores » */
.lookkey { width: 112px; }
@media (max-width: 560px) { .lookkey { width: 74px; } }

/* Sur téléphone, « Retirer » des effets sonores reste visible */
@media (max-width: 560px) { .lookrow .ghost.small.keep { display: inline-flex; padding: 4px 8px; } }

/* Récapitulatif : consigne, et menus qui se voient déroulants (flèche ▾) */
.looktip { margin: -2px 0 10px; font-size: 13px; color: var(--muted); }
.lookselect { appearance: none; -webkit-appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e6903d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

/* « Plus d'options » : réglages détaillés repliés */
details.more { margin-top: 26px; border: 1px solid var(--line-2); border-radius: 14px; padding: 0 18px; }
details.more > summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::before { content: '▸'; display: inline-block; margin-right: 8px; color: var(--o); transition: transform .2s; }
details.more[open] > summary::before { transform: rotate(90deg); }
details.more > summary span { display: block; margin: 4px 0 0 20px; font-weight: 400; font-size: 13px; color: var(--muted); }
details.more[open] { padding-bottom: 18px; }
#mediaBlock { margin-top: 8px; }

/* Récapitulatif : zones sous une ligne (fichier de police, volume des effets) */
.lookextra { padding: 4px 0 10px 122px; }
.lookextra .drop { margin-top: 4px; }
.lookextra .sfxvol { margin-top: 0; }
@media (max-width: 560px) { .lookextra { padding-left: 0; } }

/* Alerte : les courriels ne partent pas */
.mailbad { color: var(--bad) !important; font-weight: 700; }

/* Le navigateur ne prend pas un élément du récapitulatif (reconstruit à chaque geste) comme repère de défilement */
.lookbox { overflow-anchor: none; }

/* Section d'information de l'accueil (lue aussi par Google) */
.seo { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); max-width: 980px; }
.seo h2 { font: 400 clamp(22px, 3vw, 30px)/1.1 var(--display); text-transform: uppercase; color: var(--ink); margin: 28px 0 12px; }
.seo h2:first-child { margin-top: 0; }
.seo p { font-size: 15px; line-height: 1.6; max-width: 75ch; margin: 0; }
.seo b { color: var(--ink); font-weight: 600; }
.seo .uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.seo .uses li { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.4; }
.seo .uses li b { display: block; margin-bottom: 3px; }
.seo .prices li b { color: var(--o-2); }
.seo .faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.seo .faq summary { cursor: pointer; color: var(--ink); font-weight: 600; font-size: 15px; }
.seo .faq p { margin-top: 8px; font-size: 14px; }

/* Codes promo */
.promobox { margin: 12px 0 14px; font-size: 14px; }
.promobox summary { cursor: pointer; color: var(--o-2); }
.promoform { display: flex; gap: 8px; align-items: center; margin: 10px 0 14px; flex-wrap: wrap; }
.promoform input[type=text] { flex: 1; min-width: 140px; text-transform: uppercase; letter-spacing: .06em; }
.promoform .note { margin: 0; flex: 1; }
.amounts tr.discount td { color: var(--o-2); }
.promonew { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 760px) { .promonew { grid-template-columns: 1fr; } }
input[type=date] { -webkit-appearance: none; appearance: none; color-scheme: dark; display: block; min-height: 50px; box-sizing: border-box; }
.promonew .sub { margin: 4px 0 2px; font-weight: 600; color: var(--ink); font-size: 14px; }
.promonew .toggle { margin: 4px 0; }
.promonew .row button { margin-top: 8px; flex: 0 0 auto; width: auto; }
.promonew input, .promonew select { max-width: 100%; box-sizing: border-box; }
.promonew fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 6px; margin: 0; min-width: 0; }
.promonew legend { padding: 0 6px; font-weight: 700; color: var(--o-2); font-size: 14px; }
.promonew .note { margin: -4px 0 12px; font-size: 12px; }
.promonew .toggle { margin: 4px 0 6px; }
.promosubmit { grid-column: 1 / -1; }
.promosubmit button { min-width: 220px; }
.promonew .row { display: flex; gap: 8px; }
.promonew .row { flex-wrap: wrap; align-items: center; }
.promonew .row input { flex: 1 1 240px; min-width: 0; }
.promonew .row select { flex: 1 1 160px; width: auto; }
.promonew #pcCode { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.promolist { width: 100%; border-collapse: collapse; font-size: 14px; }
.promolist th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.promolist td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.promolist .code { letter-spacing: .05em; }
.promolist .acts { white-space: nowrap; text-align: right; }
.promolist .acts form { display: inline-block; margin-left: 6px; }
.promolist summary { cursor: pointer; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill.on { background: rgba(80,190,120,.15); color: #6fd39a; }
.pill.off { background: rgba(255,255,255,.06); color: var(--muted); }
@media (max-width: 760px) { .promolist thead { display: none; } .promolist tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); } .promolist td { display: inline-block; border: 0; padding: 4px 8px; } }

/* Journal des paiements */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 0 0 16px; }
.stats div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stats b { display: block; font: 400 28px/1 var(--display); color: var(--ink); }
.stats span { font-size: 12px; color: var(--muted); }
.paylog td { vertical-align: top; font-size: 13px; }
.paylog summary { cursor: pointer; font-size: 12px; color: var(--muted); margin-top: 4px; }
.paylog .steps { margin: 6px 0 0; padding-left: 18px; font-size: 12px; }
.seo .faq ul { margin: 8px 0 4px; padding-left: 20px; font-size: 14px; line-height: 1.55; }
.seo .faq li { margin: 4px 0; }
.seo .howsteps { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.seo .howsteps li { counter-increment: st; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 50px; font-size: 14px; line-height: 1.45; position: relative; }
.seo .howsteps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--o); color: #14100b; font-weight: 700; display: grid; place-items: center; font-size: 13px; }
.seo .howsteps li b { display: block; margin-bottom: 3px; }

/* Support */
.supportform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .supportform .row2 { grid-template-columns: 1fr; } }
.supportform textarea { min-height: 150px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.navcount { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px; background: var(--o); color: #14100b; font-size: 11px; text-align: center; margin-left: 4px; }
.ticket .tkhead { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.ticket .tkmsg { white-space: pre-wrap; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.ticket .tknotes { font-size: 13px; padding-left: 18px; }
.ticket .tkactions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.ticket .tkactions input { flex: 1 1 260px; margin-top: 0; }
