/* ==========================================================================
   Fiche événement v2 — « evp »
   Noir profond, blanc chaud, champagne. Montserrat partout.
   Rendu par js/event.js (renderEvent) dans #event-detail-wrap.
   ========================================================================== */

.event-detail-page:has(.evp) {
  --evp-bg: #050505;
  --evp-surface: #0e0e0d;
  --evp-surface-2: #151513;
  --evp-line: rgba(245, 244, 241, 0.08);
  --evp-line-2: rgba(245, 244, 241, 0.14);
  --evp-text: #f5f4f1;
  --evp-muted: rgba(245, 244, 241, 0.62);
  --evp-faint: rgba(245, 244, 241, 0.42);
  --evp-gold: #c6a66a;
  --evp-gold-hover: #d4b984;
  --evp-radius: 22px;
  background: var(--evp-bg) !important;
  padding: 5.25rem 0 0 !important;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--evp-text);
}

.event-detail-page:has(.evp)::before { display: none !important; }

.event-detail-page:has(.evp) > .ns-breadcrumb {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 1.25rem auto 0 !important;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.event-detail-page:has(.evp) #event-detail-wrap {
  overflow: visible !important;
  z-index: 2;
}

/* position:sticky de la carte : le body ne doit pas être un conteneur de défilement */
body.event-page-body:has(.evp) { overflow: visible !important; }
html.event-page-html:has(.evp) { overflow-x: clip !important; overflow-y: auto; }

.evp, .evp * { box-sizing: border-box; }
.evp {
  position: relative;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--evp-text);
}
.evp h1, .evp h2, .evp h3, .evp p { font-family: inherit; }
.evp a { color: inherit; }

.evp-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Fond : flyer flouté ——— */
.evp-backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: -9rem;
  height: calc(100% + 9rem);
  max-height: 980px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
}
.evp-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(70px) saturate(1.35);
  transform: scale(1.25);
  opacity: 0.42;
}
.evp-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, transparent 0%, rgba(5, 5, 5, 0.55) 60%, var(--evp-bg) 100%);
}

/* ——— Hero ——— */
.evp-hero {
  position: relative;
  z-index: 1;
  padding: 1.75rem 0 3rem;
}
.evp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
.evp-flyer {
  position: relative;
  border-radius: var(--evp-radius);
  overflow: hidden;
  background: var(--evp-surface);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--evp-line);
}
.evp-flyer picture, .evp-flyer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}
.evp-flyer-empty { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a1712, #0b0b0a); }

.evp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1.1rem; }
.evp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--evp-line-2);
  color: var(--evp-muted);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.evp-badge--soon, .evp-badge--live {
  color: #111;
  background: var(--evp-gold);
  border-color: var(--evp-gold);
}
.evp-badge--later { color: var(--evp-gold); border-color: rgba(198, 166, 106, 0.4); }
.evp-badge--past { color: var(--evp-faint); }
.evp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: evp-pulse 1.8s ease-in-out infinite;
}
@keyframes evp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.evp-title {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--evp-text);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.evp-title-sub {
  display: block;
  margin-top: 0.35em;
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--evp-gold);
}
.evp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.evp-where {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--evp-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.evp-where a { text-decoration: none; transition: color 0.2s; }
.evp-where a:hover { color: var(--evp-gold); }
.evp-sep { color: var(--evp-faint); }

.evp-facts {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 14px;
}
.evp-facts li { display: flex; align-items: center; gap: 14px; }
.evp-ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--evp-gold);
  background: rgba(198, 166, 106, 0.08);
  border: 1px solid rgba(198, 166, 106, 0.18);
}
.evp-ico svg { width: 20px; height: 20px; }
.evp-facts strong { display: block; font-size: 15px; font-weight: 600; color: var(--evp-text); }
.evp-facts em { display: block; font-style: normal; font-size: 13.5px; color: var(--evp-muted); margin-top: 2px; }

.evp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.evp-hero-price { font-size: 14px; font-weight: 600; color: var(--evp-muted); }
.evp-tools { display: flex; gap: 8px; flex-basis: 100%; }
.evp-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--evp-line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--evp-text);
  font: 600 13px/1 'Montserrat', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.evp-tool svg { width: 17px; height: 17px; }
.evp-tool:hover { border-color: rgba(245, 244, 241, 0.3); background: rgba(255, 255, 255, 0.07); }

/* ——— Boutons ——— */
.evp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font: 700 14.5px/1 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.evp-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.evp-btn--gold {
  background: var(--evp-gold);
  color: #0b0a08 !important;
  box-shadow: 0 12px 30px -12px rgba(198, 166, 106, 0.6);
}
.evp-btn--gold:hover { background: var(--evp-gold-hover); transform: translateY(-1px); }
.evp-btn--gold svg { transition: transform 0.2s; }
.evp-btn--gold:hover svg { transform: translateX(3px); }
.evp-btn--ghost {
  border: 1px solid var(--evp-line-2);
  color: var(--evp-text);
  background: rgba(255, 255, 255, 0.03);
}
.evp-btn--ghost:hover { border-color: rgba(245, 244, 241, 0.32); background: rgba(255, 255, 255, 0.07); }
.evp-btn--quiet { color: var(--evp-muted); padding: 0 8px; height: 44px; }
.evp-btn--quiet svg { width: 14px; height: 14px; }
.evp-btn--quiet:hover { color: var(--evp-text); }
.evp-btn--block { width: 100%; }

/* ——— Layout contenu + carte ——— */
.evp-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas: 'main aside';
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: 5rem;
}
.evp-main { grid-area: main; min-width: 0; }
.evp-aside { grid-area: aside; position: sticky; top: 100px; }

/* ——— Carte de réservation ——— */
.evp-book {
  border-radius: var(--evp-radius);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(198, 166, 106, 0.07), rgba(198, 166, 106, 0) 45%),
    var(--evp-surface);
  border: 1px solid var(--evp-line-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.evp-book-eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--evp-gold);
}
.evp-book-price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.evp-book-from { font-size: 13px; font-weight: 600; color: var(--evp-muted); }
.evp-book-amount {
  font-size: 2.6rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--evp-text);
  font-variant-numeric: tabular-nums;
}
.evp-book-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--evp-faint); }
.evp-book-title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--evp-text); }
.evp-book > .evp-book-note { margin-bottom: 18px; }

.evp-tables {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--evp-line);
}
.evp-tables li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--evp-line);
  font-size: 14px;
}
.evp-tables-name { font-weight: 600; color: var(--evp-text); }
.evp-tables-name small { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--evp-faint); }
.evp-tables-price { font-weight: 700; color: var(--evp-text); font-variant-numeric: tabular-nums; }

.evp-scarcity {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #f0b35b;
}

.evp-tickets-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--evp-line-2);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.evp-tickets-row:hover { border-color: rgba(245, 244, 241, 0.3); background: rgba(255, 255, 255, 0.04); }
.evp-tickets-row strong { font-size: 14px; font-weight: 700; margin-right: 8px; }
.evp-tickets-row em { font-style: normal; font-size: 13px; color: var(--evp-muted); }
.evp-tickets-row svg { width: 16px; height: 16px; color: var(--evp-muted); }

.evp-reassure {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--evp-line);
  display: grid;
  gap: 10px;
}
.evp-reassure li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--evp-muted); }
.evp-reassure svg { width: 16px; height: 16px; color: var(--evp-gold); flex: 0 0 auto; }

/* ——— Sections ——— */
.evp .evp-section { padding: 2.5rem 0 !important; margin: 0 !important; min-height: 0 !important; border-top: 1px solid var(--evp-line); }
.evp .evp-main > .evp-section:first-child,
.evp .evp-main > .event-detail-club-next + .evp-section { border-top: 0; padding-top: 0.25rem !important; }
.evp-h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--evp-text);
}
.evp-count {
  font-size: 12px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--evp-gold);
  background: rgba(198, 166, 106, 0.1);
}

/* Line-up */
.evp-lineup {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.evp-dj {
  display: block;
  text-decoration: none;
  color: var(--evp-text);
}
.evp-dj-photo {
  display: block;
  position: relative;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--evp-surface-2);
  border: 1px solid var(--evp-line);
}
.evp-dj-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
a.evp-dj:hover .evp-dj-photo img { transform: scale(1.05); }
.evp-dj-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.evp-dj-initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--evp-gold);
}
.evp-dj-name {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}
a.evp-dj:hover .evp-dj-name { color: var(--evp-gold); }

/* Description */
.evp-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: rgba(245, 244, 241, 0.78);
  max-width: 68ch;
}
.evp-desc p { margin: 0 0 1em; }
.evp-desc p:last-child { margin-bottom: 0; }
.evp-desc.event-detail-desc--collapsed {
  max-height: 8.6em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.evp .evp-more {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--evp-gold);
  font: 700 14px/1 'Montserrat', sans-serif;
  cursor: pointer;
}
.evp .evp-more:hover { color: var(--evp-gold-hover); }

/* Lieu */
.evp-venue {
  border-radius: var(--evp-radius);
  overflow: hidden;
  border: 1px solid var(--evp-line-2);
  background: var(--evp-surface);
}
.evp-map { position: relative; height: 260px; background: #121211; }
.evp-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.25) invert(0.9) hue-rotate(180deg) contrast(0.92) brightness(0.95);
}
.evp-venue-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 22px;
}
.evp-venue-name { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.evp-venue-name a { text-decoration: none; }
.evp-venue-name a:hover { color: var(--evp-gold); }
.evp-venue-addr { margin: 0; font-size: 13.5px; color: var(--evp-muted); }
.evp-venue-actions { display: flex; align-items: center; gap: 6px; }
.evp-venue-actions .evp-btn--ghost { height: 44px; padding: 0 18px; font-size: 13.5px; }

/* Organisateurs */
.evp-orgs { display: flex; flex-wrap: wrap; gap: 10px; }
.evp-org {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--evp-line-2);
  font-size: 14px;
  font-weight: 600;
}
.evp-org-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--evp-surface-2);
  color: var(--evp-gold);
  font-weight: 800;
}
.evp-org-logo img { width: 100%; height: 100%; object-fit: cover; }
a.evp-org { color: inherit; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease; }
a.evp-org:hover { border-color: rgba(198, 166, 106, 0.55); background: rgba(198, 166, 106, 0.06); transform: translateY(-1px); }
a.evp-org:focus-visible { outline: 2px solid var(--evp-gold); outline-offset: 2px; }
.evp-org-chev { width: 16px; height: 16px; margin-left: -2px; color: var(--evp-gold); opacity: 0.8; }

/* FAQ (markup partagé renderEventFaqHtml) */
.evp .event-detail-divider { display: none !important; }
.evp .event-detail-faq {
  padding: 2.5rem 0;
  margin: 0;
  border-top: 1px solid var(--evp-line);
}
.evp .event-detail-faq .event-detail-block-title {
  margin: 0 0 1.2rem;
  font: 700 1.35rem/1.2 'Montserrat', sans-serif;
  letter-spacing: -0.015em;
  color: var(--evp-text);
  text-transform: none;
}
.evp .event-detail-faq-list { display: grid; gap: 0; border-top: 1px solid var(--evp-line); }
.evp .event-detail-faq-item {
  border: 0 !important;
  border-bottom: 1px solid var(--evp-line) !important;
  border-radius: 0 !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.evp .event-detail-faq-item summary {
  list-style: none;
  position: relative;
  padding: 20px 40px 20px 0;
  font: 600 15px/1.45 'Montserrat', sans-serif;
  color: var(--evp-text);
  cursor: pointer;
}
.evp .event-detail-faq-item summary::-webkit-details-marker { display: none; }
.evp .event-detail-faq-item summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--evp-muted);
  border-bottom: 2px solid var(--evp-muted);
  transform: rotate(45deg);
  transition: transform 0.25s, margin-top 0.25s;
}
.evp .event-detail-faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.evp .event-detail-faq-item p {
  margin: 0;
  padding: 0 40px 20px 0;
  font: 400 14.5px/1.7 'Montserrat', sans-serif;
  color: var(--evp-muted);
}

/* Contact WhatsApp (markup partagé renderEventContactBlock) */
.evp .event-detail-contact-section { padding: 2.5rem 0 0; border-top: 1px solid var(--evp-line); }
.evp .event-detail-contact-section[hidden] { display: none; }
.evp .event-detail-contact .event-detail-block-title {
  margin: 0 0 0.4rem;
  font: 700 1.35rem/1.2 'Montserrat', sans-serif;
  letter-spacing: -0.015em;
  color: var(--evp-text);
  text-transform: none;
}
.evp .event-detail-contact-subtitle { margin: 0 0 1.1rem; font: 400 14px/1.6 'Montserrat', sans-serif; color: var(--evp-muted); }
.evp .event-detail-contact-card {
  border-radius: 18px !important;
  border: 1px solid var(--evp-line-2) !important;
  background: var(--evp-surface) !important;
  max-width: 460px;
}

/* Prochaines dates (événement passé) */
.evp .event-detail-club-next { margin: 0 0 1rem; }
.evp .event-detail-club-next__title { font-family: 'Montserrat', sans-serif; }

/* ——— Barre mobile ——— */
.event-detail-bottom-bar:has(.evp-bar) {
  background: rgba(8, 8, 7, 0.86) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid rgba(245, 244, 241, 0.08);
  box-shadow: none !important;
}
.evp-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
}
.evp-bar-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.evp-bar-info small { font-size: 12px; font-weight: 500; color: rgba(245, 244, 241, 0.6); }
.evp-bar-info strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f5f4f1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-detail-bottom-bar .evp-bar-btn {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 150px;
  height: 52px !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: #c6a66a !important;
  color: #0b0a08 !important;
  font: 700 15px/1 'Montserrat', sans-serif !important;
  text-decoration: none;
  box-shadow: none !important;
}

/* Toast */
.evp-toast {
  position: fixed;
  left: 50%;
  bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 12px);
  padding: 12px 20px;
  border-radius: 999px;
  background: #f5f4f1;
  color: #0b0a08;
  font: 600 13.5px/1 'Montserrat', sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 10050;
}
.evp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ——— Tablette / mobile ——— */
@media (max-width: 1023px) {
  .evp-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'aside' 'main';
    gap: 0;
  }
  .evp-aside { position: static; margin-bottom: 2.5rem; }
  .evp-hero-cta, .evp-hero-price { display: none; }
}

@media (max-width: 767px) {
  .event-detail-page:has(.evp) { padding-top: 4.75rem !important; }
  .event-detail-page:has(.evp) > .ns-breadcrumb { padding: 0 16px; margin-top: 0.75rem !important; }
  .evp-shell { padding: 0 16px; }
  .evp-hero { padding: 1rem 0 2rem; }
  .evp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .evp-flyer { border-radius: 18px; }
  .evp-flyer picture, .evp-flyer img { max-height: none; }
  .evp-title { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .evp-where { margin-bottom: 1.4rem; font-size: 0.98rem; }
  .evp-facts { margin-bottom: 1.5rem; }
  .evp-ico { width: 40px; height: 40px; border-radius: 12px; }
  .evp-tools { width: 100%; }
  .evp-tool { flex: 1 1 0; justify-content: center; }
  .evp-book { padding: 22px; }
  .evp-book-amount { font-size: 2.2rem; }
  .evp .evp-section { padding: 2rem 0 !important; }
  .evp .event-detail-faq { padding: 2rem 0; }
  .evp-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .evp-map { height: 200px; }
  .evp-venue-body { padding: 18px; }
  .evp-venue-actions { width: 100%; }
  .evp-venue-actions .evp-btn--ghost { flex: 1 1 auto; }
  .evp-layout { padding-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .evp-dot { animation: none; }
  .evp-btn, .evp-dj-photo img { transition: none; }
}

.evp .event-detail-contact {
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Carte du lieu — Leaflet + CARTO dark (remplace l'iframe Google inversée)
   ========================================================================== */
.evp-map {
  position: relative;
  height: 320px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(198, 166, 106, 0.08), transparent 70%),
    #0c0c0b;
  isolation: isolate;
}
.evp-map-canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background: #0c0c0b !important;
  font-family: 'Montserrat', sans-serif;
}
.evp-map.is-ready .evp-map-canvas { opacity: 1; }
/* Fondu vers la carte sous la carte + vignettage */
.evp-map-veil {
  position: absolute;
  inset: 0;
  z-index: 450;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(5, 5, 5, 0.55) 100%),
    linear-gradient(180deg, transparent 70%, rgba(14, 14, 13, 0.9) 100%);
}
/* Chargement : léger shimmer tant que la carte n'est pas prête */
.evp-map:not(.is-ready):not(.is-failed)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
  background-size: 300% 100%;
  animation: evp-map-shimmer 1.6s linear infinite;
}
@keyframes evp-map-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.evp-map.is-failed { height: 0; }

/* Pin doré pulsé */
.evp-pin { position: relative; width: 22px; height: 22px; background: none !important; border: 0 !important; }
.evp-pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: #c6a66a;
  border: 3px solid #0b0a08;
  box-shadow: 0 0 0 2px rgba(198, 166, 106, 0.55), 0 6px 18px rgba(0, 0, 0, 0.6);
}
.evp-pin-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: rgba(198, 166, 106, 0.45);
  animation: evp-pin-pulse 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
@keyframes evp-pin-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(4.2); opacity: 0; }
}
.evp-pin--approx .evp-pin-pulse { width: 120px; height: 120px; margin: -60px 0 0 -60px; background: rgba(198, 166, 106, 0.12); border: 1px solid rgba(198, 166, 106, 0.35); animation: none; }

/* Contrôles sur mesure */
.evp-map-ctrl {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(14, 14, 13, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 244, 241, 0.12);
}
.evp-map-ctrl button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #f5f4f1;
  cursor: pointer;
}
.evp-map-ctrl button + button { border-top: 1px solid rgba(245, 244, 241, 0.08); }
.evp-map-ctrl button:hover { background: rgba(255, 255, 255, 0.08); }
.evp-map-ctrl svg { width: 16px; height: 16px; }
.evp-map-go {
  position: absolute;
  left: 14px;
  bottom: 16px;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #c6a66a;
  color: #0b0a08 !important;
  font: 700 13px/1 'Montserrat', sans-serif;
  text-decoration: none !important;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.8);
  transition: background 0.2s, transform 0.2s;
}
.evp-map-go:hover { background: #d4b984; transform: translateY(-1px); }
.evp-map-go svg { width: 16px; height: 16px; }

/* Attribution discrète (MapLibre) */
.evp-map .maplibregl-ctrl-attrib {
  background: rgba(5, 5, 5, 0.55) !important;
  color: rgba(245, 244, 241, 0.5) !important;
  font: 500 10px/1.4 'Montserrat', sans-serif !important;
}
.evp-map .maplibregl-ctrl-attrib a { color: rgba(245, 244, 241, 0.65) !important; }
.evp-map .maplibregl-ctrl-attrib-button { filter: invert(1) opacity(0.6); }
.evp-map .maplibregl-ctrl-bottom-right { z-index: 460; }
.evp-map .maplibregl-canvas { outline: none; }
.evp-map .maplibregl-map { font-family: 'Montserrat', sans-serif; }

@media (max-width: 767px) {
  .evp-map { height: 240px; }
  .evp-map-go { height: 38px; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .evp-pin-pulse, .evp-map:not(.is-ready)::after { animation: none; }
  .evp-map-canvas { transition: none; }
}
/* Le bouton « Itinéraire » vit sur la carte quand elle est chargée */
.evp-venue:has(.evp-map.is-ready) .evp-venue-actions .evp-btn--ghost { display: none; }
/* MapLibre impose .maplibregl-map { position: relative } : on garde le canvas plein cadre */
.evp-map .evp-map-canvas.maplibregl-map { position: absolute !important; inset: 0; width: 100%; height: 100%; }
.evp-map .maplibregl-canvas { filter: brightness(1.28) contrast(1.06) saturate(0.9); }
.evp-pin-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(14, 14, 13, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 166, 106, 0.45);
  color: #f5f4f1;
  font: 700 12px/1 'Montserrat', sans-serif;
  white-space: nowrap;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}
.evp-pin-label::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: rgba(14, 14, 13, 0.88);
  border-right: 1px solid rgba(198, 166, 106, 0.45);
  border-bottom: 1px solid rgba(198, 166, 106, 0.45);
  transform: rotate(45deg);
}
.evp-map .maplibregl-ctrl-attrib .maplibregl-ctrl-attrib-inner { display: none; }
.evp-map .maplibregl-ctrl-attrib:hover .maplibregl-ctrl-attrib-inner,
.evp-map .maplibregl-ctrl-attrib:focus-within .maplibregl-ctrl-attrib-inner { display: block; }
.evp-map .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 24px; border-radius: 12px; }
