/* ============================================================
   VAULTY MARKETPLACE — Page boutique conversion-optimisée
   Hérite de style.css (variables, fonts, header, footer, boot)
   ============================================================ */

/* ============================================================
   1. HERO MARKETPLACE
   ============================================================ */
.mkt-hero {
  position: relative;
  padding: 150px 0 50px;
  overflow: hidden;
}
.mkt-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 70% 0%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, black 0%, transparent 70%);
}
.mkt-hero-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), rgba(255, 0, 255, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.mkt-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) { .mkt-hero-inner { grid-template-columns: 1fr; gap: 32px; } }

.mkt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(0, 212, 255, 0.05);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}
.mkt-hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.mkt-hero-title {
  font-family: var(--f-orbitron);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mkt-hero-title .accent {
  font-family: var(--f-orbitron);
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.mkt-hero-sub {
  font-family: var(--f-inter);
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 28px;
}

/* Barre de recherche hero */
.mkt-search {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mkt-search:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12);
}
.mkt-search-icon { color: var(--text-muted); font-size: 18px; flex-shrink: 0; }
.mkt-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--f-inter);
  font-size: 15px;
  padding: 12px 14px;
  min-width: 0;
}
.mkt-search input::placeholder { color: var(--text-muted); }
.mkt-search button {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: #0a0a0f;
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  font-family: var(--f-orbitron);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.mkt-search button:hover { box-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }

/* Stats hero (preuve sociale) */
.mkt-hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.mkt-hero-stat { display: flex; flex-direction: column; gap: 2px; }
.mkt-hero-stat .num {
  font-family: var(--f-orbitron);
  font-weight: 900;
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1;
}
.mkt-hero-stat .num span { color: var(--cyan); }
.mkt-hero-stat .lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Carte vedette hero — FLOTTANTE 3D + cadre or */
.mkt-hero-feature { perspective: 1100px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.mkt-hero-feature-inner {
  position: relative;
  width: 300px;
  aspect-ratio: 4 / 5.6;
  transform-style: preserve-3d;
  animation: mkt-feat-float 10s ease-in-out infinite;
}
.mkt-hero-feature:hover .mkt-hero-feature-inner { animation-play-state: paused; }
@keyframes mkt-feat-float {
  0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
  50%      { transform: rotateY(15deg) rotateX(5deg) translateY(-12px); }
}
.mkt-hero-feature-face {
  position: relative; width: 100%; height: 100%;
  border-radius: 22px; overflow: hidden;
  border: 1.5px solid rgba(212,175,55,.5);
  background: linear-gradient(168deg, #16161f, #0b0b12);
  display: flex; flex-direction: column;
  box-shadow: 0 50px 70px -30px rgba(0,0,0,.85), 0 0 50px rgba(212,175,55,.15);
}
.mkt-hero-feature-glow {
  position: absolute; inset: -2px; border-radius: 24px; padding: 1.5px;
  background: linear-gradient(135deg, var(--gold), transparent 40%, transparent 60%, var(--gold-bright));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 5;
}
.mkt-hero-feature-img {
  flex: 1; display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, rgba(212,175,55,.14), transparent 70%), linear-gradient(180deg, #1a1a2e, #0c0c16);
}
.mkt-hero-feature-img img { max-width: 84%; max-height: 88%; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(0,0,0,.7)); transform: translateZ(45px); }
.mkt-hero-feature-tag {
  position: absolute; top: 14px; left: 14px; z-index: 4; transform: translateZ(35px);
  font-family: var(--f-orbitron); font-weight: 800; font-size: 11px; letter-spacing: 1px;
  color: #0a0a0f; background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: 5px 12px; border-radius: 6px; text-transform: uppercase;
}
.mkt-hero-feature-grade {
  position: absolute; top: 14px; right: 14px; z-index: 4; transform: translateZ(35px);
  font-family: var(--f-orbitron); font-weight: 900; font-size: 12px; letter-spacing: 1px;
  padding: 7px 13px; border-radius: 9px; background: linear-gradient(135deg, #d4d4d8, #71717a); color: #000;
}
.mkt-hero-feature-body { padding: 16px 18px 18px; transform: translateZ(25px); }
.mkt-hero-feature-cat { font-family: var(--f-mono); font-size: 11px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.mkt-hero-feature-name { font-family: var(--f-orbitron); font-weight: 700; font-size: 18px; color: var(--text-primary); margin: 4px 0 3px; }
.mkt-hero-feature-set { font-family: var(--f-inter); font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.mkt-hero-feature-price { font-family: var(--f-orbitron); font-weight: 900; font-size: 26px; color: var(--gold); }
.mkt-hero-feature-price small { font-size: 12px; color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce){ .mkt-hero-feature-inner { animation: none; transform: rotateY(0); } }


/* ============================================================
   2. CATÉGORIES (tuiles visuelles)
   ============================================================ */
.mkt-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin: 8px 0 0;
}
@media (max-width: 1100px) { .mkt-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .mkt-cats { grid-template-columns: repeat(2, 1fr); } }

.mkt-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
  text-decoration: none;
}
.mkt-cat:hover, .mkt-cat.is-active {
  border-color: var(--cyan);
  transform: translateY(-3px);
  background: rgba(0, 212, 255, 0.05);
}
.mkt-cat-emoji { font-size: 30px; filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3)); }
.mkt-cat-name { font-family: var(--f-orbitron); font-weight: 700; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-primary); }
.mkt-cat-count { font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); }
.mkt-cat.is-active .mkt-cat-name { color: var(--cyan); }


/* ============================================================
   3. TOOLBAR (résultats + tri + filtres rapides)
   ============================================================ */
.mkt-toolbar {
  position: sticky;
  top: 70px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  margin: 32px 0 24px;
  background: rgba(4, 6, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.mkt-toolbar-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mkt-count {
  font-family: var(--f-orbitron);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}
.mkt-count span { color: var(--cyan); }

/* Chips de filtre rapide */
.mkt-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mkt-chip {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.mkt-chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.mkt-chip.is-active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  border-color: transparent;
  color: #0a0a0f;
  font-weight: 600;
}

/* Tri */
.mkt-sort { display: flex; align-items: center; gap: 10px; }
.mkt-sort label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.mkt-sort select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--f-inter);
  font-size: 13px;
  padding: 10px 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}
.mkt-sort select:focus { border-color: var(--cyan); }


/* ============================================================
   4. GRILLE PRODUITS
   ============================================================ */
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1200px) { .mkt-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .mkt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .mkt-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CARTE PRODUIT — "Vitrine arc-en-ciel" (contour anime, or, serif)
   ============================================================ */
@property --mkt-angle { syntax:'<angle>'; initial-value:0deg; inherits:false; }

.mkt-card {
  position: relative;
  border-radius: 12px;
  padding: 2px;                       /* epaisseur de la bordure arc-en-ciel */
  background: conic-gradient(from var(--mkt-angle),
    #ff0080, #ff8c00, #ffd700, #00ff88, #00d4ff, #b366ff, #ff0080);
  filter: saturate(0.85);
  opacity: 0;
  transform: translateY(20px);
  animation: mkt-rainbow 6s linear infinite, mkt-card-in 0.55s cubic-bezier(0.16,1,0.3,1) forwards;
  transition: transform 0.4s cubic-bezier(0.2,1,0.3,1), padding 0.3s ease, filter 0.4s ease;
}
@keyframes mkt-rainbow { to { --mkt-angle: 360deg; } }
@keyframes mkt-card-in { to { opacity: 1; transform: translateY(0); } }
.mkt-card:hover {
  transform: translateY(-8px);
  padding: 3px;                       /* bordure plus epaisse au survol */
  filter: saturate(1.3) brightness(1.1);
  animation-duration: 2.5s, 0.55s;    /* arc-en-ciel plus rapide au survol */
}
.mkt-card.is-hidden { display: none; }

/* Coque interne sombre */
.mkt-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0c12 0%, #08080d 100%);
}
/* projecteur de vitrine (haut) */
.mkt-card-inner::before {
  content: '';
  position: absolute;
  top: -28%; left: 50%;
  transform: translateX(-50%);
  width: 80%; height: 55%;
  background: radial-gradient(ellipse, rgba(255,245,220,0.12), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* numero de lot (haut gauche) */
.mkt-lot {
  position: absolute;
  top: 14px; left: 16px;
  z-index: 4;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(212,175,55,0.85);
}

/* ---- SCENE (carte en vitrine) ---- */
.mkt-card-media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 34px 12px 0;
  min-height: 240px;
}
.mkt-card-media > img {
  max-width: 74%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0,0,0,0.75));
  transition: transform 0.6s cubic-bezier(0.2,1,0.3,1);
  position: relative;
  z-index: 2;
}
.mkt-card:hover .mkt-card-media > img { transform: translateY(-8px) scale(1.05); }

/* reflet miroir */
.mkt-card-reflection {
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%) scaleY(-1);
  width: 74%;
  opacity: 0.13;
  -webkit-mask-image: linear-gradient(transparent 42%, black);
  mask-image: linear-gradient(transparent 42%, black);
  pointer-events: none;
  z-index: 1;
}
.mkt-card-reflection img { width: 100%; display: block; }

/* ---- BADGES ---- */
.mkt-grade-slab {
  position: absolute;
  top: 12px; right: 14px;
  z-index: 4;
  font-family: var(--f-orbitron);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 11px;
  border-radius: 5px;
  background: rgba(10,10,15,0.4);
  backdrop-filter: blur(4px);
}
.mkt-grade-slab.psa10  { color: #ffd700; border: 1px solid rgba(255,215,0,0.5); }
.mkt-grade-slab.bgs9,
.mkt-grade-slab.argent { color: #e8e8ec; border: 1px solid rgba(212,212,216,0.5); }
.mkt-grade-slab.psa8   { color: #e0915b; border: 1px solid rgba(205,127,50,0.55); }
.mkt-grade-slab.raw    { color: var(--magenta); border: 1px solid rgba(255,0,255,0.5); }

/* flag promo / nouveaute / unique (sous le numero de lot) */
.mkt-flag {
  position: absolute;
  top: 36px; left: 14px;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 7px;
  font-family: var(--f-orbitron);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.mkt-flag.sale     { background: linear-gradient(135deg, var(--red), #ff8a3c); color: #fff; box-shadow: 0 4px 12px rgba(239,68,68,0.4); }
.mkt-flag.new      { background: linear-gradient(135deg, var(--green), var(--cyan)); color: #000; }
.mkt-flag.unique   { background: linear-gradient(135deg, #ff6a00, var(--gold)); color: #000; }
.mkt-flag.premium  { background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: #0a0a0f; box-shadow: 0 4px 14px rgba(255,215,0,0.4); }

/* puce de certification (apparait au survol) */
.mkt-cert-chip {
  position: absolute;
  bottom: 10px; right: 12px;
  z-index: 4;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(212,175,55,0.85);
  background: rgba(10,10,15,0.5);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mkt-card:hover .mkt-cert-chip { opacity: 1; transform: translateY(0); }

/* ---- CORPS (centre, serif luxe) ---- */
.mkt-card-body {
  padding: 18px 20px 20px;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.13);
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, rgba(20,20,31,0) 0%, rgba(10,10,16,0.5) 100%);
}
.mkt-card-cat {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(212,175,55,0.7);
}
.mkt-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: 0.4px;
  color: #f5f0e6;
  margin: 4px 0 2px;
}
.mkt-card-set {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  min-height: 16px;
}
.mkt-card-priceline { margin-bottom: 16px; }
.mkt-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1px;
  color: #d4af37;
}
.mkt-card-price small {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(212,175,55,0.7);
  font-weight: 500;
  margin-left: 4px;
}

/* ---- ACTIONS ---- */
.mkt-card-actions { display: flex; gap: 8px; }
.mkt-view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(212,175,55,0.07);
  border: 1px solid rgba(212,175,55,0.4);
  color: #d4af37;
  font-family: var(--f-orbitron);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}
.mkt-view:hover {
  background: linear-gradient(135deg, #d4af37, #ffd700);
  border-color: transparent;
  color: #0a0a0f;
  box-shadow: 0 8px 20px -6px rgba(212,175,55,0.5);
}
.mkt-cart-icon {
  flex-shrink: 0;
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 16px;
  text-decoration: none;
  transition: 0.25s;
}
.mkt-cart-icon:hover {
  background: rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.5);
  color: #d4af37;
}

/* ---- ETAT VENDU ---- */
.mkt-card.is-sold { filter: saturate(0.4) brightness(0.85); }
.mkt-card.is-sold:hover { transform: translateY(-4px); filter: saturate(0.5) brightness(0.9); }
.mkt-card.is-sold .mkt-card-media > img { filter: grayscale(0.7) brightness(0.5); }
.mkt-card.is-sold:hover .mkt-card-media > img { transform: none; }
.mkt-card.is-sold .mkt-cert-chip { display: none; }
.mkt-card.is-sold .mkt-card-price { color: var(--text-muted); }
.mkt-view.is-sold-view {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.35);
  color: var(--red);
  cursor: default;
  flex: 1;
}
.mkt-view.is-sold-view:hover { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.5); color: var(--red); box-shadow: none; }

.mkt-sold-ribbon {
  position: absolute;
  top: 20px; left: -48px;
  width: 200px;
  z-index: 7;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  text-align: center;
  font-family: var(--f-orbitron);
  font-size: 12px; font-weight: 900; letter-spacing: 3px;
  padding: 8px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
  text-transform: uppercase;
}
.mkt-sold-stamp {
  position: absolute; inset: 0; z-index: 6;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.mkt-sold-stamp span {
  transform: rotate(-11deg);
  border: 3px solid var(--red);
  color: var(--red);
  font-family: var(--f-orbitron);
  font-weight: 900; font-size: 24px; letter-spacing: 4px;
  padding: 8px 24px; border-radius: 10px;
  background: rgba(10,10,15,0.55);
  text-shadow: 0 0 14px rgba(239,68,68,0.7);
  box-shadow: 0 0 26px rgba(239,68,68,0.35), inset 0 0 12px rgba(239,68,68,0.15);
}

@media (max-width: 480px) {
  .mkt-card-name { font-size: 21px; }
  .mkt-card-price { font-size: 26px; }
  .mkt-card-media { min-height: 210px; }
}

/* ============================================================
   5. ÉTAT VIDE (no results)
   ============================================================ */
.mkt-empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.mkt-empty.is-shown { display: block; }
.mkt-empty-icon { font-size: 56px; opacity: 0.4; margin-bottom: 16px; }
.mkt-empty h3 { font-family: var(--f-orbitron); font-size: 22px; color: var(--text-primary); margin-bottom: 8px; }
.mkt-empty p { font-family: var(--f-inter); font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; }


/* ============================================================
   6. BARRE GARANTIES (trust)
   ============================================================ */
.mkt-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 64px 0;
  padding: 36px;
  background: linear-gradient(135deg, rgba(0,212,255,0.04), rgba(255,0,255,0.04));
  border: 1px solid var(--border-color);
  border-radius: 20px;
}
@media (max-width: 820px) { .mkt-trust { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .mkt-trust { grid-template-columns: 1fr; } }
.mkt-trust-item { display: flex; align-items: center; gap: 14px; }
.mkt-trust-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  font-size: 22px;
}
.mkt-trust-txt strong { display: block; font-family: var(--f-orbitron); font-weight: 700; font-size: 13px; color: var(--text-primary); letter-spacing: 0.5px; }
.mkt-trust-txt span { font-family: var(--f-inter); font-size: 12px; color: var(--text-secondary); }


/* ============================================================
   7. NEWSLETTER / ALERTES
   ============================================================ */
.mkt-alert {
  position: relative;
  margin: 64px 0;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(255,0,255,0.08));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
}
.mkt-alert-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(80px); opacity: 0.35; pointer-events: none; }
.mkt-alert-glow.g1 { top: -140px; left: -120px; background: var(--cyan); }
.mkt-alert-glow.g2 { bottom: -140px; right: -120px; background: var(--magenta); }
.mkt-alert-content { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.mkt-alert h2 { font-family: var(--f-orbitron); font-weight: 800; font-size: clamp(22px, 3vw, 32px); color: var(--text-primary); margin-bottom: 12px; }
.mkt-alert h2 .accent { background: linear-gradient(135deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mkt-alert p { font-family: var(--f-inter); font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; }
.mkt-alert-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.mkt-alert-form input {
  flex: 1; min-width: 200px;
  padding: 15px 20px;
  background: rgba(10,10,15,0.7);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  color: var(--text-primary);
  font-family: var(--f-inter); font-size: 15px;
  outline: none;
}
.mkt-alert-form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,212,255,0.15); }
.mkt-alert-form button {
  padding: 15px 28px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #fff; border: none; border-radius: 100px;
  font-family: var(--f-orbitron); font-weight: 800; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mkt-alert-form button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,0,255,0.4); }
.mkt-alert-trust { font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); margin-top: 14px; }


/* ============================================================
   8. FAQ MARKETPLACE
   ============================================================ */
.mkt-faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.mkt-faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; transition: border-color 0.3s ease; }
.mkt-faq-item[open] { border-color: var(--cyan); }
.mkt-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--f-orbitron); font-weight: 600; font-size: 14px; color: var(--text-primary); cursor: pointer; list-style: none; }
.mkt-faq-q::-webkit-details-marker { display: none; }
.mkt-faq-q .tog { flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--cyan); border-radius: 50%; color: var(--cyan); transition: transform 0.3s ease, background 0.3s ease; }
.mkt-faq-item[open] .tog { transform: rotate(45deg); background: var(--cyan); color: #0a0a0f; }
.mkt-faq-a { padding: 0 22px 20px; font-family: var(--f-inter); font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.mkt-faq-a strong { color: var(--cyan); }


/* ============================================================
   9. LOAD MORE
   ============================================================ */
.mkt-loadmore { text-align: center; margin: 40px 0 0; }

/* Mobile : toolbar non-sticky pour éviter conflits */
@media (max-width: 640px) {
  .mkt-toolbar { position: static; flex-direction: column; align-items: stretch; }
  .mkt-toolbar-left { justify-content: space-between; }
  .mkt-sort { justify-content: space-between; }
  .mkt-sort select { flex: 1; }
  .mkt-hero { padding: 120px 0 40px; }
  .mkt-quick { opacity: 1; pointer-events: auto; background: transparent; } /* toujours visible mobile */
  .mkt-quick-btn { width: 40px; height: 40px; }
}
