/* ==========================================================================
   BLACK WEEK — bannière + carrousel (juste sous le hero)
   ========================================================================== */
.bw {
  --bw-gold: #E9C99A;
  --bw-gold-deep: #C9A56C;
  --bw-ink: #0D0716;
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 0 8px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 70% at 85% 0%, rgba(139, 92, 201, .38) 0%, rgba(139, 92, 201, 0) 70%),
    radial-gradient(ellipse 50% 60% at 8% 100%, rgba(233, 201, 154, .13) 0%, rgba(233, 201, 154, 0) 70%),
    linear-gradient(180deg, #170C28 0%, #0D0716 100%);
}
.bw::before {                       /* fine trame diagonale, très discrète */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.028) 0 1px, transparent 1px 14px);
}

/* ---- bandeau défilant ---- */
.bw-marquee {
  overflow: hidden; white-space: nowrap; direction: ltr;
  background: linear-gradient(90deg, #C9A56C, #F1DDB6 50%, #C9A56C);
  color: #1A0F2B; padding: 9px 0;
}
.bw-marquee-track { display: inline-flex; align-items: center; gap: 26px; animation: bw-marquee 38s linear infinite; will-change: transform; }
.bw-marquee span { font: 600 12px/1 'Jost', system-ui, sans-serif; letter-spacing: .34em; text-transform: uppercase; }
.bw-marquee i { font-style: normal; font-size: 10px; opacity: .7; }
@keyframes bw-marquee { to { transform: translateX(-50%); } }

/* ---- en-tête ---- */
.bw .bw-inner { padding-top: 46px; padding-bottom: 38px; }
.bw-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.bw-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 11px/1 'Jost', system-ui, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: var(--bw-gold);
}
.bw-eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--bw-gold)); }
.bw-title {
  margin: 14px 0 0; font: 600 clamp(44px, 8vw, 96px)/.95 'Jost', system-ui, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.bw-title-b {
  background: linear-gradient(180deg, #FBEACB 0%, #E9C99A 48%, #B98B4B 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.bw-sub { margin: 14px 0 0; font: 400 15px/1.4 'Jost', system-ui, sans-serif; letter-spacing: .04em; color: rgba(255,255,255,.72); }
.bw-sub strong { color: var(--bw-gold); font-weight: 600; font-size: 1.25em; }

.bw-tools { display: flex; align-items: center; gap: 18px; }
.bw-all {
  font: 500 12px/1 'Jost', system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bw-gold); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid rgba(233,201,154,.45);
  transition: color .25s, border-color .25s;
}
.bw-all:hover { color: #fff; border-color: #fff; }
.bw-arrows { display: flex; gap: 10px; }
.bw-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--bw-gold); background: rgba(255,255,255,.04); border: 1px solid rgba(233,201,154,.4);
  transition: background .25s, color .25s, transform .25s;
}
.bw-arrow:hover { background: var(--bw-gold); color: #1A0F2B; transform: translateY(-2px); }

/* ---- carrousel ---- */
.bw-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bw-track::-webkit-scrollbar { display: none; }
.bw-card {
  flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start;
  display: flex; flex-direction: column; text-decoration: none; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(233,201,154,.2); border-radius: 20px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s;
}
.bw-card:hover { transform: translateY(-6px); border-color: rgba(233,201,154,.7); box-shadow: 0 22px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(233,201,154,.15); }
.bw-card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.bw-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bw-card:hover .bw-card-img img { transform: scale(1.06); }
.bw-card-badge {
  position: absolute; top: 12px; left: 12px; padding: 7px 12px; border-radius: 999px;
  font: 700 12px/1 'Jost', system-ui, sans-serif; letter-spacing: .08em; color: #1A0F2B;
  background: linear-gradient(135deg, #F6E7CC, #D9B77E); box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.bw-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; flex: 1; }
.bw-card-cat { font: 500 10px/1 'Jost', system-ui, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--bw-gold); }
.bw-card-name {
  font: 500 16px/1.3 'Jost', system-ui, sans-serif; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.bw-card-price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.bw-card-price s { font: 400 13px/1 'Jost', system-ui, sans-serif; color: rgba(255,255,255,.45); }
.bw-card-price b { font: 600 20px/1 'Jost', system-ui, sans-serif; color: var(--bw-gold); }
.bw-card-cta { font: 500 12px/1 'Jost', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); transition: color .25s, letter-spacing .25s; }
.bw-card:hover .bw-card-cta { color: var(--bw-gold); letter-spacing: .18em; }

/* ---- barre de progression ---- */
.bw-progress { margin-top: 10px; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.bw-progress span { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, #C9A56C, #F6E7CC); border-radius: 2px; transition: width .3s ease; }

/* ---- responsive ---- */
@media (max-width: 1000px) { .bw-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 720px) {
  .bw .bw-inner { padding-top: 34px; padding-bottom: 28px; }
  .bw-eyebrow { font-size: 10px; letter-spacing: .24em; }
  .bw-head { margin-bottom: 20px; align-items: flex-start; }
  .bw-tools { width: 100%; justify-content: space-between; }
  .bw-card { flex-basis: 64%; border-radius: 18px; }
  .bw-track { gap: 14px; }
  .bw-arrow { width: 40px; height: 40px; }
  .bw-marquee span { letter-spacing: .28em; }
}
@media (prefers-reduced-motion: reduce) {
  .bw-marquee-track { animation: none; }
  .bw-track { scroll-behavior: auto; }
}
