/* =====================================================================
   IRDEN CARS — catalog.css
   Catalogue enhancements: 3-action vehicle cards, spec chips, "à partir de"
   pricing, filter / brand / sort controls, reveal stagger.
   Scoped to catalogue classes — visual identity unchanged.
   ===================================================================== */

/* ---------- Controls bar ---------- */
.fleet-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 14px;
}
.fleet-controls .fleet-filters { margin-bottom: 0; }

.fleet-selects { display: flex; flex-wrap: wrap; gap: 12px; }
.fleet-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.fleet-select select {
  appearance: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink-800);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  padding: 9px 34px 9px 16px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8a24c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s var(--ease);
}
.fleet-select select:hover { border-color: var(--line); }
.fleet-select select:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.fleet-pricenote {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--muted);
}
.fleet-count {
  margin: -8px 0 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Card: spec chips ---------- */
.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 2px;
}
.vehicle-card__specs span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  padding: 4px 10px;
}

/* ---------- Card: "à partir de" price ---------- */
.vehicle-card__price { flex-wrap: wrap; }
.vehicle-card__price b { white-space: nowrap; }
.vehicle-card__from {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Card: 3 actions ---------- */
.vehicle-card__actions {
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "options options"
    "reserve wa";
}
.vehicle-card__actions .btn--options { grid-area: options; }
.vehicle-card__actions .btn--reserve { grid-area: reserve; }
.vehicle-card__actions .btn--wa-icon { grid-area: wa; padding-inline: 14px; }

/* ---------- Reveal stagger (cards fade up in sequence) ---------- */
.fleet-grid .vehicle-card.reveal { transition-property: opacity, transform; }

@media (max-width: 620px) {
  .fleet-controls { justify-content: flex-start; }
  .fleet-selects { width: 100%; }
  .fleet-select { flex: 1; }
  .fleet-select select { flex: 1; width: 100%; }
}
@media (max-width: 460px) {
  .vehicle-card__actions {
    grid-template-columns: 1fr;
    grid-template-areas: "options" "reserve" "wa";
  }
  .vehicle-card__actions .btn--wa-icon { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .fleet-grid .vehicle-card.reveal { transition-delay: 0ms !important; }
}
