/* GLOBAL – VISIBOO */

html, body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
}

/* Couleurs de marque */
:root {
  --vb-orange: #F97316;
  --vb-orange-dark: #EA580C;
  --vb-navy: #0F172A;
}

.text-vb-navy {
  color: var(--vb-navy);
}

.text-vb-orange {
  color: var(--vb-orange);
}

.text-vb-orange-dark {
  color: var(--vb-orange-dark);
}

.bg-vb-orange {
  background-color: var(--vb-orange);
}

/* Ombre douce */
.shadow-soft {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* Liens de navigation */
.nav-link {
  position: relative;
  color: #64748b;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background: var(--vb-orange);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: var(--vb-navy);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link-active {
  position: relative;
  color: var(--vb-navy);
  font-weight: 600;
}

.nav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--vb-orange);
  border-radius: 999px;
}

/* Menu mobile */
.nav-link-mobile {
  padding: 0.4rem 0;
  color: #64748b;
}

.nav-link-mobile-active {
  padding: 0.4rem 0;
  color: var(--vb-navy);
  font-weight: 600;
}

/* Bouton principal */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  background-color: var(--vb-orange);
  color: #fff;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
  transition: background-color 0.18s ease, box-shadow 0.18s ease,
    transform 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--vb-orange-dark);
  box-shadow: 0 14px 40px rgba(234, 88, 12, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

/* Titres & sous-titres */
.section-title {
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--vb-navy);
}

.section-subtitle {
  font-size: 0.92rem;
  color: #6b7280;
}

/* Cartes génériques */
.card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
}

.card-text {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

.card-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--vb-orange);
}

.card-link:hover {
  color: var(--vb-orange-dark);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.badge-orange {
  background-color: rgba(249, 115, 22, 0.12);
  color: var(--vb-orange);
}

.badge-slate {
  background-color: #e5e7eb;
  color: #0f172a;
}

.badge-outline {
  border: 1px solid #e5e7eb;
  color: #6b7280;
  background-color: #fff;
}

.badge-emerald {
  background-color: #d1fae5;
  color: #047857;
}

/* Meta */
.meta {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Petites cartes stats */
.dash-pill {
  border-radius: 0.9rem;
  background-color: #f9fafb;
  padding: 0.55rem 0.6rem;
}

/* Annonces */
.annonce-card {
  border-radius: 1rem;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.annonce-image {
  background-size: cover;
  background-position: center;
  height: 150px;
}

.annonce-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vb-orange);
}

.annonce-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.annonce-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Produits vendus */
.sold-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
}

.sold-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.sold-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

/* Liste d’articles type Clubic */
.article-row {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 0.85rem 0;
  border-radius: 0.9rem;
  transition: background-color 0.16s ease, transform 0.12s ease,
    box-shadow 0.16s ease;
}

.article-row:hover {
  background-color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.article-thumb {
  flex-shrink: 0;
  width: 180px;
  height: 110px;
  border-radius: 0.9rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.article-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(15, 23, 42, 0.05), transparent);
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.article-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.article-meta {
  font-size: 0.8rem;
  color: #6b7280;
}

.article-author {
  font-weight: 600;
  color: #111827;
}

/* Select filtre */
.article-filter-select {
  appearance: none;
  padding: 0.4rem 2.2rem 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111827;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%236b7280' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 16px 16px;
}

/* Responsive ajustements */
@media (max-width: 640px) {
  .article-row {
    flex-direction: column;
  }

  .article-thumb {
    width: 100%;
    height: 180px;
  }
}

/* Accessibilité */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.selection-item {
  display: block;
  position: relative;
  padding: 0.45rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background-color: transparent;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
  cursor: pointer;
}

.selection-item:hover {
  background-color: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.selection-item-active {
  border-color: rgba(249, 115, 22, 0.5);
  background-color: rgba(249, 115, 22, 0.06);
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.18);
  transform: translateY(-1px);
}


/* Petits ajustements alignés avec ton global css */
    .toc-link{
      display:block;
      padding:.45rem .6rem;
      border-radius:.75rem;
      border:1px solid transparent;
      color:#0F172A;
      font-weight:500;
      transition:background-color .18s ease,border-color .18s ease,transform .12s ease,box-shadow .18s ease;
    }
    .toc-link:hover{
      background:#f9fafb;
      transform:translateY(-1px);
      box-shadow:0 10px 22px rgba(15, 23, 42, 0.06);
    }
    .toc-link-active{
      border-color: rgba(249,115,22,.45);
      background: rgba(249,115,22,.06);
      box-shadow: 0 14px 32px rgba(249,115,22,.12);
    }
    .kv{
      display:flex;
      gap:.5rem;
      flex-wrap:wrap;
      align-items:baseline;
      font-size:.92rem;
      color:#334155;
    }
    .kv b{ color:#0f172a; font-weight:600; }
    .note{ font-size:.82rem; color:#6b7280; }
    .list-check li{
      position:relative;
      padding-left:1.4rem;
    }
    .list-check li::before{
      content:"";
      position:absolute;
      left:.25rem;
      top:.55rem;
      width:.55rem;
      height:.55rem;
      border-radius:999px;
      background: rgba(249,115,22,.35);
      box-shadow:0 10px 22px rgba(249,115,22,.18);
    }

    /* UI cohérente avec ton global css */
    .field{
      width:100%;
      border:1px solid #e5e7eb;
      border-radius: .9rem;
      padding:.75rem .9rem;
      background:#fff;
      font-size:.92rem;
      color:#0f172a;
      outline:none;
      transition:border-color .18s ease, box-shadow .18s ease, transform .12s ease;
    }
    .field:focus{
      border-color: rgba(249,115,22,.55);
      box-shadow: 0 14px 32px rgba(249,115,22,.12);
    }
    .label{
      font-size:.85rem;
      font-weight:600;
      color:#0f172a;
      margin-bottom:.35rem;
      display:block;
    }
    .help{ font-size:.8rem; color:#6b7280; margin-top:.25rem; }
    .alert{
      border-radius: 1rem;
      border:1px solid #e5e7eb;
      padding: .9rem 1rem;
      background:#fff;
    }
    .alert-success{
      border-color: rgba(16,185,129,.30);
      background: rgba(16,185,129,.08);
    }
    .alert-error{
      border-color: rgba(239,68,68,.25);
      background: rgba(239,68,68,.06);
    }
    .toc-pill{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:.75rem;
      border:1px solid #e5e7eb;
      background:#fff;
      border-radius: 1rem;
      padding:.85rem .9rem;
    }
    .mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; }
     /* Petits ajustements alignés avec ton global css */
    .toc-link{
      display:block;
      padding:.45rem .6rem;
      border-radius:.75rem;
      border:1px solid transparent;
      color:#0F172A;
      font-weight:500;
      transition:background-color .18s ease,border-color .18s ease,transform .12s ease,box-shadow .18s ease;
    }
    .toc-link:hover{
      background:#f9fafb;
      transform:translateY(-1px);
      box-shadow:0 10px 22px rgba(15, 23, 42, 0.06);
    }
    .toc-link-active{
      border-color: rgba(249,115,22,.45);
      background: rgba(249,115,22,.06);
      box-shadow: 0 14px 32px rgba(249,115,22,.12);
    }
    .note{ font-size:.82rem; color:#6b7280; }
    .kv{
      display:flex;
      gap:.5rem;
      flex-wrap:wrap;
      align-items:baseline;
      font-size:.92rem;
      color:#334155;
    }
    .kv b{ color:#0f172a; font-weight:600; }
    .list-check li{
      position:relative;
      padding-left:1.4rem;
    }
    .list-check li::before{
      content:"";
      position:absolute;
      left:.25rem;
      top:.55rem;
      width:.55rem;
      height:.55rem;
      border-radius:999px;
      background: rgba(249,115,22,.35);
      box-shadow:0 10px 22px rgba(249,115,22,.18);
    }
    .switch{
      width:44px; height:26px; border-radius:999px;
      background:#e5e7eb; position:relative; cursor:pointer;
      transition:background .18s ease;
    }
    .switch::after{
      content:"";
      position:absolute; top:3px; left:3px;
      width:20px; height:20px; border-radius:999px;
      background:#fff; box-shadow:0 10px 22px rgba(15,23,42,.10);
      transition:left .18s ease;
    }
    .switch[data-on="1"]{ background: rgba(249,115,22,.85); }
    .switch[data-on="1"]::after{ left:21px; }
    .mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
     /* Petits ajustements alignés avec ton global css */
    .toc-link{
      display:block;
      padding:.45rem .6rem;
      border-radius:.75rem;
      border:1px solid transparent;
      color:#0F172A;
      font-weight:500;
      transition:background-color .18s ease,border-color .18s ease,transform .12s ease,box-shadow .18s ease;
    }
    .toc-link:hover{
      background:#f9fafb;
      transform:translateY(-1px);
      box-shadow:0 10px 22px rgba(15, 23, 42, 0.06);
    }
    .toc-link-active{
      border-color: rgba(249,115,22,.45);
      background: rgba(249,115,22,.06);
      box-shadow: 0 14px 32px rgba(249,115,22,.12);
    }
    .legal-kv{
      display:flex;
      gap:.5rem;
      flex-wrap:wrap;
      align-items:baseline;
      font-size:.92rem;
      color:#334155;
    }
    .legal-kv b{ color:#0f172a; font-weight:600; }
    .legal-note{
      font-size:.82rem;
      color:#6b7280;
    }