.surface-hero::after {
  --surface-hero-watermark: "Lieux";
}

/* ============ ARRONDISSEMENT GRID SECTION ============ */
.arr-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 4rem 3rem;
}

/* ---- The Grid ---- */
.arr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.arr-card {
  position: relative;
  text-decoration: none;
  display: block;
  background: var(--surface-primary-background);
  border-radius: 3px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.arr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 42, 66, 0.25);
}

.arr-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.arr-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(30%) contrast(1.05) brightness(0.9);
  transition: transform 0.4s ease;
}
.arr-card:hover .arr-card-img {
  transform: scale(1.05);
}

/* Number overlay — the arrondissement number as visual anchor */
.arr-card-number {
  position: absolute;
  top: 0.6rem;
  left: 0.65rem;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--background-color);
  line-height: 1;
  z-index: 3;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(0, 0, 0, 0.3);
}
.arr-card-number sup {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 700;
}

/* Gold bar reveal on hover */
.arr-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.arr-card:hover::after {
  transform: scaleX(1);
}

/* Card body */
.arr-card-body {
  padding: 0.65rem 0.75rem 0.7rem;
  background: var(--surface-primary-background);
}
.arr-card-name {
  font-family: "Playfair Display", serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--background-color);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}
.arr-card-meta {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(210, 200, 180, 0.65);
  line-height: 1.5;
}
.arr-card-meta strong {
  color: var(--secondary-color);
  font-weight: 600;
}

/* ---- Special card: Arrondissement inconnu ---- */
.arr-card.arr-unknown .arr-card-img-wrap {
  background: linear-gradient(160deg, #2c4a6e, #1a2a42);
}
.arr-unknown-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.arr-unknown-icon svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

/* ============ LIEUX NOMMÉS TEASER ============ */
.venues-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem 4rem 3.5rem;
}
.venues-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.venues-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-color);
  line-height: 1.1;
}
.venues-subtitle {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: var(--text-color-subtle);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2rem;
}
.venues-see-all {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.venues-see-all:hover {
  color: var(--primary-color-strong);
}

/* ---- Venue cards: horizontal scroll strip ---- */
.venues-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 150, 12, 0.25) transparent;
}
.venues-strip::-webkit-scrollbar {
  height: 4px;
}
.venues-strip::-webkit-scrollbar-thumb {
  background: rgba(201, 150, 12, 0.25);
  border-radius: 2px;
}

.venue-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.venue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.venue-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.venue-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(25%) contrast(1.05);
  transition: transform 0.4s ease;
}
.venue-card:hover .venue-card-img {
  transform: scale(1.05);
}

/* Venue type badge */
.venue-type-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 3;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--background-color);
  background: rgba(26, 42, 66, 0.8);
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* Gold bar on hover */
.venue-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.venue-card:hover::after {
  transform: scaleX(1);
}

.venue-card-body {
  padding: 0.7rem 0.85rem 0.85rem;
  flex: 1;
}
.venue-card-name {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}
.venue-card-addr {
  font-family: "EB Garamond", serif;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-color-muted);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.venue-card-stats {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-color-subtle);
  line-height: 1.4;
}
.venue-card-stats strong {
  color: var(--secondary-color);
  font-weight: 600;
}
.venue-card-arr {
  display: inline-block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-color-muted);
  background: var(--surface-primary-foreground);
  padding: 0.12rem 0.45rem;
  border-radius: 2px;
  margin-top: 0.35rem;
}

/* ---- Venue placeholder for missing images ---- */
.venue-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--surface-primary-background), var(--surface-primary-background-alt));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.venue-card-placeholder-icon {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: rgba(201, 150, 12, 0.25);
  line-height: 1;
}
.venue-card-placeholder-label {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.25);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .arr-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .arr-section {
    padding: 2.5rem 2rem 2rem;
  }
  .venues-inner {
    padding: 2.5rem 2rem;
  }
}
@media (max-width: 750px) {
  .arr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .venue-card {
    flex: 0 0 220px;
  }
}
@media (max-width: 600px) {
  .section-count {
    font-size: 0.72rem;
  }
  .arr-section {
    padding: 1.5rem 1.2rem;
  }
  .venues-inner {
    padding: 1.5rem 1.2rem;
  }
  .section-title,
  .venues-title {
    font-size: 1.4rem;
  }
  .venues-subtitle {
    font-size: 0.95rem;
  }
  .section-header {
    flex-direction: column;
    gap: 0.3rem;
  }
  .venues-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  /* Revue mobile 2026-07 (2e passe) : cartes avec vignettes en 2 colonnes,
     préférées à l'index compact que le mockup injectait en JS */
  .arr-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .arr-card-name {
    font-size: 0.9rem;
  }
  .arr-card-meta {
    font-size: 0.7rem;
  }
  .venue-card {
    flex: 0 0 200px;
  }
}
