/* AK'Productions : noir chaud et or métallique */
:root {
  --ink: #0b0907;
  --ink-2: #15110c;
  --ink-3: #1d1812;
  --line: #2c2519;
  --gold-hi: #f6e2a0;
  --gold: #c8993a;
  --gold-lo: #7a5a1c;
  --bone: #efe7d6;
  --smoke: #9a9180;
  --ok: #6fae6a;
  --bad: #d4634e;
  --wait: #e0b84a;
  --metal: linear-gradient(160deg, #fff2c2 0%, #f1cf7a 22%, #b98427 48%, #f3d98b 62%, #8a6420 100%);
  --radius: 3px;
  --maxw: 1180px;
  --font-display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-hi); text-decoration-color: var(--gold-lo); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold-hi); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { background: var(--ink-3); padding: 1px 6px; border-radius: 2px; font-size: .9em; }
.muted { color: var(--smoke); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(11, 9, 7, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; text-decoration: none; letter-spacing: -0.02em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand span { font-size: .8em; }
.brand.big { font-size: 2.4rem; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a {
  color: var(--bone); text-decoration: none; padding: 8px 14px; border-radius: var(--radius); font-weight: 500;
}
.nav a:hover { background: var(--ink-3); }
.nav a.on { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--gold); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--gold-hi); margin: 5px 0; }
.icon-btn { position: relative; background: none; border: 1px solid var(--line); color: var(--bone); width: 40px; height: 40px; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--gold-lo); }
.dot { position: absolute; top: 7px; right: 8px; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; border: 2px solid var(--ink); }
.bell-wrap { position: relative; }
.notif-panel {
  position: absolute; right: 0; top: 48px; width: min(360px, 86vw); max-height: 70vh; overflow: auto;
  background: var(--ink-2); border: 1px solid var(--gold-lo); padding: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.6);
}
.notif { padding: 12px; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif b { display: block; color: var(--gold-hi); }
.notif small { color: var(--smoke); }

.banner { background: var(--gold-lo); color: #fff; padding: 12px clamp(16px, 4vw, 40px); }

/* Logo image (logo.png) */
.brand-img { height: 48px; width: auto; display: block; }
.brand-img.big { height: 84px; }
.hero-logo { display: grid; place-items: center; }
.hero-logo img { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,.6)); }

/* ---------- Boutons et champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--metal); color: #1a1205; border: 0; border-radius: var(--radius);
  padding: 13px 24px; font: 700 1rem var(--font-body); cursor: pointer; text-decoration: none;
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.small { padding: 9px 16px; font-size: .92rem; }
.btn.ghost { background: transparent; color: var(--gold-hi); border: 1px solid var(--gold-lo); }
.btn.ghost:hover { background: var(--ink-3); filter: none; }
.btn.danger { background: transparent; color: var(--bad); border: 1px solid var(--bad); }
.btn.ok { background: linear-gradient(160deg, #b8e0a8, #5f9b58); color: #0c1a09; }

label { display: block; font-weight: 500; margin-bottom: 6px; }
label .req { color: var(--gold); }
input, select, textarea {
  width: 100%; background: var(--ink-2); color: var(--bone); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 11px 12px; font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
textarea { min-height: 110px; resize: vertical; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--gold); }
.field { margin-bottom: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: .86rem; color: var(--smoke); margin-top: 4px; }
.error { color: var(--bad); font-size: .92rem; margin-top: 8px; }

/* ---------- Pages ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(16px, 4vw, 40px); }
.page-head { margin-bottom: 32px; max-width: 62ch; }
.page-head p { color: var(--smoke); margin-top: 12px; }

/* Accueil */
.hero { min-height: min(86vh, 760px); display: flex; align-items: center; border-bottom: 1px solid var(--line);
  background: radial-gradient(900px 420px at 78% 40%, rgba(200,153,58,.14), transparent 70%); }
.hero-in { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 48px clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); max-width: 14ch; }
.hero p.lead { font-size: 1.15rem; color: var(--smoke); max-width: 46ch; margin: 20px 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mark {
  font-family: var(--font-display); font-weight: 800; line-height: .8; text-align: center;
  font-size: clamp(8rem, 22vw, 17rem); letter-spacing: -0.04em; user-select: none;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.65));
}
.mark small { font-size: .62em; vertical-align: top; }
.crown { display: block; margin: 0 auto 6px; width: clamp(70px, 12vw, 120px); }
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

/* Clips */
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.clip { display: block; text-decoration: none; color: inherit; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.clip:hover { border-color: var(--gold); transform: translateY(-3px); }
.thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, #261d0f, #0b0907); display: grid; place-items: center; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: rgba(11,9,7,.72); border: 1px solid var(--gold); color: var(--gold-hi); display: grid; place-items: center; padding-left: 3px; transition: background .2s, color .2s; }
.clip:hover .play { background: var(--gold); color: var(--ink); }
.clip-info { padding: 14px 16px 16px; }
.clip-info h3 { margin-bottom: 4px; }
.clip-info p { margin: 0; color: var(--smoke); font-size: .94rem; }
.empty { border: 1px dashed var(--gold-lo); padding: 36px; text-align: center; color: var(--smoke); border-radius: var(--radius); }
.empty .btn { margin-top: 14px; }

/* Packs */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.pack { position: relative; background: var(--ink-2); border: 1px solid var(--line); padding: 22px; border-radius: var(--radius); cursor: pointer; display: block; font-weight: 400; margin: 0; }
.pack input { position: absolute; opacity: 0; pointer-events: none; }
.pack:hover { border-color: var(--gold-lo); }
.pack.sel { border-color: var(--gold-hi); background: var(--ink-3); box-shadow: 0 0 0 1px var(--gold-hi); }
.pack .price { font: 800 2rem var(--font-display); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 8px 0 12px; }
.pack ul { margin: 0; padding-left: 18px; color: var(--smoke); }
.pack .devis { font: 700 1.1rem var(--font-display); color: var(--gold-hi); margin: 8px 0 10px; }
.pack-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--gold-lo); display: grid; place-items: center; color: transparent; font-size: .8rem; }
.pack.sel .pack-check { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Réservation */
.res-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { margin-bottom: 14px; }
.step { margin-bottom: 34px; }
.step > h3 { margin-bottom: 14px; font-size: 1.3rem; }
.recap { position: sticky; top: 84px; }
.recap dl { margin: 0; }
.recap dt { color: var(--smoke); font-size: .86rem; margin-top: 12px; }
.recap dd { margin: 2px 0 0; }
.recap .total { font: 800 2rem var(--font-display); background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.opt:last-child { border-bottom: 0; }
.opt label { margin: 0; }
.opt input[type=number] { width: 90px; }

.cal { max-width: 380px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; text-transform: capitalize; font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .78rem; color: var(--smoke); padding: 4px 0; }
.day { aspect-ratio: 1; border: 1px solid var(--line); background: var(--ink-2); color: var(--bone); border-radius: var(--radius); cursor: pointer; font: inherit; }
.day:hover:not(:disabled) { border-color: var(--gold); }
.day:disabled { opacity: .28; cursor: not-allowed; background: transparent; text-decoration: line-through; }
.day.sel { background: var(--metal); color: #1a1205; border-color: var(--gold-hi); font-weight: 700; }
.day.blank { border: 0; background: none; cursor: default; }
.legend { display: flex; gap: 14px; font-size: .82rem; color: var(--smoke); margin-top: 10px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

/* Badges et tableaux */
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .82rem; font-weight: 700; border: 1px solid; }
.badge.pending { color: var(--wait); border-color: var(--wait); }
.badge.accepted { color: var(--ok); border-color: var(--ok); }
.badge.refused { color: var(--bad); border-color: var(--bad); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 680px; }
.tbl th { text-align: left; font-size: .84rem; color: var(--smoke); font-weight: 500; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--ink-2); border: 1px solid var(--line); padding: 16px 18px; border-radius: var(--radius); }
.stat b { display: block; font: 800 1.8rem var(--font-display); color: var(--gold-hi); }
.stat span { color: var(--smoke); font-size: .88rem; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab { background: none; border: 0; color: var(--smoke); padding: 12px 18px; font: 500 1rem var(--font-body); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--bone); }
.tab.on { color: var(--gold-hi); border-bottom-color: var(--gold); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar select { width: auto; }

.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-row .grow { flex: 1; min-width: 180px; }
.list-row small { color: var(--smoke); display: block; }

/* Modale */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); z-index: 60; display: grid; place-items: center; padding: 16px; overflow: auto; }
.modal { background: var(--ink-2); border: 1px solid var(--gold-lo); width: min(640px, 100%); max-height: 92vh; overflow: auto; padding: 26px; border-radius: var(--radius); position: relative; }
.modal h2 { font-size: 1.6rem; margin-bottom: 16px; }
.modal-x { position: absolute; top: 12px; right: 12px; background: none; border: 0; color: var(--smoke); font-size: 1.6rem; cursor: pointer; line-height: 1; padding: 4px 10px; }
.modal-x:hover { color: var(--bone); }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 0 0 18px; }
.kv dt { color: var(--smoke); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.audio-box { background: var(--ink); border: 1px solid var(--line); padding: 14px; border-radius: var(--radius); margin-bottom: 18px; }
.audio-box audio { width: 100%; margin: 8px 0; }
.modal .actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.seg { display: flex; gap: 6px; margin-bottom: 20px; }
.seg button { flex: 1; background: var(--ink); border: 1px solid var(--line); color: var(--smoke); padding: 10px; border-radius: var(--radius); font: 700 1rem var(--font-body); cursor: pointer; }
.seg button.on { color: var(--gold-hi); border-color: var(--gold); background: var(--ink-3); }

#toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(440px, 92vw); }
.toast { background: var(--ink-3); border: 1px solid var(--gold-lo); padding: 12px 16px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.toast.err { border-color: var(--bad); }
.toast.ok { border-color: var(--ok); }

.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot-in { max-width: var(--maxw); margin: 0 auto; padding: 36px clamp(16px, 4vw, 40px); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: start; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .mark { order: -1; font-size: clamp(6rem, 34vw, 10rem); }
  .res-layout { grid-template-columns: 1fr; }
  .recap { position: static; }
  .burger { display: block; }
  .actions { margin-left: 0; }
  .top { flex-wrap: wrap; }
  .nav { display: none; order: 5; width: 100%; flex-direction: column; margin: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .grid2 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .kv dt { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Section L'agence */
.about { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-photo { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.about-photo img { display: block; width: 100%; height: auto; }
.about-text .eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin: 0 0 10px; }
.about-text h2 { margin: 0 0 18px; max-width: 20ch; }
.about-text p { color: var(--smoke); max-width: 58ch; line-height: 1.65; margin: 0 0 14px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.tags li { border: 1px solid var(--gold-lo); color: var(--gold-hi); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 340px; } }

/* ===== Effets : fumée, intro, bande de film 3D ===== */
.hero { position: relative; overflow: hidden; }
.hero-smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: relative; z-index: 1; }

.fx-lock { overflow: hidden; }
.fx-intro { position: fixed; inset: 0; z-index: 9999; background: #050403; display: grid; place-items: center;
  transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.fx-intro.out { opacity: 0; transform: scale(1.06); filter: blur(8px); pointer-events: none; }
.fx-intro-smoke { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-intro-logo { position: relative; width: min(78vw, 520px); aspect-ratio: 960 / 575; opacity: 0; transform: scale(.9); filter: blur(14px);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1), filter 1.1s ease; }
.fx-intro.in .fx-intro-logo { opacity: 1; transform: none; filter: none; }
.fx-intro-logo img { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; }
.fx-crown { clip-path: inset(0 59% 66% 8%); opacity: 0; }
.fx-intro.flash .fx-crown { animation: crownflash 1.3s ease-out forwards; }
@keyframes crownflash {
  0% { opacity: 0; filter: brightness(1); }
  25% { opacity: 1; filter: brightness(2.2) drop-shadow(0 0 22px #ffd36b); }
  100% { opacity: 1; filter: brightness(1.1) drop-shadow(0 0 10px rgba(255,200,90,.7)); }
}
.fx-skip { position: absolute; right: 18px; bottom: 18px; background: none; border: 1px solid var(--line); color: var(--smoke);
  padding: 8px 14px; border-radius: 999px; font: inherit; font-size: .85rem; cursor: pointer; }
.fx-skip:hover { color: var(--bone); border-color: var(--gold-lo); }

.fs { --fw: 270px; position: relative; height: clamp(260px, 36vw, 340px); perspective: 1300px; perspective-origin: 50% 50%;
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; display: block; outline-offset: 4px; }
.fs.grabbing { cursor: grabbing; }
.fs::before, .fs::after { content: ''; position: absolute; top: 0; bottom: 0; width: 14%; z-index: 200; pointer-events: none; }
.fs::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.fs::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.fs-stage { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.fs-frame { position: absolute; left: 0; top: 0; width: var(--fw); display: block; background: #0a0907; padding: 24px 9px; border-radius: 5px;
  text-decoration: none; color: var(--bone); -webkit-user-drag: none; backface-visibility: hidden; will-change: transform, opacity;
  box-shadow: 0 10px 30px rgba(0,0,0,.55); }
.fs-frame::before, .fs-frame::after { content: ''; position: absolute; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(239,231,214,.8) 7px 17px, transparent 17px 24px);
  -webkit-mask: linear-gradient(#000, #000); }
.fs-frame::before { top: 8px; } .fs-frame::after { bottom: 8px; }
.fs-frame.is-front { box-shadow: 0 0 46px rgba(200,153,58,.38), 0 10px 30px rgba(0,0,0,.55); }
.fs-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink-2); overflow: hidden; border-radius: 2px; }
.fs-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fs-play { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(11,9,7,.62); color: var(--gold-hi); font-size: .9rem; border: 1px solid var(--gold-lo); }
.fs-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.82)); display: grid; gap: 2px; }
.fs-cap strong { font-size: .92rem; line-height: 1.2; } .fs-cap span { font-size: .78rem; color: var(--smoke); }
.fs-btn { position: absolute; top: 50%; z-index: 300; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-lo); background: rgba(11,9,7,.7); color: var(--gold-hi); font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.fs-btn:hover { background: var(--ink-3); }
.fs-prev { left: 8px; } .fs-next { right: 8px; }
.fs.flat { height: auto; perspective: none; overflow-x: auto; cursor: auto; padding-bottom: 8px; }
.fs.flat::before, .fs.flat::after { display: none; }
.fs.flat .fs-stage { position: static; display: flex; gap: 14px; width: auto; height: auto; transform: none !important; scroll-snap-type: x mandatory; }
.fs.flat .fs-frame { position: static; flex: 0 0 var(--fw); scroll-snap-align: start; }
@media (max-width: 700px) { .fs { --fw: 215px; height: 250px; } .fs-btn { width: 38px; height: 38px; } }
@media (prefers-reduced-motion: reduce) { .fx-intro { display: none; } }

/* ===== Liquide doré : intro et transitions ===== */
.fx-intro { background: transparent; }
.fx-intro.nogl { background: #050403; }
.fx-intro-ink { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-intro-logo { transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.8,.2,1), filter .9s ease; }
.fx-intro.fade .fx-intro-logo { opacity: 0; filter: blur(10px); transform: scale(1.04); }
.fx-intro.out { transform: none; filter: none; }
.fx-tr { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9000; display: none; pointer-events: none; }
.fx-tr.on { display: block; pointer-events: auto; }

/* ===== Lecteur vidéo et choix de la source ===== */
.player-page .back { display: inline-block; color: var(--gold-hi); text-decoration: none; margin-bottom: 18px; }
.player-page .back:hover { text-decoration: underline; }
.player { position: relative; background: #000; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; display: grid; place-items: center; }
.player video { display: block; width: 100%; max-height: 78vh; background: #000; object-fit: contain; }
.player-err { padding: 40px 20px; text-align: center; display: grid; gap: 14px; justify-items: center; color: var(--smoke); }
.player-err[hidden] { display: none; }
.player-page h2 { margin: 0 0 6px; }
.player-meta { color: var(--smoke); margin: 0 0 20px; }
.seg { display: flex; flex-wrap: wrap; gap: 10px; }
.seg label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; }
.seg input { accent-color: var(--gold); }
.field.full { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.seg input { width: auto; padding: 0; margin: 0; }

/* ---- Suivi de commande + chat ---- */
.track { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.track-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; }
.track-steps li { flex: 1 0 74px; text-align: center; font-size: .72rem; color: var(--muted, #8a8274); position: relative; }
.track-steps li i { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--gold-lo); margin: 0 auto 6px; background: transparent; position: relative; z-index: 1; }
.track-steps li::before { content: ''; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.track-steps li:first-child::before { display: none; }
.track-steps li.done i { background: var(--gold); border-color: var(--gold); }
.track-steps li.done::before, .track-steps li.now::before { background: var(--gold); }
.track-steps li.done { color: var(--gold-hi); }
.track-steps li.now i { background: var(--gold-hi); border-color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(200,153,58,.25); }
.track-steps li.now { color: var(--gold-hi); font-weight: 700; }
.track-now { margin: 10px 0 0; }
.track-est { margin: 6px 0 0; font-size: .9rem; }
.contact-row, .stage-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat { margin-top: 12px; border: 1px solid var(--line); padding: 10px; }
.chat-list { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.msg { max-width: 85%; padding: 8px 12px; border: 1px solid var(--line); white-space: pre-wrap; word-break: break-word; }
.msg small { display: block; opacity: .6; margin-top: 4px; font-size: .72rem; }
.msg.cli { align-self: flex-end; border-color: var(--gold-lo); }
.msg.adm { align-self: flex-start; background: rgba(200,153,58,.08); }
.chat textarea { width: 100%; min-height: 70px; margin-bottom: 8px; }

.vplayer { width: 100%; max-height: 70vh; background: #000; display: block; }
.fb { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.fb img { width: 130px; max-width: 38%; border: 1px solid var(--line); }
.fb-main { flex: 1; min-width: 0; }
.fb-main p { margin: 8px 0; white-space: pre-wrap; word-break: break-word; }
.linklike { background: none; border: 0; color: var(--bad); padding: 0; cursor: pointer; text-decoration: underline; font: inherit; font-size: .85rem; }
.ver-chip { display: inline-flex; gap: 6px; }

.ai-fab { position: fixed; right: 14px; bottom: 72px; z-index: 60; background: var(--metal); color: #1a1308; border: 0; padding: 12px 18px; font-weight: 700; border-radius: 99px; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
.ai-panel { position: fixed; right: 14px; bottom: 128px; z-index: 61; width: min(380px, calc(100vw - 28px)); max-height: 65vh; overflow-y: auto; background: #15110c; border: 1px solid var(--gold-lo); padding: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.ai-panel[hidden] { display: none; }
.ai-panel header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; flex-wrap: wrap; }
.ai-tab { background: none; border: 0; color: var(--muted, #8a8274); padding: 4px 8px; cursor: pointer; font: inherit; font-size: .85rem; }
.ai-tab.on { color: var(--gold-hi); box-shadow: inset 0 -2px 0 var(--gold); }
.ai-x { background: none; border: 0; color: var(--gold-hi); font-size: 1.4rem; cursor: pointer; }
.ai-list { max-height: 36vh; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ai-panel textarea { width: 100%; min-height: 60px; margin-bottom: 8px; }
.ai-syn { margin: 8px 0; padding: 10px; border-left: 3px solid var(--gold); background: #1d1812; white-space: pre-wrap; }
.ai-img-out img { width: 100%; margin-top: 10px; border: 1px solid var(--line); }

.chk { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; white-space: nowrap; }
