/* Exiozz — styles partagés par index.html et shop.html */
:root {
  --bg: #0a0a0a;
  --card: #131313;
  --card-2: #1a1a1a;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #f2f2f2;
  --ink-2: #a3a3a3;
  --ink-3: #7c7c7c;
  --ink-4: #5c5c5c;
  --glow-1: #1f1f1f;
  --glow-2: #161616;
  --grid: rgba(255, 255, 255, .028);
  --menu: #141414;
  --raised: #262626;
  --raised-h: #303030;
  --modal: #111111;
  --open: #171717;
  --box: rgba(19, 19, 19, .85);
  --fill: rgba(255, 255, 255, .04);
  --fill-2: rgba(255, 255, 255, .07);
  --nav-bg: rgba(18, 18, 18, .72);
  --inv: #f2f2f2;
  --inv-ink: #0a0a0a;
  --dev: #5f5f5f;
  --av: #222222;
  --pin: #c7b8ff;
  --shadow: rgba(0, 0, 0, .6);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: 48px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
html[data-theme="light"] { color-scheme: light;
  --bg: #f3f2ee; --card: #ffffff; --card-2: #fafaf7;
  --line: rgba(10, 10, 10, .08); --line-2: rgba(10, 10, 10, .16);
  --ink: #0d0d0d; --ink-2: #444444; --ink-3: #5e5e5e; --ink-4: #737373;
  --glow-1: #ffffff; --glow-2: #e9e8e3; --grid: rgba(0, 0, 0, .045);
  --menu: #ffffff; --raised: #e8e7e2; --raised-h: #dddcd6; --modal: #ffffff; --open: #ffffff; --box: rgba(255, 255, 255, .9);
  --fill: rgba(0, 0, 0, .035); --fill-2: rgba(0, 0, 0, .06); --nav-bg: rgba(255, 255, 255, .78);
  --inv: #0d0d0d; --inv-ink: #f3f2ee; --dev: #a6a6a6; --av: #e8e7e2; --pin: #5b3fd0; --shadow: rgba(0, 0, 0, .14); }
/* Changement de thème : révélation circulaire (View Transitions) */
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.vt-theme::view-transition-old(root) { z-index: 1; }
html.vt-theme::view-transition-new(root) { z-index: 2; }
/* Éléments propres au thème */
:root { --strap: #0d0d0d; --strap-edge: #262626; --strap-text: #6a6a6a; --intro: #000000; --intro-chip: #141414; --globe-glow: rgba(255, 90, 31, .08); }
html[data-theme="light"] { --strap: #e9e8e3; --strap-edge: #d6d5cf; --strap-text: #8a8a8a; --intro: #f3f2ee; --intro-chip: #ffffff; --globe-glow: rgba(0, 0, 0, .05); }
body {
  margin: 0; color: var(--ink); font: 400 15px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 20% 0%, var(--glow-1) 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 40%, var(--glow-2) 0%, transparent 60%),
    var(--bg);
  padding-top: var(--bar-h, 0px);
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--bg); }
svg.lucide { width: 16px; height: 16px; stroke-width: 1.75; flex: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Intro */
/* ===== Écran de chargement ===== */
html.loading { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 100; color: var(--ink); display: grid; place-items: center; }
.ld-cols { position: absolute; inset: 0; display: flex; }
.ld-cols i { flex: 1; margin-right: -1px; background: var(--intro); transition: transform .9s cubic-bezier(.76, 0, .24, 1); }
.intro.out .ld-cols i { transform: translateY(-101%); }
.intro.out .ld-cols i:nth-child(2) { transition-delay: .06s; } .intro.out .ld-cols i:nth-child(3) { transition-delay: .12s; }
.intro.out .ld-cols i:nth-child(4) { transition-delay: .18s; } .intro.out .ld-cols i:nth-child(5) { transition-delay: .24s; }
.intro::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 400px at 50% 45%, rgba(255, 90, 31, .10), transparent 70%); transition: opacity .4s; }
.intro.out::before { opacity: 0; }
.intro-in { position: relative; width: min(420px, calc(100% - 48px)); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; transition: opacity .45s var(--ease), transform .6s cubic-bezier(.76, 0, .24, 1), filter .45s; }
.intro.out .intro-in { opacity: 0; transform: translateY(-40px) scale(.96); filter: blur(6px); }
/* Plaque Roblox en 3D : 9 briques tombent puis s'allument avec le chargement */
.ld-stage { width: 150px; height: 120px; display: grid; place-items: center; perspective: 600px; margin-bottom: 6px; }
.ld-plate { display: grid; grid-template-columns: repeat(3, 34px); gap: 6px; padding: 10px; border-radius: 12px; background: var(--intro-chip); border: 1px solid var(--line-2); transform: rotateX(58deg) rotateZ(-45deg); transform-style: preserve-3d; box-shadow: 0 30px 50px -20px var(--shadow); animation: ld-spin 6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes ld-spin { 50% { transform: rotateX(58deg) rotateZ(-30deg); } }
.ld-plate span { position: relative; width: 34px; height: 34px; border-radius: 7px; background: var(--raised); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); transform: translateZ(70px); opacity: 0; animation: ld-drop .7s cubic-bezier(.34, 1.56, .64, 1) forwards; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.ld-plate span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: inherit; box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 2px 3px rgba(0,0,0,.25); }
.ld-plate span:nth-child(1) { animation-delay: .05s; } .ld-plate span:nth-child(2) { animation-delay: .15s; } .ld-plate span:nth-child(3) { animation-delay: .25s; }
.ld-plate span:nth-child(4) { animation-delay: .35s; } .ld-plate span:nth-child(5) { animation-delay: .45s; } .ld-plate span:nth-child(6) { animation-delay: .55s; }
.ld-plate span:nth-child(7) { animation-delay: .65s; } .ld-plate span:nth-child(8) { animation-delay: .75s; } .ld-plate span:nth-child(9) { animation-delay: .85s; }
@keyframes ld-drop { from { transform: translateZ(70px); opacity: 0; } 60% { opacity: 1; } to { transform: translateZ(0); opacity: 1; } }
.ld-plate span.on { background: var(--accent); box-shadow: inset 0 -4px 0 rgba(0,0,0,.22), 0 0 18px rgba(255, 90, 31, .45); }
.intro.ready .ld-plate span { animation: ld-hop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.intro.ready .ld-plate span:nth-child(3n+2) { animation-delay: .06s; } .intro.ready .ld-plate span:nth-child(3n) { animation-delay: .12s; }
@keyframes ld-hop { 0% { transform: translateZ(0); opacity: 1; } 45% { transform: translateZ(26px); opacity: 1; } 100% { transform: translateZ(0); opacity: 1; } }
.ld-title { margin: 0; font: 700 clamp(28px, 4vw, 46px)/1.15 var(--display); letter-spacing: -.02em; }
.ld-title > span { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.ld-title > span > span { display: inline-block; transform: translateY(110%); animation: ld-word .9s cubic-bezier(.16, 1, .3, 1) forwards; }
.ld-title > span:nth-child(1) > span { animation-delay: .5s; } .ld-title > span:nth-child(2) > span { animation-delay: .58s; }
.ld-title > span:nth-child(3) > span { animation-delay: .66s; } .ld-title > span:nth-child(5) > span { animation-delay: .78s; }
@keyframes ld-word { to { transform: none; } }
.ld-meta { width: 100%; display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; opacity: 0; animation: up .6s var(--ease) .9s forwards; }
.ld-status { font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.ld-pct { font: 400 12px/1 var(--mono); color: var(--ink-3); }
.ld-pct b { font: 700 28px/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-right: 2px; }
.ld-bar { width: 100%; height: 2px; margin-top: -10px; border-radius: 1px; background: var(--line-2); overflow: hidden; opacity: 0; animation: up .6s var(--ease) .9s forwards; }
.ld-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #ffb36b); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(255, 90, 31, .6); }
.intro .pill { font: 400 12px/1 var(--mono); color: var(--ink-2); padding: 8px 14px; border-radius: 16px; background: var(--intro-chip); border: 1px solid var(--line); opacity: 0; animation: up .6s var(--ease) 1.1s forwards; }
@media (prefers-reduced-motion: reduce) {
  .ld-plate, .ld-plate span, .ld-title > span > span, .ld-meta, .ld-bar, .intro .pill { animation: none !important; opacity: 1; transform: none; }
  .ld-plate { transform: rotateX(58deg) rotateZ(-45deg); }
  .ld-cols i { transition: none; } .intro.out { opacity: 0; transition: opacity .3s; }
}
@keyframes up { to { opacity: 1; transform: none; } }

/* Nav */
.nav { position: fixed; left: 0; right: 0; top: calc(var(--bar-h, 0px) + 16px); z-index: 50; pointer-events: none; }
.nav-in { pointer-events: auto; max-width: calc(var(--max) - 2 * var(--pad) + 32px); margin: 0 auto; height: 52px; padding: 0 8px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 14px; background: var(--nav-bg); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { font: 500 13px/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.brand b { color: var(--ink); font-weight: 500; }
.links { display: flex; gap: 4px; }
.links a { position: relative; padding: 10px 14px; font: 400 13px/1 var(--mono); color: var(--ink-3); letter-spacing: .02em; transition: color .2s var(--ease); }
.links a:hover { color: var(--ink); }
.links a.on { color: var(--ink); }
.links a.on::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--ink); }
.nav-shop { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; background: var(--inv); color: var(--inv-ink); font: 500 13px/1 var(--body); }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; }
.login { position: relative; }
.login-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; font: 400 13px/1 var(--mono); color: var(--ink-2); transition: color .2s var(--ease), background-color .2s var(--ease); }
.login-btn:hover, .login-btn[aria-expanded="true"] { color: var(--ink); background: var(--fill-2); }
.login-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 8px; border-radius: 14px; background: var(--menu); border: 1px solid var(--line-2); box-shadow: 0 24px 60px var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.login.open .login-menu { opacity: 1; visibility: visible; transform: none; }
.login-title { display: block; padding: 8px 10px 10px; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-4); }
.login-menu button { width: 100%; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; text-align: left; transition: background-color .2s var(--ease); }
.login-menu button:hover { background: var(--fill-2); }
.login-menu button svg { width: 18px; height: 18px; flex: none; }
.login-note { display: block; padding: 10px 10px 4px; font-size: 12px; line-height: 1.5; color: var(--ink-4); border-top: 1px solid var(--line); margin-top: 6px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 96px; }
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.avail { display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1 var(--mono); letter-spacing: .28em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 28px; }
.avail i { width: 6px; height: 6px; border-radius: 3px; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .15); }
.big { margin: 0; font: 800 clamp(52px, 7.4vw, 104px)/.98 var(--display); letter-spacing: -.035em; }
.big span { display: block; color: var(--dev); }
.typing { margin: 28px 0 18px; font: 400 15px/1.4 var(--mono); color: var(--ink-2); min-height: 21px; }
.typing::after { content: "_"; animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.lead { margin: 0 0 28px; max-width: 30rem; color: var(--ink-3); font-size: 15px; line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.tag { height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--fill); border: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--ink-2); }
.notes { font: 400 12px/1.9 var(--mono); color: var(--ink-4); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; font: 400 11px/1 var(--mono); letter-spacing: .3em; color: var(--ink-4); display: inline-flex; align-items: center; gap: 8px; }
.scroll-hint svg { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* Lanyard badge */
.lanyard { position: relative; height: 620px; margin-top: -180px; z-index: 5; }
.rope { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rope text { font: 700 9px/1 var(--display); letter-spacing: .5em; fill: var(--strap-text); }
#rope-path { stroke: var(--strap); }
#rope-edge { stroke: var(--strap-edge); }
.badge-wrap { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.clip { position: absolute; left: -16px; top: -8px; width: 32px; height: 26px; border-radius: 6px; background: linear-gradient(#3a3a3a, #1c1c1c); border: 1px solid #444; }
.clip::after { content: ""; position: absolute; left: 10px; top: 18px; width: 10px; height: 14px; border: 2px solid #555; border-top: 0; border-radius: 0 0 6px 6px; }
.badge { position: absolute; left: -132px; top: 18px; width: 264px; height: 336px; border-radius: 18px; padding: 14px; cursor: grab; touch-action: none;
  background: linear-gradient(160deg, #f4f4f4, #cfcfcf); box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 1px 0 #fff; user-select: none; -webkit-user-select: none; }
.badge.grabbing { cursor: grabbing; }
.badge img { pointer-events: none; }
.badge-hole { position: absolute; left: 50%; top: 8px; width: 40px; height: 8px; margin-left: -20px; border-radius: 4px; background: #9a9a9a; box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.badge-photo { position: relative; height: 100%; border-radius: 10px; overflow: hidden; background: #0b0b0b; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.badge-photo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 32%, #f4f4f4 0%, #b9b9b9 55%, #6e6e6e 100%); }
.badge-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 35%), linear-gradient(to bottom, transparent 52%, rgba(8,8,8,.92) 88%); }
.badge-photo img { position: absolute; left: 4%; right: 4%; top: 2%; width: 92%; height: 82%; object-fit: contain; filter: grayscale(1) contrast(1.1); }
.badge-name, .badge-role { z-index: 1; }
.badge-mark { position: absolute; left: 50%; top: 38%; translate: -50% -50%; display: grid; grid-template-columns: repeat(2, 34px); gap: 6px; }
.badge-mark i { width: 34px; height: 34px; border-radius: 5px; background: #e8e8e8; }
.badge-mark i:first-child { visibility: hidden; }
.badge-mark i:nth-child(2) { background: #8f8f8f; }
.badge-name { position: relative; font: 700 22px/1 var(--display); letter-spacing: -.02em; color: #f2f2f2; }
.badge-role { position: relative; margin-top: 6px; font: 400 10px/1 var(--mono); letter-spacing: .18em; color: #9a9a9a; text-transform: uppercase; }

/* Section heads */
section { position: relative; }
.sec { padding: 120px 0; }
.kicker { font: 400 11px/1 var(--mono); letter-spacing: .3em; color: var(--ink-4); text-transform: uppercase; }
.title { margin: 0; font: 700 clamp(36px, 4.6vw, 60px)/1.05 var(--display); letter-spacing: -.03em; }
.subtitle { margin: 14px 0 0; color: var(--ink-3); font-size: 15px; }
.center { text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-name { margin: 18px 0 24px; font: 800 clamp(44px, 6vw, 80px)/1 var(--display); letter-spacing: -.035em; }
.about-text { margin: 0 0 24px; max-width: 34rem; color: var(--ink-3); line-height: 1.8; }
.quote { display: inline-block; margin-bottom: 28px; padding: 12px 18px; border-radius: 10px; background: var(--fill); border: 1px solid var(--line); font-style: italic; font-size: 13px; color: var(--ink-2); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; font: 500 13px/1 var(--body); transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-w { background: var(--inv); color: var(--inv-ink); }
.btn-w:hover { opacity: .9; }
.btn-o { border: 1px solid var(--line-2); color: var(--ink); }
.btn-o:hover { background: var(--fill-2); }
.portrait { justify-self: center; position: relative; display: block; width: min(340px, 80vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 40% 30%, #f2f2f2, #9d9d9d 60%, #4a4a4a 100%); box-shadow: 0 0 0 1px var(--line-2), 0 40px 80px rgba(0,0,0,.5); }
.portrait::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.3), transparent 45%); z-index: 1; }
.portrait img { position: absolute; inset: 6% 6% 0; width: 88%; height: 94%; object-fit: contain; object-position: bottom; filter: grayscale(1) contrast(1.1); transition: scale .5s var(--ease); }
.portrait:hover img { scale: 1.04; }
.portrait .badge-mark { top: 50%; grid-template-columns: repeat(2, 56px); gap: 10px; }
.portrait .badge-mark i { width: 56px; height: 56px; border-radius: 8px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 64px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.stat:hover { border-color: var(--line-2); background: var(--card-2); }
.stat-top { display: flex; justify-content: space-between; align-items: center; }
.stat-ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--fill-2); }
.stat b { font: 700 28px/1 var(--display); letter-spacing: -.02em; }
.stat-bot { display: flex; justify-content: space-between; align-items: flex-end; font: 400 11px/1 var(--mono); letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }

/* Showcase */
.tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; max-width: 860px; margin: 40px auto 48px; padding: 6px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.tab-ind { position: absolute; left: 0; top: 6px; height: 44px; width: 0; border-radius: 11px; background: var(--raised); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 4px 14px var(--shadow);
  transition: transform .55s cubic-bezier(.65, 0, .35, 1), width .55s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.tabs button { position: relative; z-index: 1; height: 44px; border-radius: 11px; font-size: 13px; color: var(--ink-3); transition: color .35s var(--ease); }
.tabs button:hover { color: var(--ink-2); }
.tabs button[aria-selected="true"] { color: var(--ink); }
.panels { position: relative; transition: height .55s cubic-bezier(.65, 0, .35, 1); }
.panel { transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s var(--ease); }
.panel.leaving { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
.panel.entering { opacity: 0; transform: translateY(14px); filter: blur(4px); }
.photo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; }
.photo-desc { flex: 1 1 260px; margin: 0; color: var(--ink-3); font-size: 13px; line-height: 1.5; }
.dd { position: relative; }
.dd-btn { display: flex; align-items: center; gap: 12px; min-width: 300px; height: 56px; padding: 0 14px 0 8px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); text-align: left; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--ink-4); background: var(--card-2); }
.dd-btn img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #8d939b; }
.dd-btn span { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dd-btn b { font-weight: 600; font-size: 14px; }
.dd-btn small { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.dd-btn svg { transition: transform .35s var(--ease); color: var(--ink-3); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: 14px; background: var(--menu); border: 1px solid var(--line-2); box-shadow: 0 24px 60px var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top; transition: opacity .22s var(--ease), transform .3s var(--ease), visibility .22s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; text-align: left; transition: background-color .15s var(--ease); }
.dd-menu li button:hover, .dd-menu li button:focus-visible, .dd-menu li button[aria-selected="true"] { background: var(--fill-2); }
.dd-menu img { width: 36px; height: 36px; border-radius: 7px; object-fit: cover; background: #8d939b; }
.dd-menu b { display: block; font-weight: 500; font-size: 13px; }
.dd-menu small { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.dd-menu .tick { margin-left: auto; opacity: 0; }
.dd-menu [aria-selected="true"] .tick { opacity: 1; }
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 120px; gap: 10px; transition: opacity .3s var(--ease); }
.gallery.swap { opacity: 0; }
.gallery button { position: relative; border-radius: 10px; overflow: hidden; background: #8d939b; border: 1px solid var(--line); }
.gallery button.big { grid-column: span 2; grid-row: span 2; }
.gallery button.sq { background: #e4e7ee; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.gallery button:hover img { scale: 1.05; }
.gallery .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); font: 500 14px/1 var(--mono); color: #fff; }
.lb-img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 12px; display: block; }
.modal-in.solo { display: block; width: auto; max-width: min(1200px, 100%); padding: 16px; text-align: center; }
.modal-in.solo .cap { margin-top: 12px; font: 400 13px/1.4 var(--mono); color: var(--ink-2); }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.pcard-img { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #0d0d0d; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.pcard:hover .pcard-img img { scale: 1.04; }
.pcard-body { padding: 16px 6px 6px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { margin: 0 0 6px; font: 600 16px/1.3 var(--body); }
.pcard p { margin: 0 0 18px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.pcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.pcard-foot .mono { font-size: 11px; color: var(--ink-4); }
.details { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--fill-2); border: 1px solid var(--line); font-size: 12px; transition: background-color .2s var(--ease); }
.details:hover { background: var(--line-2); }
.pcard.empty { justify-content: center; align-items: center; text-align: center; border-style: dashed; min-height: 300px; padding: 28px; }
.pcard.empty h3 { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; margin: 12px 0 16px; }

.price-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.cats { display: flex; gap: 6px; flex-wrap: wrap; margin-right: auto; }
.cats button, .cur button { height: 34px; padding: 0 12px; border-radius: 9px; font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); transition: background-color .2s var(--ease), color .2s var(--ease); }
.cats button:hover, .cur button:hover { color: var(--ink); }
.cats button[aria-pressed="true"], .cur button[aria-pressed="true"] { background: var(--inv); color: var(--inv-ink); border-color: var(--inv); }
.cur { display: flex; gap: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.plan h3 { margin: 0 0 8px; font: 600 17px/1.3 var(--body); }
.plan > p { margin: 0 0 22px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.plan .from { font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.plan .price { margin: 10px 0 4px; font: 700 34px/1 var(--display); letter-spacing: -.03em; }
.pr { display: inline-flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.pr s { font: 500 14px/1 var(--body); color: var(--ink-4); }
.plan .note { font: 400 12px/1.4 var(--mono); color: var(--ink-4); }
.plan ul { list-style: none; margin: 20px 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan-btns { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.plan-btns .btn { justify-content: center; }

.stack { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin: 0 auto; }
.tech { aspect-ratio: 1; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.tech:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tech img, .tech svg.logo { width: 40px; height: 40px; }
.tech span { font: 400 11px/1 var(--mono); color: var(--ink-3); }
.tech { width: 100%; color: var(--ink); cursor: pointer; }
.tech.picked { display: none; }
.tech { transition: border-color .2s var(--ease), transform .25s var(--ease), background-color .2s var(--ease); }
.tech:hover { background: var(--card-2); }
.tech:active { transform: scale(.96); }

/* Morph des cartes Tech Stack (View Transitions) */
html.vt-tech::view-transition-old(root), html.vt-tech::view-transition-new(root) { animation: none; }
html.vt-tech::view-transition-group(*) { animation-duration: .62s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
html.vt-tech::view-transition-image-pair(*) { isolation: auto; }
html.vt-tech::view-transition-old(*), html.vt-tech::view-transition-new(*) {
  /* pas d'étirement : l'image garde ses proportions et se découpe dans le cadre qui grandit */
  width: 100%; height: 100%; object-fit: cover; object-position: top left; mix-blend-mode: normal;
  animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}
html.vt-tech::view-transition-group(*) { border-radius: 22px; overflow: clip; }

/* Tech stack : fiche détaillée */
.stack-wrap .stack { width: 100%; }
.stack-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.stack-wrap.detail { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.stack-wrap.detail .stack { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; width: 100%; gap: 12px; }
.stack-wrap.detail .tech { border-radius: 14px; }
.stack-wrap.detail .tech img, .stack-wrap.detail .tech svg.logo { width: 32px; height: 32px; }
.tech-panel { position: relative; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); }
.tp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.tp-icon { width: 120px; height: 120px; border-radius: 26px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); will-change: transform; }
.tp-icon img, .tp-icon svg { width: 64px; height: 64px; }
.tp-close { width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.tp-close:hover { background: var(--fill-2); }
.tp-body h3 { margin: 8px 0 18px; font: 800 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.tp-block { padding: 16px 0; border-top: 1px solid var(--line); }
.tp-block b { display: block; font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 8px; }
.tp-block p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; }
.tp-block .tags { margin: 0; }
.tp-nav { display: flex; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Avis : pays */
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field-row .upload { margin-bottom: 12px; }
.field.country select { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--fill); color: var(--ink); padding: 0 12px 0 40px; font: inherit; font-size: 13px; appearance: none; cursor: pointer; }
.field.country select:focus { outline: none; border-color: var(--ink-3); }
.field.country select option { background: var(--modal); color: var(--ink); }
.cmt-c { margin-left: 8px; display: inline-flex; align-items: center; gap: 4px; font: 400 11px/1 var(--mono); color: var(--ink-4); vertical-align: 1px; }
.cmt-c svg { width: 11px; height: 11px; }
.pinned.local { background: rgba(255, 90, 31, .12); color: var(--accent); }
.place-dot.muted { background: var(--ink-4); box-shadow: none; }
.pop-reviews { display: grid; gap: 10px; margin-top: 12px; }
.pop-reviews p { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--fill); font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pop-reviews p span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 960px) {
  .stack-wrap.detail { grid-template-columns: minmax(0, 1fr); }
  .stack-wrap.detail .tech-panel { order: -1; }
  .stack-wrap.detail .stack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tp-icon { width: 88px; height: 88px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 56px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--bar-h, 0px) + 110px); }
.ask { display: grid; gap: 14px; margin-top: 32px; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.ask-av { width: 52px; height: 52px; border-radius: 26px; object-fit: cover; object-position: top; background: radial-gradient(circle at 40% 30%, #f2f2f2, #9d9d9d 60%, #4a4a4a); filter: grayscale(1); }
.ask b { display: block; font: 700 18px/1.2 var(--display); letter-spacing: -.01em; margin-bottom: 6px; }
.ask span { color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.faq-filters { position: relative; display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 20px; border-radius: 13px; background: var(--card); border: 1px solid var(--line); }
.faq-filters button { height: 34px; padding: 0 16px; border-radius: 9px; font-size: 13px; color: var(--ink-3); transition: background-color .3s var(--ease), color .3s var(--ease); }
.faq-filters button:hover { color: var(--ink); }
.faq-filters button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s var(--ease), transform .4s var(--ease); }
.qa:hover { border-color: var(--line-2); }
.qa.open { background: var(--open); border-color: var(--line-2); }
.qa.out { opacity: 0; transform: translateY(8px); }
.qa-q { width: 100%; display: grid; grid-template-columns: 40px 1fr 32px; align-items: center; gap: 12px; padding: 20px 20px 20px 22px; text-align: left; }
.qa-n { font: 400 12px/1 var(--mono); color: var(--ink-4); transition: color .3s var(--ease); }
.qa.open .qa-n { color: var(--ink); }
.qa-t { font: 600 16px/1.35 var(--body); }
.qa-cat { display: block; margin-top: 4px; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.qa-pm { position: relative; width: 32px; height: 32px; border-radius: 16px; border: 1px solid var(--line-2); transition: background-color .3s var(--ease), transform .45s var(--ease); }
.qa-pm::before, .qa-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); border-radius: 1px; transition: transform .45s var(--ease); }
.qa-pm::after { transform: rotate(90deg); }
.qa.open .qa-pm { background: var(--inv); transform: rotate(180deg); }
.qa.open .qa-pm::before, .qa.open .qa-pm::after { background: var(--inv-ink); }
.qa.open .qa-pm::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.65, 0, .35, 1); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { margin: 0; padding: 0 64px 22px 74px; color: var(--ink-2); font-size: 14px; line-height: 1.75; opacity: 0; transform: translateY(-4px); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.qa.open .qa-a p { opacity: 1; transform: none; transition-delay: .12s; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; margin-top: 48px; align-items: start; }
.box { padding: 28px; border-radius: 20px; background: var(--box); border: 1px solid var(--line); }
.box h3 { margin: 0 0 6px; font: 700 24px/1.2 var(--display); letter-spacing: -.02em; }
.box > p { margin: 0 0 22px; color: var(--ink-3); font-size: 13px; }
.field { position: relative; display: block; margin-bottom: 12px; }
.field svg { position: absolute; left: 14px; top: 15px; color: var(--ink-4); }
.field input, .field textarea { width: 100%; border-radius: 10px; border: 1px solid var(--line); background: var(--fill); padding: 13px 14px 13px 40px; font-size: 13px; transition: border-color .2s var(--ease); }
.field.plain input, .field.plain textarea { padding-left: 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink-3); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.wide-btn { width: 100%; justify-content: center; height: 44px; background: var(--raised); border: 1px solid var(--line-2); }
.wide-btn:hover { background: var(--raised-h); }
.upload { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--ink-3); font-size: 13px; margin-bottom: 12px; cursor: pointer; }
.connect { margin-top: 28px; }
.connect .mono { font-size: 11px; color: var(--ink-4); letter-spacing: .08em; }
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.social > div { min-width: 0; }
.social .live { flex-wrap: wrap; line-height: 1.5; }
.social { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); transition: background-color .2s var(--ease); }
.social:hover { background: var(--fill-2); }
.social.full { grid-column: span 2; }
.social b { display: block; font-weight: 500; font-size: 13px; }
.social span { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.comments { display: grid; gap: 10px; margin-top: 22px; max-height: 520px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cmt { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; padding: 14px; border-radius: 12px; background: var(--fill); border: 1px solid var(--line); }
.cmt.pin { background: rgba(150, 120, 255, .07); border-color: rgba(150, 120, 255, .22); }
.av { width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; background: var(--av); font: 500 12px/1 var(--mono); color: var(--ink-2); }
.cmt b { font-weight: 500; font-size: 13px; }
.pinned { margin-left: 8px; display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 5px; background: rgba(150, 120, 255, .16); color: var(--pin); font: 500 10px/1 var(--mono); vertical-align: 1px; }
.cmt p { margin: 4px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.like { display: inline-flex; align-items: flex-start; gap: 4px; font: 400 11px/1 var(--mono); color: var(--ink-4); padding-top: 2px; }
.like:hover { color: var(--ink); }
.like.on { color: #ff8fa3; }
.score { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.score b { font: 700 18px/1 var(--display); color: var(--ink); }

footer { padding: 40px 0 48px; text-align: center; font: 400 12px/1.8 var(--mono); color: var(--ink-4); }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
footer a:hover { color: var(--ink); }

/* Modal, toast, promo */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.75); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-in { width: min(980px, 100%); max-height: 90vh; overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; padding: 28px; border-radius: 20px; background: var(--modal); border: 1px solid var(--line-2); }
.modal-in img { width: 100%; border-radius: 12px; }
.modal h3 { margin: 8px 0 12px; font: 700 28px/1.1 var(--display); letter-spacing: -.02em; }
.modal p { color: var(--ink-3); line-height: 1.75; margin: 0 0 20px; }
.modal .close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 20px; display: grid; place-items: center; background: var(--card-2); border: 1px solid var(--line-2); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; translate: -50% 12px; opacity: 0; pointer-events: none; padding: 12px 16px; border-radius: 10px; background: var(--inv); color: var(--inv-ink); font-size: 13px; transition: opacity .25s var(--ease), translate .25s var(--ease); }
.toast.open { opacity: 1; translate: -50% 0; }
.promo-bar { position: fixed; inset: 0 0 auto; z-index: 60; height: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 48px; background: var(--inv); color: var(--inv-ink); font-size: 13px; white-space: nowrap; overflow: hidden; }
.pb-code { height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 5px; background: var(--inv-ink); color: var(--inv); font: 500 11px/1 var(--mono); }
.pb-btn { height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid currentColor; font-size: 12px; font-weight: 500; }
.pb-x { position: absolute; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; }
.promo-form { display: flex; height: 34px; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.promo-in { width: 130px; border: 0; background: transparent; padding: 0 12px; font: 500 12px/1 var(--mono); text-transform: uppercase; }
.promo-in::placeholder { text-transform: none; color: var(--ink-4); font-family: var(--body); }
.promo-in:focus { outline: none; }
.promo-go { padding: 0 12px; border-left: 1px solid var(--line); font-size: 12px; }
.promo-msg { display: block; margin-top: 6px; font-size: 12px; color: #ff8a8a; }
.promo-msg:empty { display: none; }
.promo-on { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px 0 8px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 12px; }
.promo-on .pb-code { background: var(--inv); color: var(--inv-ink); }
.promo-x { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; }

@media (max-width: 960px) {
  :root { --pad: 20px; }
  .links, .nav-shop { display: none; }
  .menu-btn { display: grid; }
  .nav-in.open { flex-wrap: wrap; height: auto; padding: 8px 8px 12px 20px; }
  .nav-in.open .links { display: flex; flex-direction: column; width: 100%; order: 3; }
  .hero { padding-top: 110px; }
  .hero .wrap, .about-grid, .contact-grid, .modal-in { grid-template-columns: minmax(0, 1fr); }
  .lanyard { height: 400px; margin-top: -30px; order: -1; }
  .badge { transform: scale(.76); transform-origin: 132px 0; }
  .proj-grid, .plans { grid-template-columns: minmax(0, 1fr); }
  .stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .sec { padding: 88px 0; }
  .portrait { order: -1; width: 220px; }
  .hero { min-height: auto; padding-bottom: 72px; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-side { position: static; }
  .qa-a p { padding: 0 20px 20px 22px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 96px; }
  .dd, .dd-btn { width: 100%; min-width: 0; }
  .tabs button { font-size: 12px; }
  .scroll-hint { display: none; }
  .promo-bar { justify-content: flex-start; gap: 8px; padding: 0 44px 0 12px; font-size: 12px; }
  .promo-bar > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; filter: none; }
}

/* ===== Boutons de la barre : thème, panier ===== */
:root { --accent: #ff5a1f; --globe-bg: #050505; --globe-grid: rgba(255,255,255,.13); --globe-coast: #f2f2f2; --globe-dot: rgba(255,255,255,.5); }
html[data-theme="light"] { --globe-bg: #ffffff; --globe-grid: rgba(0,0,0,.12); --globe-coast: #0d0d0d; --globe-dot: rgba(0,0,0,.45); }
.nav-tools { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); transition: color .2s var(--ease), background-color .2s var(--ease); }
.icon-btn:hover { color: var(--ink); background: var(--fill-2); }
.icon-btn svg { width: 17px; height: 17px; }
.cart-count { position: absolute; top: 2px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--accent); color: #fff; font: 600 10px/16px var(--mono); text-align: center; }

/* ===== Tiroirs ===== */
.drawer-scrim { position: fixed; inset: 0; z-index: 84; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.drawer-scrim.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--modal); border-left: 1px solid var(--line-2); transform: translateX(104%); transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.drawer.wide { width: min(760px, 100%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 20px 0 24px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-head b { font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.drawer-x { width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.drawer-x:hover { background: var(--fill-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.drawer-foot { flex: none; padding: 0 24px 20px; }
.drawer-foot:not(:empty) { padding-top: 16px; border-top: 1px solid var(--line); }
.btn.wide { width: 100%; justify-content: center; height: 46px; font-size: 14px; }
.d-note { margin: 12px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.6; color: var(--ink-4); }
.d-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 56px 12px; text-align: center; color: var(--ink-3); font-size: 13px; }
.d-empty svg { width: 28px; height: 28px; color: var(--ink-4); margin-bottom: 4px; }
.d-empty b { font: 700 18px/1.2 var(--display); color: var(--ink); }
.d-empty .btn { margin-top: 10px; }
.c-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-line img, .c-ic { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--card-2); display: grid; place-items: center; }
.c-line b { display: block; font-weight: 600; font-size: 14px; }
.c-line span { font: 400 11px/1.6 var(--mono); color: var(--ink-4); }
.c-line .pr { font-size: 14px; font-weight: 600; }
.c-rm { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--ink-3); }
.c-rm:hover { color: #ff6b6b; background: var(--fill-2); }
.sum { display: grid; gap: 8px; margin: 14px 0; font-size: 14px; color: var(--ink-2); }
.sum div { display: flex; justify-content: space-between; }
.sum .disc { color: var(--accent); }
.sum .tot { padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink); font: 700 22px/1 var(--display); letter-spacing: -.02em; }
.o-card { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; }
.o-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.o-top b { font: 500 13px/1 var(--mono); }
.o-date { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.o-card ul { list-style: none; margin: 12px 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.o-card li, .o-tot { display: flex; justify-content: space-between; gap: 12px; }
.o-tot { font-size: 13px; color: var(--ink-3); }
.o-tot b { color: var(--ink); font-size: 15px; }
.st { height: 22px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; font: 500 11px/1 var(--mono); background: var(--fill-2); color: var(--ink-2); white-space: nowrap; }
.st.ok { background: rgba(74, 222, 128, .14); color: #3fcf74; }
.st.run { background: rgba(62, 142, 247, .15); color: #5b9df5; }
.st.wait { background: rgba(245, 165, 36, .15); color: #e09a1f; }
.st.off { background: rgba(255, 107, 107, .14); color: #ff6b6b; }
.a-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.a-tabs button { height: 32px; padding: 0 14px; border-radius: 8px; font-size: 13px; color: var(--ink-3); }
.a-tabs button[aria-selected="true"] { background: var(--raised); color: var(--ink); }
.a-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.a-stats div { padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.a-stats b { display: block; font: 700 22px/1 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.a-stats span { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.a-table { display: grid; gap: 8px; }
.a-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 90px 170px 34px; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 13px; }
.a-row b { display: block; font: 500 12px/1.4 var(--mono); }
.a-row span { font: 400 11px/1.4 var(--mono); color: var(--ink-4); display: block; }
.a-items { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-total { font-weight: 600; }
.ao { display: grid; gap: 14px; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.ao-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.ao-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--raised); font: 600 17px/1 var(--display); color: var(--ink-2); }
.ao-who { min-width: 0; }
.ao-who b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ao-who > span { display: block; margin-top: 3px; font: 400 12px/1.3 var(--mono); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; }
.ao-badge { padding: 3px 7px; border-radius: 6px; background: rgba(255, 90, 31, .14); color: var(--accent); font: 500 10px/1 var(--mono); letter-spacing: .04em; }
.ao-total { font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.ao-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.ao-contact .btn { height: 36px; padding: 0 14px; font-size: 13px; }
.ao-contact .btn:first-child { flex: 1 1 100%; justify-content: center; }
.ao-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ao-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--card-2); font-size: 13px; color: var(--ink-2); }
.ao-items em { font-style: normal; color: var(--ink-4); font-size: 12px; }
.ao-items b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.ao-note { margin: 0; padding: 10px 12px; border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--card-2); font-size: 13px; line-height: 1.55; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.ao-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.ao-grid span { display: block; font: 400 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.ao-grid b { display: block; margin-top: 4px; font: 500 12px/1.35 var(--mono); color: var(--ink-2); overflow-wrap: anywhere; }
.ao-meta { display: flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.ao-meta svg { width: 14px; height: 14px; }
.ao-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.ao-foot .a-select { height: 38px; font-size: 13px; }
.a-select { height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: inherit; font-size: 12px; }
.a-list { display: grid; gap: 8px; }
.a-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.a-item b { display: block; font-size: 14px; font-weight: 600; }
.a-item span { font: 400 11px/1.5 var(--mono); color: var(--ink-4); }
.a-item .pb-code { background: var(--inv); color: var(--inv-ink); }
.live { display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .18); }

/* ===== Globe ===== */
.globe-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; align-items: center; }
.globe-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; }
.globe-wrap canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.globe-wrap::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; box-shadow: 0 0 120px var(--globe-glow); pointer-events: none; }
.globe-hint { position: absolute; left: 50%; bottom: -4px; translate: -50% 0; font: 400 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-4); white-space: nowrap; }
.globe-loading { position: absolute; inset: 0; display: grid; place-items: center; font: 400 12px/1 var(--mono); color: var(--ink-4); }
.places { display: grid; gap: 10px; margin-top: 28px; }
.place { width: 100%; display: grid; grid-template-columns: 12px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-align: left; transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease); }
.place:hover { border-color: var(--line-2); transform: translateX(3px); }
.place[aria-pressed="true"] { border-color: var(--accent); background: var(--card-2); }
.place-dot { width: 10px; height: 10px; border-radius: 5px; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 31, .16); }
.place b { display: block; font-weight: 600; font-size: 14px; }
.place small { font: 400 11px/1.5 var(--mono); color: var(--ink-4); }
.place .stat-live { font: 500 12px/1 var(--mono); color: var(--ink-2); white-space: nowrap; }
.pop-card { margin-top: 16px; padding: 18px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); animation: fade .4s var(--ease); }
.pop-card b { font: 700 18px/1.2 var(--display); letter-spacing: -.01em; }
.pop-card p { margin: 8px 0 12px; color: var(--ink-3); font-size: 13px; line-height: 1.6; }
.pop-card .tags { margin-bottom: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 960px) {
  .globe-grid { grid-template-columns: minmax(0, 1fr); }
  .globe-wrap { order: -1; max-width: 420px; }
  .a-row { grid-template-columns: 1fr auto; }
  .a-items, .a-total { grid-column: 1 / -1; }
  .nav-tools .login-btn span { display: none; }
}

/* ===== Panier : contenu ===== */
.c-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--accent); color: #fff; font: 600 12px/24px var(--mono); text-align: center; }
.c-count:empty { display: none; }

.c-items { display: grid; gap: 10px; }
.ci { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
  animation: ci-in .5s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i) * 50ms); transition: border-color .2s var(--ease); }
.ci:hover { border-color: var(--line-2); }
@keyframes ci-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.ci-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--card-2); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-svc { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, rgba(255, 90, 31, .28), transparent 60%), var(--card-2); color: var(--accent); }
.ci-svc svg { width: 26px; height: 26px; }
.ci-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ci-kind { font: 400 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-4); }
.ci-info b { font-weight: 600; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-info .pr { font: 700 16px/1 var(--display); letter-spacing: -.01em; }
.ci-info .pr s { font: 500 12px/1 var(--body); }
.ci-rm { align-self: start; width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; color: var(--ink-4); transition: background-color .2s var(--ease), color .2s var(--ease); }
.ci-rm:hover { background: var(--fill-2); color: var(--ink); }
.ci-rm svg { width: 15px; height: 15px; }

.c-sum { display: grid; gap: 8px; margin: 14px 2px 14px; font-size: 13px; color: var(--ink-3); }
.c-sum div { display: flex; justify-content: space-between; }
.c-sum .disc { color: var(--accent); }
.c-pay { width: 100%; height: 56px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 0 20px; border-radius: 16px; background: var(--inv); color: var(--inv-ink); font: 600 15px/1 var(--body); text-align: left; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.c-pay b { font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.c-pay svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.c-pay:hover svg { transform: translateX(4px); }
.c-pay:active { transform: scale(.98); }
.c-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 11px; color: var(--ink-4); }
.c-note svg { width: 13px; height: 13px; }

.c-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 12px 24px; }
.c-stack { position: relative; width: 150px; height: 104px; margin-bottom: 18px; }
.c-stack img { position: absolute; top: 10px; left: 37px; width: 76px; height: 76px; border-radius: 14px; object-fit: cover; border: 3px solid var(--modal); box-shadow: 0 10px 24px var(--shadow); }
.c-stack img:nth-child(1) { transform: translateX(-34px) rotate(-12deg); }
.c-stack img:nth-child(2) { transform: translateY(-6px); z-index: 2; }
.c-stack img:nth-child(3) { transform: translateX(34px) rotate(12deg); }
.c-empty b { font: 700 20px/1.2 var(--display); letter-spacing: -.01em; }
.c-empty span { font-size: 13px; color: var(--ink-3); max-width: 260px; }
.c-sug-title { margin: 8px 4px 10px; font: 400 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-4); }
.c-sug { display: grid; gap: 8px; }
.c-sug-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 34px; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.c-sug-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.c-sug-item b { display: block; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-sug-item span { font: 400 11px/1.4 var(--mono); color: var(--ink-4); }
.c-sug-item .pr { font: 700 14px/1 var(--display); }
.c-add { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--inv); color: var(--inv-ink); transition: transform .2s var(--ease); }
.c-add:hover { transform: scale(1.08); }
.c-add svg { width: 16px; height: 16px; }
@media (max-width: 640px) {
}

/* ===== Extras : pack groupé, suivi de commande, admin dispo, favoris ===== */
.c-bundle { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 14px; border-radius: 12px; border: 1px dashed rgba(255, 90, 31, .45); background: rgba(255, 90, 31, .06); font-size: 13px; color: var(--ink-2); }
.c-bundle svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.c-bundle span { flex: 1; }
.c-bundle b { color: var(--ink); font-weight: 600; }
.c-bundle a { font: 500 12px/1 var(--mono); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.c-bundle.on { border-style: solid; border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .07); }
.c-bundle.on svg { color: #3fcf74; }
.o-steps { --at: 0; position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 16px 0 4px; padding: 0; }
.o-steps::before, .o-steps::after { content: ""; position: absolute; top: 13px; left: 12.5%; height: 2px; border-radius: 1px; }
.o-steps::before { right: 12.5%; background: var(--line-2); }
.o-steps::after { width: calc(75% * var(--at) / 3); background: #3fcf74; transform-origin: left; animation: o-grow .9s var(--ease) both; }
@keyframes o-grow { from { transform: scaleX(0); } }
.o-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.o-steps small { font: 400 10px/1.3 var(--mono); letter-spacing: .04em; color: var(--ink-4); }
.o-dot { width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; background: var(--card-2); border: 2px solid var(--line-2); color: var(--ink-4); }
.o-dot svg { width: 13px; height: 13px; }
.o-steps li.done .o-dot { background: #3fcf74; border-color: #3fcf74; color: #06200f; }
.o-steps li.now .o-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 0 rgba(255, 90, 31, .5); animation: o-pulse 1.8s ease-out infinite; }
.o-steps li.now small { color: var(--ink); }
.o-steps li.now.paused .o-dot { border-color: #e09a1f; color: #e09a1f; animation: none; }
@keyframes o-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); } }
.o-line { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.o-line.off { color: #ff6b6b; }
.o-line svg { width: 15px; height: 15px; }
.a-form { display: grid; gap: 14px; max-width: 420px; }
.a-lbl { display: grid; gap: 8px; font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.a-lbl > input, .a-step input { height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: 400 14px/1 var(--body); letter-spacing: 0; text-transform: none; }
.a-step { display: grid; grid-template-columns: 42px 1fr 42px; gap: 6px; }
.a-step input { text-align: center; font: 700 18px/1 var(--display); -moz-appearance: textfield; }
.a-step input::-webkit-inner-spin-button { -webkit-appearance: none; }
.a-step button { height: 42px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 18px; color: var(--ink); }
.a-step button:hover { background: var(--fill-2); }
.w-acts { display: flex; gap: 4px; align-self: center; }
.w-acts .c-add:disabled { opacity: .5; cursor: default; }
.avail.full i { background: #f5a524; box-shadow: 0 0 0 3px rgba(245, 165, 36, .18); }
.heart { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-3); transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.heart:hover { color: var(--ink); background: var(--fill-2); }
.heart svg { width: 17px; height: 17px; }
.heart[aria-pressed="true"] { color: #ff5d7a; border-color: rgba(255, 93, 122, .4); background: rgba(255, 93, 122, .1); }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.copy-btn .copy-ok { display: none; }
.copy-btn.copied .copy-ok { display: inline; }
.copy-btn.copied .copy-ic { display: none; }
.copy-btn.copied { border-color: rgba(74, 222, 128, .4); }
.copy-btn.copied .social-t b::after, .copy-btn.copied .copy-lbl::after { content: " · copied"; color: #3fcf74; font-weight: 400; }
.social.copy-btn.copied b::after { content: " · copied"; color: #3fcf74; font-weight: 400; }

/* ===== Barre de commande (Ctrl K) ===== */
.cmdk { position: fixed; inset: 0; z-index: 96; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s var(--ease); }
.cmdk.open { opacity: 1; }
.cmdk[hidden] { display: none; }
.cmdk-box { width: min(640px, 100%); max-height: 70vh; display: flex; flex-direction: column; border-radius: 18px; background: var(--modal); border: 1px solid var(--line-2); box-shadow: 0 30px 80px var(--shadow); overflow: hidden; transform: translateY(-10px) scale(.98); transition: transform .25s var(--ease); }
.cmdk.open .cmdk-box { transform: none; }
.cmdk-in { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); flex: none; }
.cmdk-in input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: 400 16px/1 var(--body); }
.cmdk-in input:focus { outline: none; }
.cmdk-in input::placeholder { color: var(--ink-4); }
.cmdk kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--fill); font: 500 11px/1 var(--mono); color: var(--ink-3); }
.cmdk-list { overflow-y: auto; padding: 8px; scrollbar-width: thin; }
.cmdk-g { padding: 12px 10px 6px; font: 400 10px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-4); }
.cmdk-it { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-align: left; color: var(--ink-2); }
.cmdk-it[aria-selected="true"] { background: var(--fill-2); color: var(--ink); }
.cmdk-it img, .cmdk-ic { width: 34px; height: 34px; flex: none; border-radius: 8px; object-fit: cover; display: grid; place-items: center; background: var(--fill); border: 1px solid var(--line); }
.cmdk-ic svg { width: 16px; height: 16px; }
.cmdk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cmdk-t b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk-t small { font: 400 11px/1.2 var(--mono); color: var(--ink-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk-go { width: 14px; height: 14px; color: var(--ink-4); opacity: 0; }
.cmdk-it[aria-selected="true"] .cmdk-go { opacity: 1; }
.cmdk-none { display: flex; flex-direction: column; gap: 6px; align-items: center; padding: 40px 12px; color: var(--ink-3); font-size: 13px; }
.cmdk-none b { font: 700 16px/1.2 var(--display); color: var(--ink); }
.cmdk-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line); font: 400 11px/1 var(--mono); color: var(--ink-4); flex: none; }
.cmdk-foot span { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 640px) { .cmdk { padding-top: 72px; } .cmdk-foot { display: none; } }

/* ===== Mini-jeu ===== */
.game { position: fixed; inset: 0; z-index: 97; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s var(--ease); touch-action: none; }
.game.open { opacity: 1; }
.game[hidden] { display: none; }
.game canvas { position: absolute; inset: 0; }
.game-hud { position: absolute; top: 16px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 20px; height: 44px; padding: 0 8px 0 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); font: 400 12px/1 var(--mono); color: var(--ink-3); white-space: nowrap; }
.game-hud b { font: 700 15px/1 var(--display); color: var(--ink); margin-left: 4px; }
#g-lives { color: #ff5d7a; letter-spacing: 2px; }
.game-x { width: 30px; height: 30px; border-radius: 15px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); }
.game-card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(400px, calc(100% - 32px)); padding: 32px; border-radius: 22px; background: var(--modal); border: 1px solid var(--line-2); text-align: center; box-shadow: 0 30px 80px var(--shadow); }
.game-card[hidden] { display: none; }
.game-card h2 { margin: 14px 0 10px; font: 800 36px/1 var(--display); letter-spacing: -.03em; }
.game-card p { margin: 0 0 16px; color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.game-card .game-keys { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.game-card .btn { height: 46px; padding: 0 28px; font-size: 14px; }
.game-card small { display: block; margin-top: 14px; font: 400 11px/1 var(--mono); color: var(--ink-4); }
@media (max-width: 520px) { .game-hud { gap: 12px; padding-left: 14px; } }

/* ===== Simulateur de devis ===== */
.qs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; align-items: start; }
.qs-form { display: grid; gap: 4px; padding: 12px 28px; border-radius: 20px; background: var(--box); border: 1px solid var(--line); }
.qs-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.qs-step:last-child { border-bottom: 0; }
.qs-n { font: 400 11px/22px var(--mono); color: var(--ink-4); }
.qs-step > div > b { font: 700 16px/22px var(--display); letter-spacing: -.01em; }
.qs-step > div > b small { margin-left: 6px; font: 400 11px/1 var(--mono); color: var(--ink-4); letter-spacing: 0; }
.qs-cats { margin: 14px 0 12px; }
.qs-svcs { display: grid; gap: 8px; }
.qs-svc { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); text-align: left; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.qs-svc:hover { background: var(--card-2); }
.qs-svc[aria-checked="true"] { border-color: var(--ink); }
.qs-svc .radio { width: 16px; height: 16px; border-radius: 8px; border: 1.5px solid var(--ink-4); transition: border-width .2s var(--ease); }
.qs-svc[aria-checked="true"] .radio { border: 5px solid var(--ink); }
.qs-svc b { display: block; font-weight: 600; font-size: 14px; }
.qs-svc small { display: block; font-size: 12px; color: var(--ink-4); line-height: 1.45; margin-top: 2px; }
.qs-svc .mono { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.qs-seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 14px; }
.qs-seg button { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); text-align: left; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .15s var(--ease); }
.qs-seg button:active { transform: scale(.98); }
.qs-seg button[aria-checked="true"] { border-color: var(--ink); background: var(--card-2); }
.qs-seg b { display: block; font-weight: 600; font-size: 14px; }
.qs-seg small { font: 400 11px/1.4 var(--mono); color: var(--ink-4); }
.qs-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.qs-x { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; cursor: pointer; transition: border-color .2s var(--ease); }
.qs-x input { position: absolute; opacity: 0; pointer-events: none; }
.qs-x small { margin-left: auto; font: 400 11px/1 var(--mono); color: var(--ink-4); white-space: nowrap; }
.qs-box { width: 18px; height: 18px; flex: none; border-radius: 5px; border: 1.5px solid var(--ink-4); display: grid; place-items: center; color: var(--inv-ink); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.qs-box svg { width: 12px; height: 12px; opacity: 0; transform: scale(.5); transition: opacity .2s var(--ease), transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.qs-x:has(input:checked) { border-color: var(--ink); }
.qs-x input:checked + .qs-box { background: var(--ink); border-color: var(--ink); }
.qs-x input:checked + .qs-box svg { opacity: 1; transform: none; }
.qs-x input:focus-visible + .qs-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.qs-res { position: sticky; top: calc(var(--bar-h, 0px) + 96px); display: grid; gap: 14px; padding: 28px; border-radius: 20px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); }
.qs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font: 800 clamp(34px, 4vw, 48px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.qs-price span { color: var(--ink-4); font-weight: 500; }
.qs-rbx { margin-top: -6px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.qs-meta { display: grid; gap: 10px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.qs-meta > div:first-child { display: flex; align-items: center; gap: 10px; }
.qs-meta svg { width: 15px; height: 15px; color: var(--ink-4); }
.qs-meta .avail { letter-spacing: .1em; font-size: 10px; }
.qs-sum { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.qs-sum li { display: flex; justify-content: space-between; gap: 16px; }
.qs-sum span { color: var(--ink-4); font: 400 11px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.qs-sum b { font-weight: 500; text-align: right; }
.qs-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qs-alt .btn { justify-content: center; }
.qs-res .d-note { margin: 0; }
.pc-live { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 12px; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: rgba(10,10,10,.78); color: #f2f2f2; font: 500 11px/1 var(--mono); backdrop-filter: blur(6px); }
.pc-live > span:last-child { color: #bdbdbd; }
.pcard-img { position: relative; }
.copy-btn { cursor: pointer; }
.social.copy-btn { font: inherit; color: inherit; width: 100%; }
@media (max-width: 960px) {
  .qs { grid-template-columns: minmax(0, 1fr); }
  .qs-res { position: static; }
  .qs-form { padding: 4px 18px; }
}
@media (max-width: 520px) { .qs-extras { grid-template-columns: minmax(0, 1fr); } .qs-step { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.promo-bar[hidden] { display: none; }

/* ===== Calendrier de l'Avent ===== */
.adv-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.adv-top .subtitle { max-width: 34rem; line-height: 1.7; }
.adv-xmas { padding: 18px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.adv-xmas b { display: block; margin-top: 10px; font: 700 clamp(24px, 3vw, 34px)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.adv-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.adv-cell { display: flex; flex-direction: column; gap: 8px; perspective: 700px; }
.adv-door { position: relative; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink-3); text-align: center; transform-origin: left center; transition: transform .25s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.adv-door svg { width: 20px; height: 20px; }
.adv-door small { font: 500 11px/1.3 var(--body); color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adv-n { position: absolute; left: 12px; top: 10px; font: 800 22px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.adv-cell.locked .adv-door { cursor: not-allowed; background: repeating-linear-gradient(135deg, var(--card), var(--card) 10px, var(--card-2) 10px, var(--card-2) 20px); }
.adv-cell.locked .adv-n { color: var(--ink-4); }
.adv-cell.locked svg { color: var(--ink-4); }
.adv-cell.ready .adv-door, .adv-cell.today .adv-door { color: var(--accent); border-color: rgba(255, 90, 31, .4); background: radial-gradient(circle at 50% 120%, rgba(255, 90, 31, .18), transparent 60%), var(--card); }
.adv-cell.ready .adv-door:hover, .adv-cell.today .adv-door:hover { transform: rotateY(-14deg); }
.adv-cell.today .adv-door { animation: adv-glow 2s ease-in-out infinite; }
@keyframes adv-glow { 50% { box-shadow: 0 0 0 6px rgba(255, 90, 31, .12), 0 0 30px rgba(255, 90, 31, .25); } }
.adv-cell.opened .adv-door { color: #3fcf74; border-color: rgba(74, 222, 128, .3); background: var(--card-2); }
.adv-cell.opening .adv-door { transform: rotateY(-100deg); opacity: .2; transition: transform .5s cubic-bezier(.65, 0, .35, 1), opacity .5s; }
.adv-cd { text-align: center; font: 500 11px/1 var(--mono); color: var(--ink-4); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adv-cell.today .adv-cd { color: var(--accent); }
.adv-cell.opened .adv-cd { color: #3fcf74; }
.modal-in.solo.adv-modal { width: min(460px, 100%); padding: 28px; }
.adv-gift { text-align: center; display: grid; gap: 12px; justify-items: center; }
.adv-gift h3 { margin: 4px 0 0; }
.adv-gift p { margin: 0; }
.adv-gift .btn.wide { width: 100%; }
.adv-code { display: flex; align-items: center; gap: 10px; }
.adv-code .pb-code { height: 40px; padding: 0 16px; font-size: 15px; letter-spacing: .12em; background: var(--inv); color: var(--inv-ink); display: inline-flex; align-items: center; border-radius: 10px; }
.adv-wall { width: 100%; border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; }
.adv-tip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--fill-2); font: 500 12px/1 var(--mono); color: var(--ink-2); }
.adv-tip svg { width: 15px; height: 15px; }
.nav-adv { color: var(--accent) !important; }
.confetti { position: fixed; inset: 0; z-index: 99; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: 55%; width: 8px; height: 12px; border-radius: 2px; animation: conf 1.8s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes conf { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx), calc(var(--dy) + 700px)) rotate(var(--r)); opacity: 0; } }
@media (max-width: 960px) { .adv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .adv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .adv-n { font-size: 18px; } .adv-door small { display: none; } .adv-cd { font-size: 10px; } }

/* ===== Quoi de neuf ===== */
.news-btn .news-dot { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 4px; background: #ff4d4f; box-shadow: 0 0 0 2px var(--nav-bg); opacity: 0; transform: scale(0); transition: opacity .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.news-btn.has-new .news-dot { opacity: 1; transform: none; animation: news-ping 2s ease-out infinite; }
@keyframes news-ping { 0% { box-shadow: 0 0 0 2px var(--nav-bg), 0 0 0 2px rgba(255, 77, 79, .6); } 70%, 100% { box-shadow: 0 0 0 2px var(--nav-bg), 0 0 0 9px rgba(255, 77, 79, 0); } }
.news { position: fixed; top: calc(var(--bar-h, 0px) + 76px); right: max(16px, calc((100vw - var(--max)) / 2)); z-index: 70; width: min(380px, calc(100vw - 32px)); max-height: min(560px, 72vh); display: flex; flex-direction: column; border-radius: 18px; background: var(--menu); border: 1px solid var(--line-2); box-shadow: 0 24px 60px var(--shadow); opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.news.open { opacity: 1; transform: none; }
.news[hidden] { display: none; }
.news-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.news-head b { font: 700 16px/1 var(--display); }
.news-head .drawer-x { width: 30px; height: 30px; }
.news-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; scrollbar-width: thin; }
.news-list li > a, .news-list li > div { display: grid; gap: 5px; padding: 12px; border-radius: 12px; transition: background-color .2s var(--ease); }
.news-list li > a:hover { background: var(--fill-2); }
.news-list li.fresh > a, .news-list li.fresh > div { background: rgba(255, 90, 31, .06); }
.news.open .news-list li { animation: news-in .4s var(--ease) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes news-in { from { opacity: 0; transform: translateY(6px); } }
.news-meta { display: flex; align-items: center; gap: 8px; font: 400 11px/1 var(--mono); color: var(--ink-4); }
.news-tag { height: 20px; display: inline-flex; align-items: center; padding: 0 7px; border-radius: 6px; background: var(--fill-2); color: var(--ink-2); }
.news-new { margin-left: auto; color: #ff4d4f; font-weight: 500; }
.news-list b { font-weight: 600; font-size: 14px; }
.news-list li span:not(.news-meta):not(.news-tag):not(.news-new) { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ===== Activité en direct ===== */
.act { position: fixed; left: 20px; bottom: 20px; z-index: 75; display: flex; align-items: center; gap: 4px; max-width: min(360px, calc(100vw - 40px)); padding: 6px 6px 6px 8px; border-radius: 16px; background: var(--menu); border: 1px solid var(--line-2); box-shadow: 0 16px 40px var(--shadow); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.act.open { opacity: 1; transform: none; }
.act[hidden] { display: none; }
.act-in { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px; }
.act-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 90, 31, .12); color: var(--accent); }
.act-ic svg { width: 17px; height: 17px; }
.act-t { display: grid; gap: 4px; min-width: 0; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.act-t b { color: var(--ink); font-weight: 600; }
.act-t small { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.act-x { width: 26px; height: 26px; flex: none; align-self: flex-start; border-radius: 13px; display: grid; place-items: center; color: var(--ink-4); }
.act-x:hover { color: var(--ink); background: var(--fill-2); }
@media (max-width: 640px) { .act { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* ===== Quiz ===== */
.qz-open { margin-top: 22px; }
.modal-in.solo.qz-modal { width: min(520px, 100%); padding: 28px; text-align: left; }
.qz { display: grid; gap: 14px; }
.qz h3 { margin: 0; }
.qz-bar { display: flex; gap: 6px; margin-bottom: 6px; }
.qz-bar i { flex: 1; height: 4px; border-radius: 2px; background: var(--line-2); transition: background-color .3s var(--ease); }
.qz-bar i.on { background: var(--accent); }
.qz-opts { display: grid; gap: 8px; margin-top: 4px; }
.qz-opt { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); text-align: left; font-size: 14px; font-weight: 500; animation: news-in .35s var(--ease) both; transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .15s var(--ease); }
.qz-opt:nth-child(2) { animation-delay: 40ms; } .qz-opt:nth-child(3) { animation-delay: 80ms; } .qz-opt:nth-child(4) { animation-delay: 120ms; } .qz-opt:nth-child(5) { animation-delay: 160ms; }
.qz-opt:hover, .qz-opt:focus-visible { border-color: var(--ink); background: var(--card-2); }
.qz-opt:active { transform: scale(.99); }
.qz-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--fill-2); }
.qz-ic svg { width: 17px; height: 17px; }
.qz-go { margin-left: auto; width: 16px; height: 16px; color: var(--ink-4); }
.qz-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.qz-back svg { width: 14px; height: 14px; }
.qz-res p { margin: 0; }
.qz-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== Badge perso (bas de page) ===== */
.badge-me { padding: 24px 0 8px; }
.bm-box { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.bm-av { width: 56px; height: 56px; border-radius: 28px; object-fit: cover; background: var(--av); }
.bm-txt { display: grid; gap: 4px; }
.bm-txt b { font: 700 16px/1.2 var(--display); }
.bm-txt span { font-size: 13px; color: var(--ink-3); }
.bm-form { display: flex; gap: 8px; }
.bm-form input { width: 200px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--fill); color: var(--ink); font-size: 14px; }
.bm-form input:focus { outline: none; border-color: var(--ink-3); }
.bm-form .btn.loading { opacity: .6; pointer-events: none; }
.bm-acts { grid-column: 2 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.bm-acts[hidden] { display: none; }
@media (max-width: 760px) {
  .bm-box { grid-template-columns: auto minmax(0, 1fr); }
  .bm-form, .bm-acts { grid-column: 1 / -1; }
  .bm-form input { flex: 1; width: auto; min-width: 0; }
  .bm-acts { justify-content: flex-start; }
}

/* ===== Curseur avant / après (shop + accueil) ===== */
.cmp { position: relative; width: 100%; height: 100%; --pos: 50%; user-select: none; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: #fff; pointer-events: none; }
.cmp-line::after { content: "⟷"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 36px; height: 36px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: #0a0a0a; font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.cmp-lbl { position: absolute; top: 10px; height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; background: rgba(10,10,10,.72); color: #f2f2f2; font: 500 11px/1 var(--mono); pointer-events: none; }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
/* Barre de navigation : pas de retour à la ligne quand il y a beaucoup de liens */
.links a, .login-btn span { white-space: nowrap; }
@media (min-width: 961px) { .links { gap: 0; } .links a { padding: 10px 9px; } .links a.on::after { left: 9px; right: 9px; } }
@media (max-width: 1220px) and (min-width: 961px) { .login-btn span { display: none; } .links a { padding: 10px 7px; font-size: 12px; } .links a.on::after { left: 7px; right: 7px; } }
.cmp-lbl { top: auto; bottom: 12px; }

/* ===== Simulateur de devis : sélection multiple ===== */
.qs-help { margin: 8px 0 12px; font-size: 13px; color: var(--ink-4); }
.qs-cats button { position: relative; }
.qs-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font: 600 10px/1 var(--mono); }
.qs-svc { grid-template-columns: 20px minmax(0, 1fr) auto; }
.qs-svc .qs-box { transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.qs-svc[aria-checked="true"] .qs-box { background: var(--ink); border-color: var(--ink); }
.qs-svc[aria-checked="true"] .qs-box svg { opacity: 1; transform: none; }
.qs-svc[aria-checked="true"] { background: var(--card-2); }
.qs-lines { display: grid; gap: 8px; }
.qs-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 112px 30px; gap: 12px; align-items: center; padding: 10px 10px 10px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); }
.qs-line.new { animation: ql-in .45s cubic-bezier(.34, 1.4, .64, 1) both; }
@keyframes ql-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
.ql-info { min-width: 0; }
.ql-info b { display: block; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ql-info small { font: 400 11px/1.4 var(--mono); color: var(--ink-4); }
.ql-size { display: flex; padding: 3px; border-radius: 9px; background: var(--fill); border: 1px solid var(--line); }
.ql-size button { width: 28px; height: 26px; border-radius: 6px; font: 600 11px/1 var(--mono); color: var(--ink-3); transition: background-color .2s var(--ease), color .2s var(--ease); }
.ql-size button[aria-checked="true"] { background: var(--inv); color: var(--inv-ink); }
.ql-qty { display: flex; align-items: center; gap: 2px; border-radius: 9px; border: 1px solid var(--line-2); }
.ql-qty button { width: 28px; height: 30px; font-size: 16px; color: var(--ink-2); border-radius: 8px; }
.ql-qty button:hover:not(:disabled) { background: var(--fill-2); color: var(--ink); }
.ql-qty button:disabled { opacity: .3; }
.ql-qty span { min-width: 22px; text-align: center; font: 600 13px/1 var(--mono); }
.ql-price { text-align: right; font: 600 13px/1.2 var(--mono); white-space: nowrap; }
.ql-rm { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--ink-4); }
.ql-rm:hover { color: #ff6b6b; background: var(--fill-2); }
.ql-rm svg { width: 15px; height: 15px; }
.qs-empty { display: flex; align-items: center; gap: 10px; padding: 16px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-4); }
.qs-empty svg { width: 17px; height: 17px; }
.qs-step.muted > div { opacity: .45; }
.qs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qs-chips button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); font-size: 13px; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.qs-chips button svg { width: 15px; height: 15px; color: var(--ink-3); }
.qs-chips button small { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.qs-chips button[aria-checked="true"] { border-color: var(--ink); background: var(--card-2); }
.qs-chips button[aria-checked="true"] svg { color: var(--ink); }
.qs-chips button:disabled { cursor: default; opacity: .85; }
.qs-x-t { display: grid; gap: 2px; min-width: 0; }
.qs-x-t em { font-style: normal; font-size: 11px; color: var(--ink-4); line-height: 1.35; }
.qs-x { align-items: flex-start; }
.qs-x .qs-box { margin-top: 1px; }
.qs-budget { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.qs-budget input { --v: 0%; flex: 1; height: 6px; border-radius: 3px; -webkit-appearance: none; appearance: none; background: linear-gradient(90deg, var(--accent) var(--v), var(--line-2) var(--v)); }
.qs-budget input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 10px; background: var(--ink); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2); cursor: grab; }
.qs-budget input::-moz-range-thumb { width: 16px; height: 16px; border-radius: 8px; background: var(--ink); border: 3px solid var(--bg); cursor: grab; }
.qs-budget output { min-width: 110px; text-align: right; font: 700 16px/1 var(--display); }
.qs-contact { display: grid; gap: 10px; }
.qs-contact .qs-chips { margin-top: 0; }
.qs-lbl { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.qs-email { margin: 0; }
.qs-email[hidden] { display: none; }
.qs-res-top { display: flex; justify-content: space-between; align-items: center; }
.qs-count { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.qs-none { font-size: .55em; color: var(--ink-4); }
.qs-promo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 90, 31, .08); font-size: 13px; color: var(--ink-2); }
.qs-promo[hidden], .qs-fit[hidden] { display: none; }
.qs-promo .pb-code { background: var(--accent); color: #fff; }
.qs-fit { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.qs-fit svg { width: 16px; height: 16px; flex: none; }
.qs-fit.ok { color: #3fcf74; } .qs-fit.mid { color: #e09a1f; } .qs-fit.off { color: #ff6b6b; }
.qs-sum li.qs-sum-sep { padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--line); }
.qs-alt { grid-template-columns: 1fr 1fr auto; }
.qs-alt .btn:last-child { padding: 0 12px; }
.qs-res .btn:disabled { opacity: .45; pointer-events: none; }
@media (max-width: 640px) {
  .qs-line { grid-template-columns: minmax(0, 1fr) auto 30px; grid-template-areas: "info price rm" "size qty qty"; row-gap: 10px; }
  .ql-info { grid-area: info; } .ql-price { grid-area: price; } .ql-rm { grid-area: rm; } .ql-size { grid-area: size; justify-self: start; } .ql-qty { grid-area: qty; justify-self: end; }
}

/* ===== Animations (motion.js) ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(0, 0, .2, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root), html.vt-tech::view-transition-old(root), html.vt-tech::view-transition-new(root) { filter: none; }
.scroll-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 2px; background: linear-gradient(90deg, var(--accent), #ffb36b); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav-in { transition: box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease); }
.nav.scrolled .nav-in { box-shadow: 0 10px 30px var(--shadow); }
/* Titres mot à mot */
.split.rv { transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: left bottom; transition: transform .95s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--wi) * 55ms); }
.split.in .w > span { transform: none; }
.big .w { display: inline-block; color: inherit; }
.big .w > span { display: inline-block; color: inherit; }
/* La page d'accueil attend la fin de l'intro */
html.motion:not(.intro-done) #home .rv, html.motion:not(.intro-done) #home .split .w > span { transition-delay: 0s !important; }
html.motion:not(.intro-done) #home .rv { opacity: 0; }
html.motion:not(.intro-done) #home .split .w > span { transform: translateY(105%) rotate(4deg); }
/* Images dévoilées (le rideau est sur l'image, pas sur le cadre, pour que le déclencheur la voie) */
.reveal img, .reveal video { clip-path: inset(0 0 100% 0); scale: 1.18; transition: clip-path 1.1s cubic-bezier(.65, 0, .35, 1), scale 1.4s cubic-bezier(.16, 1, .3, 1); }
.reveal.shown img, .reveal.shown video { clip-path: inset(0 0 0 0); scale: 1; }
.pcard:hover .pcard-img.shown img { scale: 1.05; }
/* Lumière qui suit la souris */
.pcard, .stat, .plan, .box, .tech, .social, .qs-svc, .adv-door, .offer, .faq-list .qa, .bm-box, .ask { position: relative; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 255, 255, .07), transparent 65%); opacity: 0; transition: opacity .3s var(--ease); z-index: 1; }
html[data-theme="light"] .glow::after { background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 90, 31, .07), transparent 65%); }
.glow:hover::after { opacity: 1; }
.glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; background: radial-gradient(180px circle at var(--mx) var(--my), rgba(255, 140, 80, .55), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s var(--ease); z-index: 1; }
.glow:hover::before { opacity: 1; }
/* Boutons : reflet qui passe */
.btn-w, .nav-shop, .c-pay { position: relative; overflow: hidden; isolation: isolate; }
.btn-w::after, .nav-shop::after, .c-pay::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); pointer-events: none; z-index: -1; }
html[data-theme="light"] .btn-w::after, html[data-theme="light"] .nav-shop::after, html[data-theme="light"] .c-pay::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .25), transparent); }
.btn-w:hover::after, .nav-shop:hover::after, .c-pay:hover::after { left: 130%; transition: left .7s cubic-bezier(.16, 1, .3, 1); }
/* Liens de la barre : soulignement qui glisse */
.links a::before { content: ""; position: absolute; left: 50%; right: 50%; bottom: 4px; height: 1px; background: var(--ink-3); transition: left .3s var(--ease), right .3s var(--ease); }
.links a:hover::before { left: 9px; right: 9px; }
.links a.on::before { display: none; }
.ask .copy-lbl, .copy-lbl { display: inline; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }

/* ===== « J'aime » sur les avis ===== */
.cmt-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.rv-like { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border-radius: 13px; border: 1px solid var(--line); background: var(--fill); font: 500 11px/1 var(--mono); color: var(--ink-3); transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.rv-like:hover:not(:disabled) { color: #ff5d7a; border-color: rgba(255, 93, 122, .35); }
.rv-like:disabled { cursor: default; opacity: .7; }
.rv-like.on { color: #ff5d7a; border-color: rgba(255, 93, 122, .4); background: rgba(255, 93, 122, .1); }
.rv-like.on svg { fill: currentColor; }
.rv-like span:empty { display: none; }
.rv-like.pop svg { animation: heart-pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes heart-pop { 40% { transform: scale(1.45); } }
.heart-layer { position: fixed; inset: 0; z-index: 99; pointer-events: none; }
.heart-fly { position: fixed; color: #ff5d7a; font-size: 14px; animation: heart-fly .9s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes heart-fly { from { opacity: 1; transform: translate(0, 0) scale(var(--s)); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(calc(var(--s) * 1.4)); } }
.rv-sort { display: flex; gap: 6px; margin-top: 22px; }
.rv-sort button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; border: 1px solid var(--line-2); font: 400 12px/1 var(--mono); color: var(--ink-3); transition: background-color .2s var(--ease), color .2s var(--ease); }
.rv-sort button svg { width: 13px; height: 13px; }
.rv-sort button[aria-pressed="true"] { background: var(--inv); color: var(--inv-ink); border-color: var(--inv); }
.rv-sort + .comments { margin-top: 12px; }

/* ===== Panier : carte sous l'icône (ordi), carte qui monte du bas (mobile) ===== */
.drawer.cart-pop { top: var(--pop-top, 76px); right: var(--pop-right, 16px); bottom: auto; left: auto; width: min(400px, calc(100vw - 24px)); height: auto; max-height: min(660px, calc(100vh - var(--pop-top, 76px) - 16px));
  border: 1px solid var(--line-2); border-radius: 22px; overflow: visible; box-shadow: 0 24px 70px var(--shadow), 0 0 0 1px rgba(255, 255, 255, .02);
  transform: translateY(-12px) scale(.94); transform-origin: calc(100% - var(--caret, 20px) - 7px) 0; opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .42s cubic-bezier(.34, 1.4, .64, 1), opacity .22s var(--ease), visibility .42s; }
.drawer.cart-pop.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
.drawer.cart-pop::before { content: ""; position: absolute; top: -7px; right: var(--caret, 20px); width: 14px; height: 14px; border-radius: 3px; background: var(--modal); border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2); transform: rotate(45deg); }
.cart-pop > .drawer-head, .cart-pop > .drawer-body, .cart-pop > .drawer-foot { position: relative; }
.cart-pop .drawer-head { height: 60px; padding: 0 14px 0 20px; border-bottom: 0; }
.cart-pop .drawer-head b { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; }
.cart-pop .drawer-head .drawer-x { width: 32px; height: 32px; }
.cart-pop .drawer-body { padding: 2px 14px 14px; overflow-y: auto; scrollbar-width: thin; }
.cart-pop .drawer-foot { padding: 14px; border-top: 1px solid var(--line); background: var(--card); border-radius: 0 0 22px 22px; }
.cart-pop .promo-form, .cart-pop .promo-on { width: 100%; height: 42px; border-radius: 12px; }
.cart-pop .promo-in { flex: 1; width: auto; }
.cart-pop .ci { grid-template-columns: 60px minmax(0, 1fr) auto; padding: 8px; border-radius: 16px; }
.cart-pop .ci-img { width: 60px; height: 60px; }
.cart-pop .c-pay { height: 52px; }
.cart-pop.open .ci { animation: ci-in .5s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(80ms + var(--i) * 50ms); }
.pop-grab { display: none; }
.drawer-scrim.clear { background: transparent; backdrop-filter: none; }
.fly-item { position: fixed; z-index: 120; border-radius: 12px; object-fit: cover; pointer-events: none; background: var(--accent); box-shadow: 0 12px 30px var(--shadow); }
@media (max-width: 640px) {
  .drawer.cart-pop { --drag: 0px; top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 84vh; border-radius: 24px; transform: translateY(calc(100% + 24px)); opacity: 1; transform-origin: 50% 100%;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), visibility .5s; }
  .drawer.cart-pop.open { transform: translateY(var(--drag)); }
  .drawer.cart-pop.dragging { transition: none; }
  .drawer.cart-pop::before { display: none; }
  .pop-grab { display: block; width: 40px; height: 5px; margin: 8px auto -4px; border-radius: 3px; background: var(--line-2); touch-action: none; }
  .cart-pop .drawer-head { touch-action: none; }
  .cart-pop .drawer-foot { border-radius: 0 0 24px 24px; }
}

/* ===== Compteur « en ce moment sur le site » ===== */
.hero-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 28px; }
.hero-pills .avail { margin-bottom: 0; }
.presence { display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1 var(--mono); letter-spacing: .28em; color: var(--ink-3); text-transform: uppercase; }
.presence[hidden] { display: none; }
.presence i { position: relative; width: 6px; height: 6px; border-radius: 3px; background: var(--accent); }
.presence i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: pr-ping 1.8s ease-out infinite; }
@keyframes pr-ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ===== Réactions ===== */

/* ===== Communauté ===== */
.cm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.cm-top .subtitle { max-width: 34rem; line-height: 1.7; }
.cm-tabs { margin: 0; }
.cm-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; }
.cm-tabs button svg { width: 15px; height: 15px; }
.cm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; align-items: start; }
.cm-side { position: sticky; top: calc(var(--bar-h, 0px) + 96px); }
.cm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cm-count { font-size: 11px; color: var(--ink-4); }
.cm-wall-t { font: 700 18px/1 var(--display); }
.cm-hint { font: 400 11px/1.4 var(--mono); color: var(--ink-4); }
.cm-link { font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.cm-av { width: 22px; height: 22px; border-radius: 11px; object-fit: cover; display: inline-grid; place-items: center; background: var(--av); font: 500 10px/1 var(--mono); color: var(--ink-2); flex: none; }
.cm-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 16px; border-radius: 16px; border: 1px dashed var(--line-2); text-align: center; color: var(--ink-3); font-size: 13px; grid-column: 1 / -1; }
.cm-empty svg { width: 24px; height: 24px; color: var(--ink-4); }
.cm-empty b { font: 700 17px/1.2 var(--display); color: var(--ink); }
.cm-lock { display: grid; gap: 14px; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.cm-lock > svg { width: 26px; height: 26px; color: var(--accent); }
.cm-lock b { display: block; font: 700 18px/1.2 var(--display); margin-bottom: 6px; }
.cm-lock span { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.cm-lock .btn { justify-content: center; }
.idea-form { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.idea-form input, .idea-form textarea, .gb-form textarea, .gb-form input { width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--fill); padding: 12px 14px; font-size: 14px; color: var(--ink); transition: border-color .2s var(--ease); }
.idea-form textarea { min-height: 80px; resize: vertical; }
.idea-form input:focus, .idea-form textarea:focus, .gb-form textarea:focus, .gb-form input:focus { outline: none; border-color: var(--ink-3); }
.idea-form-foot, .gb-foot { display: flex; align-items: center; gap: 12px; }
.idea-form-foot .btn, .gb-foot .btn { margin-left: auto; }
.cm-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-cats button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-3); transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.cm-cats button svg { width: 13px; height: 13px; }
.cm-cats button[aria-checked="true"] { border-color: var(--ink); color: var(--ink); background: var(--card-2); }
.idea-list { display: grid; gap: 10px; }
.idea { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); animation: ci-in .45s var(--ease) both; animation-delay: calc(min(var(--i), 8) * 40ms); }
.idea.fresh { border-color: rgba(255, 90, 31, .5); box-shadow: 0 0 0 4px rgba(255, 90, 31, .08); }
.idea.st-done { opacity: .75; }
.vote { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--fill); color: var(--ink-3); transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.vote b { font: 700 17px/1 var(--display); color: var(--ink); }
.vote:hover { border-color: var(--ink-3); color: var(--ink); }
.vote.on { border-color: var(--accent); background: rgba(255, 90, 31, .1); color: var(--accent); }
.vote.on b { color: var(--accent); }
.idea-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.idea-top .tag { height: 24px; font-size: 11px; gap: 6px; }
.idea-top .tag svg { width: 12px; height: 12px; }
.idea-st { height: 24px; display: inline-flex; align-items: center; padding: 0 8px; border-radius: 6px; font: 500 11px/1 var(--mono); }
.idea-st.planned { background: rgba(62, 142, 247, .15); color: #5b9df5; }
.idea-st.done { background: rgba(74, 222, 128, .14); color: #3fcf74; }
.idea h4 { margin: 0; font: 600 16px/1.35 var(--body); }
.idea p { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.idea-by { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 400 11px/1 var(--mono); color: var(--ink-4); }
.idea-adm { display: flex; align-items: center; gap: 6px; }
/* Livre d'or : petits mots épinglés */
.gb-form { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; padding: 22px; border-radius: 20px; background: var(--box); border: 1px solid var(--line); }
.gb-fields { display: grid; gap: 14px; align-content: start; }
.gb-form textarea { min-height: 88px; resize: vertical; }
.gb-row[hidden] { display: none; }
.gb-pick { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gb-pick .qs-lbl { width: 52px; }
.gb-emojis, .gb-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.gb-emojis button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--fill); font-size: 18px; transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), border-color .2s var(--ease); }
.gb-emojis button:hover { transform: scale(1.12); }
.gb-emojis button[aria-checked="true"] { border-color: var(--ink); background: var(--card-2); transform: scale(1.08); }
.sw { width: 28px; height: 28px; border-radius: 14px; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); transition: transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.sw[aria-checked="true"] { border-color: var(--ink); transform: scale(1.12); }
.gb-side { display: grid; gap: 10px; align-content: start; justify-items: center; }
.gb-side .qs-lbl { justify-self: start; }
.gb-prev { width: 100%; max-width: 240px; transform: rotate(-2deg); }
.note { --r: 0deg; position: relative; display: inline-block; width: 100%; margin: 0 0 16px; padding: 22px 18px 16px; border-radius: 6px 6px 14px 6px; color: #1c1c1c; transform: rotate(var(--r)); box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 12px 24px -8px rgba(0,0,0,.35); break-inside: avoid; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); animation: note-in .5s cubic-bezier(.34, 1.4, .64, 1) both; animation-delay: calc(min(var(--i, 0), 12) * 35ms); }
.note:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }
.note.fresh { animation: note-drop .7s cubic-bezier(.34, 1.4, .64, 1) both; }
@keyframes note-in { from { opacity: 0; transform: translateY(14px) rotate(var(--r)); } }
@keyframes note-drop { 0% { opacity: 0; transform: translateY(-60px) rotate(-14deg) scale(1.1); } 100% { opacity: 1; transform: rotate(var(--r)); } }
.note.c-sun { background: #ffe58a; } .note.c-mint { background: #b8f0cf; } .note.c-sky { background: #bfe0ff; }
.note.c-rose { background: #ffc6d3; } .note.c-lilac { background: #dccbff; } .note.c-peach { background: #ffd0b0; }
.sw.c-sun { background: #ffe58a; } .sw.c-mint { background: #b8f0cf; } .sw.c-sky { background: #bfe0ff; } .sw.c-rose { background: #ffc6d3; } .sw.c-lilac { background: #dccbff; } .sw.c-peach { background: #ffd0b0; }
.note-pin { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a5c, #c8401a); box-shadow: 0 2px 3px rgba(0,0,0,.35); }
.note-e { display: block; font-size: 26px; line-height: 1; margin-bottom: 8px; }
.note blockquote { margin: 0 0 12px; font: 500 15px/1.45 var(--body); word-wrap: break-word; }
.note figcaption { display: flex; align-items: center; gap: 6px; font: 400 11px/1.3 var(--mono); color: rgba(0,0,0,.55); flex-wrap: wrap; }
.note figcaption b { color: rgba(0,0,0,.8); font-weight: 600; }
.note figcaption > span:last-child { margin-left: auto; }
.note .cm-av { width: 18px; height: 18px; }
.note-ok { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 8px; background: #5865f2; color: #fff; font-size: 9px; font-weight: 700; }
.note-x { position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 11px; font-size: 16px; line-height: 1; color: rgba(0,0,0,.5); opacity: 0; transition: opacity .2s; }
.note:hover .note-x, .note-x:focus-visible { opacity: 1; }
@media (max-width: 960px) {
  .cm-grid, .gb-form { grid-template-columns: minmax(0, 1fr); }
  .cm-side { position: static; }
  .gb-side { display: none; }
}
@media (max-width: 520px) { .idea { grid-template-columns: 48px minmax(0, 1fr); } .idea-adm { grid-column: 1 / -1; justify-content: flex-end; } .note { padding: 18px 12px 12px; } }

/* Admin : vitrine des clients */
.a-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.a-shot { margin: 0; display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.a-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; display: block; }
.a-shot b { display: block; font-size: 13px; }
.a-shot span { font: 400 11px/1.4 var(--mono); color: var(--ink-4); }
.a-shot .btn { height: 32px; justify-content: center; font-size: 12px; }

/* ===== Livre d'or : tableau libre ===== */
.gb-scroll { overflow-x: auto; overflow-y: hidden; border-radius: 20px; border: 1px solid var(--line); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.gb-board { --nw: 200px; --nh: 150px; position: relative; min-width: 900px; height: 640px;
  background: radial-gradient(circle at 1px 1px, var(--line-2) 1px, transparent 1.5px) 0 0 / 22px 22px, radial-gradient(900px 500px at 30% 20%, var(--card-2), transparent 70%), var(--card); }
.gb-board .note.pinned { position: absolute; left: calc((100% - var(--nw)) * var(--x) / 100); top: calc((100% - var(--nh)) * var(--y) / 100); width: var(--nw); min-height: 110px; margin: 0; display: block; z-index: 1; }
.gb-board .note.pinned:hover, .gb-board .note.pinned:focus-visible { z-index: 5; }
.note.movable { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.note.movable:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.note.dragging { cursor: grabbing; z-index: 50 !important; transition: none; transform: rotate(var(--r)) scale(1.06); box-shadow: 0 2px 2px rgba(0,0,0,.1), 0 28px 50px -12px rgba(0,0,0,.5); animation: none; }
.note-move { position: absolute; left: 10px; top: 6px; font: 500 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(0,0,0,.4); }
.note.draft { z-index: 40; outline: 2px dashed rgba(255, 90, 31, .9); outline-offset: 5px; animation: draft-bob 1.8s ease-in-out infinite; }
.note.draft.dragging { animation: none; }
@keyframes draft-bob { 50% { transform: rotate(var(--r)) translateY(-6px); } }
.gb-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--ink-3); pointer-events: none; }
.gb-empty span { font-size: 34px; }
.gb-empty b { font: 700 18px/1.2 var(--display); color: var(--ink); }
.gb-empty small { font-size: 13px; }
.gb-place { position: sticky; top: calc(var(--bar-h, 0px) + 80px); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; background: var(--menu); border: 1px solid rgba(255, 90, 31, .45); box-shadow: 0 16px 40px var(--shadow); font-size: 14px; animation: ci-in .4s var(--ease) both; }
.gb-place[hidden] { display: none; }
.gb-place .btns { gap: 8px; }
.gb-tip { margin-top: 12px; }
.gb-form .btn-w[hidden] { display: none; }
#community.gb-placing .gb-board .note:not(.draft) { opacity: .7; }
@media (max-width: 640px) { .gb-board { height: 560px; min-width: 820px; --nw: 180px; } }
.gb-foot { flex-wrap: wrap; }
.gb-foot .btn { white-space: nowrap; }
.gb-swipe { display: none; }
@media (max-width: 960px) { .gb-swipe { display: flex; align-items: center; gap: 6px; margin: -6px 0 10px; font: 400 11px/1 var(--mono); color: var(--ink-4); } }

/* Admin : codes promo */
.a-promo-form { max-width: none; padding: 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.a-grid2 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.a-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.a-inline { display: flex; gap: 6px; align-items: center; }
.a-inline input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: 500 14px/1 var(--mono); letter-spacing: 0; text-transform: uppercase; }
.a-inline input[type="number"] { text-transform: none; font-family: var(--body); }
.a-inline .btn { height: 42px; }
.a-unit { font: 600 15px/1 var(--display); color: var(--ink-2); letter-spacing: 0; }
.a-lbl > input[type="date"], .a-lbl > input[type="number"] { height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: 400 13px/1 var(--body); letter-spacing: 0; }
.a-check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.a-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.a-sub { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font: 700 15px/1 var(--display); }
.a-sub span { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.a-promo { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.a-promo .a-acts { display: flex; gap: 2px; }
.a-local { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
.a-local summary { cursor: pointer; margin-bottom: 10px; font: 400 12px/1.4 var(--mono); }
@media (max-width: 640px) { .a-grid2, .a-grid3 { grid-template-columns: minmax(0, 1fr); } .a-promo { grid-template-columns: auto minmax(0, 1fr); } }
.a-inline input::placeholder { text-transform: none; }

/* ===== Mobile : corrections d'affichage ===== */
@media (max-width: 960px) {
  /* iPhone zoome (et reste zoomé) sur un champ dont le texte fait moins de 16 px */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), textarea, select { font-size: 16px !important; }
  .score { white-space: nowrap; }
  .s-stats .stat-bot { letter-spacing: .1em; font-size: 10px; }
}
/* Raccourci clavier inutile sur écran tactile */
@media (hover: none), (max-width: 640px) { .search .key { display: none; } }
@media (max-width: 640px) {
  .toolbar #promo-form, .price-bar #promo-form { width: 100%; }
  .toolbar #promo-form .promo-form, .price-bar #promo-form .promo-form { width: 100%; }
  .toolbar #promo-form .promo-in, .price-bar #promo-form .promo-in { flex: 1; width: auto; }
}
/* Onglets de l'espace admin : une seule ligne, on fait défiler sur petit écran */
.a-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.a-tabs::-webkit-scrollbar { display: none; }
.a-tabs button { flex: none; white-space: nowrap; }

/* Admin : gestion du shop */
.a-shop-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.a-prods { display: grid; gap: 8px; }
.a-prod { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.a-prod.is-hidden { opacity: .6; }
.a-prod > img { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--card-2); }
.a-prod-info b { display: block; font-size: 14px; font-weight: 600; }
.a-prod-info > span { font: 400 11px/1.5 var(--mono); color: var(--ink-4); }
.a-prod-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.a-prod-tags .st { height: 20px; font-size: 10px; }
.a-prod-acts { display: flex; align-items: center; gap: 4px; }
.a-prod-acts .btn { height: 34px; }
.a-prod-form { max-width: none; }
.a-back { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1 var(--mono); color: var(--ink-3); }
.a-back svg { width: 14px; height: 14px; }
.a-form-t { font: 700 20px/1.2 var(--display); }
.a-lbl > textarea { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: 400 14px/1.5 var(--body); letter-spacing: 0; text-transform: none; resize: vertical; }
.a-lbl > input[readonly] { opacity: .65; }
.a-lbl .a-select { height: 42px; letter-spacing: 0; text-transform: none; font-size: 13px; }
.a-hint { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--ink-4); margin-left: 6px; }
.a-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.a-img { position: relative; display: grid; gap: 6px; padding: 6px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); }
.a-img.cover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.a-img > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: var(--card-2); }
.a-img > input { height: 30px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line); background: var(--fill); color: var(--ink); font-size: 12px; }
.a-img-acts { position: absolute; top: 10px; right: 10px; display: flex; gap: 4px; }
.a-img-acts button { width: 26px; height: 26px; border-radius: 13px; background: rgba(10,10,10,.75); color: #fff; font-size: 13px; line-height: 1; }
.a-img-acts button:disabled { opacity: .35; }
.a-img.cover [data-img-cover] { background: var(--accent); }
.a-img.add { place-content: center; justify-items: center; min-height: 140px; border-style: dashed; color: var(--ink-3); font-size: 12px; cursor: pointer; text-align: center; }
.a-img.add svg { width: 22px; height: 22px; color: var(--accent); }
.a-img.add:hover { background: var(--card-2); }
.a-img.add.busy { pointer-events: none; opacity: .7; }
@media (max-width: 640px) { .a-prod { grid-template-columns: 60px minmax(0, 1fr); } .a-prod > img { width: 60px; height: 46px; } .a-prod-acts { grid-column: 1 / -1; justify-content: flex-end; } .a-imgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Avatar Discord dans la barre et le menu du compte (sans taille, l'image s'affichait en grand) */
.login-btn .acc-av { width: 24px; height: 24px; flex: none; border-radius: 12px; object-fit: cover; background: var(--av); box-shadow: 0 0 0 1px var(--line-2); }
.login-btn span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.acc-head { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acc-head img { width: 36px; height: 36px; flex: none; border-radius: 18px; object-fit: cover; background: var(--av); }
.acc-head b { display: block; font-size: 14px; font-weight: 600; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-head span { font: 400 11px/1.3 var(--mono); color: var(--ink-4); }
@media (max-width: 960px) { .nav-tools .login-btn { padding: 0 6px; } }

/* Admin : tarifs, projets, photos, modération */
.a-pcats { margin-bottom: 12px; }
.a-svcs { display: grid; gap: 8px; margin-bottom: 10px; }
.a-svc { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.a-svc input, .a-svc textarea { width: 100%; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--ink); font: 400 13px/1.4 var(--body); }
.a-svc textarea { resize: vertical; margin-top: 8px; }
.a-svc-top { display: grid; grid-template-columns: minmax(0, 1fr) 110px 34px; gap: 8px; align-items: center; }
.a-svc-top [data-f=name] { font-weight: 600; }
.a-price { position: relative; }
.a-price span { position: absolute; right: 11px; top: 50%; translate: 0 -50%; color: var(--ink-3); font-weight: 600; pointer-events: none; }
.a-price input { padding-right: 26px; font: 700 15px/1 var(--display); }
.a-svc details summary { cursor: pointer; font: 400 12px/1.4 var(--mono); color: var(--ink-3); }
.a-save { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.a-save .btn-w { flex: 1; justify-content: center; height: 44px; }
.a-modtabs { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.a-modtabs button { height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.a-modtabs button[aria-selected="true"] { background: var(--inv); color: var(--inv-ink); border-color: var(--inv); }
.a-mod { grid-template-columns: minmax(0, 1fr) auto; }
.a-mod p { margin: 4px 0; font-size: 13px; color: var(--ink-2); line-height: 1.5; word-break: break-word; }
@media (max-width: 640px) { .a-svc-top { grid-template-columns: minmax(0, 1fr) 90px 34px; } }
.a-pcats button .n { margin-left: 6px; font: 400 11px/1 var(--mono); opacity: .6; }

/* ===== Messagerie d'une commande ===== */
.chat-drawer .drawer-body { display: flex; flex-direction: column; padding: 14px 20px 8px; overflow: hidden; }
.ch-back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; height: 30px; padding: 0 10px 0 6px; margin-bottom: 10px; border-radius: 8px; font-size: 13px; color: var(--ink-3); }
.ch-back:hover { color: var(--ink); background: var(--fill-2); }
.ch-back svg { width: 16px; height: 16px; }
.ch-who { display: flex; align-items: center; gap: 12px; padding: 0 0 14px; border-bottom: 1px solid var(--line); min-height: 54px; }
.ch-who img, .ch-av { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--raised); font: 600 16px/1 var(--display); color: var(--ink-2); }
.ch-av.brand { border-radius: 11px; background: var(--accent); position: relative; }
.ch-av.brand::after { content: ""; width: 40%; height: 40%; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ch-who div > b { display: block; font-size: 15px; font-weight: 600; }
.ch-who div > span { display: block; margin-top: 2px; font: 400 11px/1.4 var(--mono); color: var(--ink-4); }
.ch-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; padding: 14px 2px 6px; overscroll-behavior: contain; scrollbar-width: thin; }
.ch-list > .d-empty { margin: auto 0; }
.ch-empty { margin: auto 0; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 20px; color: var(--ink-3); }
.ch-empty svg { width: 28px; height: 28px; color: var(--ink-4); margin-bottom: 4px; }
.ch-empty b { color: var(--ink); font-size: 15px; }
.ch-empty span { font-size: 13px; line-height: 1.5; max-width: 260px; }
.ch-day { align-self: center; margin: 12px 0 8px; padding: 4px 10px; border-radius: 20px; background: var(--fill-2); font: 400 10px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.ch-msg { max-width: 82%; display: grid; animation: ch-in .28s cubic-bezier(.2, .8, .2, 1); }
.ch-msg.me { align-self: flex-end; justify-items: end; }
.ch-msg.them { align-self: flex-start; justify-items: start; }
.ch-msg:not(.cont) { margin-top: 8px; }
.ch-msg p { margin: 0; padding: 9px 13px; border-radius: 18px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.ch-msg.me p { background: var(--accent); color: #fff; }
.ch-msg.them p { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); }
.ch-msg.me.tail p { border-bottom-right-radius: 6px; }
.ch-msg.them.tail p { border-bottom-left-radius: 6px; }
.ch-msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ch-msg > span { margin: 4px 6px 2px; font: 400 10px/1 var(--mono); color: var(--ink-4); }
.ch-msg.pending { opacity: .6; }
@keyframes ch-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.chat-drawer .drawer-foot { padding: 10px 16px 16px; border-top: 1px solid var(--line); }
.ch-form { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-2); transition: border-color .2s; }
.ch-form:focus-within { border-color: var(--accent); }
.ch-form textarea { flex: 1; min-height: 32px; max-height: 140px; padding: 7px 0; border: 0; outline: 0; resize: none; background: none; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.3; }
.ch-send { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; transition: transform .15s; }
.ch-send:active { transform: scale(.9); }
.ch-send svg { width: 18px; height: 18px; }
.m-dot { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--accent); color: #fff; font: 600 10px/1 var(--mono); }
.btn .m-dot { margin-left: 6px; }
.acc-dot { position: absolute; top: 4px; left: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--bg); }
#login-btn { position: relative; }
.o-chat { margin-top: 14px; width: 100%; justify-content: center; }

/* ===== Boîte de réception (Chat) ===== */
.ib-list { display: grid; gap: 4px; }
.ib-row { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; text-align: left; color: var(--ink); transition: background-color .2s var(--ease); }
.ib-row:hover { background: var(--fill-2); }
.ib-av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--raised); font: 600 17px/1 var(--display); color: var(--ink-2); }
.ib-av.brand { border-radius: 13px; background: var(--accent); }
.ib-av.brand::after { content: ""; width: 40%; height: 40%; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ib-main { min-width: 0; display: grid; gap: 2px; }
.ib-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ib-top b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-top time { flex: none; font: 400 11px/1 var(--mono); color: var(--ink-4); }
.ib-sub { font: 400 11px/1.4 var(--mono); color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-last { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-row.unread .ib-last { color: var(--ink); font-weight: 600; }
.ib-row.unread time { color: var(--accent); }
.ib-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.ib-sep { margin: 18px 12px 8px; font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }

/* ===== Cloche : section Messages ===== */
.news-scroll { overflow-y: auto; scrollbar-width: thin; overscroll-behavior: contain; }
.news-scroll .news-list { overflow: visible; }
.news-sec { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 2px; font: 400 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.news-sec button { font: 500 12px/1 var(--body, inherit); letter-spacing: 0; text-transform: none; color: var(--accent); padding: 4px 6px; margin-right: -6px; border-radius: 6px; }
.news-sec button:hover { background: var(--fill-2); }
.news-none { margin: 6px 20px 4px; font-size: 13px; color: var(--ink-4); }
.news-list li.nm > button { width: 100%; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 12px; text-align: left; color: inherit; transition: background-color .2s var(--ease); }
.news-list li.nm > button:hover { background: var(--fill-2); }
.nm-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--raised); font: 600 14px/1 var(--display); color: var(--ink-2); }
.nm-av.brand { border-radius: 10px; background: var(--accent); }
.nm-av.brand::after { content: ""; width: 40%; height: 40%; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.nm-txt { min-width: 0; display: grid; gap: 5px; }
.nm-txt b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nm-txt b em { font-style: normal; font: 400 11px/1 var(--mono); color: var(--ink-4); }
.nm-txt > span:last-child { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list li.nm > button { background: rgba(255, 90, 31, .06); }

/* ===== Accusés de lecture ===== */
.ch-msg > span { display: inline-flex; align-items: center; gap: 6px; }
.rc { display: inline-flex; align-items: center; gap: 3px; font-style: normal; color: var(--ink-4); }
.rc::before { content: "·"; margin-right: 3px; color: var(--ink-4); }
.rc svg { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rc.seen { color: var(--accent); font-weight: 500; animation: rc-in .35s cubic-bezier(.34, 1.56, .64, 1); }
.rc.seen svg { width: 17px; }
@keyframes rc-in { from { opacity: 0; transform: scale(.7); } }
.ib-rc { display: inline-flex; vertical-align: -1px; margin-right: 5px; color: var(--ink-4); }
.ib-rc svg { width: 15px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ib-rc.seen { color: var(--accent); }

/* ===== Admin : onglets sur plusieurs lignes (ordi) + recherche des commandes ===== */
@media (min-width: 641px) {
  .a-tabs { display: flex; flex-wrap: wrap; overflow: visible; }
}
.a-searchrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.a-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-2); transition: border-color .2s var(--ease); }
.a-search:focus-within { border-color: var(--accent); }
.a-search svg { width: 16px; height: 16px; flex: none; color: var(--ink-4); }
.a-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; font-size: 15px; }
.a-search input::placeholder { color: var(--ink-4); }
.a-ocount { flex: none; font: 400 11px/1 var(--mono); color: var(--ink-4); }
.a-ocount:empty { display: none; }

/* ===== Onglet People ===== */
@media (max-width: 560px) { .tabs { gap: 2px; padding: 4px; } .tabs button { font-size: 11px; padding: 0 2px; } }
.pp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.pp-chips:empty { display: none; }
.pp-chips button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.pp-chips button span { font: 400 11px/1 var(--mono); color: var(--ink-4); }
.pp-chips button:hover { color: var(--ink); }
.pp-chips button[aria-pressed="true"] { background: var(--inv); color: var(--inv-ink); border-color: transparent; }
.pp-chips button[aria-pressed="true"] span { color: inherit; opacity: .6; }
.pp-group + .pp-group { margin-top: 40px; }
.pp-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.pp-head h3 { font: 700 20px/1.1 var(--display); letter-spacing: -.01em; margin: 0; }
.pp-head span { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-4); }
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.pp-card { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-content: start; column-gap: 14px; row-gap: 10px; align-items: center; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.pp-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pp-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--raised); font: 700 20px/1 var(--display); color: var(--ink-2); }
.pp-donor .pp-av { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px #ff5a1f; }
.pp-info { min-width: 0; }
.pp-info b { display: block; font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp-role { display: block; margin-top: 4px; font: 400 11px/1.3 var(--mono); color: var(--ink-4); text-transform: uppercase; letter-spacing: .06em; }
.pp-card p { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); align-self: start; }
.pp-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); min-height: 32px; }
.pp-amt { font: 700 15px/1 var(--display); color: var(--accent); }
.pp-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pp-link { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--fill-2); font: 400 11px/1 var(--mono); color: var(--ink-2); transition: color .2s, background-color .2s; }
.pp-link:hover { color: var(--ink); background: var(--raised); }
.pp-link.ic { width: 28px; padding: 0; justify-content: center; }
.pp-link svg { width: 15px; height: 15px; }
.pp-rank { position: absolute; top: 14px; right: 14px; height: 24px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; font: 700 12px/1 var(--mono); background: var(--fill-2); color: var(--ink-2); }
.pp-rank.r1 { background: linear-gradient(135deg, #ffd96a, #f5a623); color: #3a2500; }
.pp-rank.r2 { background: linear-gradient(135deg, #eef0f3, #b9bec7); color: #24272c; }
.pp-rank.r3 { background: linear-gradient(135deg, #f0b58a, #c47a45); color: #3a1d06; }
.pp-cta { display: grid; justify-items: center; gap: 8px; margin-top: 40px; padding: 32px 20px; border-radius: 20px; border: 1px dashed var(--line-2); text-align: center; }
.pp-cta b { font: 700 18px/1.2 var(--display); }
.pp-cta span { font-size: 14px; color: var(--ink-3); }
.pp-cta div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.a-person > img, .a-pav { width: 52px !important; height: 52px !important; justify-self: center; border-radius: 50% !important; object-fit: cover; }
.a-pav { display: grid; place-items: center; background: var(--raised); font: 700 19px/1 var(--display); color: var(--ink-2); }
.a-img-round img { border-radius: 50%; object-fit: cover; }
.a-n { font: 400 11px/1 var(--mono); opacity: .55; margin-left: 2px; }
