/* ============================================================
   Elphicom Studio (maquette)
   Charte Elphicom New : blanc dominant, orange #EF8000, gris
   Titres : Plus Jakarta Sans · Texte : Poppins
   ============================================================ */
:root {
  --orange: #EF8000;
  --orange-hover: #D97300;
  --orange-pale: #FFF3E6;
  --orange-soft: #FFF8F0;
  --orange-ink: #B35F00;
  --ink: #1D1F23;
  --gris: #5C6470;
  --gris-2: #9CA3AF;
  --ligne: #E9EBEF;
  --cadre: #D9DEE5;
  --fond: #F7F8FA;
  --blanc: #FFFFFF;
  --vert: #1F9D55;
  --vert-pale: #E9F7EF;
  --rouge: #D64545;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(29, 31, 35, 0.06);
  --shadow-card: 0 1px 2px rgba(29,31,35,.05), 0 10px 30px rgba(29,31,35,.07);
  --shadow: 0 14px 40px rgba(29, 31, 35, 0.10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  color: var(--ink); background: var(--fond);
  line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; line-height: 1.15; letter-spacing: -0.015em; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
[hidden] { display: none !important; }
.muted { color: var(--gris); }
.eyebrow { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.fade-in { animation: fi .35s ease both; }
@keyframes fi { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- En-tête ---------- */
header.top { background: #fff; border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 50; }
header.top .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 26px; width: auto; }
.logo .tag { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); background: var(--orange-pale); padding: 4px 9px; border-radius: 6px; }
nav.main { display: flex; gap: 4px; margin-left: 8px; }
nav.main button { font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 9px; transition: color .2s, background .2s; white-space: nowrap; }
nav.main button:hover { color: var(--orange); }
nav.main button.active { color: var(--orange); background: var(--orange-pale); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.head-tel { display: flex; align-items: center; gap: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.head-tel svg { color: var(--orange); width: 18px; height: 18px; }
.account { position: relative; }
.account-btn { display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border: 1.5px solid var(--cadre); border-radius: 40px; transition: border-color .2s; }
.account-btn:hover { border-color: var(--orange); }
.account-btn .av { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; display: grid; place-items: center; }
.account-btn span { font-size: 13.5px; font-weight: 500; }
.account-btn svg { width: 15px; height: 15px; color: var(--gris); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1.5px solid var(--cadre); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; min-width: 220px; z-index: 60; }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; text-align: left; }
.menu button:hover { background: var(--orange-soft); color: var(--orange-ink); }
.menu button svg { width: 17px; height: 17px; color: var(--gris); }
.menu hr { border: none; border-top: 1px solid var(--ligne); margin: 6px 0; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--cadre); place-items: center; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; padding: 14px 26px; border-radius: 9px; border: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .22s, box-shadow .22s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); box-shadow: 0 12px 26px rgba(239, 128, 0, .35); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid #D4D8DE; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: #33363C; }
.btn-sm { font-size: 13.5px; padding: 9px 15px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s; }
.link:hover { gap: 10px; }
.link svg { width: 16px; height: 16px; }

/* ---------- Formulaires ---------- */
label.lab { display: block; font-size: 12.5px; font-weight: 600; color: var(--gris); margin-bottom: 7px; }
.field { width: 100%; background: var(--fond); border: 1.5px solid var(--ligne); border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .2s, background .2s; }
.field:focus { border-color: var(--orange); background: #fff; }
select.field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C6470' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; padding: 8px 14px; border-radius: 40px; border: 1.5px solid var(--ligne); background: #fff; transition: border-color .2s, background .2s, color .2s, transform .2s; }
.chip:hover { border-color: var(--orange); color: var(--orange-ink); transform: translateY(-2px); }
.chip.on { border-color: var(--orange); background: var(--orange-pale); color: var(--orange-ink); }
.chip svg { width: 15px; height: 15px; }
.seg { display: inline-flex; background: var(--fond); border: 1px solid var(--ligne); border-radius: 10px; padding: 3px; flex-wrap: wrap; }
.seg button { font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 7px; color: var(--gris); white-space: nowrap; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; user-select: none; }
.toggle input { display: none; }
.toggle .sw { width: 38px; height: 22px; border-radius: 20px; background: #D4D8DE; position: relative; transition: background .2s; flex-shrink: 0; }
.toggle .sw::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle input:checked + .sw { background: var(--orange); }
.toggle input:checked + .sw::after { transform: translateX(16px); }
input[type=range] { accent-color: var(--orange); width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: var(--fond); border: 1px solid var(--ligne); color: var(--gris); white-space: nowrap; }
.badge svg { width: 13px; height: 13px; }
.badge.ok { background: var(--vert-pale); border-color: #CBEBD8; color: var(--vert); }
.badge.or { background: var(--orange-pale); border-color: #FBD9B0; color: var(--orange-ink); }
.badge.dark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Cartes génériques ---------- */
.panel, .block, .recap, .result-card, .table, .card-box { background: #fff; border: 1.5px solid var(--cadre); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.panel { padding: 26px; }
.panel h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.panel .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }

/* ---------- Accueil ---------- */
.hero { background: #fff; border-bottom: 1px solid var(--ligne); padding: 56px 0 90px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(239,128,0,.12), rgba(239,128,0,0) 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 12px 0 14px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { color: var(--gris); font-size: 16.5px; max-width: 620px; }
.how { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.how span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; background: var(--fond); border: 1px solid var(--ligne); padding: 7px 14px 7px 8px; border-radius: 40px; }
.how b { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11.5px; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; }
.hero-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: #fff; border: 1.5px solid var(--cadre); border-radius: 14px; padding: 18px 18px 16px; box-shadow: var(--shadow-card); transition: transform .3s, border-color .3s; }
.stat:hover { transform: translateY(-4px); border-color: var(--orange); }
.stat b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 30px; color: var(--orange); line-height: 1.1; }
.stat span { font-weight: 600; font-size: 14px; }
.stat small { display: block; color: var(--gris); font-size: 12.5px; margin-top: 2px; }
.stat .flags { font-size: 18px; letter-spacing: 2px; margin-top: 4px; }

.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 50px 0 18px; flex-wrap: wrap; }
.section-title h2 { font-size: 24px; font-weight: 800; margin-top: 6px; }

.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.home .types { margin-top: -50px; position: relative; z-index: 2; }
.type-card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; overflow: hidden; background: #fff; border: 1.5px solid var(--cadre); border-radius: 16px; padding: 30px 24px 24px; text-align: left; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(29,31,35,.06), 0 10px 28px rgba(29,31,35,.09); transform-style: preserve-3d; transition: box-shadow .35s ease, transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s ease; will-change: transform; }
.type-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 38%; background: linear-gradient(90deg, var(--orange), #FFB25C); border-radius: 0 0 4px 0; transition: width .45s cubic-bezier(.2,.8,.2,1); z-index: 1; }
.type-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(239,128,0,.16), transparent 45%), linear-gradient(180deg, #fff 0%, #FFF8F0 100%); transition: opacity .35s ease; }
.type-card:hover { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(239,128,0,.12), 0 24px 50px rgba(239,128,0,.22), 0 8px 18px rgba(29,31,35,.08); }
.type-card:hover::before { width: 100%; }
.type-card:hover::after { opacity: 1; }
.type-card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--orange-pale); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; transition: background .35s, color .35s, transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .35s; }
.type-card .ico svg { width: 26px; height: 26px; }
.type-card:hover .ico { background: var(--orange); color: #fff; transform: translateZ(30px) rotate(-8deg) scale(1.12); box-shadow: 0 12px 24px rgba(239,128,0,.4); }
.type-card:hover .ico svg { animation: ring .7s ease .1s; }
@keyframes ring { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.type-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; transition: color .3s; }
.type-card:hover h3 { color: var(--orange-ink); }
.type-card p { font-size: 13.5px; color: var(--gris); flex: 1; }
.type-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid #E3E6EB; }
.type-card .meta small { font-size: 12.5px; color: var(--gris-2); display: inline-flex; align-items: center; gap: 6px; }
.type-card .meta small svg { width: 14px; height: 14px; }
.type-card .go { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--orange); display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; margin-right: -12px; border-radius: 30px; transition: gap .3s, background .3s, color .3s, box-shadow .3s, margin .3s; }
.type-card:hover .go { gap: 12px; background: var(--orange); color: #fff; margin-right: 0; box-shadow: 0 8px 18px rgba(239,128,0,.35); }
.type-card .go svg { width: 16px; height: 16px; }

.occasions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.occ { text-align: left; background: #fff; border: 1.5px solid var(--cadre); border-radius: 14px; padding: 18px 16px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.occ::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--orange-pale); transform: scale(0); transition: transform .5s cubic-bezier(.2,.8,.2,1); z-index: 0; }
.occ > * { position: relative; z-index: 1; }
.occ:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 18px 36px rgba(239,128,0,.18); }
.occ:hover::after { transform: scale(2.6); }
.occ .oi { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 12px; transition: background .3s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.occ:hover .oi { background: var(--orange); transform: rotate(-10deg) scale(1.08); }
.occ .oi svg { width: 20px; height: 20px; }
.occ b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.occ small { color: var(--gris); font-size: 12.5px; line-height: 1.45; display: block; }
.occ .tt { margin-top: 10px; font-size: 11.5px; font-weight: 600; color: var(--orange-ink); }

.home-bottom { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin: 50px 0 70px; }
.prod-row { display: flex; align-items: center; gap: 14px; padding: 12px 8px; margin: 0 -8px; border-top: 1px solid var(--ligne); border-radius: 10px; transition: background .25s; }
.prod-row:first-child { border-top: none; }
.prod-row:hover { background: var(--orange-soft); }
.prod-row .t { flex: 1; min-width: 0; }
.prod-row .t b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-row .t small { color: var(--gris-2); font-size: 12.5px; }
.play-sm { width: 38px; height: 38px; border-radius: 50%; background: var(--orange-pale); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, color .25s, transform .25s; }
.play-sm svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.play-sm:hover, .play-sm.playing { background: var(--orange); color: #fff; transform: scale(1.08); }
.help-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.help-card h2 { color: #fff; font-size: 18px; }
.help-card p { color: rgba(255,255,255,.72); font-size: 14px; margin: 8px 0 18px; position: relative; z-index: 1; }
.help-card .actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.help-card .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.help-card .btn-ghost:hover { border-color: #fff; }
.help-card::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(239,128,0,.18); }
.tuto-thumb { margin-top: 18px; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px; position: relative; z-index: 1; width: 100%; text-align: left; transition: background .25s; }
.tuto-thumb:hover { background: rgba(255,255,255,.12); }
.tuto-thumb .pl { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.tuto-thumb .pl svg { width: 16px; height: 16px; fill: #fff; stroke: none; margin-left: 2px; }
.tuto-thumb b { display: block; font-size: 14px; }
.tuto-thumb small { color: rgba(255,255,255,.6); font-size: 12.5px; }

/* ---------- Création ---------- */
.crumbs { background: #fff; border-bottom: 1px solid var(--ligne); }
.crumbs .container { display: flex; align-items: center; gap: 18px; height: 64px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; color: var(--gris); }
.back:hover { color: var(--ink); }
.back svg { width: 17px; height: 17px; }
.stepper { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.stepper .s { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--gris-2); }
.stepper .s b { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #D4D8DE; display: grid; place-items: center; font-size: 12px; font-family: 'Plus Jakarta Sans', sans-serif; }
.stepper .s b svg { width: 12px; height: 12px; stroke-width: 3; }
.stepper .s.done, .stepper .s.on { color: var(--ink); }
.stepper .s.done b { background: var(--vert); border-color: var(--vert); color: #fff; }
.stepper .s.on b { background: var(--orange); border-color: var(--orange); color: #fff; }
.stepper .bar { width: 34px; height: 2px; background: var(--ligne); }

.create-title { display: flex; align-items: center; gap: 16px; margin: 30px 0 22px; flex-wrap: wrap; }
.create-title .ico { width: 54px; height: 54px; border-radius: 13px; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 22px rgba(239,128,0,.3); }
.create-title .ico svg { width: 26px; height: 26px; }
.create-title h1 { font-size: 28px; font-weight: 800; }
.create-title p { color: var(--gris); font-size: 14.5px; }
.switch-type { margin-left: auto; display: flex; background: #fff; border: 1.5px solid var(--cadre); border-radius: 11px; padding: 4px; gap: 2px; }
.switch-type button { font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; color: var(--gris); white-space: nowrap; transition: background .2s, color .2s; }
.switch-type button:hover { color: var(--ink); }
.switch-type button.on { background: var(--ink); color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding-bottom: 80px; }
.block { padding: 26px 26px 28px; margin-bottom: 20px; position: relative; transition: border-color .3s, box-shadow .3s; }
.block::before { content: ""; position: absolute; left: -1.5px; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--orange); transform: scaleY(0); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.block:focus-within, .block:hover { border-color: #C7CDD6; box-shadow: 0 1px 2px rgba(29,31,35,.05), 0 16px 40px rgba(29,31,35,.10); }
.block:focus-within::before, .block:hover::before { transform: scaleY(1); }
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.block-head .n { width: 30px; height: 30px; border-radius: 9px; background: var(--orange-pale); color: var(--orange); font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 14px; display: grid; place-items: center; transition: background .3s, color .3s; }
.block:hover .block-head .n, .block:focus-within .block-head .n { background: var(--orange); color: #fff; }
.block-head h2 { font-size: 19px; font-weight: 700; }
.block-head .hint { font-size: 13px; color: var(--gris-2); width: 100%; margin-left: 42px; margin-top: -8px; }
.block-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sub-lab { font-size: 12.5px; font-weight: 600; color: var(--gris); margin: 16px 0 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* Segments de langue */
.segs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.segtab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px 8px 12px; border-radius: 10px; border: 1.5px solid var(--cadre); background: #fff; font-size: 13.5px; font-weight: 500; transition: border-color .2s, background .2s; }
.segtab .fl { font-size: 17px; line-height: 1; }
.segtab small { color: var(--gris-2); font-size: 12px; }
.segtab.on { border-color: var(--orange); background: var(--orange-soft); }
.segtab .x { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: var(--gris-2); }
.segtab .x:hover { background: #fff; color: var(--rouge); }
.segtab .x svg { width: 12px; height: 12px; }
.segadd { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; border: 1.5px dashed #C9CED6; color: var(--gris); font-size: 13.5px; font-weight: 500; transition: border-color .2s, color .2s; }
.segadd:hover { border-color: var(--orange); color: var(--orange-ink); }
.segadd svg { width: 15px; height: 15px; }
.langpick { display: flex; gap: 6px; flex-wrap: wrap; }
.langpick button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 8px; border: 1.5px solid var(--ligne); background: #fff; transition: border-color .2s; }
.langpick button:hover { border-color: #C9CED6; }
.langpick button.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.langpick button:disabled { opacity: .35; cursor: not-allowed; }

textarea.field { min-height: 140px; resize: vertical; line-height: 1.7; font-size: 15px; }
.text-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--gris-2); gap: 12px; flex-wrap: wrap; }
.text-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tool { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gris); padding: 6px 11px; border-radius: 8px; border: 1px solid var(--cadre); background: #fff; transition: color .2s, border-color .2s; }
.tool:hover { color: var(--orange); border-color: rgba(239,128,0,.4); }
.tool svg { width: 14px; height: 14px; }
.quality { margin-top: 14px; border: 1px solid var(--ligne); border-radius: 12px; padding: 12px 14px; background: var(--fond); }
.quality-head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.qbar { flex: 1; height: 6px; border-radius: 6px; background: #E3E6EB; overflow: hidden; }
.qbar i { display: block; height: 100%; border-radius: 6px; background: var(--vert); transition: width .4s, background .4s; }
.qlist { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.q { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 20px; background: #fff; border: 1px solid var(--ligne); color: var(--gris); }
.q svg { width: 13px; height: 13px; }
.q.ok { color: var(--vert); border-color: #CBEBD8; }
.q.warn { color: var(--orange-ink); border-color: #FBD9B0; background: var(--orange-soft); }
.q.err { color: var(--rouge); border-color: #F2C6C6; background: #FDF1F1; }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--orange-soft); border: 1px solid #FBD9B0; font-size: 13px; color: #6B4A1F; }
.notice svg { width: 18px; height: 18px; color: var(--orange); margin-top: 1px; }
.notice button { color: var(--orange-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Voix */
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.voice { position: relative; border: 1.5px solid var(--cadre); border-radius: 12px; padding: 16px 14px 14px; text-align: left; background: #fff; cursor: pointer; box-shadow: 0 2px 10px rgba(29,31,35,.06); transition: border-color .3s, box-shadow .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.voice:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 18px 36px rgba(239,128,0,.18), 0 4px 10px rgba(29,31,35,.06); }
.voice.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,128,0,.16); }
.voice .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 16px; margin-bottom: 12px; position: relative; transition: transform .5s cubic-bezier(.34,1.56,.64,1), background .3s, color .3s; }
.voice .av.f { background: #FFF3E6; color: #C46900; }
.voice .av.h { background: #EEF0F3; color: var(--ink); }
.voice:hover .av { transform: scale(1.12) rotate(-6deg); background: var(--orange); color: #fff; }
.voice .av .fl { position: absolute; right: -6px; bottom: -4px; font-size: 15px; line-height: 1; }
.voice b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px; }
.voice small { color: var(--gris); font-size: 12.5px; display: block; min-height: 20px; padding-right: 34px; line-height: 1.35; }
.voice .check { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: #fff; display: none; place-items: center; }
.voice.on .check { display: grid; }
.voice .check svg { width: 12px; height: 12px; stroke-width: 3; }
.pbtn { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .2s, transform .2s; flex-shrink: 0; }
.pbtn:hover { background: var(--orange); transform: scale(1.08); }
.pbtn svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.pbtn.playing, .pbtn.loading { background: var(--orange); }
.pbtn.loading svg { animation: spin 1s linear infinite; fill: none; stroke: currentColor; stroke-width: 2.5; }
.voice .pbtn { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; }
.voice.on .pbtn { background: var(--orange); }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.wave i { width: 3px; border-radius: 2px; background: currentColor; height: 30%; }
.wave.anim i { animation: wv .9s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .15s; } .wave i:nth-child(3) { animation-delay: .3s; } .wave i:nth-child(4) { animation-delay: .45s; }
@keyframes wv { 0%,100% { height: 25%; } 50% { height: 100%; } }
.import-row { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--cadre); flex-wrap: wrap; font-size: 13px; color: var(--gris); }
.import-row .file-ok { color: var(--vert); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.import-row .file-ok svg { width: 15px; height: 15px; }

/* Musiques */
.musics { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; max-height: 560px; overflow-y: auto; padding: 4px 4px 8px; margin: -4px; }
.music { text-align: left; border: 1.5px solid var(--cadre); border-radius: 12px; overflow: hidden; background: #fff; position: relative; cursor: pointer; box-shadow: 0 2px 10px rgba(29,31,35,.06); transition: border-color .3s, box-shadow .3s, transform .35s cubic-bezier(.2,.8,.2,1); }
.music:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 16px 32px rgba(239,128,0,.18); }
.music.on { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,128,0,.16); }
.cover { aspect-ratio: 16 / 10; position: relative; display: flex; align-items: flex-end; padding: 10px; color: #fff; overflow: hidden; max-width: 100%; transition: filter .4s; }
.cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1.2px); background-size: 12px 12px; opacity: .5; }
.cover::after { content: ""; position: absolute; width: 140%; height: 90%; left: -20%; bottom: -55%; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.music:hover .cover { filter: saturate(1.25) brightness(1.05); }
.music:hover .cover::after { transform: translateY(-30%) scale(1.15); }
.cover .pbtn { position: relative; z-index: 1; background: rgba(255,255,255,.95); color: var(--ink); margin-left: auto; }
.cover .pbtn:hover, .cover .pbtn.playing { background: var(--orange); color: #fff; }
.cover .gl { position: absolute; left: 12px; top: 10px; z-index: 1; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.music .info { padding: 10px 12px 12px; }
.music b { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.music small { color: var(--gris); font-size: 12px; }
.music .check { position: absolute; top: 9px; right: 9px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; display: none; place-items: center; }
.music.on .check { display: grid; }
.music .check svg { width: 12px; height: 12px; stroke-width: 3; }
.music.upload { display: grid; place-items: center; text-align: center; border-style: dashed; min-height: 100%; padding: 18px 12px; color: var(--gris); box-shadow: none; }
.music.upload svg { width: 28px; height: 28px; color: var(--orange); margin: 0 auto 8px; }
.music.upload b { white-space: normal; color: var(--ink); }
.dyn { background: linear-gradient(135deg, #EF8000, #FFB54D); }
.dyn.v2 { background: linear-gradient(135deg, #E4572E, #F59E0B); }
.dyn.v3 { background: linear-gradient(135deg, #FF8A3D, #FFC36B); }
.ele { background: linear-gradient(135deg, #1D1F23, #454A53); }
.ele.v2 { background: linear-gradient(135deg, #2B2E35, #6B5B4A); }
.ele.v3 { background: linear-gradient(135deg, #111317, #3B3F47 60%, #8A6A3F); }
.dou { background: linear-gradient(135deg, #A9B0BA, #E3D3BE); }
.dou.v2 { background: linear-gradient(135deg, #B7A08A, #EADCC9); }
.dou.v3 { background: linear-gradient(135deg, #8F99A6, #D2DAE2); }
.imp { background: linear-gradient(135deg, #1F9D55, #7BD3A0); }
.nomusic-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }

/* Mixage */
.mixer { border: 1.5px solid var(--cadre); border-radius: 14px; overflow: hidden; background: #fff; }
.transport { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink); color: #fff; flex-wrap: wrap; }
.transport .pbtn { background: var(--orange); width: 42px; height: 42px; }
.transport .pbtn svg { width: 16px; height: 16px; }
.transport .stopb { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.18); }
.transport .stopb:hover { color: #fff; border-color: #fff; }
.transport .stopb svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.transport time { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 500; }
.transport time small { color: rgba(255,255,255,.5); font-size: 13px; }
.transport .tl { margin-left: auto; font-size: 12.5px; color: rgba(255,255,255,.6); display: flex; gap: 14px; flex-wrap: wrap; }
.transport .tl span { display: inline-flex; align-items: center; gap: 6px; }
.transport .tl i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.timeline-wrap { position: relative; background: #FBFBFC; overflow-x: auto; }
canvas.timeline { display: block; width: 100%; height: 170px; cursor: pointer; touch-action: none; }
.mix-controls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; padding: 18px 18px 20px; border-top: 1px solid var(--ligne); }
.ctl label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--gris); margin-bottom: 6px; }
.ctl label output { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--orange); font-weight: 700; }
.ctl small { display: block; font-size: 11.5px; color: var(--gris-2); margin-top: 2px; }
.mix-foot { display: flex; align-items: center; gap: 18px; padding: 14px 18px; border-top: 1px solid var(--ligne); background: var(--fond); flex-wrap: wrap; }
.mix-foot .presets { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.mix-foot .presets span { font-size: 12.5px; color: var(--gris); margin-right: 4px; }
.loading-line { font-size: 13px; color: var(--gris); padding: 10px 14px; display: flex; gap: 8px; align-items: center; }
.spin-sm { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--orange-pale); border-top-color: var(--orange); animation: spin 1s linear infinite; }

/* Récapitulatif */
.recap { position: sticky; top: 92px; overflow-y: auto; max-height: calc(100vh - 110px); overscroll-behavior: contain; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #15171A; }
.recap .rh { background: var(--ink); color: #fff; padding: 20px 22px; position: relative; overflow: hidden; }
.recap .rh::after { content: ""; position: absolute; right: -30px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 22px solid rgba(239,128,0,.2); }
.recap .rh small { color: rgba(255,255,255,.6); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.recap .rh h3 { font-size: 19px; font-weight: 700; margin-top: 4px; }
.recap .rb { padding: 6px 22px 22px; }
.ritem { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.ritem .ri { width: 34px; height: 34px; border-radius: 9px; background: var(--orange-pale); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.ritem .ri svg { width: 17px; height: 17px; }
.ritem .rt { flex: 1; min-width: 0; }
.ritem .rt small { display: block; color: var(--gris-2); font-size: 11.5px; }
.ritem .rt b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ritem .tick { color: var(--vert); }
.ritem .tick svg { width: 18px; height: 18px; stroke-width: 2.4; }
.ritem .tick.warn { color: var(--orange); }
.recap .fmt { margin: 16px 0 12px; }
.fmt-list { display: grid; gap: 6px; }
.fmt-opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--ligne); border-radius: 10px; padding: 9px 11px; text-align: left; transition: border-color .2s, background .2s; }
.fmt-opt:hover { border-color: #C9CED6; }
.fmt-opt.on { border-color: var(--orange); background: var(--orange-soft); }
.fmt-opt .rd { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #C9CED6; flex-shrink: 0; position: relative; }
.fmt-opt.on .rd { border-color: var(--orange); }
.fmt-opt.on .rd::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--orange); }
.fmt-opt b { font-size: 13.5px; font-weight: 600; display: block; line-height: 1.3; }
.fmt-opt small { font-size: 11.5px; color: var(--gris-2); }
.fmt-opt .badge { margin-left: auto; font-size: 10.5px; padding: 2px 8px; }
.recap .note { font-size: 12px; color: var(--gris-2); text-align: center; margin-top: 10px; }
.listen-mix { display: flex; align-items: center; gap: 10px; width: 100%; margin: 14px 0 0; padding: 10px 12px; border: 1.5px dashed #C9CED6; border-radius: 10px; font-size: 13.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.listen-mix:hover { border-color: var(--orange); color: var(--orange-ink); }
.listen-mix .pbtn { width: 30px; height: 30px; }
.listen-mix .wave { margin-left: auto; color: var(--orange); }

/* ---------- Génération ---------- */
.overlay { position: fixed; inset: 0; background: rgba(29,31,35,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 20px; }
.gen { background: #fff; border-radius: 18px; padding: 36px 34px; width: 100%; max-width: 420px; text-align: center; box-shadow: var(--shadow); }
.spinner { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; border: 5px solid var(--orange-pale); border-top-color: var(--orange); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gen h3 { font-size: 20px; font-weight: 700; }
.gen ul { list-style: none; text-align: left; margin-top: 22px; display: grid; gap: 10px; }
.gen li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gris-2); }
.gen li i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #D4D8DE; display: grid; place-items: center; flex-shrink: 0; }
.gen li i svg { width: 11px; height: 11px; stroke-width: 3; opacity: 0; }
.gen li.on { color: var(--ink); font-weight: 500; }
.gen li.on i { border-color: var(--orange); border-top-color: transparent; animation: spin 1s linear infinite; }
.gen li.done { color: var(--ink); }
.gen li.done i { background: var(--vert); border-color: var(--vert); color: #fff; animation: none; }
.gen li.done i svg { opacity: 1; }

/* ---------- Résultat ---------- */
.result { max-width: 900px; margin: 36px auto 80px; }
.result-top { padding: 34px 34px 26px; text-align: center; }
.okicon { width: 60px; height: 60px; border-radius: 50%; background: var(--vert-pale); color: var(--vert); display: grid; place-items: center; margin: 0 auto 16px; animation: pop .6s cubic-bezier(.34,1.56,.64,1); }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.okicon svg { width: 28px; height: 28px; stroke-width: 2.6; }
.result-top h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.rename { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.rename input { border: 1.5px solid transparent; background: transparent; border-radius: 8px; padding: 5px 10px; font-weight: 600; text-align: center; min-width: 260px; outline: none; transition: border-color .2s, background .2s; }
.rename input:hover { border-color: var(--ligne); }
.rename input:focus { border-color: var(--orange); background: #fff; }
.rename svg { width: 15px; height: 15px; color: var(--gris-2); }
.player { margin: 24px auto 0; max-width: 700px; background: var(--fond); border: 1.5px solid var(--cadre); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 16px; }
.player .pbtn { width: 52px; height: 52px; background: var(--orange); }
.player .pbtn svg { width: 18px; height: 18px; }
canvas.bigwave { flex: 1; height: 56px; min-width: 0; cursor: pointer; display: block; }
.player time { font-size: 13px; color: var(--gris); font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-meta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 0 34px 28px; }
.dl-group { position: relative; display: inline-flex; }
.dl-group .btn-orange:first-child { border-radius: 9px 0 0 9px; }
.dl-group .more { border-radius: 0 9px 9px 0; padding: 14px 12px; border-left: 1px solid rgba(255,255,255,.3); }
.dl-group .menu { left: 0; right: auto; min-width: 270px; }
.dl-group .menu small { display: block; color: var(--gris-2); font-size: 11.5px; }
.result-send { background: var(--orange-pale); border-top: 1px solid #FBE1C2; padding: 22px 34px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.result-send .ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.result-send div.t { flex: 1; min-width: 220px; }
.result-send b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; }
.result-send p { font-size: 13.5px; color: var(--gris); }
.next { margin-top: 34px; }
.next h2 { font-size: 20px; font-weight: 700; margin: 6px 0 16px; }
.next .types { grid-template-columns: repeat(3, 1fr); }

/* ---------- Productions ---------- */
.page-head { padding: 40px 0 22px; display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 30px; font-weight: 800; margin-top: 8px; }
.page-head p { color: var(--gris); margin-top: 4px; }
.page-head .btn { margin-left: auto; }
.filters { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 360px; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gris-2); }
.search .field { padding-left: 40px; background: #fff; border-color: var(--cadre); }
.table { margin-bottom: 80px; overflow-x: auto; }
.trow { display: grid; grid-template-columns: 50px minmax(200px, 1.6fr) 1fr 1fr 110px 190px; align-items: center; gap: 14px; padding: 13px 22px; border-top: 1px solid var(--ligne); min-width: 820px; transition: background .25s; }
.trow.th { border-top: none; font-size: 12px; font-weight: 600; color: var(--gris-2); text-transform: uppercase; letter-spacing: .08em; padding: 14px 22px 10px; }
.trow:not(.th):hover { background: var(--orange-soft); }
.trow b { font-weight: 600; font-size: 14px; display: block; }
.trow small { color: var(--gris-2); font-size: 12.5px; }
.trow .acts { display: flex; gap: 6px; justify-content: flex-end; }
.iconbtn { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--cadre); display: grid; place-items: center; color: var(--gris); background: #fff; transition: color .2s, border-color .2s, transform .2s; }
.iconbtn:hover { color: var(--orange); border-color: rgba(239,128,0,.5); transform: translateY(-2px); }
.iconbtn.danger:hover { color: var(--rouge); border-color: #F2C6C6; }
.iconbtn svg { width: 17px; height: 17px; }
.empty { text-align: center; padding: 50px 20px; color: var(--gris); }
.empty svg { width: 40px; height: 40px; color: var(--gris-2); margin: 0 auto 10px; }

/* ---------- Aide ---------- */
.help-tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--cadre); margin-bottom: 28px; overflow-x: auto; }
.help-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 600; font-size: 14.5px; color: var(--gris); border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; transition: color .2s, border-color .2s; }
.help-tabs button svg { width: 17px; height: 17px; }
.help-tabs button:hover { color: var(--ink); }
.help-tabs button.on { color: var(--orange); border-color: var(--orange); }
.help-pane { padding-bottom: 80px; }

.tuto { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.video { background: var(--ink); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.stage { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: radial-gradient(circle at 80% 10%, rgba(239,128,0,.25), transparent 45%), linear-gradient(160deg, #23262C, #15171A); max-width: 100%; }
.stage .scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .5s; }
.stage .scene.on { opacity: 1; }
.subs { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: calc(100% - 40px); text-align: center; z-index: 5; pointer-events: none; }
.subs span { display: inline; background: rgba(0,0,0,.72); color: #fff; font-size: clamp(12px, 1.6vw, 16px); line-height: 1.9; padding: 4px 10px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.big-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 6; background: rgba(0,0,0,.35); transition: opacity .3s; }
.big-play span { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(239,128,0,.25); transition: transform .3s; }
.big-play:hover span { transform: scale(1.08); }
.big-play svg { width: 30px; height: 30px; fill: #fff; stroke: none; margin-left: 5px; }
.chapter-label { position: absolute; left: 18px; top: 16px; z-index: 5; background: rgba(255,255,255,.1); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.15); }
.vctrl { display: flex; align-items: center; gap: 12px; padding: 10px 14px 12px; color: #fff; }
.vctrl button { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: rgba(255,255,255,.85); }
.vctrl button:hover { color: #fff; background: rgba(255,255,255,.08); }
.vctrl button svg { width: 18px; height: 18px; }
.vctrl button.pp svg { fill: currentColor; stroke: none; }
.vctrl button.cc { font-size: 11px; font-weight: 700; width: auto; padding: 0 8px; border: 1.5px solid rgba(255,255,255,.4); height: 24px; border-radius: 5px; }
.vctrl button.cc.on { background: #fff; color: var(--ink); border-color: #fff; }
.vctrl time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.75); white-space: nowrap; }
.vprog { flex: 1; height: 22px; display: flex; align-items: center; gap: 3px; cursor: pointer; }
.vprog .ch { height: 5px; background: rgba(255,255,255,.2); border-radius: 3px; position: relative; overflow: hidden; transition: height .15s; }
.vprog:hover .ch { height: 8px; }
.vprog .ch i { position: absolute; inset: 0 auto 0 0; background: var(--orange); width: 0; }
.chapters { display: grid; gap: 8px; }
.chap { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px; border-radius: 12px; border: 1.5px solid var(--cadre); background: #fff; transition: border-color .2s, background .2s, transform .2s; }
.chap:hover { border-color: var(--orange); transform: translateX(3px); }
.chap.on { border-color: var(--orange); background: var(--orange-soft); }
.chap .num { width: 32px; height: 32px; border-radius: 9px; background: var(--fond); display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.chap.on .num { background: var(--orange); color: #fff; }
.chap.done .num { background: var(--vert-pale); color: var(--vert); }
.chap b { display: block; font-size: 14px; font-weight: 600; }
.chap small { color: var(--gris-2); font-size: 12px; }

/* Scènes animées du tutoriel */
.mini { background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.35); position: relative; }
.cursor { position: absolute; width: 26px; height: 26px; z-index: 4; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
.scene.on .anim-pop { animation: sPop .6s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes sPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.scene.on .anim-up { animation: sUp .6s ease both; }
@keyframes sUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
.sc-intro { text-align: center; color: #fff; }
.sc-intro .lg { background: #fff; padding: 14px 22px; border-radius: 14px; display: inline-flex; gap: 10px; align-items: center; }
.sc-intro .lg img { height: 30px; }
.sc-intro .icons { display: flex; gap: 16px; justify-content: center; margin-top: 26px; }
.sc-intro .icons span { width: 58px; height: 58px; border-radius: 16px; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(239,128,0,.4); }
.sc-intro .icons svg { width: 28px; height: 28px; color: #fff; }
.sc-intro h3 { font-size: clamp(18px, 2.6vw, 28px); margin-top: 22px; color: #fff; }
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 78%; padding: 16px; }
.sc-grid .c { border: 1.5px solid #E3E6EB; border-radius: 10px; padding: 12px 10px; }
.sc-grid .c i { display: block; width: 26px; height: 26px; border-radius: 7px; background: var(--orange-pale); margin-bottom: 10px; }
.sc-grid .c b { display: block; height: 8px; width: 70%; border-radius: 4px; background: var(--ink); margin-bottom: 6px; }
.sc-grid .c u { display: block; height: 6px; width: 90%; border-radius: 4px; background: #E3E6EB; margin-bottom: 4px; }
.scene.on .sc-grid .c.hl { animation: hl 1.2s ease 2.2s both; }
@keyframes hl { to { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(239,128,0,.2); transform: translateY(-6px); } }
.sc-occ { display: flex; gap: 8px; margin: 0 16px 16px; }
.sc-occ span { flex: 1; height: 30px; border-radius: 8px; background: var(--ink); opacity: .85; }
.scene.on .sc-occ span:nth-child(2) { animation: hlDark 1s ease 5.5s both; }
@keyframes hlDark { to { background: var(--orange); } }
.sc-form { width: 70%; padding: 18px; }
.sc-form .fld { height: 34px; border-radius: 8px; background: #F7F8FA; border: 1.5px solid #E3E6EB; margin-bottom: 12px; display: flex; align-items: center; padding: 0 10px; font-size: 13px; color: var(--ink); overflow: hidden; white-space: nowrap; }
.sc-form .typing { display: inline-block; overflow: hidden; width: 0; border-right: 2px solid var(--orange); }
.scene.on .sc-form .typing { animation: type 1.6s steps(16) .8s forwards; }
@keyframes type { to { width: 16ch; } }
.sc-form .chs { display: flex; gap: 6px; margin-bottom: 12px; }
.sc-form .chs i { height: 22px; flex: 1; border-radius: 20px; border: 1.5px solid #E3E6EB; }
.scene.on .sc-form .chs i:first-child { animation: chipOn .4s ease 2.8s both; }
@keyframes chipOn { to { background: var(--orange-pale); border-color: var(--orange); } }
.sc-form .area { border-radius: 8px; border: 1.5px solid #E3E6EB; padding: 10px; }
.sc-form .area u { display: block; height: 7px; border-radius: 4px; background: #D9DEE5; margin-bottom: 7px; transform-origin: left; transform: scaleX(0); }
.scene.on .sc-form .area u { animation: line .5s ease both; }
.scene.on .sc-form .area u:nth-child(1) { animation-delay: 3.4s; } .scene.on .sc-form .area u:nth-child(2) { animation-delay: 3.7s; } .scene.on .sc-form .area u:nth-child(3) { animation-delay: 4s; width: 60%; }
@keyframes line { to { transform: scaleX(1); } }
.sc-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; width: 70%; }
.sc-voices .v { border: 1.5px solid #E3E6EB; border-radius: 10px; padding: 12px; display: flex; align-items: center; gap: 8px; }
.sc-voices .v i { width: 30px; height: 30px; border-radius: 50%; background: var(--orange-pale); flex-shrink: 0; }
.sc-voices .v b { flex: 1; height: 8px; border-radius: 4px; background: var(--ink); }
.sc-voices .v .wave { color: var(--orange); opacity: 0; }
.scene.on .sc-voices .v.hl { animation: hl 1s ease 2s both; }
.scene.on .sc-voices .v.hl .wave { animation: fadeIn .3s ease 2.2s both; }
.scene.on .sc-voices .v.hl .wave i { animation: wv .9s ease-in-out infinite; }
@keyframes fadeIn { to { opacity: 1; } }
.sc-flags { display: flex; gap: 10px; justify-content: center; padding: 0 16px 16px; font-size: 26px; }
.scene.on .sc-flags span { animation: sPop .5s cubic-bezier(.34,1.56,.64,1) both; }
.scene.on .sc-flags span:nth-child(1) { animation-delay: 6s; } .scene.on .sc-flags span:nth-child(2) { animation-delay: 6.2s; } .scene.on .sc-flags span:nth-child(3) { animation-delay: 6.4s; } .scene.on .sc-flags span:nth-child(4) { animation-delay: 6.6s; } .scene.on .sc-flags span:nth-child(5) { animation-delay: 6.8s; }
.sc-mix { width: 72%; padding: 16px; }
.sc-mix .lane { height: 44px; border-radius: 8px; background: #F7F8FA; margin-bottom: 8px; position: relative; overflow: hidden; }
.sc-mix .lane.m { background: repeating-linear-gradient(90deg, #D9DEE5 0 3px, transparent 3px 6px); background-color: #F7F8FA; }
.sc-mix .vb { position: absolute; top: 6px; bottom: 6px; left: 12%; width: 52%; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--orange) 0 3px, #FFD7A8 3px 6px); }
.scene.on .sc-mix .vb { animation: slide 2s ease 2s both; }
@keyframes slide { 50% { left: 26%; } 100% { left: 20%; } }
.sc-mix .sl { height: 6px; border-radius: 4px; background: #E3E6EB; margin: 14px 0 6px; position: relative; }
.sc-mix .sl i { position: absolute; top: -5px; left: 20%; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); }
.scene.on .sc-mix .sl i { animation: knob 2s ease 5s both; }
@keyframes knob { to { left: 55%; } }
.sc-mix .ph { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); left: 0; }
.scene.on .sc-mix .ph { animation: ph 9s linear 1s both; }
@keyframes ph { to { left: 100%; } }
.sc-fin { text-align: center; color: #fff; }
.sc-fin .files { display: flex; gap: 14px; justify-content: center; }
.sc-fin .file { width: 86px; height: 104px; border-radius: 10px; background: #fff; color: var(--ink); display: grid; place-items: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 14px; position: relative; }
.sc-fin .file::after { content: ""; position: absolute; top: 0; right: 0; width: 22px; height: 22px; background: linear-gradient(225deg, #23262C 50%, #D9DEE5 50%); border-radius: 0 10px 0 0; }
.sc-fin .file.o { background: var(--orange); color: #fff; }
.sc-fin .inst { margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 10px 18px; border-radius: 30px; font-weight: 600; }
.sc-fin .inst i { width: 22px; height: 22px; border-radius: 50%; background: var(--vert); display: grid; place-items: center; }
.sc-fin .inst svg { width: 13px; height: 13px; color: #fff; stroke-width: 3; }

/* Conseils */
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.rule { background: #fff; border: 1.5px solid var(--cadre); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.rule:hover { transform: translateY(-5px); border-color: var(--orange); box-shadow: 0 18px 36px rgba(239,128,0,.16); }
.rule .rn { position: absolute; right: 14px; top: 4px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 54px; color: var(--orange-pale); line-height: 1; transition: color .3s; }
.rule:hover .rn { color: #FFE0BD; }
.rule h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; position: relative; padding-right: 40px; }
.rule p { font-size: 13.5px; color: var(--gris); position: relative; }
.rule .ex { margin-top: 12px; font-size: 12.5px; background: var(--fond); border-radius: 8px; padding: 8px 10px; position: relative; }
.rule .ex b { color: var(--vert); } .rule .ex s { color: var(--rouge); text-decoration: none; }
.h2-sec { font-size: 22px; font-weight: 800; margin: 46px 0 6px; }
.h2-sec + p { color: var(--gris); margin-bottom: 18px; }
.structures { display: grid; gap: 12px; }
.struct { background: #fff; border: 1.5px solid var(--cadre); border-radius: 14px; overflow: hidden; }
.struct > button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; text-align: left; }
.struct > button .si { width: 40px; height: 40px; border-radius: 11px; background: var(--orange-pale); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.struct > button b { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; }
.struct > button small { display: block; color: var(--gris); font-size: 12.5px; }
.struct > button .chev { margin-left: auto; transition: transform .3s; color: var(--gris); }
.struct.open > button .chev, .struct.open > button > svg:last-child { transform: rotate(180deg); }
.struct > button > svg:last-child { transition: transform .3s; color: var(--gris); }
.video:fullscreen, .video:-webkit-full-screen { display: flex; flex-direction: column; justify-content: center; border-radius: 0; }
.video:fullscreen .stage { max-height: calc(100vh - 60px); margin: 0 auto; width: 100%; }
.struct .sb { padding: 0 18px 20px; display: none; }
.struct.open .sb { display: block; animation: fi .3s ease both; }
.sbar { display: flex; height: 42px; border-radius: 10px; overflow: hidden; margin: 4px 0 14px; font-size: 12px; font-weight: 600; }
.sbar span { display: grid; place-items: center; color: #fff; padding: 0 6px; text-align: center; line-height: 1.2; }
.sbar span:nth-child(1) { background: var(--ink); } .sbar span:nth-child(2) { background: var(--orange); } .sbar span:nth-child(3) { background: #F6A94A; } .sbar span:nth-child(4) { background: #5C6470; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13.5px; }
.sgrid h4 { font-size: 13px; margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.sgrid h4 svg { width: 15px; height: 15px; }
.sgrid ul { list-style: none; display: grid; gap: 5px; color: var(--gris); }
.sgrid li { padding-left: 16px; position: relative; }
.sgrid li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.sgrid .no li::before { background: var(--rouge); }
.sample { background: var(--fond); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-top: 12px; border-left: 3px solid var(--orange); display: flex; gap: 12px; align-items: flex-start; }
.sample p { flex: 1; }
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba { border-radius: 14px; padding: 20px; border: 1.5px solid; }
.ba.bad { background: #FDF5F5; border-color: #F2C6C6; }
.ba.good { background: var(--vert-pale); border-color: #CBEBD8; }
.ba h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 10px; }
.ba h4 svg { width: 18px; height: 18px; }
.ba.bad h4 { color: var(--rouge); } .ba.good h4 { color: var(--vert); }
.ba p { font-size: 14px; font-style: italic; }
.ba ul { margin-top: 12px; font-size: 12.5px; color: var(--gris); padding-left: 18px; }
.pron { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.pron div { background: #fff; border: 1.5px solid var(--cadre); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; }
.pron b { display: block; margin-bottom: 4px; font-size: 14px; }
.pron code { background: var(--orange-pale); color: var(--orange-ink); padding: 1px 6px; border-radius: 5px; font-size: 12.5px; }
.checklist { background: #fff; border: 1.5px solid var(--cadre); border-radius: 14px; padding: 20px; }
.checklist .prog { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-top: 1px solid var(--ligne); cursor: pointer; font-size: 14px; user-select: none; }
.check-item:first-of-type { border-top: none; }
.check-item .cb { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #C9CED6; display: grid; place-items: center; flex-shrink: 0; transition: background .2s, border-color .2s; }
.check-item .cb svg { width: 13px; height: 13px; color: #fff; stroke-width: 3; opacity: 0; }
.check-item.on .cb { background: var(--vert); border-color: var(--vert); }
.check-item.on .cb svg { opacity: 1; }
.check-item.on span { color: var(--gris-2); text-decoration: line-through; }

/* Exemples */
.examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.exa { background: #fff; border: 1.5px solid var(--cadre); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform .3s, border-color .3s, box-shadow .3s; }
.exa:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 16px 32px rgba(239,128,0,.14); }
.exa .top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.exa p { font-size: 13.5px; color: var(--ink); flex: 1; }
.exa .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ligne); gap: 10px; }
.exa .foot small { color: var(--gris-2); font-size: 12px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.qa { background: #fff; border: 1.5px solid var(--cadre); border-radius: 12px; overflow: hidden; transition: border-color .2s; }
.qa.open { border-color: var(--orange); }
.qa button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 16px 18px; text-align: left; font-weight: 600; font-size: 15px; }
.qa button svg { margin-left: auto; transition: transform .3s; color: var(--orange); }
.qa.open button svg { transform: rotate(45deg); }
.qa .a { display: none; padding: 0 18px 18px; color: var(--gris); font-size: 14px; }
.qa.open .a { display: block; animation: fi .3s ease both; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- Compte ---------- */
.account-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding-bottom: 80px; align-items: start; }
.account-grid .panel { margin-bottom: 20px; }
.usage { margin: 14px 0; }
.usage .ul { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.usage .ul b { font-weight: 600; }
.ubar { height: 8px; border-radius: 8px; background: var(--ligne); overflow: hidden; }
.ubar i { display: block; height: 100%; background: var(--orange); border-radius: 8px; }
.plan { background: linear-gradient(135deg, var(--ink), #3B3F47); color: #fff; border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; margin-bottom: 20px; }
.plan::after { content: ""; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; border: 30px solid rgba(239,128,0,.25); }
.plan small { color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; font-weight: 600; }
.plan h3 { font-size: 22px; margin: 4px 0 6px; }
.plan p { color: rgba(255,255,255,.75); font-size: 13.5px; position: relative; z-index: 1; }
.plan ul { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: 13.5px; position: relative; z-index: 1; }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li svg { width: 16px; height: 16px; color: var(--orange); stroke-width: 2.6; }
.user-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--ligne); }
.user-row:first-of-type { border-top: none; }
.user-row .av { width: 36px; height: 36px; border-radius: 50%; background: var(--orange-pale); color: var(--orange-ink); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.user-row div { flex: 1; min-width: 0; }
.user-row b { font-size: 14px; font-weight: 600; display: block; }
.user-row small { color: var(--gris-2); font-size: 12.5px; }

/* ---------- Modales ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(29,31,35,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 120; display: grid; place-items: center; padding: 16px; animation: fadeBg .25s ease; }
@keyframes fadeBg { from { opacity: 0; } }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow); animation: modalIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes modalIn { from { transform: translateY(20px) scale(.97); opacity: 0; } }
.modal-h { display: flex; align-items: flex-start; gap: 14px; padding: 22px 22px 0; }
.modal-h .mi { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-pale); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.modal-h h3 { font-size: 19px; font-weight: 800; }
.modal-h p { color: var(--gris); font-size: 13.5px; }
.modal-h .close { margin-left: auto; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--gris); }
.modal-h .close:hover { background: var(--fond); color: var(--ink); }
.modal-b { padding: 18px 22px; }
.modal-b .fg { margin-bottom: 14px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 22px; flex-wrap: wrap; }
.copy-row { display: flex; gap: 8px; }
.copy-row .field { font-size: 13px; }
.success { text-align: center; padding: 30px 22px; }
.success .okicon { margin-bottom: 14px; }
.success h3 { font-size: 20px; margin-bottom: 6px; }

/* ---------- Divers ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 14px; z-index: 200; transition: opacity .3s, transform .3s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo-flag { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #fff; border: 1.5px solid var(--cadre); border-radius: 30px; padding: 6px 12px; font-size: 12px; color: var(--gris); box-shadow: var(--shadow-sm); }
.demo-flag b { color: var(--orange); }
footer { border-top: 1px solid var(--ligne); background: #fff; padding: 22px 0; font-size: 13px; color: var(--gris-2); }
footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mobile-nav { display: none; }

/* ---------- Visages et pochettes ---------- */
.voice .av { width: 60px; height: 60px; overflow: visible; }
.voice .av img { width: 60px; height: 60px; border-radius: 50%; display: block; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(29,31,35,.12); }
.voice:hover .av, .voice .av.f, .voice .av.h { background: transparent; }
.voice:hover .av img { box-shadow: 0 0 0 3px var(--orange), 0 10px 20px rgba(239,128,0,.3); }
.voice.on .av img { box-shadow: 0 0 0 3px var(--orange); }
.voice .av .fl { right: -4px; bottom: -2px; font-size: 16px; }
.cover.photo { background: var(--ink); }
.cover.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.cover.photo::before { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.25) 100%); opacity: 1; z-index: 0; }
.cover.photo::after { display: none; }
.music:hover .cover.photo img { transform: scale(1.08); }
.music:hover .cover.photo { filter: none; }
.cover .gl { text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.ritem .ri.pic { background: none; padding: 0; overflow: hidden; }
.ritem .ri.pic img { width: 34px; height: 34px; object-fit: cover; border-radius: 9px; }
.badge.pic { padding: 3px 10px 3px 3px; }
.badge .avatar, .badge .thumb { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.cellpic { display: grid; gap: 6px; }
.cellpic > span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.cellpic .avatar { width: 26px; height: 26px; border-radius: 50%; }
.cellpic .thumb { width: 34px; height: 26px; border-radius: 6px; object-fit: cover; }
.sc-voices .v i { background-size: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .types { grid-template-columns: repeat(2, 1fr); }
  .occasions { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .recap { position: static; }
  .head-tel, .switch-type { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .tuto { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .account-grid { grid-template-columns: 1fr; }
  nav.main button { padding: 8px 10px; }
}
@media (max-width: 860px) {
  nav.main { display: none; }
  .burger { display: grid; }
  .mobile-nav { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1.5px solid var(--cadre); grid-template-columns: repeat(4, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .mobile-nav button { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--gris); padding: 4px; }
  .mobile-nav button svg { width: 21px; height: 21px; }
  .mobile-nav button.active { color: var(--orange); }
  body { padding-bottom: 64px; }
  .demo-flag { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  header.top .container { gap: 12px; height: 62px; }
  .account-btn span, .logo .tag { display: none; }
  .types, .next .types { grid-template-columns: 1fr; }
  .occasions { grid-template-columns: 1fr 1fr; }
  .home-bottom { grid-template-columns: 1fr; }
  .row2, .row3, .mix-controls, .sgrid, .beforeafter, .contact-grid { grid-template-columns: 1fr; }
  .stepper .s span, .stepper .bar { display: none; }
  .create-title h1 { font-size: 23px; }
  .block { padding: 20px 16px; }
  .block-head .hint { margin-left: 0; margin-top: 0; }
  .result-top, .result-actions, .result-send { padding-left: 18px; padding-right: 18px; }
  .chapters { grid-template-columns: 1fr; }
  .rename input { min-width: 0; width: 100%; }
  .player { flex-wrap: wrap; }
  canvas.bigwave { flex-basis: 100%; order: 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Connexion ---------- */
body.locked header.top nav.main, body.locked .head-right, body.locked .mobile-nav, body.locked main, body.locked footer, body.locked .demo-flag { display: none !important; }
.login { min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 30px 16px; background: radial-gradient(circle at 85% 10%, rgba(239,128,0,.14), transparent 40%), var(--fond); }
.login-card { background: #fff; border: 1.5px solid var(--cadre); border-radius: 18px; box-shadow: var(--shadow); padding: 34px 30px; width: 100%; max-width: 420px; text-align: center; }
.login-card img { height: 30px; margin: 0 auto 10px; }
.login-card h1 { font-size: 24px; font-weight: 800; margin: 14px 0 6px; }
.login-card .lab { text-align: left; margin-top: 22px; }
.login-err { color: var(--rouge); font-size: 13px; min-height: 22px; margin: 8px 0 6px; text-align: left; }

/* ---------- Imports et avertissements ---------- */
button.music.upload { font: inherit; width: 100%; cursor: pointer; }
.music .info { position: relative; }
.imp-warn { display: inline-flex; align-items: center; gap: 4px; color: var(--orange-ink) !important; font-weight: 600; }
.rm-import { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--gris); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--ligne); background: #fff; }
.rm-import:hover { color: var(--rouge); border-color: #F2C6C6; }
.rm-import svg { width: 13px; height: 13px; }
.legal-box p { font-size: 14px; color: var(--ink); margin-bottom: 10px; }
ul.legal { font-size: 13.5px; color: var(--gris); padding-left: 18px; display: grid; gap: 6px; margin-bottom: 16px; }
.attest { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; border: 1.5px solid #FBD9B0; background: var(--orange-soft); cursor: pointer; font-size: 13.5px; font-weight: 500; }
.attest input { display: none; }
.attest .cb { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #E0A864; background: #fff; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; transition: background .2s, border-color .2s; }
.attest .cb svg { width: 13px; height: 13px; color: #fff; stroke-width: 3; opacity: 0; }
.attest input:checked + .cb { background: var(--orange); border-color: var(--orange); }
.attest input:checked + .cb svg { opacity: 1; }
.btn.is-disabled { opacity: .4; pointer-events: none; }
label.btn { cursor: pointer; }

/* ---------- Pictogrammes illustrés ---------- */
.type-card .ico.illu-box, .type-card:hover .ico.illu-box { background: none; width: 64px; height: 64px; box-shadow: none; }
.illu-box svg.illu { width: 100%; height: 100%; display: block; overflow: visible; transition: filter .35s; }
.type-card:hover .ico.illu-box svg.illu { filter: drop-shadow(0 10px 16px rgba(239,128,0,.35)); animation: none; }
.type-card:hover .illu .ring { animation: illuRing .9s ease-in-out infinite; transform-origin: 34px 18px; }
.type-card:hover .illu .dots circle { animation: illuDot 1s ease-in-out infinite; }
.type-card:hover .illu .dots circle:nth-child(2) { animation-delay: .15s; } .type-card:hover .illu .dots circle:nth-child(3) { animation-delay: .3s; }
.type-card:hover .illu .stars circle { animation: illuStar 1.2s ease-in-out infinite; }
.type-card:hover .illu .stars circle:nth-child(2) { animation-delay: .3s; } .type-card:hover .illu .stars circle:nth-child(3) { animation-delay: .6s; }
@keyframes illuRing { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes illuDot { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes illuStar { 0%,100% { opacity: 1; } 50% { opacity: .2; } }
.create-title .ico.illu-box { background: none; box-shadow: none; width: 58px; height: 58px; }
