/* ── Vehicle Detail Page ─────────────────────────────────── */
.vp-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

.vp-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.15s;
}
.vp-back:hover { color: #1a1a1a; }

/* ── Two-column grid ─────────────────────────────────────── */
.vp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* ── Media ───────────────────────────────────────────────── */
.vp-media-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vp-media {
  position: relative;
  background: #f5f5f5;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  user-select: none;
}

#vpImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  display: block;
  transition: opacity 0.25s ease;
}

.vp-media .modal-swiper__arrow {
  top: 50%;
  transform: translateY(-50%);
}

/* ── Thumbnails ──────────────────────────────────────────── */
.vp-thumbs {
  display: flex;
  gap: 0.6rem;
}

.vp-thumb {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #f0f0f0;
  opacity: 0.45;
  filter: grayscale(40%);
  transition: opacity 0.2s, border-color 0.2s, filter 0.2s;
  flex-shrink: 0;
}

.vp-thumb--active {
  opacity: 1;
  filter: none;
  border-color: #b58a43;
}

.vp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Info column ─────────────────────────────────────────── */
.vp-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vp-info__top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.vp-category-badge {
  background: #101010;
  border: 1px solid #b58a43;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.vp-origin-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1.5px solid;
}
.vp-origin-badge--cn { color: #b45309; border-color: #d97706; background: #fffbeb; }
.vp-origin-badge--eu { color: #1d4ed8; border-color: #3b82f6; background: #eff6ff; }

.vp-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 0;
}

.vp-year {
  font-size: 0.875rem;
  color: #999;
  margin: -0.5rem 0 0;
  font-weight: 500;
}

/* ── Price ───────────────────────────────────────────────── */
.vp-price {
  background: #f6f6f6;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.vp-price__label {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  white-space: nowrap;
}
.vp-price__value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #1a1a1a;
}
.vp-price__currency {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
}

/* ── Specs table ─────────────────────────────────────────── */
.vp-specs {
  margin: 0;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  overflow: hidden;
}
.vp-spec-row {
  display: flex;
  align-items: flex-start;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f3f3f3;
}
.vp-spec-row:last-child { border-bottom: none; }
.vp-spec-row dt {
  font-size: 0.72rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  min-width: 130px;
  flex-shrink: 0;
  padding-top: 0.1rem;
}
.vp-spec-row dd {
  font-size: 0.875rem;
  color: #1a1a1a;
  font-weight: 500;
  margin: 0;
  flex: 1;
  text-align: right;
}

/* ── Lead / description ──────────────────────────────────── */
.vp-lead-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  font-weight: 500;
  margin: 0 0 0.6rem;
}
.vp-lead {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.75;
  margin: 0;
}

.vp-price-note {
  font-size: 0.75rem;
  color: #bbb;
  line-height: 1.5;
}

/* ── CTA ─────────────────────────────────────────────────── */
.vp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #101010;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border: 1px solid #b58a43;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
  text-align: center;
}
.vp-cta:hover { background: #333; border-color: #d8b56f; transform: translateY(-2px); }

/* ── Mobile ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .vp-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .vp-media { aspect-ratio: 3 / 2; }
  .vp-price__value { font-size: 1.5rem; }
  .vp-spec-row dt { min-width: 100px; }
}

@media (max-width: 480px) {
  .vp-main { padding: 1.25rem 1rem 4rem; }
  .vp-title { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   SECTION AVANTAGES + CARTES
   ═══════════════════════════════════════════════════════════ */
.vp-lower {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ── Bande avantages ─────────────────────────────────────── */
.vp-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vp-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.1rem;
}

.vp-benefit__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f4f4f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
}

.vp-benefit__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.vp-benefit__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

.vp-benefit__text {
  font-size: 0.8125rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ── 3 cartes ────────────────────────────────────────────── */
.vp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.vp-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── En-tête carte ───────────────────────────────────────── */
.vp-card__head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #f0f0f0;
}

.vp-card__head-icon {
  width: 32px;
  height: 32px;
  background: #f4f4f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  flex-shrink: 0;
}

.vp-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

/* ── Liste équipements ───────────────────────────────────── */
.vp-equip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.vp-equip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #333;
  line-height: 1.4;
}

.vp-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── Tableau tech ────────────────────────────────────────── */
.vp-tech-table {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vp-tech-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.875rem;
}

.vp-tech-row:last-child { border-bottom: none; }

.vp-tech-row dt {
  color: #888;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
}

.vp-tech-row dd {
  color: #1a1a1a;
  font-weight: 500;
  text-align: right;
  margin: 0;
}

/* ── Bouton "voir plus" ──────────────────────────────────── */
.vp-card__more {
  background: none;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  align-self: flex-start;
  margin-top: auto;
}

.vp-card__more:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
}

/* ── Carte CTA sombre ────────────────────────────────────── */
.vp-card--dark {
  background: linear-gradient(160deg, #111417 0%, #1A1D20 100%);
  border-color: transparent;
  color: #fff;
  gap: 1.125rem;
}

.vp-cta-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.vp-cta-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.vp-cta-card__sub {
  font-size: 0.875rem;
  color: #A8ADB3;
  line-height: 1.65;
  margin: 0;
}

.vp-cta-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vp-cta-card__list li {
  font-size: 0.8125rem;
  color: #C8CDD3;
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.4;
}

.vp-cta-card__list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #555b65;
  font-weight: 600;
}

.vp-cta-card__btns {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: auto;
}

.vp-cta-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s, background 0.15s;
}

.vp-cta-card__btn--white {
  background: #ffffff;
  color: #111417;
}

.vp-cta-card__btn--white:hover { opacity: 0.9; }

.vp-cta-card__btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.vp-cta-card__btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Responsive section ──────────────────────────────────── */
@media (max-width: 1024px) {
  .vp-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vp-benefits {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .vp-cards {
    grid-template-columns: 1fr;
  }
  .vp-card--dark {
    grid-column: span 1;
  }
  .vp-lower {
    margin-top: 2.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   VÉHICULES SIMILAIRES — CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.vp-similar {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #f0f0f0;
}

.vp-similar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.vp-similar__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  margin: 0;
}

.vp-similar__arrows {
  display: flex;
  gap: 0.5rem;
}

.vp-sim-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #1a1a1a;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1;
  padding: 0;
}

.vp-sim-arrow:hover {
  border-color: #1a1a1a;
  background: #f4f4f5;
}

.vp-similar__track-wrap {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.75rem;
  margin: 0 -0.25rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.vp-similar__track-wrap::-webkit-scrollbar {
  display: none;
}

.vp-similar__track {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
}

.vp-sim-card {
  flex: 0 0 210px;
  scroll-snap-align: start;
}

.vp-sim-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}

.vp-sim-card__link:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.vp-sim-card__img-wrap {
  background: #1a1a1a;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.vp-sim-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  display: block;
}

.vp-sim-card__body {
  padding: 0.875rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.vp-sim-card__cat {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  font-weight: 600;
}

.vp-sim-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.vp-sim-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0.375rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.vp-sim-card__from {
  font-size: 0.68rem;
  color: #999;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.vp-sim-card__cur {
  font-size: 0.75rem;
  color: #666;
  font-weight: 500;
}

@media (max-width: 600px) {
  .vp-similar {
    margin-top: 2.5rem;
  }
  .vp-sim-card {
    flex: 0 0 175px;
  }
}
