/* =========================================================
   DEAL NO DEAL — Design system
   ========================================================= */

:root {
  --bg: #050506;
  --bg-2: #0b0c10;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .065);
  --surface-3: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f5f5f7;
  --muted: #9b9ea8;
  --dim: #62656f;

  --deal: #2ee59d;
  --deal-2: #00c46a;
  --deal-glow: rgba(46, 229, 157, .35);
  --nodeal: #ff5b3a;
  --nodeal-2: #ff8a3d;
  --nodeal-glow: rgba(255, 91, 58, .35);
  --warm: #ffc35c;
  --violet: #9b7bff;
  --cyan: #34d3ff;
  --grad: linear-gradient(120deg, #2ee59d 0%, #34d3ff 50%, #9b7bff 100%);
  --grad-nd: linear-gradient(120deg, #ff5b3a, #ff8a3d);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .3);
  --shadow-lg: 0 40px 120px -30px rgba(0, 0, 0, .9);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-d: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* un élément masqué reste masqué, quel que soit son style */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--deal); color: #03130b; }
:focus-visible { outline: 2px solid var(--deal); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.container-wide { width: min(1400px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; justify-content: center; margin-inline: auto; }
.muted { color: var(--muted); }
.muted-2 { color: var(--dim); }
.small { font-size: 13px; }
.pad { padding: 20px; }

.display { font-family: var(--font-d); letter-spacing: -.035em; line-height: 1.02; font-weight: 700; }
.h1 { font-size: clamp(40px, 6vw, 76px); }
.h2 { font-size: clamp(32px, 4.4vw, 56px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 560px; line-height: 1.6; }
.grad, .grad-anim { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-anim { background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--muted);
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  margin-bottom: 22px;
}
.eyebrow.center { display: flex; width: fit-content; }
.eyebrow-dot, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--deal); box-shadow: 0 0 12px var(--deal); display: inline-block; flex: none; }
.eyebrow-dot { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(46, 229, 157, 0); opacity: .6; } }

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-radius: var(--r-lg);
}

/* Projecteur qui suit la souris sur les cartes */
.spot { position: relative; isolation: isolate; }
.spot::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(255, 255, 255, .08), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::after { opacity: 1; }

/* ---------- Fond ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-aurora i { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .22; will-change: transform; }
.bg-aurora i:nth-child(1) { width: 55vw; height: 55vw; background: #0f7a55; top: -25vw; left: -12vw; animation: blob1 26s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(2) { width: 45vw; height: 45vw; background: #3a2a8c; top: 10vh; right: -18vw; animation: blob2 30s ease-in-out infinite alternate; }
.bg-aurora i:nth-child(3) { width: 40vw; height: 40vw; background: #0b5a78; bottom: -20vw; left: 30vw; animation: blob1 34s ease-in-out infinite alternate-reverse; opacity: .14; }
@keyframes blob1 { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-10vw, 20vh) scale(.9); } }
.bg-grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#cursor-glow {
  position: fixed; left: 0; top: 0; width: 560px; height: 560px; margin: -280px 0 0 -280px;
  border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .6s;
  background: radial-gradient(circle, rgba(46, 229, 157, .09), rgba(52, 211, 255, .04) 35%, transparent 65%);
  mix-blend-mode: screen;
}

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: 14px 0; transition: padding .4s var(--ease); }
.nav-inner {
  width: min(1240px, 100% - 32px); margin-inline: auto; height: 58px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.scrolled { padding: 10px 0; }
.nav.scrolled .nav-inner, .is-deal .nav-inner, .is-messages .nav-inner {
  background: rgba(12, 13, 17, .6); border-color: var(--line);
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, .6);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(145deg, #1a1c22, #0a0b0e); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 6px 20px -6px var(--deal-glow);
  transition: transform .5s var(--spring);
}
.logo:hover .logo-mark { transform: rotate(180deg); }
.logo-mark svg { width: 20px; height: 20px; fill: none; stroke: var(--deal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo-text span { color: var(--nodeal); margin: 0 1px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 1100px) {
  .nav-inner { gap: 12px; }
  .nav-links a { padding: 8px 10px; font-size: 13.5px; }
  .nav-actions .btn { padding: 0 14px; }
}
.nav-links a.active { color: var(--text); background: var(--surface-2); }
/* Pastille qui glisse sous le lien actif (et suit la souris) */
.nav-links { position: relative; }
.nav-links a { z-index: 1; }
.nav-links:has(.nav-ink:not(.off)) a:hover, .nav-links:has(.nav-ink:not(.off)) a.active { background: transparent; }
.nav-ink {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; z-index: 0; border-radius: 999px; pointer-events: none;
  background: var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 18px -6px var(--deal-glow);
  transition: transform .6s var(--spring), width .6s var(--spring), opacity .3s;
}
.nav-ink::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--deal); box-shadow: 0 0 8px var(--deal); }
.nav-ink.off { opacity: 0; }
.nav-dot { display: none; }
.nav-dot.on {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  font: 700 11px/1 var(--font); color: #03130b; background: var(--deal); border-radius: 999px; vertical-align: 1px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.sound-toggle {
  width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); transition: background .2s, transform .3s var(--spring);
}
.sound-toggle:hover { background: var(--surface-3); transform: scale(1.06); }
.sound-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle svg path:first-child { fill: currentColor; stroke: none; }
.sound-toggle.off { color: var(--dim); }
.nav-avatar { display: block; border-radius: 50%; transition: transform .3s var(--spring); }
.nav-avatar:hover { transform: scale(1.08); }

/* Barre d’onglets mobile */
.tabbar { display: none; }

/* ---------- Boutons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease-out), box-shadow .35s, background .3s, color .3s, opacity .3s;
}
.btn > span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; transition: transform .45s var(--ease-out); }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit; opacity: 0; transition: opacity .35s;
  background: radial-gradient(120px circle at var(--bx) var(--by), rgba(255, 255, 255, .35), transparent 70%);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.96) !important; }
.btn:disabled { opacity: .35; pointer-events: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: #050506; box-shadow: 0 10px 40px -10px rgba(255, 255, 255, .35); }
.btn-white::before { background: radial-gradient(120px circle at var(--bx) var(--by), rgba(46, 229, 157, .45), transparent 70%); }
.btn-white:hover { box-shadow: 0 16px 50px -10px rgba(255, 255, 255, .5); }
.btn-glass { background: var(--surface-2); border: 1px solid var(--line-2); backdrop-filter: blur(16px); }
.btn-glass:hover { background: var(--surface-3); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); }
.btn-deal { background: linear-gradient(135deg, #3ff0a8, #00c46a); color: #03130b; box-shadow: 0 10px 40px -10px var(--deal-glow), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-deal:hover { box-shadow: 0 18px 60px -10px rgba(46, 229, 157, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-nodeal { background: var(--grad-nd); color: #fff; box-shadow: 0 10px 40px -10px var(--nodeal-glow); }
.btn-nodeal-soft { background: rgba(255, 91, 58, .1); color: #ff8a70; border: 1px solid rgba(255, 91, 58, .3); }
.btn-nodeal-soft:hover { background: rgba(255, 91, 58, .18); }
/* Bouton « Supprimer » : la poubelle mange le texte */
.bin-btn { overflow: visible; gap: 9px; }
.bin-btn .bin-ic, .bin-btn .bin-label { position: relative; z-index: 1; display: inline-flex; align-items: center; }
.bin-btn .bin-label { gap: 0; }
.bin-btn .bin-label i { display: inline-block; font-style: normal; will-change: transform; }
.bin { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.bin-lid { transform-origin: 19px 7px; transition: transform .45s var(--spring); }
.bin-btn:hover .bin-lid { transform: translateY(-1.5px) rotate(12deg); }
.bin-btn.eating .bin-lid { transform: translate(1px, -3px) rotate(38deg); }
.bin-btn.shut .bin-lid { transform: none; transition-duration: .25s; }
.bin-btn.shut { padding: 0; gap: 0; }
.bin-btn.shut .bin-label { display: none; }
.bin-btn.shut .bin-ic { animation: binGulp .45s var(--spring); }
.bin-ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); z-index: 0; pointer-events: none; opacity: 0; transform: rotate(-90deg); }
.bin-ring circle { fill: none; stroke: #ff8a70; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 145; stroke-dashoffset: 145; }
.bin-btn.ring .bin-ring { opacity: 1; animation: spin 1s linear infinite; }
.bin-btn.ring .bin-ring circle { animation: binRing 1.2s ease-in-out infinite; }
.bin-btn.done .bin-ring { animation: none; transform: rotate(-90deg); }
.bin-btn.done .bin-ring circle { animation: none; stroke-dashoffset: 0; stroke: var(--deal); transition: stroke-dashoffset .45s var(--ease-out), stroke .3s; }
.bin-btn:disabled.eating { opacity: 1; }
@keyframes binGulp { 30% { transform: scale(1.25, .8); } 60% { transform: scale(.92, 1.1); } }
@keyframes binRing { 0% { stroke-dashoffset: 140; } 50% { stroke-dashoffset: 40; } 100% { stroke-dashoffset: 140; } }

.arr { font-style: normal; display: inline-block; transition: transform .4s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.link { color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .2s; }
.link:hover { color: var(--text); }
.link-danger:hover { color: var(--nodeal); }
.link-arrow { color: var(--muted); font-weight: 500; transition: color .25s, transform .35s var(--ease-out); display: inline-block; }
.link-arrow:hover { color: var(--text); transform: translateX(4px); }
.icon-btn {
  width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 17px;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; transition: background .2s, transform .3s var(--spring);
}
.icon-btn:hover { background: var(--surface-3); transform: scale(1.06); }

/* ---------- Badges, chips, pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.badge-deal { background: rgba(46, 229, 157, .14); color: #7dffc7; border: 1px solid rgba(46, 229, 157, .3); }
.badge-warm { background: rgba(255, 195, 92, .13); color: #ffd690; border: 1px solid rgba(255, 195, 92, .28); }
.badge-mute { background: rgba(20, 21, 26, .6); color: var(--muted); border: 1px solid var(--line-2); }
.badge-nodeal { background: rgba(255, 91, 58, .15); color: #ff9c85; border: 1px solid rgba(255, 91, 58, .35); }
.badge .dot { width: 6px; height: 6px; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); border: 1px solid var(--line); color: #d8d9de; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: all .3s var(--ease-out);
}
.chip:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-1px); }
.chip.on { background: #fff; color: #050506; border-color: #fff; }
.chip.static:hover { transform: none; }
.chip-sm { height: 34px; padding: 0 13px; font-size: 13px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Visuels produit ---------- */
.pv {
  --a: 200; --b: 260;
  position: relative; width: 100%; height: 100%; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 25% 0%, hsl(var(--a) 85% 60% / .55), transparent 55%),
    radial-gradient(90% 80% at 100% 100%, hsl(var(--b) 80% 55% / .45), transparent 60%),
    linear-gradient(160deg, hsl(var(--a) 30% 14%), hsl(var(--b) 35% 7%));
}
.pv::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .12) 45%, transparent 60%);
  transform: translateX(-60%); transition: transform 1.1s var(--ease-out);
}
.pv::after {
  content: ''; position: absolute; left: 50%; bottom: 14%; width: 46%; height: 8%;
  transform: translateX(-50%); border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(12px);
}
.pv-e {
  position: relative; z-index: 1; font-size: clamp(40px, 30cqw, 160px); line-height: 1;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .55)) saturate(1.1);
  transform: translateY(-4%); transition: transform .8s var(--ease-out);
}
.pv[data-v="1"] { background-position: 60% 0, 0 100%, 0 0; }
.pv[data-v="1"] .pv-e { transform: rotate(-14deg) scale(1.15); }
.pv[data-v="2"] .pv-e { transform: rotate(12deg) scale(.85) translateX(8%); }
.pv[data-v="2"] { filter: hue-rotate(-12deg) brightness(1.08); }
.pv[data-v="3"] .pv-e { transform: scale(1.5) translate(-10%, 6%); }
.pv[data-v="3"] { filter: saturate(1.3) brightness(.9); }
.pv-photo { background: #0c0d10; }
.pv-photo::after { display: none; }
.pv-photo::before { z-index: 2; }
/* Photos importées : toujours entières, jamais rognées ni déformées */
.fit { position: relative; display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: #0c0d10; }
.fit img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.fit .fit-bg { object-fit: cover; filter: blur(22px) brightness(.5) saturate(1.3); transform: scale(1.25); }
.fit .fit-img { z-index: 1; object-fit: contain; }
/* conteneurs à ratio fixe : la grille donne une hauteur définie à l’image */
.lcard-media, .gallery-main, .g-thumb, .wp-media, .ph, .scard-pv, .vt-media { display: grid; }
.ph-cover, .ph-x { z-index: 2; }
.lcard-media .pv-photo, .lcard:hover .pv-photo { transform: none; }
.lcard-media, .scard-pv, .gallery-main, .swap-inner, .wp-media { container-type: inline-size; }

/* ---------- Avatars, étoiles ---------- */
.avatar {
  --s: 40px; --h: 150;
  position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; display: inline-grid; place-items: center;
  font: 700 calc(var(--s) * .36)/1 var(--font-d); letter-spacing: -.02em; color: #fff;
  background: linear-gradient(140deg, hsl(var(--h) 70% 55%), hsl(calc(var(--h) + 50) 70% 35%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 0 2px var(--bg);
}
.avatar-check {
  position: absolute; right: -2px; bottom: -2px; width: calc(var(--s) * .38); height: calc(var(--s) * .38); min-width: 14px; min-height: 14px;
  border-radius: 50%; background: var(--deal); color: #03130b; display: grid; place-items: center;
  font: 800 calc(var(--s) * .2)/1 var(--font); font-style: normal; box-shadow: 0 0 0 2px var(--bg);
}
.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -10px; }
.stars { color: var(--warm); letter-spacing: 1px; font-size: 14px; }
.stars span { color: var(--dim); }
.stars.lg { font-size: 22px; }
.stars-inline { color: var(--warm); letter-spacing: 1px; }
.v-badge { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: var(--deal); color: #03130b; font: 800 10px/1 var(--font); font-style: normal; vertical-align: 2px; margin-left: 2px; }

/* ---------- Page & transitions ---------- */
.page { position: relative; z-index: 1; min-height: 100vh; outline: none; }
.page.out { opacity: 0; filter: blur(12px); transform: translateY(14px) scale(.995); transition: opacity .26s ease, filter .26s ease, transform .26s ease; }
.page.in { animation: pageIn .7s var(--ease-out); }
@keyframes pageIn { from { opacity: 0; filter: blur(14px); transform: translateY(24px); } }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0ms); }
[data-reveal="scale"] { transform: scale(.94) translateY(20px); filter: blur(8px); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal="split"] { opacity: 1; transform: 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 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.split.in .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 50px) 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .45;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000, transparent 75%);
}
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(46px, 5.6vw, 88px); margin-bottom: 26px; letter-spacing: -.045em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 44px; font-size: 14px; line-height: 1.4; }

.hero-visual { position: relative; height: 600px; }
.swap { position: absolute; inset: 0; }
.swap-halo { position: absolute; left: 50%; top: 50%; width: 460px; height: 460px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(46, 229, 157, .16), transparent 65%); filter: blur(10px); animation: halo 6s ease-in-out infinite; }
@keyframes halo { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.swap-card { position: absolute; width: 270px; transition: opacity .45s ease; z-index: 2; }
.swap-card.hide { opacity: 0; }
.sc-a { left: 4%; top: 2%; }
.sc-b { right: 2%; bottom: 4%; }
.swap-bob { animation: bob 6s ease-in-out infinite; }
.swap-bob.b2 { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.swap-inner {
  border-radius: var(--r-lg); overflow: hidden; background: #0e0f13; border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .5s var(--ease-out); transform-style: preserve-3d;
}
.swap-inner .pv { aspect-ratio: 1 / .9; }
.swap-info { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; gap: 10px; }
.swap-info span { font-weight: 600; font-size: 15px; min-width: 0; line-height: 1.25; }
.swap-info b { font-family: var(--font-d); font-size: 22px; letter-spacing: -.03em; white-space: nowrap; }
.swap-tag { position: absolute; top: 14px; left: 14px; z-index: 3; font-size: 11.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.swap-orb {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10, 11, 14, .7); border: 1px solid var(--line-2); backdrop-filter: blur(14px);
  box-shadow: 0 0 0 10px rgba(46, 229, 157, .06), 0 0 50px var(--deal-glow);
}
.swap-orb svg { width: 28px; height: 28px; fill: none; stroke: var(--deal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  background: rgba(14, 15, 19, .72); border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.chip-compat { right: 6%; top: 12%; animation: bob 7s ease-in-out infinite; }
.chip-deal { left: 50%; top: 50%; transform: translate(-50%, 60px) scale(.6); opacity: 0; color: #03130b; background: linear-gradient(135deg, #3ff0a8, #00c46a); border: 0; font-weight: 800; letter-spacing: .02em; box-shadow: 0 10px 50px var(--deal-glow); transition: all .6s var(--spring); }
.chip-deal.show { opacity: 1; transform: translate(-50%, 50px) scale(1); }
.float-balance { position: absolute; left: 2%; bottom: 10%; z-index: 5; width: 200px; padding: 14px 16px; border-radius: 18px; background: rgba(14, 15, 19, .72); border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: var(--shadow); animation: bob 8s ease-in-out infinite -2s; }
.fb-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.fb-row b { color: var(--deal); }
.fb-track { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.fb-track i { display: block; height: 100%; border-radius: inherit; background: var(--grad); transition: width 1s var(--ease-out); }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 99px; border: 1.5px solid var(--line-2); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--text); animation: scrollHint 2s var(--ease) infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { padding: 30px 0; border-block: 1px solid var(--line); overflow: hidden; display: grid; gap: 14px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.mq-row.rev .mq-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; white-space: nowrap; }
.mq-item b { font-weight: 500; }
.mq-item i { font-style: normal; color: var(--deal); font-weight: 600; }

/* ---------- Manifeste ---------- */
.manifesto { padding: 180px 0 160px; }
.manifesto-text { font-size: clamp(34px, 5.4vw, 78px); text-align: center; max-width: 1100px; margin: 0 auto; line-height: 1.08; }
.manifesto-text span { color: rgba(255, 255, 255, .12); transition: color .5s ease; }
.manifesto-text span.on { color: var(--text); }
.manifesto-text span.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Comment ça marche (épinglé) ---------- */
.how { height: 420vh; position: relative; }
.how-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.how-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; position: relative; }
.how-left { position: relative; padding-left: 34px; }
.how-left .h2 { margin-bottom: 40px; }
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.how-steps li { display: flex; gap: 18px; padding: 16px 0; opacity: .3; transition: opacity .6s var(--ease-out); }
.how-steps li.active { opacity: 1; }
.how-steps li.done { opacity: .5; }
.how-num { font: 600 13px/1 var(--font-d); color: var(--dim); padding-top: 6px; transition: color .5s; }
.how-steps li.active .how-num { color: var(--deal); }
.how-steps h3 { font-family: var(--font-d); font-size: 26px; letter-spacing: -.03em; margin-bottom: 6px; }
.how-steps p { color: var(--muted); max-width: 420px; display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .6s var(--ease-out), opacity .6s; opacity: 0; }
.how-steps li.active p { opacity: 1; max-height: 200px; }
.how-steps p { max-height: 0; transition: max-height .7s var(--ease-out), opacity .6s; }
.how-progress { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.how-progress i { display: block; width: 100%; height: 100%; background: var(--grad); transform-origin: top; transform: scaleY(0); }

.how-stage { position: relative; height: min(560px, 70vh); border-radius: var(--r-xl); background: radial-gradient(circle at 50% 40%, rgba(46, 229, 157, .08), transparent 60%), var(--surface); border: 1px solid var(--line); overflow: hidden; }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(60px) scale(.94); filter: blur(10px); transition: all .9s var(--ease-out); pointer-events: none; }
.scene.active { opacity: 1; transform: none; filter: none; }
.scene.past { transform: translateY(-60px) scale(.94); }

.mock-phone { width: 270px; padding: 22px; border-radius: 34px; background: #0c0d11; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.mp-top { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.mp-prog { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.mp-prog i { display: block; height: 100%; background: var(--deal); }
.mock-phone h4 { font-family: var(--font-d); font-size: 20px; letter-spacing: -.02em; margin-bottom: 14px; }
.mp-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.mp-ph { aspect-ratio: 1; border-radius: 10px; }
.mp-ph .pv-e { font-size: 22px; }
.scene.active .mp-ph { animation: popIn .6s var(--spring) backwards; }
.scene.active .mp-ph:nth-child(2) { animation-delay: .15s; }
.scene.active .mp-ph:nth-child(3) { animation-delay: .3s; }
@keyframes popIn { from { transform: scale(.3); opacity: 0; } }
.mp-add { aspect-ratio: 1; border-radius: 10px; border: 1.5px dashed var(--line-2); display: grid; place-items: center; color: var(--muted); }
.mp-field { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 8px; font-size: 13px; }
.mp-field small { color: var(--muted); }
.mp-btn { margin-top: 14px; padding: 12px; text-align: center; border-radius: 999px; background: #fff; color: #000; font-weight: 600; font-size: 13px; }

.mock-stack { position: relative; width: 250px; height: 320px; }
.ms-card { position: absolute; inset: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.ms-card.back2 { transform: translateY(24px) scale(.88); opacity: .5; }
.ms-card.back1 { transform: translateY(12px) scale(.94); opacity: .8; }
.ms-card.front { background: #0c0d11; }
.ms-card.front .pv { height: 75%; }
.scene.active .ms-card.front { animation: swipeDemo 3.2s var(--ease) infinite 0.6s; }
@keyframes swipeDemo { 0%, 15% { transform: none; } 45%, 55% { transform: translateX(70px) rotate(10deg); } 85%, 100% { transform: none; } }
.ms-info { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 14px; }
.ms-info span { color: var(--deal); font-weight: 700; }
.ms-stamp { position: absolute; top: 22px; left: 18px; padding: 6px 12px; border: 3px solid var(--deal); color: var(--deal); border-radius: 10px; font: 800 20px/1 var(--font-d); transform: rotate(-14deg); opacity: 0; }
.scene.active .ms-stamp { animation: stampDemo 3.2s var(--ease) infinite .6s; }
@keyframes stampDemo { 0%, 20% { opacity: 0; } 45%, 55% { opacity: 1; } 80%, 100% { opacity: 0; } }
.mock-btns { position: absolute; bottom: 34px; display: flex; gap: 22px; }
.mb { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; border: 1px solid var(--line-2); background: #0c0d11; }
.mb.nodeal { color: var(--nodeal); }
.mb.deal { color: var(--deal); box-shadow: 0 0 30px var(--deal-glow); }
.scene[data-scene="1"] { place-items: center; padding-bottom: 60px; }

.mock-offer { width: min(440px, 88%); display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; }
.mo-col { padding: 14px; border-radius: 20px; background: #0c0d11; border: 1px solid var(--line-2); display: grid; gap: 8px; }
.mo-col small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.mo-item { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; font-size: 12.5px; }
.mo-pv { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; }
.mo-pv .pv-e { font-size: 17px; }
.mo-pv::after { display: none; }
.mo-item b { color: var(--muted); font-size: 12px; }
.mo-total { font: 700 22px/1 var(--font-d); letter-spacing: -.03em; padding-top: 8px; border-top: 1px solid var(--line); }
.mo-vs { align-self: center; font-size: 22px; color: var(--deal); }
.mo-bal { grid-column: 1 / -1; }
.scene.active .mo-item { animation: slideUp .7s var(--ease-out) backwards; }
.scene.active .mo-col:first-child .mo-item:nth-of-type(2) { animation-delay: .2s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } }

.mock-match { text-align: center; }
.mm-title { font: 800 clamp(34px, 4vw, 52px)/1 var(--font-d); letter-spacing: -.04em; margin-bottom: 24px; }
.mm-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mm-cards { display: flex; justify-content: center; margin-bottom: 24px; }
.mm-c { width: 130px; height: 150px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.mm-c.l { transform: rotate(-8deg) translateX(10px); }
.mm-c.r { transform: rotate(8deg) translateX(-10px); }
.scene.active .mm-c.l { animation: joinL 1s var(--spring) backwards .2s; }
.scene.active .mm-c.r { animation: joinR 1s var(--spring) backwards .2s; }
@keyframes joinL { from { transform: translateX(-120px) rotate(-20deg); opacity: 0; } }
@keyframes joinR { from { transform: translateX(120px) rotate(20deg); opacity: 0; } }
.mm-meet { display: inline-flex; gap: 16px; padding: 12px 18px; border-radius: 999px; background: #0c0d11; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { padding: 40px 0 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 34px 28px; }
.stat b { display: block; font: 700 clamp(36px, 4vw, 54px)/1 var(--font-d); letter-spacing: -.04em; margin-bottom: 8px; background: linear-gradient(180deg, #fff, #a8abb5); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); }

/* ---------- Sections génériques ---------- */
.section { padding: 90px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }

.cats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile {
  --h: 200; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  display: grid; gap: 4px; overflow: hidden; transition: transform .5s var(--ease-out), border-color .4s, background .4s;
}
.cat-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 20% 0%, hsl(var(--h) 80% 55% / .28), transparent 60%); opacity: 0; transition: opacity .5s; }
.cat-tile:hover { transform: translateY(-6px); border-color: hsl(var(--h) 70% 60% / .4); }
.cat-tile:hover::before { opacity: 1; }
.cat-icon { font-size: 34px; margin-bottom: 14px; transition: transform .6s var(--spring); display: inline-block; width: fit-content; }
.cat-tile:hover .cat-icon { transform: scale(1.2) rotate(-8deg); }
.cat-tile b { font-size: 17px; font-weight: 600; }
.cat-tile small { color: var(--muted); }

/* ---------- Cartes d’annonces ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.lcard-wrap { perspective: 1000px; position: relative; }
.lcard-del {
  position: absolute; top: 10px; right: 10px; z-index: 6; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 16px; background: rgba(10, 11, 14, .72); border: 1px solid rgba(255, 91, 58, .4);
  backdrop-filter: blur(10px); transition: transform .3s var(--spring), background .2s;
}
.lcard-del:hover { background: rgba(255, 91, 58, .85); transform: scale(1.08); }
.lcard-wrap:has(.lcard-del) .lcard-badges { right: 56px; }
.lcard {
  display: block; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(180deg, #111217, #0b0c0f);
  border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .5s; transform-style: preserve-3d;
}
.lcard:hover { border-color: var(--line-2); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04); }
.lcard.tilting { transition: transform .12s linear, border-color .4s, box-shadow .5s; }
.lcard-media { position: relative; aspect-ratio: 1 / .92; overflow: hidden; }
.lcard-media .pv { transform: scale(var(--z, 1)); transition: transform .9s var(--ease-out); }
.lcard:hover .pv { transform: scale(1.06); }
.lcard:hover .pv::before, .scard .pv::before { transform: translateX(60%); }
.lcard:hover .pv-e { transform: translateY(-8%) scale(1.06); }
.lcard-badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 3; }
.lcard-cat { position: absolute; bottom: 12px; left: 12px; z-index: 3; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.lcard-body { padding: 16px 18px 18px; display: grid; gap: 12px; }
.lcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lcard-top h3 { font-size: 16px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.lcard-val { font: 700 19px/1 var(--font-d); letter-spacing: -.03em; white-space: nowrap; }
.lcard-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; flex-wrap: wrap; }
.lcard-owner { display: flex; align-items: center; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.lcard-owner-name { flex: 1; color: #d6d7dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard-rating { color: var(--warm); font-weight: 600; font-size: 12.5px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento-card { padding: 32px; min-height: 280px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: border-color .4s, transform .6s var(--ease-out); }
.bento-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.bento-card.b-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; }
.bento-copy { flex: 1; display: grid; gap: 10px; }
.bento-kicker { font-size: 13px; color: var(--deal); font-weight: 600; }
.bento-card h3 { font-family: var(--font-d); font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.bento-card p { color: var(--muted); }
.bento-vis { flex: 1; }
.match-vis { display: grid; gap: 14px; padding: 22px; border-radius: 22px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.mv-row { display: grid; grid-template-columns: 110px 1fr 44px; gap: 12px; align-items: center; font-size: 13px; }
.mv-row span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mv-row b { text-align: right; color: var(--deal); }
.mv-bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.mv-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); transition: width 1.6s var(--ease-out) .4s; }
.bento-card.in .mv-bar i { width: var(--w); }
.bento-eq { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 600; color: var(--muted); }
.bento-eq span { padding: 10px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); }
.bento-eq .eq-r { background: rgba(46, 229, 157, .12); border-color: rgba(46, 229, 157, .3); color: #7dffc7; }
.bento-chat { margin-top: auto; display: grid; gap: 8px; }
.bc { max-width: 80%; padding: 10px 14px; border-radius: 18px; font-size: 14px; }
.bc.them { background: var(--surface-2); border-bottom-left-radius: 6px; }
.bc.me { justify-self: end; background: linear-gradient(135deg, #3ff0a8, #00c46a); color: #03130b; font-weight: 500; border-bottom-right-radius: 6px; }
.bento-card.in .bc { animation: slideUp .6s var(--ease-out) backwards; }
.bento-card.in .bc:nth-child(2) { animation-delay: .5s; }
.bento-card.in .bc:nth-child(3) { animation-delay: 1s; }
.trust-vis { display: grid; place-items: center; }
.tv-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 22px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); }
.tv-card b { display: block; font-size: 17px; }
.tv-card span { font-size: 13px; color: var(--warm); }
.tv-badges { display: flex; gap: 6px; margin-top: 8px; }
.tv-badges i { font-style: normal; font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }

/* ---------- Trade Safe teaser ---------- */
.safe-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: 60px; overflow: hidden; border-radius: var(--r-xl); background: radial-gradient(circle at 15% 50%, rgba(46, 229, 157, .12), transparent 50%), linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.st-shield, .shield-big { position: relative; height: 300px; display: grid; place-items: center; }
.st-shield > span, .shield-big > span { font-size: 90px; position: relative; z-index: 1; filter: drop-shadow(0 20px 40px rgba(46, 229, 157, .4)); }
.shield-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.shield-rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(46, 229, 157, .25); animation: ring 4s ease-out infinite; width: 120px; height: 120px; }
.shield-rings i:nth-child(2) { animation-delay: 1s; }
.shield-rings i:nth-child(3) { animation-delay: 2s; }
.shield-rings i:nth-child(4) { animation-delay: 3s; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.st-copy .h2 { margin-bottom: 24px; }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #d6d7dc; }
.check-list li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(46, 229, 157, .15); color: var(--deal); margin-top: 1px; }

/* ---------- CTA final ---------- */
.final-cta { padding: 140px 0 160px; overflow: hidden; }
.final-cta.small { padding: 90px 0 120px; }
.mega { font-size: clamp(64px, 14vw, 220px); letter-spacing: -.06em; line-height: .9; text-align: center; margin: 10px 0 50px; display: flex; flex-direction: column; align-items: center; }
.mega span { display: block; will-change: transform; }
.mega span:first-child { color: var(--text); }
.mega span:last-child { color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .04)); -webkit-background-clip: text; background-clip: text; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; margin-top: 40px; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 14px; }
.footer-tag { font: 700 15px var(--font-d); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.footer h4 { font-size: 13px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-grid a:not(.logo) { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s, transform .3s var(--ease-out); }
.footer-grid a:not(.logo):hover { color: var(--text); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- Page head ---------- */
.page-head { padding: calc(var(--nav-h) + 70px) 0 40px; }
.page-head.tight { padding: 20px 0 30px; }
.page-head .h1 { margin-bottom: 20px; }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }

/* Sélecteur d’objet de référence */
.ref-pick { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 20px; cursor: pointer; position: relative; transition: border-color .3s; max-width: 100%; }
.ref-pick:hover { border-color: var(--line-2); }
.ref-pv { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; flex: none; }
.ref-pv .pv-e { font-size: 24px; }
.ref-pv .pv::after { display: none; }
.ref-txt { display: grid; min-width: 0; }
.ref-txt small { font-size: 11.5px; color: var(--muted); }
.ref-select { appearance: none; -webkit-appearance: none; background: none; border: 0; font-weight: 600; font-size: 15px; padding: 0 20px 0 0; cursor: pointer; outline: none; max-width: 240px; text-overflow: ellipsis; }
.ref-select option { background: #111; }
.ref-caret { position: absolute; right: 16px; top: 50%; transform: translateY(-60%); color: var(--muted); pointer-events: none; }

/* ---------- Explorer ---------- */
.explorer { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: calc(var(--nav-h) + 24px); padding: 24px; display: grid; gap: 26px; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h3 { font-size: 18px; }
.filters-close, .filters-apply { display: none !important; }
.f-group h4 { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: #cfd0d6; margin-bottom: 12px; }
.f-group h4 .muted { font-weight: 500; }
.range-vals { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.range-dual { position: relative; height: 24px; }
.rd-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--surface-3); }
.rd-track i { position: absolute; top: 0; bottom: 0; background: var(--grad); border-radius: 4px; }
.range-dual input { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range-dual input::-webkit-slider-thumb { pointer-events: auto; }
.range-dual input::-moz-range-thumb { pointer-events: auto; }
input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(46, 229, 157, .25), 0 4px 10px rgba(0, 0, 0, .5); cursor: grab; transition: box-shadow .2s, transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(46, 229, 157, .25), 0 4px 10px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(46, 229, 157, .25); cursor: grab; }
.range { width: 100%; height: 24px; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--surface-3); }
.range::-webkit-slider-thumb { margin-top: -8px; }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--surface-3); }
.input {
  width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  outline: none; transition: border-color .25s, background .25s, box-shadow .25s;
}
textarea.input { height: auto; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: rgba(46, 229, 157, .5); background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 4px rgba(46, 229, 157, .1); }
.input::placeholder { color: var(--dim); }
.input-lg { height: 58px; font-size: 18px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
select.input option { background: #111; }
.select-wrap { position: relative; }
.select-wrap::after { content: '⌄'; position: absolute; right: 14px; top: 50%; transform: translateY(-62%); color: var(--muted); pointer-events: none; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.seg button { height: 34px; border-radius: 10px; font-size: 12.5px; color: var(--muted); transition: all .3s var(--ease-out); }
.seg button.on { background: #fff; color: #000; font-weight: 600; }

.results-bar { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.search { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; transition: border-color .3s; }
.search:focus-within { border-color: rgba(46, 229, 157, .5); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; background: none; border: 0; outline: none; font-size: 15px; min-width: 0; }
.search.sm { height: 44px; }
.sort { width: 220px; }
.sort .input { height: 52px; border-radius: 999px; padding-left: 20px; }
.filters-toggle { display: none; }
.filters-toggle b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 99px; background: var(--deal); color: #000; font-size: 11px; }
.filters-toggle b:empty { display: none; }
.cat-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.cat-chips::-webkit-scrollbar { display: none; }
.results-count { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.results-count b { color: var(--text); }
.results .grid-cards { grid-template-columns: repeat(3, 1fr); }
.filters-scrim { display: none; }

.empty { grid-column: 1 / -1; padding: 60px 30px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.empty-icon { font-size: 44px; margin-bottom: 6px; }
.empty h3 { font-size: 22px; font-family: var(--font-d); letter-spacing: -.02em; }
.empty p { max-width: 400px; }
.empty .btn { margin-top: 10px; }

/* ---------- Détail annonce ---------- */
.detail { padding-top: calc(var(--nav-h) + 40px); transition: transform .4s var(--ease), opacity .4s; }
.detail.fly-left { transform: translateX(-120px) rotate(-2deg); opacity: 0; }
.back-link { display: inline-flex; color: var(--muted); font-size: 14px; margin-bottom: 24px; transition: color .2s, transform .3s var(--ease-out); }
.back-link:hover { color: var(--text); transform: translateX(-3px); }
.detail-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: calc(var(--nav-h) + 30px); }
.gallery-main { aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); transition: transform .5s var(--ease-out), opacity .2s, filter .2s; }
.gallery-main.swap { opacity: .3; filter: blur(8px); }
.gallery-main .pv-e { font-size: 34cqw; }
.gallery-main.tilting { transition: transform .12s linear; }
.g-nav { position: absolute; top: calc(50% - 60px); width: 46px; height: 46px; border-radius: 50%; background: rgba(10, 11, 14, .6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); font-size: 24px; display: grid; place-items: center; opacity: 0; transition: opacity .3s, transform .3s var(--spring); z-index: 3; }
.g-nav.prev { left: 16px; }
.g-nav.next { right: 16px; }
.gallery:hover .g-nav { opacity: 1; }
.g-nav:hover { transform: scale(1.1); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.g-thumb { width: 78px; height: 78px; border-radius: 16px; overflow: hidden; border: 2px solid transparent; opacity: .5; transition: all .3s var(--ease-out); }
.g-thumb .pv-e { font-size: 30px; }
.g-thumb .pv::after { display: none; }
.g-thumb:hover { opacity: .85; transform: translateY(-2px); }
.g-thumb.on { opacity: 1; border-color: #fff; }
.detail-info { display: grid; gap: 24px; }
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-title { font-size: clamp(36px, 4.4vw, 60px); }
.detail-value small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.detail-value b { font: 700 clamp(40px, 4vw, 56px)/1 var(--font-d); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec-grid > div { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.spec-grid small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.spec-grid b { font-weight: 600; font-size: 15px; }
.compare { padding: 20px; display: grid; gap: 18px; border-radius: var(--r); }
.compare-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.cmp-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cmp-item > div { display: grid; min-width: 0; }
.cmp-item small { color: var(--muted); font-size: 11.5px; }
.cmp-item b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-item span { font-weight: 700; font-family: var(--font-d); }
.cmp-pv { width: 50px; height: 50px; border-radius: 14px; flex: none; }
.cmp-pv .pv-e { font-size: 24px; }
.cmp-pv::after { display: none; }
.cmp-vs { color: var(--deal); font-size: 20px; }
.wants small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.desc h3 { font-size: 16px; margin-bottom: 8px; }
.desc p { color: #c9cad0; line-height: 1.7; }
.owner-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); transition: border-color .3s, transform .4s var(--ease-out); }
.owner-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.oc-info { flex: 1; display: grid; gap: 3px; font-size: 13.5px; }
.oc-info b { font-size: 16px; }
.oc-arrow { color: var(--muted); transition: transform .3s var(--ease-out); }
.owner-card:hover .oc-arrow { transform: translateX(4px); color: var(--text); }
.safety-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(46, 229, 157, .06); border: 1px solid rgba(46, 229, 157, .18); font-size: 14px; color: #c9cad0; }
.safety-note a { color: var(--deal); text-decoration: underline; text-underline-offset: 3px; }
.alert { padding: 16px 18px; border-radius: 16px; font-size: 14px; line-height: 1.55; }
.alert b { display: block; margin-bottom: 4px; }
.alert-nodeal { background: rgba(255, 91, 58, .08); border: 1px solid rgba(255, 91, 58, .3); color: #ffb3a3; }
.alert-warn { background: rgba(255, 195, 92, .08); border: 1px solid rgba(255, 195, 92, .3); color: #ffd690; }
.alert.slim { margin: 0 18px 8px; padding: 10px 14px; font-size: 13px; }

/* ---------- Barre d’équilibre ---------- */
.balance { display: grid; gap: 10px; }
.balance-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.balance-label { display: flex; align-items: center; gap: 8px; }
.balance-score { font-family: var(--font-d); font-size: 18px; }
.balance-track { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, rgba(255, 91, 58, .35), rgba(255, 195, 92, .3) 30%, rgba(46, 229, 157, .4) 50%, rgba(255, 195, 92, .3) 70%, rgba(255, 91, 58, .35)); }
.balance-zone { position: absolute; left: 45%; width: 10%; top: -4px; bottom: -4px; border-radius: 6px; border: 1px dashed rgba(46, 229, 157, .6); }
.balance-fill { display: none; }
.balance-knob { position: absolute; top: 50%; left: var(--r); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .12), 0 4px 14px rgba(0, 0, 0, .6); transition: left .8s var(--spring); }
.balance-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.balance-deal .balance-label, .balance-deal .balance-score { color: var(--deal); }
.balance-deal .dot { background: var(--deal); box-shadow: 0 0 12px var(--deal); }
.balance-warm .balance-label, .balance-warm .balance-score { color: var(--warm); }
.balance-warm .dot { background: var(--warm); box-shadow: 0 0 12px var(--warm); }
.balance-nodeal .balance-label, .balance-nodeal .balance-score { color: var(--nodeal); }
.balance-nodeal .dot { background: var(--nodeal); box-shadow: 0 0 12px var(--nodeal); }
.balance-mute .balance-label { color: var(--muted); }
.balance-mute .dot { background: var(--dim); box-shadow: none; }
.balance-mute .balance-knob { opacity: .3; }

/* ---------- Deal / No Deal ---------- */
.deal-page { padding-top: calc(var(--nav-h) + 30px); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; --swipe: 0; }
.deal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.deal-title .or { color: var(--dim); font-weight: 500; }
.deal-title .nd { color: var(--nodeal); }
.deal-title { color: var(--deal); }
.deal-sub { margin-top: 8px; }
.deal-head-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.deal-stats { display: flex; gap: 8px; }
.ds { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }
.ds.deal { color: var(--deal); }
.ds.nodeal { color: var(--nodeal); }
.deal-arena { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 0 40px; }
.arena-glow { position: fixed; top: 0; bottom: 0; width: 45vw; pointer-events: none; z-index: -1; transition: opacity .3s; }
.arena-glow.deal { right: 0; background: radial-gradient(ellipse at 100% 50%, rgba(46, 229, 157, .35), transparent 60%); opacity: max(0, var(--swipe)); }
.arena-glow.nodeal { left: 0; background: radial-gradient(ellipse at 0% 50%, rgba(255, 91, 58, .35), transparent 60%); opacity: max(0, calc(var(--swipe) * -1)); }
.flash-deal .arena-glow.deal, .flash-nodeal .arena-glow.nodeal { opacity: 1; transition: opacity .1s; }
.deal-stack { position: relative; width: min(400px, 92vw); height: clamp(400px, calc(100vh - 380px), 590px); }
.scard {
  position: absolute; inset: 0; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #121318, #0a0b0e); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  transform-origin: 50% 110%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  transition: transform .55s var(--ease-out), opacity .4s, filter .4s;
}
.scard[data-i="1"] { transform: translateY(16px) scale(.95); filter: brightness(.7); pointer-events: none; }
.scard[data-i="2"] { transform: translateY(32px) scale(.9); filter: brightness(.45); pointer-events: none; animation: stackIn .6s var(--ease-out); }
@keyframes stackIn { from { opacity: 0; transform: translateY(60px) scale(.85); } }
.scard.dragging { transition: none; cursor: grabbing; }
.scard.leaving { transition: transform .45s cubic-bezier(.4, 0, .9, .6), opacity .45s; opacity: .6; pointer-events: none; }
.scard-media { position: relative; flex: 1; min-height: 0; }
.scard-pv { position: absolute; inset: 0; }
.scard-pv .pv-e { font-size: 40cqw; }
.scard-dots { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; gap: 5px; z-index: 4; }
.scard-dots i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.scard-dots i.on { background: #fff; }
.scard-badges { position: absolute; top: 28px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 4; }
.stamp { position: absolute; top: 70px; z-index: 5; padding: 8px 16px; border-radius: 14px; font: 800 36px/1 var(--font-d); letter-spacing: -.02em; opacity: 0; pointer-events: none; backdrop-filter: blur(4px); }
.stamp-deal { left: 22px; color: var(--deal); border: 4px solid var(--deal); transform: rotate(-14deg); box-shadow: 0 0 40px var(--deal-glow), inset 0 0 20px var(--deal-glow); background: rgba(46, 229, 157, .08); }
.stamp-nodeal { right: 22px; color: var(--nodeal); border: 4px solid var(--nodeal); transform: rotate(14deg); box-shadow: 0 0 40px var(--nodeal-glow), inset 0 0 20px var(--nodeal-glow); background: rgba(255, 91, 58, .08); }
.scard-body { padding: 18px 20px 20px; display: grid; gap: 11px; background: linear-gradient(180deg, rgba(10, 11, 14, .6), #0a0b0e); }
.scard-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.scard-row h2 { font: 700 24px/1.1 var(--font-d); letter-spacing: -.03em; }
.scard-val { font: 700 26px/1 var(--font-d); letter-spacing: -.04em; white-space: nowrap; }
.scard-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.scard-owner { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.scard-vs { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; }
.vs-mine { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.vs-mine b { color: var(--text); }
.vs-meter { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.vs-meter i { display: block; height: 100%; border-radius: inherit; }
.vs-meter.balance-deal i { background: var(--deal); }
.vs-meter.balance-warm i { background: var(--warm); }
.vs-meter.balance-nodeal i, .vs-meter.balance-mute i { background: var(--nodeal); }
.vs-score { font-weight: 700; }
.deal-actions { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.dbtn {
  position: relative; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; align-content: center;
  background: rgba(14, 15, 19, .8); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
  transition: transform .45s var(--ease-out), box-shadow .35s, background .3s, border-color .3s;
}
.dbtn > span { display: grid; place-items: center; transition: transform .45s var(--ease-out); }
.dbtn svg { width: 30px; height: 30px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dbtn small { position: absolute; bottom: -24px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; color: var(--muted); }
.dbtn-nodeal svg { stroke: var(--nodeal); }
.dbtn-nodeal:hover { background: rgba(255, 91, 58, .12); border-color: rgba(255, 91, 58, .5); box-shadow: 0 0 50px var(--nodeal-glow); }
.dbtn-deal { width: 88px; height: 88px; }
.dbtn-deal svg { stroke: var(--deal); width: 34px; height: 34px; }
.dbtn-deal:hover { background: rgba(46, 229, 157, .12); border-color: rgba(46, 229, 157, .5); box-shadow: 0 0 60px var(--deal-glow); }
.dbtn:active { transform: scale(.9) !important; }
.dbtn-small { width: 50px; height: 50px; font-size: 18px; color: var(--muted); font-weight: 700; }
.dbtn-small:hover { color: var(--text); background: var(--surface-3); }
.deal-keys { margin-top: 44px; font-size: 12.5px; color: var(--dim); }
kbd { display: inline-block; padding: 2px 7px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); font: 600 11px var(--font); color: var(--muted); }
.deal-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 30px; border-radius: var(--r-xl); }
.empty-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* Animation DEAL */
.burst { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; place-items: center; }
.burst-glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(46, 229, 157, .35), transparent 55%); animation: burstGlow .9s var(--ease-out) forwards; }
@keyframes burstGlow { from { opacity: 0; transform: scale(.6); } 40% { opacity: 1; } to { opacity: .6; transform: scale(1.2); } }
.burst-ring { position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 2px solid var(--deal); animation: burstRing 1s var(--ease-out) forwards; }
.burst-ring.r2 { animation-delay: .12s; border-width: 1px; }
@keyframes burstRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(3.2); opacity: 0; } }
.burst-core { position: relative; display: grid; justify-items: center; gap: 12px; animation: burstCore .6s var(--spring) both; }
@keyframes burstCore { from { transform: scale(.3); opacity: 0; } }
.burst-core svg { width: 110px; height: 110px; filter: drop-shadow(0 0 30px var(--deal-glow)); }
.burst-core circle { fill: rgba(46, 229, 157, .14); stroke: var(--deal); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .6s var(--ease-out) forwards .05s; }
.burst-core path { fill: none; stroke: var(--deal); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s var(--ease-out) forwards .35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.burst-core b { font: 800 34px/1 var(--font-d); letter-spacing: .02em; color: var(--deal); text-shadow: 0 0 30px var(--deal-glow); }
.burst.out { opacity: 0; transform: scale(1.1); transition: opacity .45s, transform .45s; }
.particle { position: fixed; z-index: 260; border-radius: 50%; pointer-events: none; }

/* IT'S A DEAL! */
.match { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 24px; overflow: hidden; overflow: clip; }
.match-bg { position: absolute; inset: 0; background: rgba(3, 4, 6, .82); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); opacity: 0; transition: opacity .5s; }
.match-rays { position: absolute; left: 50%; top: 50%; width: 180vmax; height: 180vmax; margin: -90vmax 0 0 -90vmax; background: conic-gradient(from 0deg, transparent, rgba(46, 229, 157, .09) 10deg, transparent 20deg, transparent 40deg, rgba(52, 211, 255, .07) 50deg, transparent 60deg, transparent 90deg, rgba(46, 229, 157, .09) 100deg, transparent 110deg, transparent 150deg, rgba(155, 123, 255, .07) 160deg, transparent 170deg, transparent 200deg, rgba(46, 229, 157, .09) 210deg, transparent 220deg, transparent 260deg, rgba(52, 211, 255, .07) 270deg, transparent 280deg, transparent 320deg, rgba(46, 229, 157, .09) 330deg, transparent 340deg); opacity: 0; animation: spin 30s linear infinite; transition: opacity 1s .4s; }
@keyframes spin { to { transform: rotate(360deg); } }
.match.open .match-bg, .match.open .match-rays { opacity: 1; }
.match.closing { opacity: 0; transition: opacity .45s; }
.match-inner { position: relative; text-align: center; width: min(640px, 100%); }
.match-title { font: 800 clamp(52px, 11vw, 120px)/.95 var(--font-d); letter-spacing: -.05em; margin-bottom: 14px; white-space: nowrap; }
.match-title span { display: inline-block; opacity: 0; transform: translateY(60px) scale(.6) rotate(-8deg); background: linear-gradient(180deg, #fff 20%, #7dffc7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.match.open .match-title span { animation: letterIn .8s var(--spring) forwards; animation-delay: calc(1.1s + var(--i) * 45ms); }
@keyframes letterIn { to { opacity: 1; transform: none; } }
.match-sub { color: var(--muted); font-size: 17px; opacity: 0; transition: opacity .6s 1.7s; }
.match.open .match-sub { opacity: 1; }
.match-sub b { color: var(--text); }
.match-cards { position: relative; display: flex; justify-content: center; align-items: center; margin: 44px 0 50px; height: 280px; }
.mc { position: relative; width: 200px; border-radius: 26px; overflow: hidden; background: #0e0f13; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), 0 0 60px rgba(46, 229, 157, .15); }
.mc .pv { height: 170px; }
.mc .pv-e { font-size: 76px; }
.mc-info { padding: 12px 14px 14px; text-align: left; display: grid; gap: 1px; }
.mc-info small { font-size: 11px; color: var(--muted); }
.mc-info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-info span { font: 700 18px var(--font-d); color: var(--deal); }
.mc-left { transform: translateX(-70vw) rotate(-30deg); }
.mc-right { transform: translateX(70vw) rotate(30deg); }
.match.open .mc-left { animation: mcLeft 1.1s var(--ease-out) forwards .15s; }
.match.open .mc-right { animation: mcRight 1.1s var(--ease-out) forwards .15s; }
@keyframes mcLeft { 70% { transform: translateX(14px) rotate(-4deg); } 100% { transform: translateX(10px) rotate(-7deg); } }
@keyframes mcRight { 70% { transform: translateX(-14px) rotate(4deg); } 100% { transform: translateX(-10px) rotate(7deg); } }
.match-flash { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 50%; background: #fff; box-shadow: 0 0 80px 40px rgba(46, 229, 157, .8); opacity: 0; z-index: 3; }
.match.open .match-flash { animation: flash 1s ease-out forwards .9s; }
@keyframes flash { 0% { opacity: 0; transform: scale(.2); } 15% { opacity: 1; transform: scale(1.5); } 100% { opacity: 0; transform: scale(8); } }
.match-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: all .7s var(--ease-out) 1.9s; }
.match.open .match-actions { opacity: 1; transform: none; }

/* ---------- Proposition ---------- */
.offer-page { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 80px; }
.offer-grid { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 16px; align-items: stretch; }
.offer-col { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.offer-col-head { display: flex; justify-content: space-between; align-items: flex-end; }
.offer-col-head small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.offer-col-head h3 { font-size: 20px; font-family: var(--font-d); letter-spacing: -.02em; }
.offer-total { font: 700 30px/1 var(--font-d); letter-spacing: -.04em; }
.pick-list { display: grid; gap: 10px; }
.pick {
  display: grid; grid-template-columns: auto 56px 1fr auto; align-items: center; gap: 14px; padding: 10px 16px 10px 12px; text-align: left;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: all .35s var(--ease-out);
}
.pick:hover { border-color: var(--line-2); background: var(--surface-2); }
.pick.on { border-color: rgba(46, 229, 157, .55); background: rgba(46, 229, 157, .07); box-shadow: 0 0 0 3px rgba(46, 229, 157, .08); }
.pick-check { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: transparent; transition: all .3s var(--spring); }
.pick.on .pick-check { background: var(--deal); border-color: var(--deal); color: #03130b; transform: scale(1.08); }
.pick-pv { width: 56px; height: 56px; border-radius: 14px; }
.pick-pv .pv-e { font-size: 28px; }
.pick-pv::after { display: none; }
.pick-info { display: grid; min-width: 0; }
.pick-info b { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-info small { color: var(--muted); font-size: 12.5px; }
.pick-val { font: 700 17px var(--font-d); }
.add-more { color: var(--muted); font-size: 14px; margin-top: auto; padding-top: 6px; transition: color .2s; }
.add-more:hover { color: var(--deal); }
.offer-mid { display: grid; place-items: center; }
.offer-orb { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 11, 14, .8); border: 1px solid var(--line-2); box-shadow: 0 0 40px var(--deal-glow); animation: spinSlow 10s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.offer-orb svg { width: 26px; height: 26px; fill: none; stroke: var(--deal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.offer-summary { margin-top: 20px; padding: 28px; display: grid; gap: 22px; }
.os-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.os-side small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.os-side small b { color: var(--text); font-size: 16px; }
.os-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 14px; }
.os-side li { display: flex; justify-content: space-between; gap: 10px; }
.os-side li b { color: var(--muted); font-weight: 500; }
.os-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* ---------- Messagerie ---------- */
.is-messages .footer { display: none; }
.msgs { padding-top: calc(var(--nav-h) + 26px); padding-bottom: 20px; display: grid; grid-template-columns: 360px 1fr; gap: 16px; height: 100vh; height: 100svh; }
.conv-list { display: flex; flex-direction: column; gap: 14px; padding: 20px 14px; min-height: 0; }
.cl-head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.cl-head h2 { font-size: 28px; }
.conv-list .search { flex: none; }
.cl-items { flex: 1; overflow-y: auto; overflow-x: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; min-height: 0; scrollbar-width: thin; }
.cl-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; transition: background .25s; position: relative; }
.cl-item:hover { background: var(--surface-2); }
.cl-item.on { background: var(--surface-3); }
.cl-txt { flex: 1; min-width: 0; }
.cl-row { display: flex; justify-content: space-between; gap: 8px; }
.cl-row b { font-weight: 600; font-size: 15px; }
.cl-row time { font-size: 12px; color: var(--dim); white-space: nowrap; }
.cl-txt p { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-item.unread p { color: var(--text); font-weight: 500; }
.cl-unread { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--deal); color: #03130b; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.cl-item-pv { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; flex: none; }
.cl-item-pv .pv-e { font-size: 20px; }
.cl-item-pv .pv::after { display: none; }
.chat { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat-empty { margin: auto; text-align: center; display: grid; justify-items: center; gap: 12px; max-width: 380px; padding: 30px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-back { display: none; font-size: 30px; line-height: 1; padding: 0 8px 4px 0; color: var(--muted); }
.chat-user { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.chat-user b { display: block; font-size: 16px; }
.chat-user small { color: var(--muted); font-size: 12.5px; }
.chat-tools { display: flex; gap: 8px; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 230px; padding: 6px; border-radius: 18px; display: grid; background: rgba(18, 19, 24, .95); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: top right; pointer-events: none; transition: all .25s var(--ease-out); z-index: 10; }
.menu-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.menu-pop a, .menu-pop button { text-align: left; padding: 11px 14px; border-radius: 12px; font-size: 14px; transition: background .2s; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--surface-2); }
.menu-pop .danger { color: var(--nodeal); }
.chat-item { display: flex; align-items: center; gap: 12px; margin: 12px 18px 8px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.chat-item:hover { border-color: var(--line-2); }
.ci-pv { width: 42px; height: 42px; border-radius: 12px; flex: none; }
.ci-pv .pv-e { font-size: 21px; }
.ci-pv::after { display: none; }
.chat-item > div:not(.pv) { flex: 1; display: grid; min-width: 0; }
.chat-item small { color: var(--muted); font-size: 11.5px; }
.chat-item b { font-size: 14px; }
.chat-item > span { font: 700 16px var(--font-d); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 0; scrollbar-width: thin; }
.chat-safe { align-self: center; max-width: 440px; text-align: center; font-size: 12.5px; color: var(--muted); padding: 10px 16px; border-radius: 14px; background: rgba(46, 229, 157, .05); border: 1px solid rgba(46, 229, 157, .14); margin-bottom: 8px; }
.msg-row { display: flex; flex-direction: column; max-width: min(75%, 520px); animation: msgIn .4s var(--ease-out) backwards; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg-row.me { align-self: flex-end; align-items: flex-end; }
.msg-row.them { align-self: flex-start; align-items: flex-start; }
.msg-row.wide { max-width: min(92%, 480px); width: 100%; }
.msg-row time { font-size: 11px; color: var(--dim); margin: 4px 6px 0; }
.bubble { padding: 11px 16px; border-radius: 20px; font-size: 15px; line-height: 1.45; word-wrap: break-word; }
.them .bubble { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.me .bubble { background: linear-gradient(135deg, #3ff0a8, #00c46a); color: #03130b; border-bottom-right-radius: 6px; font-weight: 500; }
.bubble.img { padding: 4px; background: var(--surface-2) !important; }
.bubble.img img { display: block; width: auto; height: auto; max-width: min(280px, 100%); max-height: 340px; border-radius: 16px; object-fit: contain; }
.bubble.typing { display: flex; gap: 5px; padding: 15px 18px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.msg-sys { align-self: center; margin: 8px 0; }
.msg-sys span { display: inline-block; font-size: 12.5px; color: #7dffc7; padding: 7px 14px; border-radius: 99px; background: rgba(46, 229, 157, .08); border: 1px solid rgba(46, 229, 157, .2); }
.msg-offer { width: 100%; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025)); border: 1px solid var(--line-2); display: grid; gap: 14px; }
.msg-offer.accepted { border-color: rgba(46, 229, 157, .45); box-shadow: 0 0 40px -10px var(--deal-glow); }
.msg-offer.declined, .msg-offer.replaced, .msg-offer.cancelled { opacity: .55; }
.oc-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; }
.st { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.st-pending { background: rgba(255, 195, 92, .14); color: var(--warm); }
.st-deal { background: rgba(46, 229, 157, .15); color: var(--deal); }
.st-nodeal { background: rgba(255, 91, 58, .15); color: var(--nodeal); }
.st-mute { background: var(--surface-2); color: var(--muted); }
.oc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oc-cols > div { display: grid; gap: 6px; align-content: start; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.oc-cols small { font-size: 11.5px; color: var(--muted); }
.oc-cols small b { color: var(--text); }
.oc-line { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px; }
.oc-line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-line b { color: var(--muted); font-weight: 500; }
.oc-pv { width: 30px; height: 30px; border-radius: 8px; }
.oc-pv .pv-e { font-size: 15px; }
.oc-pv::after { display: none; }
.oc-bal { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.oc-bal b { margin-left: auto; }
.oc-bal.balance-deal { color: var(--deal); }
.oc-bal.balance-warm { color: var(--warm); }
.oc-bal.balance-nodeal { color: var(--nodeal); }
.oc-bal .dot { background: currentColor; box-shadow: 0 0 10px currentColor; }
.oc-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.oc-actions .btn { flex: 1; min-width: max-content; }
.oc-actions .muted { flex: 1; }
.msg-meet { padding: 16px 18px; border-radius: 20px; display: grid; gap: 6px; background: linear-gradient(135deg, rgba(46, 229, 157, .1), rgba(52, 211, 255, .06)); border: 1px solid rgba(46, 229, 157, .3); font-size: 14px; width: 100%; }
.mm-head { font-size: 12px; color: var(--deal); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.msg-meet b { font-size: 17px; text-transform: capitalize; }
.mm-safe { color: #7dffc7; font-size: 12px; }
.chat-quick { display: flex; gap: 8px; padding: 8px 18px 0; overflow-x: auto; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 18px 16px; }
.chat-input .input { height: 50px; border-radius: 999px; padding: 0 20px; }
.chat-input label.icon-btn { width: 50px; height: 50px; }
.send-btn { width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #3ff0a8, #00c46a); box-shadow: 0 8px 30px -8px var(--deal-glow); transition: transform .3s var(--spring); }
.send-btn:hover { transform: scale(1.08) rotate(-8deg); }
.send-btn svg { width: 20px; height: 20px; fill: #03130b; }
.chat-blocked { padding: 18px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Profil ---------- */
.profile { padding-bottom: 60px; }
.profile-cover { --h: 150; height: 300px; background: radial-gradient(ellipse at 30% 100%, hsl(var(--h) 70% 45% / .5), transparent 60%), radial-gradient(ellipse at 80% 0%, hsl(calc(var(--h) + 60) 70% 50% / .35), transparent 60%); mask-image: linear-gradient(180deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); }
.profile-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; margin-top: -140px; position: relative; align-items: start; }
.profile-card { padding: 32px 28px; text-align: center; display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); background: rgba(14, 15, 19, .75); }
.pc-avatar { display: grid; place-items: center; margin-top: -86px; }
.pc-avatar .avatar { box-shadow: 0 0 0 6px var(--bg), 0 20px 50px -10px rgba(0, 0, 0, .8); }
.profile-card h1 { font-size: 30px; }
.profile-card > .muted { margin-top: -12px; }
.pc-rating p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.pc-rating b { color: var(--text); font-size: 18px; }
.pc-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.pc-bio { font-size: 14.5px; color: #c9cad0; line-height: 1.6; }
.pc-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ubadge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line); }
.ubadge i { font-style: normal; }
.ubadge.deal { color: var(--deal); border-color: rgba(46, 229, 157, .3); background: rgba(46, 229, 157, .08); }
.ubadge.gold { color: var(--warm); border-color: rgba(255, 195, 92, .3); background: rgba(255, 195, 92, .08); }
.ubadge.violet { color: #c4b2ff; border-color: rgba(155, 123, 255, .3); background: rgba(155, 123, 255, .08); }
.ubadge.warn { color: var(--nodeal); border-color: rgba(255, 91, 58, .3); background: rgba(255, 91, 58, .08); }
.pc-checks { display: grid; gap: 6px; text-align: left; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 14px; }
.pc-checks div { display: flex; align-items: center; gap: 10px; }
.pc-checks i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; }
.pc-checks .ok i { background: rgba(46, 229, 157, .15); color: var(--deal); }
.pc-checks .ko { color: var(--dim); }
.pc-checks .ko i { background: var(--surface-2); }
.pc-actions { display: grid; gap: 10px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-main { padding-top: 160px; min-width: 0; }
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.p-stats > div { padding: 20px; border-radius: var(--r); }
.p-stats b { display: block; font: 700 32px/1 var(--font-d); letter-spacing: -.04em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.p-stats span { color: var(--muted); font-size: 13px; }
.tabs { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 14px 18px; color: var(--muted); font-weight: 500; white-space: nowrap; transition: color .25s; }
.tab i { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); margin-left: 6px; }
.tab.on { color: var(--text); }
.tab-ink { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--grad); border-radius: 2px; transition: transform .5s var(--ease-out), width .5s var(--ease-out); }
.tab-panel { display: none; }
.tab-panel.on { display: block; animation: pageIn .6s var(--ease-out); }
.reviews-summary { display: flex; gap: 36px; align-items: center; padding: 26px 30px; margin-bottom: 16px; border-radius: var(--r); }
.rs-score { display: grid; justify-items: center; gap: 4px; }
.rs-score b { font: 700 52px/1 var(--font-d); letter-spacing: -.04em; }
.rs-score small { color: var(--muted); }
.rs-bars { flex: 1; display: grid; gap: 7px; }
.rs-bars > div { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.rs-track { height: 7px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.rs-track i { display: block; height: 100%; background: var(--warm); border-radius: inherit; }
.reviews { display: grid; gap: 12px; }
.review { padding: 20px 22px; border-radius: var(--r); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review header div { flex: 1; display: grid; }
.review header small { font-size: 12.5px; }
.review p { color: #d0d1d6; line-height: 1.6; }

/* ---------- Assistant d’ajout ---------- */
.wizard { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 60px; display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; min-height: 100vh; }
.wiz-main { max-width: 720px; width: 100%; }
.wiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.wiz-progress { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.wiz-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 20px var(--deal-glow); transition: width .7s var(--ease-out); }
.wiz-count { font: 600 14px var(--font-d); color: var(--muted); min-width: 30px; }
.wiz-steps { display: flex; gap: 8px; margin: 0 0 36px 58px; }
.wiz-steps span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--dim); border: 1px solid var(--line); transition: all .4s var(--ease-out); }
.wiz-steps span.on { background: #fff; color: #000; border-color: #fff; transform: scale(1.1); }
.wiz-steps span.done { background: rgba(46, 229, 157, .15); color: var(--deal); border-color: rgba(46, 229, 157, .3); }
.wiz-stage { min-height: 460px; }
.wiz-panel { transition: opacity .22s ease, transform .22s ease, filter .22s ease; }
.wiz-panel.out-left { opacity: 0; transform: translateX(-40px); filter: blur(6px); }
.wiz-panel.out-right { opacity: 0; transform: translateX(40px); filter: blur(6px); }
.wiz-panel.in-right { opacity: 0; transform: translateX(40px); transition: none; }
.wiz-panel.in-left { opacity: 0; transform: translateX(-40px); transition: none; }
.wiz-panel { transition-duration: .5s; transition-timing-function: var(--ease-out); }
.wiz-panel.out-left, .wiz-panel.out-right { transition-duration: .22s; }
.wiz-kicker { color: var(--deal); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.wiz-panel .h2 { margin-bottom: 30px; }
#wiz-body { display: grid; gap: 20px; }
.wiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field small, .field-label { font-size: 13px; color: #c7c8ce; font-weight: 500; }
.dropzone { display: grid; justify-items: center; gap: 6px; padding: 50px 20px; border-radius: var(--r-lg); border: 2px dashed var(--line-2); background: var(--surface); text-align: center; cursor: pointer; transition: all .35s var(--ease-out); }
.dropzone:hover, .dropzone.over { border-color: var(--deal); background: rgba(46, 229, 157, .05); transform: scale(1.01); }
.dz-icon { font-size: 44px; margin-bottom: 8px; transition: transform .5s var(--spring); }
.dropzone:hover .dz-icon { transform: scale(1.15) rotate(-6deg); }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.photo-grid:empty { display: none; }
.ph { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); animation: popIn .5s var(--spring); }
.ph-cover { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: #fff; color: #000; }
.ph-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, .6); font-size: 12px; backdrop-filter: blur(6px); }
.tip { font-size: 14px; color: var(--muted); padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cat-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cat-opt { --h: 200; display: grid; justify-items: center; gap: 4px; padding: 14px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: all .3s var(--ease-out); }
.cat-opt span { font-size: 26px; transition: transform .4s var(--spring); }
.cat-opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cat-opt:hover span { transform: scale(1.15); }
.cat-opt.on { border-color: hsl(var(--h) 70% 60% / .7); background: hsl(var(--h) 70% 50% / .14); box-shadow: 0 0 0 3px hsl(var(--h) 70% 50% / .12); }
.cond-pick { display: grid; gap: 10px; }
.cond-opt { display: grid; grid-template-columns: 90px 1fr auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; text-align: left; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: all .35s var(--ease-out); }
.cond-opt:hover { border-color: var(--line-2); transform: translateX(4px); }
.cond-opt.on { border-color: rgba(46, 229, 157, .55); background: rgba(46, 229, 157, .07); }
.cond-dots { grid-row: span 2; color: var(--deal); letter-spacing: 2px; font-size: 13px; }
.cond-dots i { color: var(--surface-3); font-style: normal; }
.cond-opt b { font-size: 17px; }
.cond-opt small { color: var(--muted); font-size: 13.5px; }
.cond-check { grid-row: 1 / span 2; grid-column: 3; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 800; color: transparent; transition: all .3s var(--spring); }
.cond-opt.on .cond-check { background: var(--deal); border-color: var(--deal); color: #000; transform: scale(1.1); }
.value-input { display: flex; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--line-2); padding-bottom: 8px; transition: border-color .3s; }
.value-input:focus-within { border-color: var(--deal); }
.value-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font: 700 clamp(56px, 9vw, 96px)/1 var(--font-d); letter-spacing: -.05em; -moz-appearance: textfield; }
.value-input input::-webkit-outer-spin-button, .value-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.value-input span { font: 700 40px var(--font-d); color: var(--muted); }
.estimate { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; flex-wrap: wrap; }
.estimate > div { display: grid; gap: 2px; }
.estimate small { color: var(--deal); font-weight: 600; font-size: 12.5px; }
.estimate b { font: 700 22px var(--font-d); }
.vinfo { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; margin-bottom: 12px; animation: pageIn .5s var(--ease-out); }
.vinfo-n { font: 700 40px/1 var(--font-d); color: var(--deal); }
.tag-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; height: auto; min-height: 50px; padding: 8px 10px; }
.tag-input input { flex: 1; min-width: 160px; background: none; border: 0; outline: none; height: 32px; padding: 0 6px; }
.tag-input span { display: contents; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 99px; background: rgba(46, 229, 157, .12); color: #7dffc7; font-size: 13px; font-style: normal; font-weight: 500; animation: popIn .3s var(--spring); }
.tag button { width: 20px; height: 20px; border-radius: 50%; font-size: 10px; background: rgba(0, 0, 0, .3); }
.toggles { display: grid; gap: 10px; }
.toggle { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle div { display: grid; }
.tg { flex: none; width: 48px; height: 28px; border-radius: 99px; background: var(--surface-3); position: relative; transition: background .3s; }
.tg::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .4s var(--spring); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.toggle input:checked + .tg { background: var(--deal); }
.toggle input:checked + .tg::after { transform: translateX(20px); }
.toggle input:focus-visible + .tg { outline: 2px solid var(--deal); outline-offset: 3px; }
.wiz-preview { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 14px; }
.wp-card { border-radius: var(--r-lg); overflow: hidden; background: #0e0f13; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
#wiz-prev-card { transition: transform .5s var(--ease-out); }
.wp-media { aspect-ratio: 1 / .9; }
.wp-body { padding: 16px 18px 18px; display: grid; gap: 10px; }
.wp-wants { font-size: 13px; color: var(--muted); }
.wiz-trust { display: flex; gap: 12px; font-size: 13px; color: var(--muted); padding: 14px; border-radius: 16px; border: 1px solid var(--line); }

/* ---------- Trade Safe ---------- */
.safe-hero { padding: calc(var(--nav-h) + 40px) 0 40px; text-align: center; }
.safe-hero .lead { margin: 20px auto 0; }
.shield-big { height: 260px; }
.shield-big > span { font-size: 110px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature { padding: 28px; display: grid; gap: 10px; align-content: start; border-radius: var(--r-lg); transition: transform .5s var(--ease-out), border-color .4s; }
.feature:hover { transform: translateY(-5px); border-color: rgba(46, 229, 157, .3); }
.feature-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: rgba(46, 229, 157, .1); border: 1px solid rgba(46, 229, 157, .2); margin-bottom: 8px; color: var(--deal); }
.feature h3 { font-size: 18px; letter-spacing: -.01em; }
.feature p { font-size: 14.5px; line-height: 1.6; }
.trust-level { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: center; padding: 36px 40px; border-radius: var(--r-xl); }
.trust-level h3 { font-size: 32px; margin: 4px 0 8px; }
.tl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tl-step { display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.tl-step i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--surface-2); border: 1px solid var(--line); }
.tl-step.ok i { background: rgba(46, 229, 157, .15); color: var(--deal); border-color: rgba(46, 229, 157, .4); box-shadow: 0 0 20px -4px var(--deal-glow); }
.tl-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.tl-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 2s var(--ease-out) .3s; }
.trust-level.in .tl-bar i { width: var(--tl, 100%); }
.protect-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: stretch; }
.detect-demo { position: relative; overflow: hidden; padding: 28px; display: grid; gap: 18px; align-content: start; border-radius: var(--r-lg); border-color: rgba(255, 91, 58, .25); }
.dd-item { display: flex; gap: 14px; align-items: center; }
.dd-item div { display: grid; }
.dd-item span { color: var(--muted); font-size: 14px; }
.dd-pv { width: 64px; height: 64px; border-radius: 16px; }
.dd-pv .pv-e { font-size: 32px; }
.dd-pv::after { display: none; }
.dd-flags { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dd-flags li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; opacity: 0; transform: translateX(-10px); transition: all .6s var(--ease-out); }
.dd-flags li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 12px; background: rgba(255, 91, 58, .15); color: var(--nodeal); }
.dd-flags li.ok i { background: rgba(46, 229, 157, .15); color: var(--deal); }
.detect-demo.in .dd-flags li { opacity: 1; transform: none; }
.detect-demo.in .dd-flags li:nth-child(1) { transition-delay: .8s; }
.detect-demo.in .dd-flags li:nth-child(2) { transition-delay: 1.2s; }
.detect-demo.in .dd-flags li:nth-child(3) { transition-delay: 1.6s; }
.detect-demo.in .dd-flags li:nth-child(4) { transition-delay: 2.2s; }
.dd-scan { position: absolute; left: 0; right: 0; top: 0; height: 80px; background: linear-gradient(180deg, transparent, rgba(255, 91, 58, .12), transparent); animation: scan 3s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0%, 100% { transform: translateY(-80px); } 50% { transform: translateY(400px); } }
.tips-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tip-card { padding: 26px; display: grid; gap: 8px; align-content: start; border-radius: var(--r-lg); transition: transform .5s var(--ease-out), border-color .4s; }
.tip-card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.tip-n { font: 700 34px/1 var(--font-d); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.tip-card h3 { font-size: 17px; }
.tip-card p { font-size: 14px; line-height: 1.6; }
.faq { display: grid; gap: 10px; }
.faq-item { border-radius: var(--r); overflow: hidden; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { font-style: normal; font-size: 22px; color: var(--muted); transition: transform .4s var(--spring); }
.faq-item[open] summary i { transform: rotate(45deg); color: var(--deal); }
.faq-a { padding: 0 24px 22px; animation: pageIn .5s var(--ease-out); }
.notfound { padding: calc(var(--nav-h) + 120px) 0 120px; text-align: center; }
.nf-code { font-size: clamp(80px, 16vw, 200px); background: var(--grad-nd); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }
.notfound .lead { margin: 0 auto; }

/* ---------- Messagerie verrouillée ---------- */
.chat-locked { display: flex; align-items: center; gap: 14px; margin: 8px 18px 16px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 195, 92, .06); border: 1px solid rgba(255, 195, 92, .25); }
.cl-lock { font-size: 22px; }
.chat-locked div { flex: 1; min-width: 0; }
.chat-locked b { display: block; font-size: 14.5px; }
.chat-locked p { font-size: 13px; color: var(--muted); }
.bc.sys { justify-self: center; font-size: 12px; color: #7dffc7; background: rgba(46, 229, 157, .08); border: 1px solid rgba(46, 229, 157, .2); border-radius: 99px; }

/* ---------- Suivi du deal (dépôt de vérification) ---------- */
.deal-track { margin: 12px 18px 6px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(46, 229, 157, .08), rgba(52, 211, 255, .04)); border: 1px solid rgba(46, 229, 157, .25); display: grid; gap: 12px; }
.dt-steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.dt-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 12px; height: 2px; background: var(--line-2); }
.dt-step { position: relative; display: grid; justify-items: center; gap: 5px; font-size: 11.5px; color: var(--dim); text-align: center; }
.dt-step i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: #15161b; border: 1px solid var(--line-2); transition: all .4s var(--ease-out); }
.dt-step.done { color: var(--muted); }
.dt-step.done i { background: var(--deal); border-color: var(--deal); color: #03130b; }
.dt-step.on { color: var(--text); font-weight: 600; }
.dt-step.on i { border-color: var(--deal); color: var(--deal); box-shadow: 0 0 0 4px rgba(46, 229, 157, .15); }
.dt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dt-label { font-size: 13.5px; color: #d6d7dc; display: inline-flex; align-items: center; gap: 8px; }
.dt-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--deal); animation: pulse 1.6s infinite; }
.modal-deal { width: min(540px, 100%); }
.dm-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.dm-timeline li { display: flex; gap: 14px; padding: 8px 0; position: relative; }
.dm-timeline li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 38px; bottom: -6px; width: 2px; background: var(--line); }
.dm-timeline i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); }
.dm-timeline li.done i { background: var(--deal); border-color: var(--deal); color: #03130b; }
.dm-timeline li.on i { border-color: var(--deal); color: var(--deal); box-shadow: 0 0 0 4px rgba(46, 229, 157, .15); }
.dm-timeline b { font-size: 14.5px; }
.dm-timeline p { font-size: 13px; }
.dm-status { text-align: center; padding: 14px; border-radius: 14px; background: var(--surface); color: #d6d7dc; }
.deal-form { display: grid; gap: 10px; }
.depot-card { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: rgba(46, 229, 157, .07); border: 1px dashed rgba(46, 229, 157, .45); font-size: 14.5px; }
.depot-card small { color: var(--deal); font-weight: 600; font-size: 12px; margin-bottom: 4px; }
.small-list { margin: 0; font-size: 13.5px; gap: 8px; }
.star-pick { display: flex; gap: 4px; flex-direction: row-reverse; justify-content: flex-end; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick span { font-size: 30px; color: var(--surface-3); cursor: pointer; transition: color .2s, transform .2s var(--spring); display: inline-block; }
.star-pick label:hover span, .star-pick label:hover ~ label span, .star-pick input:checked + span, .star-pick label:has(input:checked) ~ label span { color: var(--warm); }
.star-pick label:hover span { transform: scale(1.15); }
.fee-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.fee-line b { color: var(--text); white-space: nowrap; }
.depot-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.depot-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.depot-steps li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); }
.ds-n { font: 700 13px var(--font-d); color: var(--deal); width: 18px; }
.ds-i { font-size: 26px; }
.depot-steps h3 { font-size: 16.5px; }
.depot-steps p { font-size: 14px; }
.depot-side { padding: 22px; border-radius: var(--r-lg); display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 24px); }
.fee-demo { display: grid; gap: 2px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.fee-demo small { padding: 10px 16px 6px; background: var(--surface); }
.fee-demo div { display: flex; justify-content: space-between; padding: 10px 16px; background: var(--surface); font-size: 14px; }
.fee-demo span { color: var(--muted); }
.fd-total b { color: var(--deal); font: 700 18px var(--font-d); }

/* ---------- Panneau publicitaire ---------- */
.vt-section { padding: 10px 0 40px; }
.vt-inline { margin-bottom: 20px; }
.vt-panel { position: relative; border-radius: var(--r-lg); padding: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); overflow: hidden; }
.vt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding: 0 4px; }
.vt-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.vt-own { font-size: 12.5px; color: var(--muted); transition: color .2s; }
.vt-own:hover { color: var(--deal); }
.vt-slides { display: grid; }
.vt-slide { --h: 150; grid-area: 1 / 1; display: grid; grid-template-columns: 88px 1fr auto; gap: 18px; align-items: center; padding: 12px; border-radius: 18px; background: radial-gradient(circle at 0% 50%, hsl(var(--h) 70% 50% / .18), transparent 60%), rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), visibility .6s; }
.vt-slide.on { opacity: 1; visibility: visible; transform: none; }
.vt-media { width: 88px; height: 88px; aspect-ratio: 1; border-radius: 20px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, hsl(var(--h) 70% 50%), hsl(calc(var(--h) + 60) 70% 30%)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 24px -8px rgba(0, 0, 0, .6); }
.vt-media:has(.vt-logo) { background: #0c0d10; }
.vt-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.vt-media span { font: 800 38px/1 var(--font-d); color: rgba(255, 255, 255, .9); }
.vt-body { min-width: 0; display: grid; gap: 2px; }
.vt-body small { color: var(--muted); font-size: 12px; }
.vt-body h3 { font: 700 20px/1.2 var(--font-d); letter-spacing: -.02em; overflow-wrap: anywhere; }
.vt-body p { color: #c9cad0; font-size: 14px; overflow-wrap: anywhere; }
.vt-cta { padding: 10px 18px; border-radius: 999px; background: #fff; color: #050506; font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .3s var(--spring); }
.vt-slide:hover .vt-cta { transform: scale(1.05); }
.vt-dots { display: flex; gap: 5px; justify-content: center; margin-top: 10px; }
.vt-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--surface-3); transition: all .4s var(--ease-out); }
.vt-dots i.on { width: 18px; background: var(--deal); }
.detail-info .vt-slide, .vts-side .vt-slide { grid-template-columns: 68px 1fr; }
.detail-info .vt-media, .vts-side .vt-media { width: 68px; height: 68px; border-radius: 16px; }
.detail-info .vt-cta, .vts-side .vt-cta { grid-column: 1 / -1; text-align: center; }

/* ---------- Page publicité ---------- */
.vts-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; padding-bottom: 60px; }
.vts-form { padding: 28px; display: grid; gap: 18px; }
.vts-h { font: 700 18px var(--font-d); letter-spacing: -.02em; margin-top: 6px; }
.file-btn { display: flex; align-items: center; cursor: pointer; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dur { display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.dur-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.dur-val { font: 700 34px/1 var(--font-d); letter-spacing: -.03em; }
.dur-range { --p: 0%; height: 28px; }
.dur-range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--deal), var(--cyan)) 0 / var(--p) 100% no-repeat, var(--surface-3); }
.dur-range::-webkit-slider-thumb { margin-top: -7px; width: 22px; height: 22px; }
.dur-range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--surface-3); }
.dur-range::-moz-range-progress { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--deal), var(--cyan)); }
.dur-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); margin-top: -6px; }
.price-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; border-radius: 20px; background: rgba(46, 229, 157, .06); border: 1px solid rgba(46, 229, 157, .25); }
.price-box small { display: block; color: var(--muted); font-size: 13px; }
.price-box b { display: inline-block; font: 700 44px/1 var(--font-d); letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.price-box b.bump { animation: bump .35s var(--spring); }
@keyframes bump { 50% { transform: scale(1.08); } }
.vts-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; }
.vts-where { padding: 20px; border-radius: var(--r); display: grid; gap: 12px; }
.vts-where .check-list { margin: 0; font-size: 14px; }
.vts-mine { padding: 20px; border-radius: var(--r); display: grid; gap: 14px; }
.am-row { display: grid; gap: 6px; }
.am-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; }
.am-top span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-bar { height: 5px; border-radius: 5px; background: var(--surface-3); overflow: hidden; }
.am-bar i { display: block; height: 100%; background: var(--grad); }
.recap { display: grid; gap: 2px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--surface); font-size: 14px; }
.recap span { color: var(--muted); }
.recap b { text-align: right; }
.recap-total b { font: 700 22px var(--font-d); color: var(--deal); }

/* ---------- Comptes (connexion / inscription) ---------- */
.auth { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.auth-card { width: min(460px, 100%); padding: 36px 32px; display: grid; gap: 14px; border-radius: var(--r-xl); }
.auth-card.wide { width: min(620px, 100%); }
.auth-logo { margin-bottom: 8px; }
.auth-card h1 { font-size: clamp(30px, 4vw, 40px); }
.auth-sub { margin-top: -6px; }
.auth-form { display: grid; gap: 14px; margin-top: 8px; }
.auth-forgot { justify-self: end; margin-top: -6px; }
.auth-alt { text-align: center; color: var(--muted); font-size: 14px; }
.auth-alt a { color: var(--deal); }
/* Écran « Vérifiez votre boîte mail » (remplace le formulaire) */
.auth-card.checking > h1, .auth-card.checking > .auth-sub { display: none; }
.check-mail { display: grid; gap: 16px; text-align: center; animation: pageIn .6s var(--ease-out); }
.cm-icon { font-size: 64px; line-height: 1; animation: cmFloat 2.4s ease-in-out infinite; }
@keyframes cmFloat { 50% { transform: translateY(-8px) rotate(-4deg); } }
.check-mail h2 { font-size: clamp(28px, 4vw, 36px); }
.cm-lead { color: #d6d7dc; }
.cm-email { justify-self: center; max-width: 100%; padding: 10px 18px; border-radius: 14px; background: rgba(46, 229, 157, .1); border: 1px solid rgba(46, 229, 157, .35); color: #7dffc7; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.cm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.cm-steps li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.cm-steps li > span { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--deal); color: #03130b; }
.cm-steps li div { display: grid; gap: 1px; font-size: 14.5px; }
.cm-steps small { color: var(--muted); font-size: 12.5px; }
.cm-spam { font-size: 13.5px; color: #ffd690; padding: 10px 14px; border-radius: 12px; background: rgba(255, 195, 92, .08); border: 1px solid rgba(255, 195, 92, .25); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { accent-color: var(--deal); width: 17px; height: 17px; margin-top: 2px; flex: none; }
.setup-steps { margin: 6px 0; padding-left: 20px; display: grid; gap: 10px; color: #d6d7dc; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.nav-avatar.nav-login .btn { height: 38px; }

/* Champ ville avec suggestions */
.city-field { position: relative; }
.city-sug { position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; z-index: 30; display: none; padding: 6px; border-radius: 16px; background: rgba(18, 19, 24, .97); box-shadow: var(--shadow-lg); }
.city-sug.open { display: grid; }
.city-sug button { text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.city-sug button:hover { background: var(--surface-2); }

/* Chargement & états */
.loading-state { min-height: 60vh; display: grid; place-content: center; justify-items: center; gap: 14px; padding: calc(var(--nav-h) + 40px) 0 40px; }
.chat .loading-state { min-height: 100%; padding: 0; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--surface-3); border-top-color: var(--deal); animation: spin .8s linear infinite; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn.is-busy > span::after { content: ''; width: 14px; height: 14px; margin-left: 6px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
.notice { font-size: 13.5px; color: #ffd690; padding: 12px 14px; border-radius: 14px; background: rgba(255, 195, 92, .08); border: 1px solid rgba(255, 195, 92, .25); }
.proof-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: #d6d7dc; }
.hero-proof { flex-wrap: wrap; gap: 8px; }
.depot-ref { margin-top: 6px; font-size: 13px; color: #d6d7dc; }
.ref-empty .ref-plus { display: grid; place-items: center; font-size: 24px; background: var(--surface-2); color: var(--deal); }
.ref-empty b { font-size: 14.5px; }
.cl-deal { display: inline-block; margin-top: 5px; }
.deal-track.cancelled { border-color: var(--line); background: var(--surface); }
.msg-row.pending { opacity: .6; }
.oc-line { color: inherit; }
a.oc-line:hover span { text-decoration: underline; }

/* ---------- Administration ---------- */
.admin { padding-top: calc(var(--nav-h) + 30px); padding-bottom: 60px; }
.admin-tabs { margin-bottom: 20px; }
.admin-list { display: grid; gap: 14px; }
.admin-filters { display: flex; gap: 8px; margin-bottom: 4px; }
.admin-deal { padding: 20px; display: grid; gap: 16px; border-radius: var(--r); }
.admin-deal header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-deal header b { font-family: var(--font-d); font-size: 18px; margin-right: 8px; }
.adm-sides { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; }
.adm-vs { align-self: center; color: var(--deal); font-size: 20px; }
.adm-side { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: 13.5px; }
.adm-who { display: flex; align-items: center; gap: 10px; }
.adm-items { display: grid; gap: 2px; color: #d6d7dc; }
.adm-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-addr { padding: 10px 12px; border-radius: 12px; background: var(--surface); line-height: 1.5; }
.admin-deal footer { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-ad { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; padding: 16px; border-radius: var(--r); align-items: center; }
.aa-info { display: grid; gap: 8px; justify-items: start; font-size: 14px; }
.admin-report { padding: 16px 18px; display: grid; gap: 8px; border-radius: var(--r); font-size: 14px; justify-items: start; }
.admin-report.closed { opacity: .55; }
.admin-report a { color: var(--deal); }
@media (max-width: 900px) {
  .adm-sides { grid-template-columns: 1fr; }
  .adm-vs { justify-self: center; transform: rotate(90deg); }
  .admin-ad { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 20px; }
}

/* ---------- Consultation libre, compteur, objets interdits ---------- */
.guest-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding: 14px 18px; border-radius: 18px; font-size: 14px; color: #d6d7dc; }
.deal-guest { text-align: center; font-size: 13.5px; margin-top: 16px; }
.deal-guest a, .hero-free a { color: var(--deal); }
.hero-free { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--deal); box-shadow: 0 0 10px var(--deal); vertical-align: 1px; animation: pulse 2s infinite; }
.proof-chip.live { border-color: rgba(46, 229, 157, .3); background: rgba(46, 229, 157, .06); }
.proof-chip b { color: var(--text); }
[data-live-members] { display: inline-block; font-variant-numeric: tabular-nums; }
[data-live-members].bump { animation: bump .5s var(--spring); color: var(--deal); }
.modal-actions.stack { flex-direction: column; }
.forbidden-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.forbidden-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.forbidden-list li > span { font-size: 20px; }
.forbidden-list li div { display: grid; gap: 2px; font-size: 14px; }
.forbidden-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-icon.nodeal { background: rgba(255, 91, 58, .1); border-color: rgba(255, 91, 58, .25); }
.pill-warn { background: rgba(255, 195, 92, .14); color: var(--warm); border-color: rgba(255, 195, 92, .3); }
.pill-bad { background: rgba(255, 91, 58, .14); color: #ff9c85; border-color: rgba(255, 91, 58, .3); }
.check.certify { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: #d6d7dc; }
.check a { color: var(--deal); }
.admin-h { font: 700 18px var(--font-d); margin: 18px 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-mod { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px; border-radius: var(--r); align-items: start; }
.am-pv { display: grid; width: 110px; height: 110px; border-radius: 14px; overflow: hidden; }
.am-info { display: grid; gap: 8px; justify-items: start; font-size: 14px; }
.term-form { display: grid; grid-template-columns: 1.2fr 1.2fr 150px auto; gap: 10px; padding: 14px; border-radius: var(--r); }
.term-list { display: flex; flex-wrap: wrap; gap: 8px; }
.term { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.term.block { border-color: rgba(255, 91, 58, .35); }
.term.review { border-color: rgba(255, 195, 92, .35); }
.term small { color: var(--muted); }
.term button { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); font-size: 10px; }
.term button:hover { background: rgba(255, 91, 58, .3); }
/* ---------- Notifications (annonce supprimée…) ---------- */
#notice-root { position: fixed; top: calc(var(--nav-h) + 14px); right: 16px; z-index: 110; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.notice-toast { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px 14px 14px 16px; border-radius: 18px; background: rgba(24, 20, 22, .95); border: 1px solid rgba(255, 91, 58, .4); box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); font-size: 14px; line-height: 1.5; opacity: 0; transform: translateX(30px); transition: all .45s var(--ease-out); }
.notice-toast.show { opacity: 1; transform: none; }
.notice-toast > i { font-style: normal; font-size: 20px; }
.notice-toast b { display: block; margin-bottom: 2px; }
.notice-toast p { margin: 0; color: #d6d7dc; }
.notice-toast button { width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 12px; }
.notice-toast button:hover { color: var(--text); background: var(--surface-3); }

/* ---------- Administration : gestion complète ---------- */
.tab-badge { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 99px; background: var(--nodeal); color: #fff; font-size: 11px; font-weight: 700; }
.pill-admin { background: rgba(155, 123, 255, .15); color: #c7b6ff; border-color: rgba(155, 123, 255, .35); }
.btn-admin { background: rgba(155, 123, 255, .12); color: #c7b6ff; border: 1px solid rgba(155, 123, 255, .35); }
.btn-admin:hover { background: rgba(155, 123, 255, .2); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-count { margin-left: auto; align-self: center; }
.admin-filters { flex-wrap: wrap; align-items: center; }
.adm-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border-radius: var(--r); }
.adm-rows { display: grid; gap: 10px; }
.adm-more { justify-self: center; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { position: relative; display: grid; gap: 4px; padding: 18px; border-radius: var(--r); color: inherit; transition: transform .3s var(--ease), border-color .3s; }
a.kpi:hover { transform: translateY(-3px); border-color: var(--line-2); }
.kpi small { color: var(--muted); font-size: 13px; }
.kpi b { font: 700 30px/1.1 var(--font-d); letter-spacing: -.02em; }
.kpi-ic { position: absolute; top: 14px; right: 16px; font-size: 20px; opacity: .8; }
.dash-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.dash-box { padding: 6px 18px 18px; border-radius: var(--r); }
.todo { display: grid; gap: 6px; }
.todo-row { display: grid; grid-template-columns: 26px auto 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; transition: all .25s; }
.todo-row:hover { border-color: rgba(46, 229, 157, .4); background: rgba(46, 229, 157, .05); }
.todo-row b { color: var(--warm); font-size: 16px; }
.todo-row i { font-style: normal; color: var(--deal); }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; align-items: end; height: 150px; }
.bar { display: grid; grid-template-rows: 1fr auto; height: 100%; text-align: center; position: relative; }
.bar i { align-self: end; display: block; border-radius: 6px 6px 3px 3px; background: var(--grad); min-height: 4px; animation: barUp .8s var(--ease-out) both; transform-origin: bottom; }
.bar b { position: absolute; left: 0; right: 0; top: -2px; font-size: 11px; color: var(--text); }
.bar small { font-size: 10.5px; color: var(--dim); margin-top: 4px; }
@keyframes barUp { from { transform: scaleY(0); } }

.adm-user { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 18px; }
.adm-user.is-banned { border-color: rgba(255, 91, 58, .3); }
.au-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.au-who > div { display: grid; min-width: 0; }
.au-who small, .au-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.au-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.au-meta { display: grid; gap: 2px; }
.modal-admin { width: min(560px, 100%); }
.au-head { grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.au-head h3 { overflow-wrap: anywhere; }
.au-head p { overflow-wrap: anywhere; }
.au-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.au-grid > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.au-grid small { color: var(--muted); font-size: 12px; }
.au-grid b { font-size: 14px; overflow-wrap: anywhere; }
.au-links { display: flex; flex-wrap: wrap; gap: 8px; }
.au-actions { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }

.adm-listing { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 18px; }
.al-pv { display: grid; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; }
.al-info { display: grid; gap: 4px; min-width: 0; }
.al-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.al-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.admin-list .link, .admin-box .link { color: var(--deal); font: inherit; }
.admin-list button.link:hover { text-decoration: underline; }
.ar-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.adm-log { padding: 6px 16px; border-radius: var(--r); }
.lg-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.lg-row:last-child { border-bottom: 0; }
.lg-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); }
.lg-main { min-width: 0; overflow-wrap: anywhere; }
.lg-main small { display: block; margin-top: 2px; }
.lg-meta { text-align: right; line-height: 1.4; }

.ban-durations { display: flex; flex-wrap: wrap; gap: 8px; }
.ban-d { cursor: pointer; }
.ban-d input { position: absolute; opacity: 0; pointer-events: none; }
.ban-d span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-2); font-size: 14px; transition: all .2s; }
.ban-d:hover span { background: var(--surface-2); }
.ban-d input:checked + span { background: rgba(255, 91, 58, .15); border-color: rgba(255, 91, 58, .55); color: #ffb3a3; }
.ban-d input:focus-visible + span { outline: 2px solid var(--nodeal); outline-offset: 2px; }

.review header { position: relative; }
.review-del { margin-left: 6px; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); font-size: 13px; transition: background .2s; }
.review-del:hover { background: rgba(255, 91, 58, .3); }
.admin-box { display: grid; gap: 8px; padding: 14px 16px; border-radius: 18px; border-color: rgba(155, 123, 255, .35); background: rgba(155, 123, 255, .06); }
.slim-center { padding: 8px 12px; text-align: center; font-weight: 600; }

@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-user { grid-template-columns: minmax(0, 1fr) auto; }
  .adm-user .au-flags, .adm-user .au-meta { grid-column: 1 / -1; }
  .adm-user .au-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .adm-user > .btn { grid-row: 1; grid-column: 2; }
}
@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
  .au-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-listing { grid-template-columns: 60px minmax(0, 1fr); }
  .al-pv { width: 60px; height: 60px; }
  .al-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .lg-row { grid-template-columns: 30px minmax(0, 1fr); }
  .lg-meta { grid-column: 2; text-align: left; }
  .kpi b { font-size: 24px; }
}
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; gap: 8px; } .kpi { padding: 14px; } .adm-search { grid-template-columns: 1fr; } }

@media (max-width: 1100px) { .forbidden-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .term-form { grid-template-columns: 1fr; } .admin-mod { grid-template-columns: 80px 1fr; } .am-pv { width: 80px; height: 80px; } }
@media (max-width: 560px) { .forbidden-grid { grid-template-columns: 1fr; } }

/* ---------- Bandeau du mode test ---------- */
.demo-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: min(620px, calc(100% - 32px));
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; border-radius: 16px;
  background: rgba(40, 30, 8, .92); border: 1px solid rgba(255, 195, 92, .45); color: #ffe2a8; font-size: 12.5px;
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.demo-banner b { color: var(--warm); letter-spacing: .04em; }
.demo-banner span { flex: 1; min-width: 200px; }
.demo-banner code { background: rgba(255, 255, 255, .1); color: #fff; }
.demo-banner button, .demo-banner a { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-weight: 600; font-size: 12px; }
.demo-banner button:hover, .demo-banner a:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 900px) { .demo-banner { bottom: calc(88px + env(safe-area-inset-bottom)); left: 12px; right: 12px; max-width: none; } .demo-banner span { display: none; } }

/* ---------- Modales & toasts ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s; }
.modal { position: relative; width: min(500px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border-radius: var(--r-xl); background: rgba(18, 19, 24, .92); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); backdrop-filter: blur(30px); opacity: 0; transform: translateY(30px) scale(.96); transition: all .45s var(--ease-out); display: grid; gap: 20px; }
.modal-wrap.open .modal-backdrop { opacity: 1; }
.modal-wrap.open .modal { opacity: 1; transform: none; }
.modal-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 13px; transition: all .25s; }
.modal-x:hover { color: var(--text); background: var(--surface-3); transform: rotate(90deg); }
.modal-head { display: grid; gap: 8px; }
.modal-head h3 { font-family: var(--font-d); font-size: 24px; letter-spacing: -.02em; }
.modal-icon { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; margin-bottom: 4px; }
.modal-icon.deal { background: rgba(46, 229, 157, .12); color: var(--deal); }
.modal-icon.nodeal { background: rgba(255, 91, 58, .12); color: var(--nodeal); }
.modal form { display: grid; gap: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.radio-list { display: grid; gap: 6px; }
.radio { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; font-size: 14.5px; transition: all .2s; }
.radio:hover { background: var(--surface); }
.radio input { accent-color: var(--deal); width: 17px; height: 17px; }
.radio:has(input:checked) { border-color: rgba(46, 229, 157, .45); background: rgba(46, 229, 157, .06); }
#toast-root { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: min(460px, calc(100% - 32px)); }
.toast { display: flex; align-items: center; gap: 12px; padding: 13px 18px 13px 13px; border-radius: 18px; background: rgba(22, 23, 28, .92); border: 1px solid var(--line-2); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); font-size: 14.5px; opacity: 0; transform: translateY(20px) scale(.95); transition: all .45s var(--spring); }
.toast.show { opacity: 1; transform: none; }
.toast i { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; background: var(--surface-3); }
.toast.deal i { background: var(--deal); color: #000; }
.toast.nodeal i { background: var(--nodeal); color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .results .grid-cards, .grid-cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .feature-grid, .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard { grid-template-columns: 1fr; }
  .wiz-preview { display: none; }
  .wiz-main { margin: 0 auto; }
  .profile-grid { grid-template-columns: 300px 1fr; }
  .p-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .container, .container-wide { width: calc(100% - 32px); }
  .nav { padding: 8px 0; }
  .nav-inner { height: 52px; padding: 0 8px 0 14px; }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn { display: none; }

  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; position: fixed; left: 12px; right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom)); height: 66px; z-index: 60; border-radius: 24px;
    background: rgba(14, 15, 19, .8); border: 1px solid var(--line-2); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
  }
  .tabbar a { position: relative; display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--dim); transition: color .25s; }
  .tabbar a svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.active { color: var(--text); }
  .tabbar .nav-dot.on { position: absolute; top: -4px; right: calc(50% - 20px); margin: 0; }
  .tab-deal-orb { width: 52px; height: 52px; margin-top: -26px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, #3ff0a8, #00c46a); box-shadow: 0 10px 30px -6px var(--deal-glow), 0 0 0 5px var(--bg); transition: transform .4s var(--spring); }
  .tab-deal-orb svg { stroke: #03130b !important; stroke-width: 2.4 !important; }
  .tabbar a.tab-deal.active .tab-deal-orb { transform: rotate(180deg); }
  /* Bosse liquide sous l’onglet actif */
  .tab-bump { position: absolute; left: 0; top: -19px; width: 92px; height: 20px; z-index: 0; pointer-events: none; transform-origin: 50% 100%; transition: opacity .35s; }
  .tab-bump.off { opacity: 0; }
  .tab-bump svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .tb-fill { fill: rgb(14, 15, 19); }
  .tb-line { fill: none; stroke: url(#tb-grad); stroke-width: 1.5; }
  .tabbar a { z-index: 1; }
  .tabbar a:not(.tab-deal) svg { transition: transform .55s var(--spring), filter .4s; }
  .tabbar a.active:not(.tab-deal) { color: var(--deal); }
  .tabbar a.active:not(.tab-deal) svg { transform: translateY(-15px) scale(1.12); filter: drop-shadow(0 4px 10px var(--deal-glow)); }
  .tabbar a.active:not(.tab-deal) span { color: var(--text); }
  .tabbar .nav-dot.on { transition: top .55s var(--spring); }
  .tabbar a.active .nav-dot.on { top: -20px; }
  #toast-root { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: 30px; }

  .hero { padding-top: calc(var(--nav-h) + 40px); min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { height: 460px; margin: 0 -8px; }
  .swap-card { width: 200px; }
  .sc-a { left: 0; }
  .sc-b { right: 0; }
  .float-balance { width: 170px; bottom: 0; }
  .chip-compat { top: 4%; right: 0; }
  .scroll-hint { display: none; }

  .manifesto { padding: 110px 0 100px; }
  .how-layout { grid-template-columns: 1fr; gap: 20px; align-content: center; }
  .how-stage { height: 44vh; order: -1; }
  .how-left { padding-left: 20px; }
  .how-left .h2 { font-size: 28px; margin-bottom: 14px; }
  .how-left .eyebrow { display: none; }
  .how-steps li { display: none; padding: 0; }
  .how-steps li.active { display: flex; animation: pageIn .5s var(--ease-out); }
  .mock-phone { transform: scale(.78); }
  .mock-stack { transform: scale(.8); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-cards, .results .grid-cards, .grid-cards.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.b-wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .bento-vis { width: 100%; }
  .safe-teaser { grid-template-columns: 1fr; padding: 32px 24px; gap: 10px; }
  .st-shield { height: 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }

  /* Explorer */
  .page-head { padding-top: calc(var(--nav-h) + 40px); }
  .explorer { grid-template-columns: 1fr; }
  .filters {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 90; max-height: 86vh; border-radius: 28px 28px 0 0;
    background: rgba(16, 17, 21, .97); transform: translateY(105%); transition: transform .5s var(--ease-out); padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .filters.open { transform: none; }
  .filters-close { display: grid !important; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--surface-2); }
  .filters-apply { display: flex !important; }
  .filters-toggle { display: inline-flex; }
  .filters-scrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .4s; }
  .filters-scrim.open { opacity: 1; pointer-events: auto; }
  .results-bar { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .sort { flex: 1; width: auto; }
  .sort .input, .filters-toggle { height: 46px; }

  /* Détail */
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: relative; top: 0; }
  .g-nav { opacity: 1; width: 40px; height: 40px; }
  .g-thumb { width: 62px; height: 62px; }

  /* Deal */
  .is-deal .footer { display: none; }
  .deal-page { padding-top: calc(var(--nav-h) + 16px); }
  .deal-head { align-items: flex-start; }
  .deal-title { font-size: 30px; }
  .deal-sub { font-size: 14px; margin-top: 4px; }
  .deal-head-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; }
  .deal-head-side .ref-pick { padding: 5px 12px 5px 5px; }
  .ref-pv { width: 38px; height: 38px; border-radius: 11px; }
  .ref-select { font-size: 13.5px; max-width: 160px; }
  .deal-stats { flex-direction: column; gap: 4px; align-items: flex-end; }
  .deal-page { min-height: calc(100svh - 86px - env(safe-area-inset-bottom)); }
  .deal-arena { padding: 18px 0 10px; justify-content: flex-start; }
  .deal-stack { height: calc(100svh - var(--nav-h) - 385px); min-height: 330px; }
  .deal-actions { margin-top: 20px; gap: 14px; }
  .dbtn { width: 68px; height: 68px; }
  .dbtn-deal { width: 76px; height: 76px; }
  .dbtn-small { width: 46px; height: 46px; }
  .deal-keys { display: none; }
  .scard-row h2 { font-size: 21px; }
  .scard-val { font-size: 22px; }
  .scard-body { padding: 14px 16px 16px; gap: 9px; }

  /* Offre */
  .offer-grid { grid-template-columns: 1fr; }
  .offer-mid { height: 40px; }
  .offer-orb { width: 52px; height: 52px; animation: none; transform: rotate(90deg); }
  .offer-summary { padding: 20px; gap: 16px; }
  .os-lines { gap: 14px; }
  .os-actions .btn { width: 100%; }

  /* Messages */
  .msgs { grid-template-columns: 1fr; height: calc(100svh - 86px - env(safe-area-inset-bottom)); padding-top: calc(var(--nav-h) + 16px); padding-bottom: 8px; }
  .msgs .chat { display: none; }
  .msgs.has-chat .conv-list { display: none; }
  .msgs.has-chat .chat { display: flex; }
  .chat-back { display: block; }
  .msg-row { max-width: 85%; }
  .msg-row.wide { max-width: 100%; }
  .chat-head { padding: 10px 12px; }
  .chat-body { padding: 12px; }
  .chat-item { margin: 10px 12px 6px; }
  .chat-quick { padding: 6px 12px 0; }
  .chat-input { padding: 10px 12px 12px; }

  /* Profil */
  .profile-cover { height: 200px; }
  .profile-grid { grid-template-columns: 1fr; margin-top: -60px; }
  .profile-card { position: relative; top: 0; }
  .profile-main { padding-top: 0; }

  /* Wizard */
  .wizard { padding-top: calc(var(--nav-h) + 16px); }
  .wiz-steps { margin-left: 58px; margin-bottom: 26px; }
  .cat-pick { grid-template-columns: repeat(3, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .wiz-nav { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, transparent, var(--bg) 30%); padding-bottom: 8px; margin-top: 20px; }

  /* Publicité */
  .vts-layout { grid-template-columns: 1fr; }
  .vts-side { position: relative; top: 0; }
  .vts-form { padding: 20px; }
  .vt-slide { grid-template-columns: 64px 1fr; gap: 12px; }
  .vt-media { width: 64px; height: 64px; border-radius: 16px; }
  .vt-cta { grid-column: 1 / -1; text-align: center; }
  .vt-body h3 { font-size: 17px; }
  .price-box .btn { width: 100%; }
  .deal-track { margin: 10px 12px 4px; padding: 12px; }
  .dt-step span { font-size: 10px; }
  .dt-row .btn { width: 100%; }
  .depot-layout { grid-template-columns: 1fr; }
  .depot-side { position: relative; top: 0; }
  .fee-line { flex-direction: column; align-items: flex-start; }
  .chat-locked { flex-wrap: wrap; margin: 8px 12px 12px; }
  .chat-locked .btn { width: 100%; }

  /* Trade Safe */
  .trust-level { grid-template-columns: 1fr; padding: 26px; }
  .protect-layout { grid-template-columns: 1fr; }
  .feature-grid.two { grid-template-columns: 1fr; }
  .modal { padding: 24px; }
}

@media (max-width: 560px) {
  .hero-title { font-size: 44px; }
  .hero-ctas .btn { flex: 1; }
  .hero-visual { height: 400px; }
  .swap-card { width: 168px; }
  .swap-info { padding: 10px 12px; }
  .swap-info span { font-size: 12.5px; }
  .swap-info b { font-size: 17px; }
  .swap-orb { width: 50px; height: 50px; z-index: 1; }
  .float-balance { width: 150px; padding: 10px 12px; }
  .float-chip { font-size: 12px; padding: 8px 12px; }
  .stat { padding: 24px 18px; }
  .grid-cards, .results .grid-cards, .grid-cards.cols-3 { gap: 10px; }
  .lcard-body { padding: 12px; gap: 8px; }
  .lcard-top { flex-direction: column; gap: 4px; }
  .lcard-top h3 { font-size: 14px; }
  .lcard-val { font-size: 17px; }
  .lcard-meta .muted { display: none; }
  .lcard-owner { padding-top: 8px; font-size: 12px; }
  .lcard-rating { display: none; }
  .lcard-badges .badge { font-size: 11px; height: 24px; padding: 0 8px; }
  .lcard-cat { display: none; }
  .feature-grid, .tips-grid { grid-template-columns: 1fr; }
  .tl-steps { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .p-stats b { font-size: 26px; }
  .reviews-summary { flex-direction: column; gap: 16px; align-items: stretch; }
  .detail-actions { grid-template-columns: 1fr 1fr; }
  .detail-actions .btn { padding: 0 14px; }
  .compare-row { grid-template-columns: 1fr; }
  .cmp-vs { text-align: center; transform: rotate(90deg); }
  .oc-cols { grid-template-columns: 1fr; }
  .match-cards { height: 230px; }
  .mc { width: 150px; }
  .mc .pv { height: 120px; }
  .mc .pv-e { font-size: 56px; }
  .match-title { font-size: 54px; }
  .cond-opt { grid-template-columns: 1fr auto; }
  .cond-dots { grid-row: auto; }
  .cond-check { grid-column: 2; grid-row: 1 / span 3; }
  .mv-row { grid-template-columns: 90px 1fr 40px; }
  .spec-grid b { font-size: 14px; }
}

@media (hover: none) {
  .lcard:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}
