/* ═══════════════════════════════════════════════════
   PROPRIÉTÉS VENDUES  — hérite des variables de courtier5.css
   ═══════════════════════════════════════════════════ */

/* ── HERO ── */
.vendu-hero {
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid rgba(194,162,107,.12);
}

.vendu-hero-inner { max-width: 640px; margin: 0 auto; }

.vendu-hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 300;
  color: #f0ede6;
  line-height: 1.15;
  margin: .5rem 0 1rem;
}

.vendu-hero-title em {
  font-style: italic;
  color: var(--gold);
}

.vendu-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.4rem;
}

.vendu-hero-desc {
  font-family: var(--sans);
  font-size: .95rem;
  color: #9a9690;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── STAT HERO ── */
.vendu-stat {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 1.8rem;
  padding: .7rem 1.6rem;
  border: 1px solid rgba(194,162,107,.3);
  border-radius: 4px;
  background: rgba(194,162,107,.06);
}

.vendu-stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.vendu-stat-label {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a9690;
}

/* ── GRILLE ── */
.vendu-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

.vendu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ── CARTE ── */
.vendu-card {
  background: var(--surface, #121211);
  border: 1px solid rgba(194,162,107,.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.vendu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

/* image */
.vendu-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #1a1a1a;
}

.vendu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* assombrir légèrement pour que le sticker ressorte */
  transition: transform .4s ease;
}

.vendu-card:hover .vendu-card-img img {
  transform: scale(1.03);
}

.vendu-card-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 3rem;
  color: #3a3a38;
}

/* ── TAG VENDU ── */
.vendu-sticker {
  position: absolute;
  top: .75rem;
  left: .75rem;
  pointer-events: none;
}

.vendu-sticker-text {
  display: inline-block;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0b0b0a;
  background: var(--gold);
  padding: .3rem .75rem;
  border-radius: 3px;
}

/* body */
.vendu-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.vendu-card-price {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: .3rem;
}

.vendu-card-type {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a9690;
  margin-bottom: .5rem;
}

.vendu-card-address {
  font-family: var(--sans);
  font-size: .9rem;
  color: #c8c5be;
  margin-bottom: .2rem;
}

.vendu-card-city {
  font-family: var(--sans);
  font-size: .82rem;
  color: #6b6963;
  margin-bottom: .8rem;
}

.vendu-card-meta {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--sans);
  font-size: .82rem;
  color: #7a7772;
}

/* ── EMPTY ── */
.vendu-empty {
  text-align: center;
  padding: 5rem 1.5rem;
  color: #9a9690;
}

.vendu-empty-icon { font-size: 3rem; margin-bottom: 1rem; }

.vendu-empty h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: #c8c5be;
  margin-bottom: .6rem;
}

/* ── CTA ── */
.vendu-cta {
  background: linear-gradient(135deg, #0f0e0d 0%, var(--surface, #121211) 100%);
  border-top: 1px solid rgba(194,162,107,.12);
  padding: 5rem 1.5rem;
  text-align: center;
}

.vendu-cta-inner { max-width: 640px; margin: 0 auto; }

.vendu-cta-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: #f0ede6;
  margin: .5rem 0 1rem;
}

.vendu-cta-title em {
  font-style: italic;
  color: var(--gold);
}

.vendu-cta-desc {
  font-family: var(--sans);
  font-size: .95rem;
  color: #9a9690;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.vendu-cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .vendu-grid {
    grid-template-columns: 1fr;
  }

  .vendu-sticker-text {
    font-size: 1.2rem;
    padding: .35rem 1rem;
  }
}
