/* ==========================================================================
   critical-lots.css — Catalogue /lots/ (request-2026-05-05-2054 item-001)
   Charge en complément de critical-home.css. Définit uniquement les overrides
   et nouveaux composants spécifiques au catalogue 80 lots EXCEPTIONNEL.
   Charte BRAND.md — noir absolu / or #fdd762 / cream #f8f1dc
   ========================================================================== */

/* --- Hero catalogue ------------------------------------------------------ */
.catalog-hero {
  position: relative;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(253, 215, 98, 0.18), transparent 60%),
              linear-gradient(180deg, #000 0%, #0a0a0a 80%, #000 100%);
  color: var(--cream);
  padding: clamp(60px, 10vw, 130px) clamp(20px, 4vw, 56px) clamp(50px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px dashed rgba(253, 215, 98, 0.32);
}
.catalog-hero::before {
  content: "";
  position: absolute; inset: 22px;
  border: 1px solid rgba(253, 215, 98, 0.22);
  border-radius: 6px;
  pointer-events: none;
  z-index: 0;
}
.catalog-hero::after {
  content: "";
  position: absolute; inset: 30px;
  border: 1px solid rgba(253, 215, 98, 0.10);
  border-radius: 4px;
  pointer-events: none;
  z-index: 0;
}
.catalog-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.catalog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 0.42em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 clamp(18px, 2.6vw, 28px);
  padding: 8px 18px;
  border: 1px solid rgba(253, 215, 98, 0.42);
  border-radius: 999px;
  background: rgba(253, 215, 98, 0.06);
}
.catalog-eyebrow .star {
  width: 11px; height: 11px;
  fill: var(--accent);
}
.catalog-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin: 0 0 clamp(16px, 2vw, 22px);
  text-transform: uppercase;
}
.catalog-hero-title em {
  font-style: normal;
  background: linear-gradient(180deg, #fdd762 0%, #f3c238 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  letter-spacing: 0.18em;
  /* "EXCEPTIONNEL" = 12 caractères : on baisse le min pour rester
     contenu sur viewport étroit (320 px) sans aucune césure (CR 2304-007) */
  font-size: clamp(30px, 9vw, 110px);
  text-shadow: 0 0 60px rgba(253, 215, 98, 0.35);
}
/* Sécurité mobile : sous 480 px, on tighten le letter-spacing pour absorber
   la marge restante sans devoir réduire encore le font-size */
@media (max-width: 480px) {
  .catalog-hero-title em {
    letter-spacing: 0.08em;
  }
}
.catalog-hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--cream-2);
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 44px);
}
.catalog-hero-tagline strong {
  color: var(--accent);
  font-weight: 700;
}

/* Stats strip */
.catalog-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 28px);
  max-width: 880px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  padding: clamp(18px, 2.4vw, 26px) clamp(12px, 2vw, 24px);
  border: 1px solid rgba(253, 215, 98, 0.32);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  position: relative;
}
.catalog-stats::before,
.catalog-stats::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #000;
  border: 1px solid rgba(253, 215, 98, 0.42);
  top: 50%;
  transform: translateY(-50%);
}
.catalog-stats::before { left: -7px; }
.catalog-stats::after  { right: -7px; }
.catalog-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.catalog-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-shadow: 0 0 24px rgba(253, 215, 98, 0.42);
}
.catalog-stat-label {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
  font-weight: 500;
}
@media (max-width: 540px) {
  .catalog-stats { grid-template-columns: 1fr; gap: 14px; }
}

/* CTA hero principal */
.catalog-cta-hero {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 36px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #000;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(253, 215, 98, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.catalog-cta-hero:hover,
.catalog-cta-hero:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -10px rgba(253, 215, 98, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}
.catalog-cta-hero svg {
  width: 18px; height: 18px;
}
.catalog-cta-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cream-2);
  margin-top: 14px;
}
.catalog-cta-tagline strong { color: var(--accent); }

/* --- Catalog blocks ------------------------------------------------------ */
.catalog-block {
  position: relative;
  padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 56px);
  background: #000;
}
.catalog-block + .catalog-block { padding-top: clamp(20px, 3vw, 40px); }
.catalog-block-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.catalog-block-header {
  text-align: center;
  margin: 0 auto clamp(34px, 4vw, 54px);
  max-width: 880px;
  position: relative;
}
.catalog-block-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 0.42em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.catalog-block-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.catalog-block-bar {
  display: block;
  width: 80px; height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}
.catalog-block-bar::before,
.catalog-block-bar::after {
  content: "✦";
  display: inline-block;
  color: var(--accent);
  font-size: 10px;
  position: relative;
  top: -4px;
  margin: 0 12px;
}

/* --- Lot grid (catalog) -------------------------------------------------- */
.lot-grid--catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

/* --- Lot card (catalog variant) ------------------------------------------ */
.lot-card--catalog {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d0d0d 0%, #050505 100%);
  border: 1px solid rgba(253, 215, 98, 0.18);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  isolation: isolate;
  outline: none;
}
.lot-card--catalog::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(253, 215, 98, 0.10);
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
}
.lot-card--catalog:hover,
.lot-card--catalog:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(253, 215, 98, 0.55);
  box-shadow: 0 20px 50px -12px rgba(253, 215, 98, 0.32), 0 0 0 1px rgba(253, 215, 98, 0.18);
}
.lot-card--catalog:focus-visible::before {
  border-color: rgba(253, 215, 98, 0.55);
}

.lot-card-num {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(253, 215, 98, 0.5);
  border-radius: 3px;
  text-shadow: 0 0 8px rgba(253, 215, 98, 0.35);
}
.lot-card-num b {
  font-weight: 700;
  margin-left: 4px;
  font-size: 13px;
}

.lot-card-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 38%, rgba(253, 215, 98, 0.18) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
  transition: opacity .4s ease;
}
.lot-card--catalog:hover .lot-card-shine,
.lot-card--catalog:focus-visible .lot-card-shine {
  opacity: 1;
  animation: lot-shine 1.2s cubic-bezier(.2, .6, .2, 1) forwards;
}
@keyframes lot-shine {
  to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .lot-card--catalog:hover .lot-card-shine { animation: none; opacity: 0; }
}

.lot-card--catalog .lot-card-photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0a0a;
}
.lot-card--catalog .lot-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.lot-card--catalog:hover .lot-card-photo img,
.lot-card--catalog:focus-visible .lot-card-photo img {
  transform: scale(1.06);
}
.lot-card--catalog .lot-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.lot-card--catalog .lot-card-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(253, 215, 98, 0.08) 0%, transparent 100%);
  border-top: 1px dashed rgba(253, 215, 98, 0.32);
  border-bottom: 1px dashed rgba(253, 215, 98, 0.15);
  position: relative;
}
.lot-card--catalog .donor-logo {
  max-height: 36px;
  max-width: 70%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(253, 215, 98, 0.18));
}
.lot-card--catalog .donor-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

.lot-card--catalog .lot-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.lot-card--catalog .lot-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: var(--cream);
  margin: 0;
  text-transform: uppercase;
}
.lot-card--catalog .lot-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.3;
}
.lot-card--catalog .lot-card-donor {
  color: var(--cream-2);
  opacity: 0.78;
}
.lot-card--catalog .lot-card-value {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lot-card--catalog .lot-card-value--secret {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(253, 215, 98, 0.65);
}

/* --- CTA bands (between catalog blocks) ---------------------------------- */
.catalog-cta-band {
  position: relative;
  padding: clamp(40px, 6vw, 70px) clamp(20px, 4vw, 56px);
  background: radial-gradient(800px 280px at 50% 50%, rgba(253, 215, 98, 0.16), transparent 70%), #000;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.catalog-cta-band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, transparent 0 12px, var(--accent) 12px 18px);
  opacity: 0.42;
}
.catalog-cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, transparent 0 12px, var(--accent) 12px 18px);
  opacity: 0.42;
}
.catalog-cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.catalog-cta-band-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.42em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.catalog-cta-band-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3.6vw, 36px);
  letter-spacing: 0.08em;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 22px;
  text-transform: uppercase;
}
.catalog-cta-band-title em {
  font-style: normal;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(253, 215, 98, 0.45);
}
.catalog-cta-band-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--accent);
  color: #000;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 36px -10px rgba(253, 215, 98, 0.55);
  transition: transform .2s ease, box-shadow .2s ease;
}
.catalog-cta-band-cta:hover,
.catalog-cta-band-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -10px rgba(253, 215, 98, 0.75);
  outline: none;
}
.catalog-cta-band-cta svg { width: 18px; height: 18px; }

/* --- Catalog finale ------------------------------------------------------ */
.catalog-finale {
  padding: clamp(60px, 8vw, 110px) clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, #000 0%, #0a0a0a 60%, #000 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px dashed rgba(253, 215, 98, 0.32);
}
.catalog-finale::before,
.catalog-finale::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.catalog-finale::before {
  background: radial-gradient(900px 500px at 50% 30%, rgba(253, 215, 98, 0.25), transparent 70%);
}
.catalog-finale-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.catalog-finale-stars {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  color: var(--accent);
}
.catalog-finale-stars svg {
  width: 16px; height: 16px;
  fill: currentColor;
}
.catalog-finale-stars span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.catalog-finale-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5.5vw, 56px);
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 20px;
  text-transform: uppercase;
}
.catalog-finale-title em {
  font-style: normal;
  color: var(--accent);
}
.catalog-finale-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
  color: var(--cream-2);
  margin: 0 0 30px;
}
.catalog-finale-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #000;
  border: 1px solid var(--accent-soft);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.9vw, 18px);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 22px 50px -10px rgba(253, 215, 98, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.catalog-finale-cta:hover,
.catalog-finale-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -10px rgba(253, 215, 98, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  outline: none;
}

/* --- Back-to-home bar ---------------------------------------------------- */
.catalog-backbar {
  background: #050505;
  border-bottom: 1px solid rgba(253, 215, 98, 0.18);
  padding: 12px clamp(16px, 4vw, 56px);
  font-family: var(--font-body);
  font-size: 13px;
}
.catalog-backbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.catalog-backbar-link {
  color: var(--cream-2);
  text-decoration: none;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}
.catalog-backbar-link:hover,
.catalog-backbar-link:focus-visible {
  color: var(--accent);
  outline: none;
}
.catalog-backbar-link svg { width: 14px; height: 14px; }
.catalog-backbar-meta {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-display);
}

/* --- Section perforation divider (between blocks) ----------------------- */
.catalog-perforation {
  position: relative;
  height: 50px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.catalog-perforation::before {
  content: "";
  position: absolute;
  left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, var(--accent) 10px 16px);
  opacity: 0.42;
}
.catalog-perforation-star {
  width: 24px; height: 24px;
  background: #000;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}
.catalog-perforation-star svg {
  width: 14px; height: 14px;
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(253, 215, 98, 0.55));
}

/* --- Reveal-on-scroll (lots--catalog cards) ------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .lot-card--catalog {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .6, .2, 1);
  }
  .lot-card--catalog.is-revealed {
    opacity: 1;
    transform: none;
  }
}

/* Small viewport tweak */
@media (max-width: 540px) {
  .lot-grid--catalog {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  .lot-card--catalog .lot-card-name { font-size: 12px; }
  .lot-card--catalog .lot-card-body { padding: 10px 12px 14px; }
  .lot-card--catalog .lot-card-strip { min-height: 44px; padding: 6px 10px; }
  .lot-card--catalog .donor-logo { max-height: 24px; }
  .lot-card-num { font-size: 9px; padding: 3px 7px; top: 6px; left: 6px; }
  .lot-card-num b { font-size: 11px; }
}

/* ==========================================================================
   wahoo+20% (CR 2026-05-05-2054 item-007) — overrides additionnels qui
   empilent halo or progressif, tilt 3D au hover, photo brightness boost,
   donor logo grayscale→color, stars flottants en fond de section. Tout
   gaté par html.fx-motion + (prefers-reduced-motion: reduce).
   Charte BRAND.md respectée — l'or reste pur (#fdd762), aucun fond plein.
   ========================================================================== */

/* --- Section ambiance : étoiles flottantes en fond ----------------------- */
.catalog-block { isolation: isolate; }
html.fx-motion .catalog-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 8% 22%, rgba(253,215,98,.42) 0, rgba(253,215,98,.42) 1px, transparent 1.5px),
    radial-gradient(circle at 92% 18%, rgba(253,215,98,.32) 0, rgba(253,215,98,.32) 1px, transparent 1.5px),
    radial-gradient(circle at 18% 78%, rgba(253,215,98,.38) 0, rgba(253,215,98,.38) 1px, transparent 1.5px),
    radial-gradient(circle at 86% 86%, rgba(253,215,98,.44) 0, rgba(253,215,98,.44) 1px, transparent 1.5px),
    radial-gradient(circle at 50% 8%,  rgba(253,215,98,.30) 0, rgba(253,215,98,.30) 1px, transparent 1.5px),
    radial-gradient(circle at 30% 50%, rgba(253,215,98,.22) 0, rgba(253,215,98,.22) 1px, transparent 1.5px),
    radial-gradient(circle at 70% 60%, rgba(253,215,98,.26) 0, rgba(253,215,98,.26) 1px, transparent 1.5px);
}
.catalog-block-inner { position: relative; z-index: 2; }

/* --- Lot card catalog — wahoo+20% ---------------------------------------- */
.lot-card--catalog {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition:
    transform .45s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    box-shadow .45s ease,
    background .35s ease;
}

/* Donor logo : grayscale at rest, color on hover */
html.fx-motion .lot-card--catalog .donor-logo {
  filter: grayscale(.55) brightness(.95);
  opacity: .88;
  transition: filter .45s ease, opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1);
}
.lot-card--catalog .donor-text {
  transition: color .35s ease, letter-spacing .35s ease;
}

/* Lot photo readiness for filter/zoom transitions */
.lot-card--catalog .lot-card-photo img {
  transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .45s ease;
}

/* HOVER — wahoo+20% explosion */
.lot-card--catalog:hover,
.lot-card--catalog:focus-visible {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(253,215,98,.85);
  box-shadow:
    0 0 0 1px rgba(253,215,98,.55),
    0 0 60px -8px rgba(253,215,98,.45),
    0 32px 70px -22px rgba(0,0,0,.95);
}
html.fx-motion .lot-card--catalog:hover,
html.fx-motion .lot-card--catalog:focus-visible {
  transform: translateY(-8px) perspective(1000px) rotateY(-2deg) rotateX(1.4deg) scale(1.012);
}
.lot-card--catalog:hover .lot-card-photo img,
.lot-card--catalog:focus-visible .lot-card-photo img {
  transform: scale(1.08);
  filter: brightness(1.06) saturate(1.08);
}
html.fx-motion .lot-card--catalog:hover .donor-logo,
html.fx-motion .lot-card--catalog:focus-visible .donor-logo {
  filter: grayscale(0) brightness(1.15);
  opacity: 1;
  transform: scale(1.04);
}
.lot-card--catalog:hover .donor-text,
.lot-card--catalog:focus-visible .donor-text {
  color: #fff;
  letter-spacing: .22em;
}

/* Lot number badge — pulse on hover */
.lot-card-num {
  transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.lot-card--catalog:hover .lot-card-num,
.lot-card--catalog:focus-visible .lot-card-num {
  background: rgba(253,215,98,.95);
  color: #000;
  border-color: rgba(253,215,98,1);
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(253,215,98,.55);
  text-shadow: none;
}

/* Catalog block title — subtle gold pulse on enter */
@media (prefers-reduced-motion: no-preference) {
  html.fx-motion .catalog-block-title em {
    animation: catalog-title-glow 4.6s ease-in-out infinite;
  }
}
@keyframes catalog-title-glow {
  0%, 100% { text-shadow: 0 0 24px rgba(253,215,98,.45); }
  50%      { text-shadow: 0 0 48px rgba(253,215,98,.85), 0 0 18px rgba(253,215,98,.6); }
}

/* Reduce-motion safety */
@media (prefers-reduced-motion: reduce) {
  html.fx-motion .catalog-block::after { opacity: .25; }
  .lot-card--catalog { transition: border-color .25s ease, box-shadow .25s ease; }
  .lot-card--catalog:hover,
  .lot-card--catalog:focus-visible { transform: translateY(-3px) !important; }
  .lot-card--catalog .donor-logo { filter: none !important; opacity: 1 !important; }
  html.fx-motion .catalog-block-title em { animation: none !important; }
}

/* ================================================================== */
/*  CAROUSEL AUTO-FONDU — cards catalogue                              */
/*  (request-2026-05-05-2304 item-006) — module commun lot-rotate.js   */
/*  · Pile absolute des <picture> additionnelles, opacity 0 par défaut */
/*  · Cross-fade .6s ease via .is-active                               */
/*  · z-index 1 (sous le gradient ::after du card-photo, qui passe à 2)*/
/*  · Hover-zoom propagé aux slides additionnelles                     */
/* ================================================================== */
.lot-card--catalog .lot-card-photo > picture.lot-rotate-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  z-index: 1;
}
.lot-card--catalog .lot-card-photo > picture.lot-rotate-slide.is-active {
  opacity: 1;
}
.lot-card--catalog .lot-card-photo > picture.lot-rotate-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2, .6, .2, 1);
}
.lot-card--catalog:hover .lot-card-photo > picture.lot-rotate-slide img,
.lot-card--catalog:focus-visible .lot-card-photo > picture.lot-rotate-slide img {
  transform: scale(1.06);
}
/* Le gradient ::after existant (linear-gradient bottom darken) doit rester
   AU-DESSUS des slides additionnelles pour préserver la lisibilité */
.lot-card--catalog .lot-card-photo::after { z-index: 2; }

/* Reduce motion : pas de slides additionnelles */
@media (prefers-reduced-motion: reduce) {
  .lot-card--catalog .lot-card-photo > picture.lot-rotate-slide { display: none !important; }
}

/* ================================================================== */
/*  GROUPE LOTS QUANTITÉ > 1                                           */
/*  (request-2026-05-05-2304 item-002) — vignettes regroupées          */
/*  · badge "×N gagnants" coin haut-droit, or contrasté                */
/*  · sous-titre "1 lot identique · N personnes le gagneront"          */
/*  · effet "pile de tickets" subtil sur la carte (multi-stack)        */
/* ================================================================== */

/* Effet pile de tickets : ombres décalées en arrière-plan */
.lot-card--group {
  position: relative;
  overflow: visible;
}
.lot-card--group::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  border: 1.5px solid rgba(253, 215, 98, 0.32);
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.6);
  z-index: -2;
  pointer-events: none;
  transition: transform 0.32s ease, border-color 0.32s ease;
}
.lot-card--group::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  right: -3px;
  bottom: -3px;
  border: 1.5px solid rgba(253, 215, 98, 0.5);
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.85);
  z-index: -1;
  pointer-events: none;
  transition: transform 0.32s ease, border-color 0.32s ease;
}
@media (prefers-reduced-motion: no-preference) {
  html.fx-motion .lot-card--group:hover::before,
  html.fx-motion .lot-card--group:focus-visible::before {
    transform: translate(3px, 3px);
    border-color: rgba(253, 215, 98, 0.5);
  }
  html.fx-motion .lot-card--group:hover::after,
  html.fx-motion .lot-card--group:focus-visible::after {
    transform: translate(1.5px, 1.5px);
    border-color: rgba(253, 215, 98, 0.7);
  }
}

/* Badge "×N gagnants" en coin haut-droit */
.lot-card-winners-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #050505;
  background: linear-gradient(135deg, #fdd762 0%, #f3c238 100%);
  border: 1.5px solid #f3c238;
  border-radius: 999px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(253, 215, 98, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.fx-motion .lot-card-winners-badge {
    animation: lot-winners-badge-pulse 3.2s ease-in-out infinite;
  }
}
@keyframes lot-winners-badge-pulse {
  0%, 100% { box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(253, 215, 98, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
  50% { box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.6),
    0 0 26px rgba(253, 215, 98, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }
}

/* Sous-titre "1 lot identique · N personnes le gagneront" */
.lot-card-winners {
  margin: 8px 0 0;
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
  color: #f8f1dc;
  background: rgba(253, 215, 98, 0.08);
  border-left: 2px solid var(--accent);
  border-radius: 2px;
}
.lot-card-winners strong {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
}

/* Adapter le numéro N° sur les groupes (range plus long visuellement) */
.lot-card--group .lot-card-num {
  /* Range "44 → 53" est plus long que "44" — élargir si besoin */
  padding-right: 10px;
}
.lot-card--group .lot-card-num b {
  letter-spacing: 0.04em;
}

/* Mobile : badge un poil plus compact */
@media (max-width: 479px) {
  .lot-card-winners-badge {
    top: 8px;
    right: 8px;
    padding: 5px 9px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .lot-card-winners {
    font-size: 11.5px;
    padding: 6px 8px;
  }
}

/* Reduce-motion safety pour les groupes */
@media (prefers-reduced-motion: reduce) {
  html.fx-motion .lot-card-winners-badge { animation: none !important; }
  html.fx-motion .lot-card--group:hover::before,
  html.fx-motion .lot-card--group:focus-visible::before,
  html.fx-motion .lot-card--group:hover::after,
  html.fx-motion .lot-card--group:focus-visible::after {
    transform: none !important;
  }
}

/* ================================================================== */
/*  MODALE LOT — refonte premium type Equiaction                       */
/*  (request-2026-05-05-2304 item-001) — carousel images + sponsor     */
/*  Override / extension des règles `.lot-modal*` de critical-home.css */
/* ================================================================== */

/* --- Backdrop : voile or chaud + grain --------------------------- */
.lot-modal {
  background: radial-gradient(
    ellipse at top,
    rgba(243, 194, 56, 0.18) 0%,
    rgba(0, 0, 0, 0.92) 55%,
    rgba(0, 0, 0, 0.96) 100%
  );
}

/* --- Dialog : large, cinematic, scrollable ----------------------- */
.lot-modal-dialog {
  width: min(1040px, 100%);
  max-width: 1040px;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  /* Double bordure or signature ARSLA — embossed */
  box-shadow:
    inset 0 0 0 1px rgba(253, 215, 98, 0.22),
    inset 0 0 0 6px #050505,
    inset 0 0 0 7px rgba(253, 215, 98, 0.55),
    0 40px 100px -24px rgba(0, 0, 0, 0.85),
    0 0 60px -8px rgba(243, 194, 56, 0.18);
}

/* --- Étoiles 4 branches en coins du dialog ---------------------- */
.lot-modal-dialog::before,
.lot-modal-dialog::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  z-index: 6;
  pointer-events: none;
  opacity: 0.55;
}
.lot-modal-dialog::before { top: 14px;  left: 14px; }
.lot-modal-dialog::after  { bottom: 14px; right: 14px; }

/* --- Bouton fermeture (override) -------------------------------- */
.lot-modal .lot-modal-close {
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.78);
  border: 1.5px solid rgba(253, 215, 98, 0.6);
  z-index: 12;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lot-modal .lot-modal-close:hover,
.lot-modal .lot-modal-close:focus-visible {
  background: var(--accent);
  color: #000;
  transform: rotate(90deg) scale(1.05);
  border-color: var(--accent);
  outline: none;
}
.lot-modal .lot-modal-close svg { width: 18px; height: 18px; fill: currentColor; }

/* --- Hero carousel : image area at top -------------------------- */
.lot-modal-hero {
  position: relative;
  flex: 0 0 auto;
  background: #000;
  border-bottom: 1px solid rgba(253, 215, 98, 0.28);
}
.lot-modal-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  outline: none;
}
.lot-modal-carousel:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.lot-modal-slides {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lot-modal-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  pointer-events: none;
}
.lot-modal-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
.lot-modal-slide picture,
.lot-modal-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Léger Ken Burns (subtil, gaté) */
@media (prefers-reduced-motion: no-preference) {
  html.fx-motion .lot-modal-slide.is-active img,
  html.fx-motion .lot-modal-slide.is-active picture > img {
    animation: lot-modal-kenburns 9s ease-out forwards;
  }
}
@keyframes lot-modal-kenburns {
  0%   { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

/* Dégradé bas du carousel (lisibilité éventuelle d'un overlay) */
.lot-modal-carousel::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  z-index: 3;
  pointer-events: none;
}

/* --- Flèches navigation IMAGES (intra-carousel) ----------------- */
.lot-modal-imgnav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid rgba(253, 215, 98, 0.55);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.18s ease, opacity 0.22s ease;
}
.lot-modal-imgnav svg { width: 18px; height: 18px; fill: currentColor; }
.lot-modal-imgnav--prev { left: 14px; }
.lot-modal-imgnav--next { right: 14px; }
.lot-modal-imgnav:hover,
.lot-modal-imgnav:focus-visible {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
  outline: none;
}
.lot-modal-imgnav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.lot-modal-imgnav[hidden] { display: none; }

/* --- Dots du carousel ------------------------------------------- */
.lot-modal-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lot-modal-dots[hidden] { display: none; }
.lot-modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(248, 241, 220, 0.45);
  border: 1px solid rgba(253, 215, 98, 0.35);
  padding: 0;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.18s ease, width 0.28s ease;
}
.lot-modal-dot:hover,
.lot-modal-dot:focus-visible {
  background: rgba(253, 215, 98, 0.85);
  transform: scale(1.18);
  outline: none;
}
.lot-modal-dot.is-active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(253, 215, 98, 0.7);
}

/* --- LOT NAV (entre lots) — flèches latérales hors dialog ------- */
.lot-modal-lotnav {
  position: absolute;
  top: 50%;
  z-index: 11;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.78);
  border: 1.5px solid rgba(253, 215, 98, 0.5);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.18s ease, opacity 0.22s ease;
}
.lot-modal-lotnav svg { width: 16px; height: 16px; fill: currentColor; }
.lot-modal-lotnav-icon { display: inline-flex; }
.lot-modal-lotnav-text { white-space: nowrap; }
.lot-modal-lotnav--prev { left: -68px; }
.lot-modal-lotnav--next { right: -68px; }
.lot-modal-lotnav:hover:not([disabled]),
.lot-modal-lotnav:focus-visible:not([disabled]) {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 0 22px rgba(253, 215, 98, 0.45);
  outline: none;
}
.lot-modal-lotnav[disabled] {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Content : padding + scroll --------------------------------- */
.lot-modal .lot-modal-content {
  padding: 30px 38px 36px;
  gap: 14px;
  overflow-y: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}
.lot-modal-content #lot-modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
  color: var(--cream);
  margin: 0;
  line-height: 1.18;
}
.lot-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 4px 0 8px;
}
.lot-modal-meta .lot-modal-value {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}
/* Encart "plusieurs gagnants" — phrase complète sur une ligne dédiée */
.lot-modal-meta .lot-modal-winners {
  display: block;
  width: 100%;
  margin: 6px 0 0;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--cream);
  background:
    linear-gradient(135deg, rgba(253, 215, 98, 0.12), rgba(243, 194, 56, 0.04)),
    rgba(10, 10, 10, 0.6);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  position: relative;
}
.lot-modal-meta .lot-modal-winners::before {
  content: "✦";
  display: inline-block;
  margin-right: 6px;
  color: var(--accent);
  font-size: 11px;
  vertical-align: middle;
}

/* --- Bloc Sponsor ----------------------------------------------- */
.lot-modal-sponsor {
  margin-top: 6px;
  padding: 18px 18px 16px;
  background:
    linear-gradient(135deg, rgba(253, 215, 98, 0.05), rgba(243, 194, 56, 0.02)),
    #0a0a0a;
  border: 1px solid rgba(253, 215, 98, 0.32);
  border-radius: 6px;
  position: relative;
}
.lot-modal-sponsor::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(253, 215, 98, 0.12);
  border-radius: 4px;
  pointer-events: none;
}
.lot-modal-sponsor[hidden] { display: none; }
.lot-modal-sponsor-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  position: relative;
}
.lot-modal-sponsor-eyebrow .star {
  width: 11px;
  height: 11px;
  fill: var(--accent);
  flex: 0 0 auto;
}
.lot-modal-sponsor-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
}
.lot-modal-sponsor-logo {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 6px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px rgba(253, 215, 98, 0.25);
}
.lot-modal-sponsor-logo:empty {
  display: none;
}
.lot-modal-sponsor-card.no-logo {
  grid-template-columns: 1fr;
}
.lot-modal-sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.lot-modal-sponsor-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.lot-modal-sponsor-name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--cream);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.lot-modal-sponsor-tagline {
  font-family: var(--font-display);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  opacity: 0.92;
}
.lot-modal-sponsor-tagline[hidden] { display: none; }
.lot-modal-sponsor-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--cream);
  opacity: 0.85;
  margin: 4px 0 0;
}
.lot-modal-sponsor-desc[hidden] { display: none; }
.lot-modal-sponsor-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 215, 98, 0.45);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  align-self: flex-start;
}
.lot-modal-sponsor-url[hidden] { display: none; }
.lot-modal-sponsor-url svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  transition: transform 0.18s ease;
}
.lot-modal-sponsor-url:hover,
.lot-modal-sponsor-url:focus-visible {
  color: var(--cream);
  border-color: var(--cream);
  outline: none;
}
.lot-modal-sponsor-url:hover svg,
.lot-modal-sponsor-url:focus-visible svg {
  transform: translate(2px, -2px);
}

/* --- Layout responsive 920+ : 2 colonnes hero/content ----------- */
@media (min-width: 920px) {
  .lot-modal-dialog {
    flex-direction: row;
    max-height: min(720px, calc(100vh - 32px));
  }
  .lot-modal-hero {
    flex: 1 1 56%;
    border-bottom: none;
    border-right: 1px solid rgba(253, 215, 98, 0.28);
    align-self: stretch;
    display: flex;
  }
  .lot-modal-carousel {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
  }
  .lot-modal .lot-modal-content {
    flex: 1 1 44%;
    padding: 44px 38px 36px;
  }
}

/* --- Mobile / tablette < 920px ---------------------------------- */
@media (max-width: 919px) {
  .lot-modal-dialog {
    width: min(640px, 100%);
    max-height: calc(100vh - 24px);
  }
  .lot-modal-lotnav--prev { left: 8px; top: auto; bottom: 14px; transform: none; }
  .lot-modal-lotnav--next { right: 8px; top: auto; bottom: 14px; transform: none; }
  .lot-modal-lotnav:hover:not([disabled]),
  .lot-modal-lotnav:focus-visible:not([disabled]) {
    transform: scale(1.04);
  }
  .lot-modal-lotnav-text {
    /* Sur mobile : ne garder que l'icône, label en aria-label */
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .lot-modal-lotnav { padding: 10px; }
  .lot-modal .lot-modal-content { padding: 26px 22px 28px; }
  .lot-modal-content #lot-modal-title { font-size: clamp(20px, 5vw, 26px); }
  .lot-modal-sponsor-card { grid-template-columns: 84px 1fr; gap: 14px; }
  .lot-modal-sponsor-logo { width: 84px; height: 84px; padding: 8px; }
}

/* --- Mobile très étroit (<480px) -------------------------------- */
@media (max-width: 479px) {
  .lot-modal { padding: 0; }
  .lot-modal-dialog {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    box-shadow:
      inset 0 0 0 1px rgba(253, 215, 98, 0.22),
      inset 0 0 0 5px #050505,
      inset 0 0 0 6px rgba(253, 215, 98, 0.45);
  }
  .lot-modal-imgnav { width: 38px; height: 38px; }
  .lot-modal-imgnav--prev { left: 8px; }
  .lot-modal-imgnav--next { right: 8px; }
  .lot-modal-lotnav { font-size: 0; padding: 9px; }
  .lot-modal-lotnav--prev { left: 8px; bottom: 8px; }
  .lot-modal-lotnav--next { right: 8px; bottom: 8px; }
}

/* --- Reduced motion : kill animations sur la modale ------------- */
@media (prefers-reduced-motion: reduce) {
  .lot-modal-slide { transition: opacity 0.15s ease; }
  html.fx-motion .lot-modal-slide.is-active img,
  html.fx-motion .lot-modal-slide.is-active picture > img { animation: none !important; }
  .lot-modal-imgnav,
  .lot-modal-lotnav,
  .lot-modal-dot,
  .lot-modal-sponsor-url svg,
  .lot-modal .lot-modal-close {
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  }
  .lot-modal-imgnav:hover,
  .lot-modal-lotnav:hover,
  .lot-modal-dot:hover,
  .lot-modal .lot-modal-close:hover { transform: translateY(-50%) !important; }
  .lot-modal-imgnav:hover { transform: translateY(-50%) !important; }
  .lot-modal-lotnav:hover { transform: translateY(-50%) !important; }
  .lot-modal-dot:hover { transform: none !important; }
  .lot-modal .lot-modal-close:hover { transform: none !important; }
}
