/* Page organisateur / DJ / artiste / lieu (/clubs/<type>/<slug>) — refonte 07/10/2026.
   Contenu seulement : l'en-tête et le pied de page restent ceux du site.
   Jetons locaux + UN bloc html.dark-mode (règle du mode sombre public). */
.cvp {
    --cvp-text: #16151a;
    --cvp-muted: #6b6775;
    --cvp-card: #ffffff;
    --cvp-card-2: #f6f4ef;
    --cvp-line: #e8e4d9;
    --cvp-accent: #16151a;
    --cvp-accent-ink: #ffffff;
    --cvp-accent-text: #16151a;
    --cvp-accent-soft: #efedf3;
    --cvp-hero-veil: rgba(14, 13, 18, 0.62);
    --cvp-media-bg: #16151a;
    color: var(--cvp-text);
    font-family: inherit;
}
html.dark-mode .cvp {
    --cvp-text: #f4f1ea;
    --cvp-muted: #a8a3b3;
    --cvp-card: #17151d;
    --cvp-card-2: #1e1b25;
    --cvp-line: #2a2733;
    --cvp-accent: #f4f1ea;
    --cvp-accent-ink: #16151a;
    --cvp-accent-text: #f4f1ea;
    --cvp-accent-soft: #24212c;
    --cvp-hero-veil: rgba(14, 13, 18, 0.72);
}
/* Le thème sombre du site peint tous les liens en or : on garde la couleur du texte. */
.cvp a, .cvp a:hover { color: inherit; text-decoration: none; }
html.dark-mode .cvp a:not(.btn):not(.evh-hero-cta):not([class*="-btn"]):not([class*="btn-"]),
html.dark-mode .cvp a:not(.btn):not(.evh-hero-cta):not([class*="-btn"]):not([class*="btn-"]):hover { color: inherit; }
.cvp .cvp-link, html.dark-mode .cvp a.cvp-link { color: var(--cvp-accent-text); font-weight: 600; font-size: 14px; }

/* ── Bandeau : bannières du club, sinon mosaïque des prochains flyers ── */
.cvp-hero { position: relative; height: 260px; overflow: hidden; background: var(--cvp-media-bg); margin: -15px -15px 0; }
.cvp-hero-veil { position: absolute; inset: 0; background: var(--cvp-hero-veil); pointer-events: none; }
.cvp-hero-carousel { position: absolute; inset: 0; }
.cvp-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.cvp-hero-slide.is-active { opacity: 1; z-index: 1; }
.cvp-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cvp-hero.has-banners .cvp-hero-veil { display: none; }
.cvp-hero-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.cvp-hero-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.cvp-hero-dot.is-active { background: #fff; width: 22px; border-radius: 4px; }

/* ── Identité ── */
.cvp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px 64px; }
.cvp-id { position: relative; margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cvp-hero + .cvp-wrap .cvp-id { margin-top: -56px; align-items: flex-end; }
.cvp-hero + .cvp-wrap .cvp-logo { border: 4px solid var(--cvp-card); }
.cvp-logo { width: 112px; height: 112px; border-radius: 26px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--cvp-line); background: var(--cvp-card-2); color: var(--cvp-text); display: flex; align-items: center; justify-content: center; font-family: inherit; font-weight: 700; font-size: 38px; letter-spacing: -.5px; }
.cvp-logo img { width: 100%; height: 100%; object-fit: cover; }
.cvp-id-info { flex: 1 1 320px; min-width: 0; padding-bottom: 4px; }
.cvp-eyebrow { font-size: 12.5px; font-weight: 700; color: var(--cvp-muted); text-transform: uppercase; letter-spacing: 1.2px; }
.cvp-name { margin: 2px 0 8px; font-family: inherit; font-weight: 700; font-size: 38px; line-height: 1.1; letter-spacing: -.5px; color: var(--cvp-text); overflow-wrap: anywhere; }
.cvp-name .cvp-prefix { color: var(--cvp-accent-text); margin-right: 8px; }
.cvp-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--cvp-muted); }
.cvp-stats b { color: var(--cvp-text); font-weight: 700; }
.cvp-actions { display: flex; gap: 10px; align-items: center; padding-bottom: 6px; flex-wrap: wrap; }
.cvp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--cvp-accent); color: var(--cvp-accent-ink) !important; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.cvp-btn:hover { filter: brightness(1.06); }
.cvp-icon-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--cvp-line); background: transparent; color: var(--cvp-text) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 17px; }
.cvp-icon-btn:hover { border-color: var(--cvp-accent); }

/* ── Onglets d'ancre ── */
.cvp-tabs { margin-top: 26px; border-bottom: 1px solid var(--cvp-line); display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.cvp-tabs::-webkit-scrollbar { display: none; }
.cvp-tabs a { padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--cvp-muted) !important; white-space: nowrap; border-bottom: 2px solid transparent; }
.cvp-tabs a.is-on, .cvp-tabs a:hover { color: var(--cvp-text) !important; border-bottom-color: var(--cvp-accent); }
.cvp-tabs a span { font-weight: 500; color: var(--cvp-muted); margin-left: 3px; }

/* ── Sections ── */
.cvp-body { display: flex; flex-direction: column; gap: 52px; padding-top: 34px; }
.cvp-section { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 90px; }
.cvp-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cvp-h2 { margin: 0; font-family: inherit; font-weight: 700; font-size: 22px; letter-spacing: -.2px; color: var(--cvp-text); }
.cvp-h2 small { font-family: inherit; font-weight: 500; font-size: 16px; color: var(--cvp-muted); margin-left: 4px; }
.cvp-kicker { font-size: 12.5px; font-weight: 700; color: var(--cvp-muted); text-transform: uppercase; letter-spacing: 1.2px; }

/* ── Prochaine soirée ── */
.cvp-feat { display: flex; flex-wrap: wrap; background: var(--cvp-card); border: 1px solid var(--cvp-line); border-radius: 20px; overflow: hidden; }
.cvp-feat-media { flex: 1 1 420px; min-width: 0; position: relative; background: var(--cvp-media-bg); min-height: 300px; }
.cvp-feat-media img, .cvp-feat-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cvp-feat-body { flex: 1 1 380px; min-width: 0; padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cvp-feat-when { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.cvp-chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--cvp-accent-soft); color: var(--cvp-accent-text); }
.cvp-feat-title { margin: 0; font-family: inherit; font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -.3px; color: var(--cvp-text); }
.cvp-feat-sub { font-size: 15px; color: var(--cvp-muted); }
.cvp-feat-desc { font-size: 14px; color: var(--cvp-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cvp-feat-loc { font-size: 15px; color: var(--cvp-text); }

/* ── Cartes évènement ── */
.cvp-day { display: flex; flex-direction: column; gap: 14px; }
.cvp-day-title { margin: 0; font-family: inherit; font-weight: 700; font-size: 18px; color: var(--cvp-text); }
.cvp-day-title small { font-family: inherit; font-weight: 500; font-size: 15px; color: var(--cvp-muted); margin-left: 4px; }
.cvp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cvp-card { display: flex; flex-direction: column; background: var(--cvp-card); border: 1px solid var(--cvp-line); border-radius: 16px; overflow: hidden; transition: transform .18s ease, border-color .18s ease; }
.cvp-card:hover { transform: translateY(-3px); border-color: var(--cvp-muted); }
.cvp-card-img { aspect-ratio: 16 / 10; background: var(--cvp-card-2); overflow: hidden; }
.cvp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cvp-card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 5px; }
.cvp-card-time { font-size: 12.5px; font-weight: 700; color: var(--cvp-muted); letter-spacing: .2px; }
.cvp-card-title { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--cvp-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cvp-card-loc { font-size: 13px; color: var(--cvp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Passées : plus compactes */
.cvp-grid.is-past { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.cvp-grid.is-past .cvp-card-img { aspect-ratio: 16 / 9; filter: saturate(.75); }
.cvp-grid.is-past .cvp-card-title { font-size: 14.5px; }

/* Concepts récurrents */
.cvp-concepts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.cvp-concept { background: var(--cvp-card); border: 1px solid var(--cvp-line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.cvp-concept-count { font-size: 11.5px; font-weight: 700; color: var(--cvp-muted); text-transform: uppercase; letter-spacing: 1px; }
.cvp-concept-name { font-family: inherit; font-weight: 700; font-size: 18px; color: var(--cvp-text); line-height: 1.2; }
.cvp-concept-meta { font-size: 13px; color: var(--cvp-muted); }

/* Artistes / organisateurs */
.cvp-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cvp-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--cvp-card); border: 1px solid var(--cvp-line); }
.cvp-pill:hover { border-color: var(--cvp-accent); }
.cvp-pill-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--cvp-accent-soft); color: var(--cvp-accent-text); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px; flex-shrink: 0; }
.cvp-pill-av img { width: 100%; height: 100%; object-fit: cover; }
.cvp-pill-name { font-size: 14px; font-weight: 600; color: var(--cvp-text); }
.cvp-pill-n { font-size: 12px; color: var(--cvp-muted); }
.cvp-pill.is-more { padding: 5px 16px; border-style: dashed; color: var(--cvp-accent-text) !important; font-weight: 700; font-size: 14px; }

/* À propos */
.cvp-about { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; background: var(--cvp-card); border: 1px solid var(--cvp-line); border-radius: 16px; padding: 22px; }
.cvp-about-text { font-size: 15px; line-height: 1.6; color: var(--cvp-text); }
.cvp-about-info { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--cvp-muted); }
.cvp-about-info a { color: var(--cvp-accent-text) !important; }

.cvp-more-wrap { display: flex; justify-content: center; }
.cvp-more { height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--cvp-line); background: var(--cvp-card); color: var(--cvp-text); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.cvp-more:hover { border-color: var(--cvp-accent); }
.cvp-empty { text-align: center; padding: 56px 20px; color: var(--cvp-muted); background: var(--cvp-card); border: 1px dashed var(--cvp-line); border-radius: 16px; }

/* Barre « Réserver » collante (téléphone) */
.cvp-sticky { display: none; }
@media (max-width: 760px) {
    .cvp-hero { height: 170px; }
    .cvp-id { margin-top: 20px; gap: 14px; }
    .cvp-hero + .cvp-wrap .cvp-id { margin-top: -40px; }
    .cvp-logo { width: 76px; height: 76px; border-radius: 20px; font-size: 28px; }
    .cvp-name { font-size: 28px; }
    .cvp-actions { width: 100%; }
    .cvp-actions .cvp-btn { flex: 1; }
    .cvp-feat-media { min-height: 210px; flex-basis: 100%; }
    .cvp-feat-body { padding: 18px; }
    .cvp-feat-title { font-size: 20px; }
    .cvp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .cvp-grid .cvp-card { flex-direction: row; align-items: center; border: 0; background: transparent; border-radius: 0; }
    .cvp-grid .cvp-card:hover { transform: none; }
    .cvp-grid .cvp-card-img { width: 104px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 12px; }
    .cvp-grid .cvp-card-body { padding: 0 0 0 12px; min-width: 0; }
    .cvp-about { grid-template-columns: minmax(0, 1fr); }
    .cvp-sticky { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; margin: 24px -20px -64px; padding: 12px 16px; background: var(--cvp-card); border-top: 1px solid var(--cvp-line); }
    .cvp-sticky-txt { flex: 1; min-width: 0; }
    .cvp-sticky-when { font-size: 12px; color: var(--cvp-muted); }
    .cvp-sticky-title { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cvp-sticky .cvp-btn { height: 44px; padding: 0 18px; font-size: 14px; }
}
