/* =====================================================================
   MASTER5K · site perso · identité « Deep Space »
   Noir spatial · bleu · blanc froid · chrome du logo
   Square721 BdEx (titres) · Space Mono (données)
   ===================================================================== */
@font-face { font-family: 'Square721'; src: url('/assets/fonts/square721-bdex.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --void: #05060a;
  --void-2: #080a12;
  --carbon: #0d0f17;
  --carbon-2: #141827;
  --line: rgba(196, 210, 255, .13);
  --line-2: rgba(196, 210, 255, .24);
  --ice: #e8edff;
  --mist: #9aa4c6;
  --dim: #8089ab;
  --blue: #2e5bff;
  --azure: #4d7dff;
  --cyan: #3fbcff;
  --live: #ff3b5c;
  --brand: linear-gradient(90deg, #4b34ff 0%, #2e5bff 38%, #2fb2ff 62%, #2e5bff 100%);
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe4ee 36%, #8f97aa 52%, #f4f6fb 66%, #b8c0d2 100%);
  --glass: linear-gradient(180deg, rgba(20, 24, 39, .78), rgba(8, 10, 17, .9));
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Square721', 'Arial Black', 'Helvetica Neue', sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --r: 14px;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--void); color: var(--ice);
  font: 400 16px/1.6 var(--mono); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* champ d'étoiles fixe (CSS seul, aucun coût de script) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 38% 64%, rgba(190,210,255,.5), transparent 60%),
    radial-gradient(1px 1px at 86% 72%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 56% 38%, rgba(255,255,255,.3), transparent 60%),
    radial-gradient(1px 1px at 22% 86%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 34%, rgba(170,200,255,.45), transparent 60%),
    radial-gradient(120vmax 80vmax at 85% 110%, rgba(46, 91, 255, .09), transparent 60%),
    radial-gradient(90vmax 60vmax at -10% 40%, rgba(75, 52, 255, .06), transparent 60%),
    var(--void);
  background-size: 420px 420px, 520px 520px, 610px 610px, 470px 470px, 380px 380px, 560px 560px, 690px 690px, 100% 100%, 100% 100%, 100% 100%;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
kbd { font: 700 .9em var(--mono); padding: .1em .45em; border-radius: 5px; border: 1px solid var(--line-2); background: var(--carbon-2); color: var(--ice); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ice); color: var(--void); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.micro { display: inline-flex; align-items: center; gap: .7em; margin: 0; font: 700 11px/1.4 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mist); }
.idx { color: var(--azure); }
.spark { width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); filter: drop-shadow(0 0 4px rgba(160, 200, 255, .9)); }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { background: linear-gradient(180deg, #ffffff 10%, #8fb0ff 70%, #4d7dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- boutons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h); padding: 0 22px; border-radius: 10px;
  font: 700 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn-primary { background: var(--brand); background-size: 160% 100%; color: #fff; box-shadow: 0 8px 26px -8px rgba(46, 91, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 34px -10px rgba(46, 91, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: rgba(10, 13, 22, .55); border-color: var(--line-2); color: var(--ice); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(160, 190, 255, .55); transform: translateY(-2px); }

/* ---------- en-tête ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  display: flex; align-items: center; gap: 24px; padding-inline: var(--pad);
  background: linear-gradient(180deg, rgba(5, 6, 10, .92), rgba(5, 6, 10, .72));
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: auto; filter: drop-shadow(0 4px 10px rgba(46, 91, 255, .35)); }
.brand span { font: 700 18px/1 var(--display); letter-spacing: .04em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 10px 14px; border-radius: 8px; font: 700 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ice); background: rgba(120, 150, 255, .08); }
.nav-toggle { display: none; }
.status {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--line-2); background: rgba(13, 15, 23, .7); text-decoration: none;
  font: 700 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mist); white-space: nowrap;
  transition: border-color .3s, color .3s, box-shadow .3s;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.status[data-status="live"] { color: #fff; border-color: rgba(255, 59, 92, .55); box-shadow: 0 0 22px -6px rgba(255, 59, 92, .7); }
.status[data-status="live"] .dot, .offline[data-state="live"] .dot { background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 92, .6); animation: pulse 1.6s infinite; }
.status[data-status="offline"] .dot { background: var(--azure); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }

/* ---------- héros / live ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(18px, 2.6vw, 34px) 0 clamp(30px, 4vw, 56px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg-img, .hero-bh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg-img { opacity: .38; filter: blur(18px) saturate(120%); transform: scale(1.15); }
.hero-bh { opacity: 0; transition: opacity 2.4s var(--ease); }
.hero-bh.on { opacity: .85; }
.hero-veil { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 0%, transparent 30%, rgba(5, 6, 10, .65) 70%, var(--void) 100%), linear-gradient(180deg, rgba(5, 6, 10, .2) 0%, rgba(5, 6, 10, .5) 55%, var(--void) 100%); }

.stage-w { width: 100%; max-width: 1880px; margin-inline: auto; padding-inline: clamp(12px, 2.4vw, 40px); }
.hero-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 16px; }
.hero-id { display: grid; gap: 8px; }
.live-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { --h: 42px; padding: 0 16px; font-size: 11px; }
.tool[aria-pressed="true"] { background: var(--blue); border-color: var(--azure); color: #fff; }
#side-btn { display: none; }
.hero-title {
  margin: 0; font: 700 clamp(34px, 5.6vw, 84px)/.9 var(--display); letter-spacing: -.01em; white-space: nowrap;
  filter: drop-shadow(0 .03em 0 rgba(0, 0, 0, .6)) drop-shadow(0 0 .25em rgba(90, 130, 255, .28));
}
.stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 22vw, 380px); gap: 14px; align-items: stretch; }
.player, .chat {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: var(--carbon); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 60px -20px rgba(46, 91, 255, .35);
}
.player { aspect-ratio: 16 / 9; }
/* repères d'angle façon HUD */
.player::after {
  content: ""; position: absolute; inset: 10px; z-index: 3; pointer-events: none;
  background:
    linear-gradient(var(--ice), var(--ice)) top left / 18px 1px, linear-gradient(var(--ice), var(--ice)) top left / 1px 18px,
    linear-gradient(var(--ice), var(--ice)) top right / 18px 1px, linear-gradient(var(--ice), var(--ice)) top right / 1px 18px,
    linear-gradient(var(--ice), var(--ice)) bottom left / 18px 1px, linear-gradient(var(--ice), var(--ice)) bottom left / 1px 18px,
    linear-gradient(var(--ice), var(--ice)) bottom right / 18px 1px, linear-gradient(var(--ice), var(--ice)) bottom right / 1px 18px;
  background-repeat: no-repeat; opacity: .35; transition: opacity .4s;
}
.player.is-live::after { opacity: 0; }
.player-frame, .player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.offline { position: absolute; inset: 0; z-index: 2; transition: opacity .6s var(--ease), visibility .6s; }
.offline img { width: 100%; height: 100%; object-fit: cover; }
.offline-ui {
  position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: clamp(14px, 2.4vw, 26px); background: linear-gradient(180deg, transparent, rgba(4, 5, 9, .88) 55%);
}
.offline-state { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 700 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.offline-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.player.is-live .offline { opacity: 0; visibility: hidden; }

.chat { display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(8, 10, 17, .9); }
.chat-toggle { display: none; }
.chat-body { position: relative; flex: 1; min-height: 0; }
.chat-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #0e0e10; }
.chat-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--dim); font-size: 13px; }

.hero-foot { margin-top: 18px; }
.hero-foot.wrap { max-width: 1880px; padding-inline: clamp(12px, 2.4vw, 40px); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.facts > div { padding: 16px 20px; background: rgba(9, 11, 18, .86); backdrop-filter: blur(6px); }
.facts dt { font: 700 10px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }
.facts dd { margin: 6px 0 0; font: 700 clamp(22px, 2.4vw, 30px)/1 var(--display); }
.facts sup { font-size: .5em; vertical-align: .9em; margin-left: 1px; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(13, 16, 28, .55) 18%, rgba(13, 16, 28, .55) 82%, transparent); }
.sec-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-title { margin: 0; font: 700 clamp(34px, 5.4vw, 72px)/.95 var(--display); letter-spacing: -.005em; }
.sec-lead { margin: 0; color: var(--mist); font-size: clamp(14px, 1.3vw, 16px); max-width: 60ch; }
.source, .fine { margin: 0; font-size: 12px; color: var(--dim); }
.source a, .fine a { color: var(--mist); text-underline-offset: 3px; }
.source a:hover, .fine a:hover { color: var(--ice); }

/* ---------- classes ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 99px; cursor: pointer;
  border: 1px solid var(--line-2); background: rgba(13, 15, 23, .7); color: var(--mist);
  font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; transition: all .2s;
}
.chip:hover { color: var(--ice); border-color: rgba(160, 190, 255, .5); }
.chip[aria-pressed="true"] { color: #fff; background: var(--blue); border-color: var(--azure); box-shadow: 0 6px 20px -8px rgba(46, 91, 255, .9); }

.loadouts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; margin: 0 0 20px; padding: 0; list-style: none; }
.lo {
  position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.lo:hover { border-color: rgba(140, 170, 255, .38); transform: translateY(-3px); box-shadow: 0 24px 60px -30px rgba(46, 91, 255, .6); }
.lo[hidden] { display: none; }
.lo.is-featured { grid-column: 1 / -1; }
.lo-top { position: relative; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); overflow: hidden; }
.lo-top::before { /* halo + grille de plan technique */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(46, 91, 255, .22), transparent 60%),
    linear-gradient(rgba(150, 180, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(150, 180, 255, .05) 1px, transparent 1px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.lo-top > * { position: relative; z-index: 1; }
.lo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.tier { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font: 700 15px/1 var(--display); color: #fff; background: var(--brand); box-shadow: 0 0 18px -4px rgba(63, 188, 255, .7); }
.tier.t-A { background: linear-gradient(180deg, #2a3350, #1a2036); box-shadow: inset 0 0 0 1px var(--line-2); }
.tier.t-B { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mist); }
.lo-name { margin: 0; font: 700 clamp(30px, 3.4vw, 44px)/.95 var(--display); letter-spacing: -.01em; }
.lo-type { margin: 6px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.lo-pick { margin-left: auto; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.lo-pick b { font: 700 18px/1 var(--display); letter-spacing: 0; color: var(--ice); margin-right: 2px; }

.lo-body { display: grid; gap: 18px; padding: 18px 22px 22px; flex: 1; }
.atts { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.atts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(196, 210, 255, .1); }
.atts li:last-child { border-bottom: 0; }
.slot-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(46, 91, 255, .1); border: 1px solid rgba(110, 150, 255, .22); color: #a9c0ff; }
.slot-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.atts small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); line-height: 1.3; }
.atts strong { display: block; font-size: 14px; line-height: 1.35; color: var(--ice); overflow-wrap: anywhere; }

.ttk { display: grid; gap: 8px; }
.ttk-head { display: flex; justify-content: space-between; align-items: baseline; }
.ttk-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; align-items: end; height: 74px; margin: 0; padding: 0; list-style: none; }
.ttk-bars li { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.ttk-bars .bar { border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #8fb0ff, #2e5bff); box-shadow: 0 0 14px -4px rgba(63, 140, 255, .7); transform-origin: bottom; }
.ttk-bars .v { font-size: 11px; font-weight: 700; color: var(--ice); margin-bottom: 4px; }
.ttk-bars .k { margin-top: 6px; font-size: 10px; color: var(--dim); letter-spacing: .04em; }
.stats3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; margin: 0; }
.stats3 > div { padding: 12px; border-radius: 10px; background: rgba(46, 91, 255, .07); border: 1px solid rgba(110, 150, 255, .16); }
.stats3 dt { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.stats3 dd { margin: 6px 0 0; font: 700 18px/1.1 var(--display); }

.lo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: rgba(5, 6, 10, .5); }
.code-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 0 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--carbon-2); font: 700 13px/1 var(--mono); letter-spacing: .06em; color: var(--ice); transition: border-color .2s, background-color .2s;
}
.code-btn:hover { border-color: var(--azure); }
.code-hint { padding: 8px 10px; border-radius: 7px; background: rgba(46, 91, 255, .2); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #bcd0ff; }
.code-btn.copied .code-hint { background: var(--blue); color: #fff; }
.lo-src { font-size: 11px; color: var(--dim); text-decoration: none; letter-spacing: .08em; }
.lo-src:hover { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }

/* carte vedette (arme principale) : en 2 colonnes sur grand écran */
@media (min-width: 900px) {
  .lo.is-featured .lo-body { grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
  .lo.is-featured .lo-name { font-size: clamp(44px, 5vw, 72px); }
}

/* ---------- TikTok ---------- */
.tt-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.tt-grid > * { min-width: 0; }
.tt-videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.tt-videos[aria-busy="true"] { min-height: 360px; }
.tt-item { position: relative; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: radial-gradient(70% 50% at 50% 40%, rgba(46, 91, 255, .22), transparent 70%), var(--carbon); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .9), 0 0 50px -26px rgba(46, 91, 255, .55); }
.tt-item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tt-play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; text-align: left; }
.tt-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.tt-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 6, 10, 0) 45%, rgba(5, 6, 10, .92)); }
.tt-btn { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(46, 91, 255, .85); box-shadow: 0 0 0 1px rgba(160, 190, 255, .6), 0 0 40px -4px rgba(46, 91, 255, .95); backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .3s; }
.tt-btn svg { width: 30px; height: 30px; margin-left: 3px; fill: #fff; }
.tt-title { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(14px, 1.15vw, 17px); font-weight: 600; line-height: 1.4; color: var(--ice); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.tt-play:hover img, .tt-play:focus-visible img { transform: scale(1.04); filter: brightness(1.1); }
.tt-play:hover .tt-btn, .tt-play:focus-visible .tt-btn { transform: scale(1.1); background: var(--blue); }
.tt-play:focus-visible { outline: 2px solid var(--ice); outline-offset: -4px; border-radius: 16px; }
.tt-card { position: static; order: -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; justify-items: start; padding: 18px 22px; border-radius: 18px; background: radial-gradient(120% 80% at 0% 0%, rgba(46, 91, 255, .28), transparent 60%), var(--glass); border: 1px solid rgba(110, 150, 255, .3); }
.tt-card .soc-ico { width: 56px; height: 56px; }
.tt-card .soc-ico svg { width: 26px; height: 26px; fill: currentColor; }
.tt-handle { margin: -6px 0 0; font: 700 clamp(24px, 2.4vw, 32px)/1 var(--display); }
.tt-card .micro { display: none; } .tt-handle { margin: 0; }
@media (max-width: 1100px) { .tt-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- réseaux ---------- */
.socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.soc a {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px;
  min-height: 112px; padding: 22px; border-radius: 18px; text-decoration: none; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.soc a::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 0% 0%, rgba(46, 91, 255, .25), transparent 55%); opacity: 0; transition: opacity .4s; }
.soc a:hover { transform: translateY(-3px); border-color: rgba(140, 170, 255, .45); box-shadow: 0 24px 60px -30px rgba(46, 91, 255, .7); }
.soc a:hover::before { opacity: 1; }
.soc-ico { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; color: #05060a; box-shadow: 0 8px 22px -10px rgba(140, 170, 255, .8); }
.soc-ico svg { width: 26px; height: 26px; fill: currentColor; }
.soc-txt { position: relative; min-width: 0; }
.soc-txt strong { display: block; font: 700 22px/1.1 var(--display); }
.soc-txt span { display: block; margin-top: 4px; font-size: 13px; color: var(--mist); overflow-wrap: anywhere; }
.soc-arrow { position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.soc-arrow::before { content: ""; width: 9px; height: 9px; border-top: 2px solid var(--ice); border-right: 2px solid var(--ice); transform: translate(-1px, 1px) rotate(45deg); }
.soc a:hover .soc-arrow { transform: rotate(-45deg); background: var(--blue); border-color: var(--azure); }
.soc.is-main { grid-column: span 3; }
.soc.is-main a { min-height: 140px; background: linear-gradient(110deg, rgba(46, 91, 255, .28), rgba(13, 16, 28, .9) 55%), var(--glass); border-color: rgba(110, 150, 255, .35); }
.soc.is-main .soc-txt strong { font-size: clamp(26px, 3vw, 40px); }


/* ---------- setup ---------- */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.specs > div { padding: 20px; background: rgba(9, 11, 18, .92); }
.specs dt { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--azure); }
.specs dd { margin: 8px 0 0; font-size: 14px; color: var(--ice); line-height: 1.45; }

/* ---------- pied ---------- */
.foot { padding: 44px 0 calc(44px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(5, 6, 10, .8); }
.foot-grid { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px 32px; }
.foot-socials { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0; padding: 0; list-style: none; }
.foot-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--ice); transition: background-color .2s, border-color .2s; }
.foot-socials a:hover { background: var(--blue); border-color: var(--azure); }
.foot-socials svg { width: 18px; height: 18px; fill: currentColor; }
.foot .fine { grid-column: 1 / -1; }
.portfolio-link { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; text-decoration: none; border: 1px solid var(--line-2); background: linear-gradient(110deg, rgba(46, 91, 255, .18), rgba(13, 16, 28, .6) 60%); transition: border-color .3s, transform .4s var(--ease); }
.portfolio-link > span:nth-child(2) { display: grid; gap: 4px; margin-right: auto; }
.portfolio-link strong { font: 700 18px/1.1 var(--display); }
.portfolio-link:hover { border-color: rgba(140, 170, 255, .55); transform: translateY(-2px); }
.portfolio-link:hover .soc-arrow { transform: rotate(-45deg); background: var(--blue); border-color: var(--azure); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 10px; background: var(--ice); color: var(--void); font-weight: 700; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- apparitions ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- fil d'activité du live ---------- */
.feed { display: flex; align-items: center; gap: 14px; margin-top: 12px; overflow: hidden; }
.feed-label { flex: none; }
.feed-list { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.feed-item { flex: none; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(13, 15, 23, .8); font-size: 12px; color: var(--mist); white-space: nowrap; animation: feed-in .6s var(--ease); }
.feed-item b { color: var(--ice); }
.feed-item time { margin-left: 6px; font-size: 10px; color: var(--dim); }
.feed-item.t-raid, .feed-item.t-giftbomb { border-color: rgba(110, 150, 255, .55); box-shadow: 0 0 18px -6px rgba(46, 91, 255, .8); }
@keyframes feed-in { from { opacity: 0; transform: translateX(-12px); } }

/* ---------- alertes du site ---------- */
.alerts { position: fixed; z-index: 120; top: calc(var(--head-h) + 16px); left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 24px)); pointer-events: none; }
.alert {
  position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(110deg, rgba(46, 91, 255, .35), rgba(8, 10, 17, .94) 55%); border: 1px solid rgba(140, 170, 255, .55);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(46, 91, 255, .7); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(-24px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.alert::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-100%); }
.alert.in { opacity: 1; transform: none; }
.alert.in::after { animation: glint 1.6s .3s var(--ease); }
.alert.out { opacity: 0; transform: translateY(-12px) scale(.98); }
@keyframes glint { to { transform: translateX(100%); } }
.alert-spark { flex: none; width: 44px; height: 44px; background: #fff; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); filter: drop-shadow(0 0 10px rgba(160, 200, 255, 1)); animation: spin 3s var(--ease) infinite; }
@keyframes spin { 50% { transform: rotate(45deg) scale(.8); } }
.alert-txt { display: grid; gap: 2px; min-width: 0; }
.alert-txt .micro { color: #b9ccff; }
.alert-txt strong { font: 700 clamp(22px, 3vw, 32px)/1.05 var(--display); overflow-wrap: anywhere; }
.alert-txt > span:last-child { color: var(--ice); font-size: 14px; }
.alert.lvl-3 { border-color: #fff; box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .9), 0 0 90px -6px rgba(63, 160, 255, .95); }
.shock { position: fixed; z-index: 110; inset: 0; pointer-events: none; opacity: 0; }
.shock.go { animation: shock 1.4s var(--ease) forwards; background: radial-gradient(circle at 50% 30%, transparent 0, transparent 30%, rgba(77, 125, 255, .35) 34%, transparent 40%); }
.shock.go.lvl-3 { animation-duration: 1.9s; }
@keyframes shock { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(2.4); } }
.top, .player { transition: box-shadow .5s var(--ease), border-color .5s; }
body.hit .top { box-shadow: 0 0 40px -6px rgba(46, 91, 255, .9); border-bottom-color: rgba(140, 170, 255, .6); }
body.hit .player { box-shadow: 0 0 0 1px rgba(160, 190, 255, .7), 0 0 80px -10px rgba(46, 91, 255, .95); }
.status.ping { animation: ping .9s var(--ease); }
@keyframes ping { 30% { transform: scale(1.08); box-shadow: 0 0 26px -2px rgba(46, 91, 255, .95); } }

/* ---------- mode studio : lecteur plein écran + chat ---------- */
body.studio { overflow: hidden; }
body.studio #live { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; padding: 12px 0; background: var(--void); }
body.studio .hero-head { margin-bottom: 10px; max-width: none; }
body.studio .hero-title { font-size: 26px; }
body.studio .hero-id .micro, body.studio .hero-foot { display: none; }
body.studio #side-btn { display: inline-flex; }
body.studio .stage { flex: 1; min-height: 0; max-width: none; grid-template-columns: minmax(0, 1fr) 380px; }
body.studio.chat-left .stage { grid-template-columns: 380px minmax(0, 1fr); }
body.studio.chat-left .chat { order: -1; }
body.studio .player { aspect-ratio: auto; height: 100%; }
body.studio .chat-body { display: block !important; flex: 1 !important; height: auto; max-height: none; }
body.studio .chat-toggle { display: none; }
body.studio .feed { max-width: none; }
body.studio .alerts { top: 76px; }
@media (max-width: 860px) {
  body.studio .stage, body.studio.chat-left .stage { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  body.studio .player { height: auto; aspect-ratio: 16 / 9; }
  body.studio.chat-left .chat { order: 0; }
  body.studio #side-btn { display: none; }
}

/* ---------- image d'arme (si fournie dans classes.js) ---------- */
/* vitrine de l'arme : zone dédiée, arme centrée, jamais sur le nom */
.lo.has-gun .lo-top { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "meta" "stage" "name" "type"; }
.lo.has-gun .lo-meta { grid-area: meta; }
.lo.has-gun .lo-name { grid-area: name; }
.lo.has-gun .lo-type { grid-area: type; }
.lo-stage { grid-area: stage; position: relative; display: grid; place-items: center; --stage-h: 150px; height: var(--stage-h); margin: 0 0 16px; }
.lo-stage::before { /* halo + sol lumineux sous l'arme */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 6px; height: 34px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 91, 255, .45), rgba(46, 91, 255, 0)); filter: blur(4px);
}
.lo-gun { position: relative; display: block; width: auto; height: auto; max-width: 92%; max-height: calc(var(--stage-h) - 14px); object-fit: contain;
  filter: hue-rotate(100deg) saturate(.85) brightness(1.05) drop-shadow(0 14px 16px rgba(0, 0, 0, .75)) drop-shadow(0 0 22px rgba(46, 91, 255, .3));
  transition: transform .6s var(--ease); }
.lo:hover .lo-gun { transform: translateY(-4px) scale(1.03); }
@media (min-width: 900px) {
  .lo.is-featured.has-gun .lo-top { grid-template-columns: minmax(0, 1fr) minmax(0, 46%); grid-template-rows: auto auto 1fr; grid-template-areas: "meta stage" "name stage" "type stage"; column-gap: 32px; }
  .lo.is-featured .lo-stage { --stage-h: 220px; margin: 0; align-self: center; }
}
.slot-ico img { width: 30px; height: 30px; object-fit: contain; }
@media (max-width: 560px) {
  .lo-stage { --stage-h: 120px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stage { grid-template-columns: 1fr; }
  .chat { height: auto; }
  .chat-toggle { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font: 700 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
  .chat-body { display: none; height: 70vh; max-height: 560px; }
  .chat.open .chat-body { display: block; flex: none; }
  .socials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soc.is-main { grid-column: span 2; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .offline-ui { inset: 10px 10px auto auto; padding: 0; background: none; }
  .offline-ui .btn { --h: 36px; padding: 0 12px; font-size: 10px; letter-spacing: .1em; }
  .offline-cta .btn-ghost, .offline-state { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; background: var(--ice); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; } .burger::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .burger { background: transparent; }
  .nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
  .nav ul { position: fixed; inset: var(--head-h) 0 auto 0; display: grid; gap: 0; padding: 8px var(--pad) 20px; background: rgba(5, 6, 10, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
  .nav ul.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 13px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .status { order: 2; padding: 0 12px; }
  .nav { order: 3; margin-left: 0; }
  .brand { margin-right: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tt-grid { grid-template-columns: 1fr; }
  .tt-videos { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80vw, 340px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .tt-item { scroll-snap-align: start; }
  .tt-card { position: static; order: -1; }
}
@media (max-width: 560px) {
  :root { --head-h: 60px; }
  .brand span { display: none; }
  .player::after { inset: 6px; }
  .socials { grid-template-columns: 1fr; }
  .ttk-head .fine { display: none; }
  .soc.is-main { grid-column: auto; }
  .soc a { grid-template-columns: 48px 1fr auto; min-height: 92px; padding: 18px; }
  .soc-ico { width: 48px; height: 48px; }
  .lo-top, .lo-body, .lo-foot { padding-inline: 16px; }
  .specs { grid-template-columns: 1fr; }
  .p-products, .p-products:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-socials { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* carte TikTok sur petit écran */
@media (max-width: 560px) {
  .tt-card { grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; }
  .tt-card .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
  .tt-handle { font-size: 22px; overflow-wrap: anywhere; }
}

/* ---------- réglages manette (sous le setup) ---------- */
.pad { margin-top: clamp(28px, 4vw, 44px); }
.pad[hidden] { display: none; }
.pad-title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 700 clamp(18px, 2vw, 24px)/1.1 var(--display); }
.pad-ico { width: 26px; height: 26px; fill: var(--azure); filter: drop-shadow(0 0 10px rgba(46, 91, 255, .6)); }
.pad-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; }
.pad-grid > div { display: grid; align-content: space-between; gap: 14px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(120% 90% at 0% 0%, rgba(46, 91, 255, .12), transparent 60%), rgba(9, 11, 18, .92); }
.pad-grid > div { grid-column: span 2; }
.pad-grid > .pad-range, .pad-grid > .pad-w3 { grid-column: span 3; }
.pad-grid > .pad-w6 { grid-column: 1 / -1; }
.pad-grid dt { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--azure); }
.pad-grid dd { display: grid; gap: 12px; margin: 0; }
.pad-grid b { font: 700 clamp(28px, 3vw, 40px)/1 var(--display); color: var(--ice); letter-spacing: -.01em; }
.pad-bar { position: relative; display: block; height: 8px; border-radius: 99px; background: rgba(196, 210, 255, .1); overflow: hidden; }
.pad-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: var(--brand); box-shadow: 0 0 12px rgba(46, 91, 255, .7); }
@media (max-width: 860px) { .pad-grid { grid-template-columns: 1fr 1fr; } .pad-grid > div, .pad-grid > .pad-w3, .pad-grid > .pad-w6 { grid-column: auto; } .pad-grid > .pad-range { grid-column: 1 / -1; } .pad-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- contenu publié depuis /admin ---------- */
.cms-wait [data-cms] { visibility: hidden; }
.sec-lead[hidden] { display: none; }
.specs .spec-img { display: block; width: 100%; height: clamp(84px, 8vw, 120px); margin: 0 0 14px; object-fit: contain; object-position: left center; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); }
.specs dd a { color: inherit; text-decoration: underline; text-decoration-color: rgba(140, 170, 255, .5); text-underline-offset: 3px; }
.specs dd a:hover { text-decoration-color: var(--azure); }

/* ---------- PARTENAIRES ----------
   Trois mises en page verrouillées (/partners.js). Seules les couleurs --pa (principale) et --pb (secondaire)
   changent, choisies dans la palette fermée du panneau admin. */
.partner { --pa: #2e5bff; --pb: #3fbcff; overflow: hidden; }
.partner::before { content: ""; position: absolute; inset: 10% -10% auto auto; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--pa) 18%, transparent), transparent); pointer-events: none; }
.p-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.p-copy { display: grid; gap: 18px; justify-items: start; }
.p-title { line-height: 1; }
.p-logo { display: block; width: clamp(190px, 23vw, 310px); height: auto; max-height: clamp(60px, 8vw, 110px); object-fit: contain; object-position: left center; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--pa) 35%, transparent)); }
.p-name { background: linear-gradient(90deg, var(--ice) 30%, var(--pb)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.p-code { display: grid; gap: 8px; }
.partner .code-btn:hover { border-color: var(--pa); }
.partner .code-hint { background: color-mix(in srgb, var(--pa) 22%, transparent); color: color-mix(in srgb, var(--pa) 35%, #fff); }
.partner .code-btn.copied .code-hint { background: var(--blue); color: #fff; }
.p-cta { display: grid; gap: 10px; justify-items: start; }
/* vitrine produits */
.p-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.p-products:has(> li:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.p-products:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-products li { position: relative; padding: 22px 18px 18px; border-radius: 18px; background: radial-gradient(90% 70% at 50% 35%, color-mix(in srgb, var(--pa) 22%, transparent), transparent 70%), var(--glass); border: 1px solid var(--line); }
.p-products img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .65)); transition: transform .6s var(--ease); }
.p-products li:hover img { transform: translateY(-6px) rotate(-2deg); }
.p-products p { display: grid; gap: 2px; margin: 12px 0 0; }
.p-products strong { font: 700 18px/1.1 var(--display); }
.p-products span { font-size: 12px; color: var(--mist); letter-spacing: .08em; }
/* grand visuel */
.p-visual::before { inset: 10% auto auto -12%; width: 64vmax; height: 64vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--pa) 12%, transparent), transparent); }
.p-grid-visual { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.p-grid-visual.is-right .p-figure { order: 2; }
.p-figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px color-mix(in srgb, var(--pa) 8%, transparent); aspect-ratio: 16 / 9; }
.p-figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--pb) 18%, transparent), transparent 40%, transparent 60%, color-mix(in srgb, var(--pa) 14%, transparent)); mix-blend-mode: screen; pointer-events: none; }
.p-figure:hover img { transform: scale(1.03); }
.p-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin: 0; padding: 0; list-style: none; }
.p-perks li { display: grid; gap: 3px; padding: 14px 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); border-left: 2px solid var(--pa); }
.p-perks li:nth-child(even) { border-left-color: var(--pb); }
.p-perks strong { font: 700 15px/1.1 var(--display); letter-spacing: .02em; }
.p-perks span { font-size: 12px; color: var(--mist); }
.p-grid.is-solo { grid-template-columns: minmax(0, 760px); }
/* bandeau */
.p-banner { padding: clamp(28px, 4vw, 52px) 0; }
.p-banner::before { inset: -60% auto auto -10%; width: 50vmax; height: 50vmax; }
.p-band { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 44px); padding: clamp(20px, 3vw, 32px); border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(60% 120% at 0% 50%, color-mix(in srgb, var(--pa) 16%, transparent), transparent 70%), var(--glass); }
.p-band-id { display: grid; gap: 10px; justify-items: start; }
.p-band .p-logo { width: clamp(140px, 16vw, 220px); max-height: 64px; }
.p-band .p-title { font-size: clamp(26px, 3vw, 40px); }
.p-band-act { display: flex; flex-wrap: wrap; align-items: end; justify-content: flex-end; gap: 14px; }
@media (max-width: 960px) {
  .p-grid, .p-grid-visual { grid-template-columns: 1fr; }
  .p-grid-visual.is-right .p-figure { order: 0; }
  .p-band { grid-template-columns: 1fr; }
  .p-band-act { justify-content: flex-start; }
}
