/* ═══════════════════════════════════════════════════════════════════════
   EVENT DETAIL — ns: edx-*
   Typo & couleurs alignées sur Eventy (Poppins / Roboto + --theme-* via Tigsi).
═══════════════════════════════════════════════════════════════════════ */
.edx-page {
    --edx-ink:        var(--color-dark);
    --edx-ink-2:      var(--color-dark);
    --edx-text:       var(--body-text-color);
    --edx-muted:      var(--body-text-color);
    --edx-line:       var(--border-info-color);
    --edx-line-soft:  var(--border-info-color2);
    --edx-bg:         var(--theme-bg-light);
    --edx-paper:      #ffffff;
    --edx-cream:      var(--color-gray);

    --edx-primary:    var(--theme-color);
    --edx-primary-2:  var(--theme-color2);
    --edx-accent:     var(--theme-color);
    --edx-success:    #22c55e;
    --edx-danger:     #ef4444;

    --edx-grad:       var(--theme-gradient);
    --edx-grad-warm:  linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    --edx-grad-soft:  linear-gradient(145deg, color-mix(in srgb, var(--theme-color) 14%, transparent), color-mix(in srgb, var(--theme-color2) 10%, transparent));

    --edx-radius-xl:  20px;
    --edx-radius-lg:  15px;
    --edx-radius:     12px;
    --edx-radius-sm:  10px;

    --edx-shadow-sm:  var(--box-shadow);
    --edx-shadow:     var(--box-shadow2);
    --edx-shadow-lg:  0 14px 44px color-mix(in srgb, var(--theme-color) 14%, transparent);

    --edx-font-display: var(--heading-font);
    --edx-font-body:    var(--body-font);

    overflow-x: clip;
    isolation: isolate;
    font-family: var(--edx-font-body);
    color: var(--edx-text);
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(120% 70% at 10% -15%, color-mix(in srgb, var(--theme-color) 9%, transparent), transparent 45%),
        radial-gradient(90% 55% at 100% 0%, color-mix(in srgb, var(--theme-color2) 8%, transparent), transparent 42%),
        var(--edx-bg);
}

/* ── Reset scoped to our page (priorité sur Eventy / Bootstrap dans ce bloc) ── */
.edx-page *,
.edx-page *::before,
.edx-page *::after { box-sizing: border-box; }

.edx-page a {
    text-decoration: none;
    color: inherit;
    transition: color .2s ease, opacity .2s ease, border-color .2s ease;
}
.edx-page ul { list-style: none; margin: 0; padding: 0; }
.edx-page p, .edx-page h1, .edx-page h2, .edx-page h3, .edx-page h4 { margin: 0; }
.edx-page button { font-family: inherit; }

/* Titres dans les cartes : rester plus compacts que les h2 globaux Eventy (~35px) */
.edx-page .edx-card__hd h2,
.edx-page .edx-card__hd h3 {
    font-family: var(--edx-font-display);
    font-weight: 800;
    font-size: 1.18rem !important;
    color: var(--edx-ink);
    line-height: 1.2;
    letter-spacing: -.01em;
    flex: 1;
    min-width: 0;
}

.edx-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.75rem);
}

/* ══════════════════════════════════════════════════════════════════════
   HERO — full bleed, editorial
══════════════════════════════════════════════════════════════════════ */
.edx-hero {
    position: relative;
    min-height: clamp(440px, 58vh, 620px);
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}
.edx-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 12s ease-out;
    z-index: 0;
}
.edx-hero:hover .edx-hero__bg { transform: scale(1); }
.edx-hero__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(125% 90% at 88% -15%, color-mix(in srgb, var(--theme-color) 28%, transparent), transparent 50%),
        radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--theme-color2) 22%, transparent), transparent 52%),
        linear-gradient(180deg, rgba(18,20,28,.12) 0%, rgba(18,20,28,.55) 42%, rgba(18,20,28,.96) 100%);
}
.edx-hero__noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .12;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.edx-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(2rem, 6vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.edx-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.25rem, 4vw, 2rem);
}
.edx-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: end;
}
@media (min-width: 900px) {
    .edx-hero__layout {
        grid-template-columns: minmax(0, 1fr) min(280px, 32vw);
        gap: 2rem;
    }
}
.edx-hero__main { min-width: 0; }
.edx-hero__poster {
    display: none;
}
@media (min-width: 900px) {
    .edx-hero__poster {
        display: block;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
        border: 3px solid rgba(255, 255, 255, .22);
        aspect-ratio: 3 / 4;
        max-height: 320px;
        align-self: end;
        transform: translateY(8px);
    }
    .edx-hero__poster img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}
.edx-crumb {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,.78);
    flex-wrap: wrap;
}
.edx-crumb a { transition: color .2s; }
.edx-crumb a:hover { color: #fff; }
.edx-crumb__sep { font-size: .55rem; opacity: .6; }
.edx-crumb__cur { color: #fff; font-weight: 700; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom;}

.edx-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.edx-icon-btn + .edx-icon-btn { margin-left: .45rem; }
.edx-icon-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.2);
    color: #fff;
}
.edx-icon-btn--fav.is-active {
    background: var(--edx-grad-warm);
    border-color: transparent;
}

.edx-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.edx-chip {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .42rem .85rem;
    border-radius: 50px;
    font-size: .76rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    line-height: 1;
}
.edx-chip i { font-size: .72rem; opacity: .9; }
.edx-chip--cat { background: color-mix(in srgb, var(--theme-color) 72%, transparent); border-color: rgba(255,255,255,.28); }
.edx-chip--status-pending { background: color-mix(in srgb, var(--theme-color) 78%, #fff); border-color: transparent; color: var(--color-dark); }
.edx-chip--status-pending i { color: color-mix(in srgb, var(--color-dark) 75%, transparent); }
.edx-chip--status-processing { background: rgba(34,197,94,.78); border-color: transparent; }
.edx-chip--status-completed { background: color-mix(in srgb, var(--theme-color2) 78%, #fff); border-color: transparent; }
.edx-chip--free { background: rgba(34,197,94,.7); border-color: transparent; }
.edx-chip--price { background: var(--edx-grad-warm); border-color: transparent; }
.edx-chip--rating { background: rgba(254,243,199,.92); color: #78350f; border-color: rgba(245,158,11,.4); }

.edx-page .edx-hero h1.edx-title {
    font-family: var(--edx-font-display);
    font-weight: 900;
    font-size: clamp(1.85rem, 4.8vw, 3rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
    max-width: 720px;
    text-shadow: 0 2px 28px rgba(0,0,0,.35);
    margin-bottom: 1.1rem;
}
.edx-hero__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 2.25rem;
    margin-bottom: 1.85rem;
    color: rgba(255,255,255,.85);
    font-size: .92rem;
}
.edx-hero__sub-item { display: inline-flex; align-items: center; gap: .55rem; }
.edx-hero__sub-item i {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    font-size: .78rem;
}
.edx-hero__sub-item strong { color: #fff; font-weight: 700; }

.edx-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.edx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border: none;
    border-radius: 100px;
    padding: .95rem 1.85rem;
    font-weight: 800;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, background .2s ease;
    line-height: 1;
    white-space: nowrap;
}
.edx-btn--primary {
    background: var(--edx-grad);
    color: #fff;
    box-shadow: var(--box-shadow);
}
.edx-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px color-mix(in srgb, var(--theme-color) 35%, transparent);
}
.edx-btn--ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.32);
    backdrop-filter: blur(10px);
}
.edx-btn--ghost:hover { color: #fff; background: rgba(255,255,255,.22); transform: translateY(-1px); }
.edx-btn--locked {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.7);
    cursor: not-allowed;
    border: 1px dashed rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════════════════════════════════════
   QUICK STATS BAR
══════════════════════════════════════════════════════════════════════ */
.edx-stats {
    position: relative;
    z-index: 5;
    margin-top: -48px;
    background:
        linear-gradient(var(--edx-paper), var(--edx-paper)) padding-box,
        linear-gradient(135deg, color-mix(in srgb, var(--theme-color) 45%, transparent), color-mix(in srgb, var(--theme-color2) 40%, transparent)) border-box;
    border: 1px solid transparent;
    border-radius: var(--edx-radius-lg);
    box-shadow: var(--edx-shadow-lg);
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}
.edx-stats::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: calc(var(--edx-radius-lg) - 6px);
    background: radial-gradient(80% 120% at 10% 0%, color-mix(in srgb, var(--theme-color) 6%, transparent), transparent 55%);
    pointer-events: none;
    z-index: 0;
}
.edx-stats > * { position: relative; z-index: 1; }
.edx-stat {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.edx-stat__ico {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--edx-grad-soft);
    color: var(--edx-primary);
    font-size: 1.05rem;
}
.edx-stat__lbl {
    display: block;
    font-size: .68rem;
    font-weight: 800;
    color: var(--edx-muted);
    letter-spacing: .9px;
    text-transform: uppercase;
    margin-bottom: .15rem;
}
.edx-stat__val {
    display: block;
    font-size: .98rem;
    font-weight: 800;
    color: var(--edx-ink);
    line-height: 1.25;
}

/* ══════════════════════════════════════════════════════════════════════
   BODY LAYOUT
══════════════════════════════════════════════════════════════════════ */
.edx-body {
    padding: 2.25rem 0 5rem;
}
@media (max-width: 1023px) {
    .edx-body {
        padding-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
    }
}
.edx-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.edx-grid--spaced { margin-top: 1.75rem; }
@media(min-width: 1024px) {
    .edx-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 2rem;
        align-items: start;
    }
}

/* Mobile / tablette : colonne latérale (réservation) au-dessus du contenu long */
@media (max-width: 1023px) {
    .edx-grid {
        display: flex;
        flex-direction: column;
        gap: clamp(1.15rem, 3.5vw, 1.65rem);
    }
    .edx-stack { order: 2; }
    .edx-side {
        order: 1;
        position: relative;
        top: auto;
        max-height: none;
        overflow: visible;
        width: 100%;
    }
}

/* Colonne principale : espacement régulier sans marges « magiques » */
.edx-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(1.15rem, 2.2vw, 1.65rem);
}
.edx-stack > .edx-gallery { margin: 0; }

/* ══════════════════════════════════════════════════════════════════════
   CARD
══════════════════════════════════════════════════════════════════════ */
.edx-card {
    background: var(--edx-paper);
    border: 1px solid var(--edx-line);
    border-radius: var(--edx-radius-lg);
    box-shadow: var(--edx-shadow-sm);
    overflow: hidden;
    transition: box-shadow .25s ease;
}
.edx-stack .edx-card { margin-top: 0 !important; }
.edx-card + .edx-card { margin-top: 1.25rem; }
.edx-card:hover { box-shadow: var(--edx-shadow); border-color: color-mix(in srgb, var(--theme-color) 22%, transparent); }

.edx-card__hd {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--edx-line-soft);
}
.edx-card__hd-ico {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--edx-grad);
    color: #fff;
    font-size: .92rem;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--theme-color2) 28%, transparent);
}
.edx-card__count {
    font-size: .72rem;
    font-weight: 800;
    color: var(--edx-primary);
    background: color-mix(in srgb, var(--theme-color) 12%, transparent);
    padding: .25rem .7rem;
    border-radius: 50px;
}
.edx-card__bd { padding: 1.5rem; }

/* ══════════════════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════════════════ */
.edx-gallery {
    position: relative;
    overflow: hidden;
    border-radius: var(--edx-radius-lg);
    border: 1px solid rgba(255,255,255,.65);
    box-shadow: var(--edx-shadow-sm), 0 0 0 1px color-mix(in srgb, var(--theme-color) 6%, transparent);
}
.edx-swiper .swiper-slide {
    background: #0b0f1a;
}
.edx-swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
@media(max-width: 600px){
    .edx-swiper .swiper-slide img{aspect-ratio:4/3;}
}
.edx-swiper .swiper-pagination-bullet { background:#fff !important; opacity:.55; }
.edx-swiper .swiper-pagination-bullet-active { opacity:1; }
.edx-swiper .swiper-button-prev,
.edx-swiper .swiper-button-next {
    color: #fff !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50%;
    background: rgba(11,15,26,.55);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    transition: background .2s;
}
.edx-swiper .swiper-button-prev:hover,
.edx-swiper .swiper-button-next:hover { background: var(--edx-primary); }
.edx-swiper .swiper-button-prev::after,
.edx-swiper .swiper-button-next::after { font-size: .9rem !important; font-weight: 800; }

/* ══════════════════════════════════════════════════════════════════════
   DESCRIPTION
══════════════════════════════════════════════════════════════════════ */
.edx-desc {
    font-size: 1.02rem;
    line-height: 1.82;
    color: var(--edx-text);
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 68ch;
}
.edx-desc__more {
    margin-top: 1rem;
    background: none;
    border: none;
    color: var(--edx-primary);
    font-weight: 800;
    font-size: .85rem;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.edx-desc__more:hover { color: var(--edx-primary-2); }

.edx-hashtag {
    display: inline-block;
    color: var(--edx-primary);
    font-weight: 700;
}

.edx-desc--clamped {
    max-height: 12em;
    overflow: hidden;
    position: relative;
}
.edx-desc--clamped::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 5em;
    background: linear-gradient(180deg, transparent, var(--edx-paper));
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════
   SESSIONS / AGENDA
══════════════════════════════════════════════════════════════════════ */
.edx-sess__pattern {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--edx-cream);
    border: 1px dashed rgba(245,158,11,.35);
    padding: 1rem 1.15rem;
    border-radius: var(--edx-radius);
    margin-bottom: 1.25rem;
}
.edx-sess__pattern-ico {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--edx-grad-warm);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem;
    flex-shrink: 0;
}
.edx-sess__pattern-text { font-size: .92rem; color: var(--edx-ink-2); line-height: 1.5; }
.edx-sess__pattern-text strong { color: var(--edx-ink); font-weight: 800; }

.edx-sess-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: .75rem;
}
.edx-sess-list--rest {
    display: none;
    margin-top: .75rem;
}
.edx-sess-list--rest.is-open { display: grid; }
.edx-sess-item {
    display: flex;
    gap: .85rem;
    align-items: stretch;
    padding: .75rem .9rem;
    border-radius: var(--edx-radius);
    background: var(--edx-paper);
    border: 1px solid var(--edx-line);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.edx-sess-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--edx-shadow-sm);
    border-color: color-mix(in srgb, var(--theme-color) 28%, transparent);
}
.edx-sess-item--past { opacity: .55; }
.edx-sess-item--past .edx-sess-day, .edx-sess-item--past .edx-sess-mon { color: var(--edx-muted); }

.edx-sess-date {
    flex-shrink: 0;
    text-align: center;
    width: 54px;
    border-radius: 10px;
    background: var(--edx-grad-soft);
    padding: .5rem .25rem;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.edx-sess-day {
    font-family: var(--edx-font-display);
    font-weight: 900;
    font-size: 1.55rem;
    color: var(--edx-primary);
    line-height: 1;
}
.edx-sess-mon {
    font-size: .62rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--edx-muted);
    letter-spacing: .9px;
    margin-top: .2rem;
}
.edx-sess-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; justify-content: center; }
.edx-sess-time {
    font-size: .88rem;
    font-weight: 800;
    color: var(--edx-ink);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.edx-sess-time i { color: var(--edx-primary); font-size: .75rem; }
.edx-sess-loc { font-size: .76rem; color: var(--edx-muted); display: inline-flex; align-items: center; gap: .35rem; }
.edx-sess-loc i { color: var(--edx-primary); font-size: .7rem; }

.edx-sess-toggle {
    margin-top: 1rem;
    background: none;
    border: 1.5px solid var(--edx-line);
    color: var(--edx-ink);
    font-weight: 700;
    font-size: .85rem;
    padding: .65rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: all .2s ease;
}
.edx-sess-toggle:hover {
    border-color: var(--edx-primary);
    color: var(--edx-primary);
}

/* ══════════════════════════════════════════════════════════════════════
   ARTISTS
══════════════════════════════════════════════════════════════════════ */
.edx-artists {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1.2rem .8rem;
}
.edx-artist { text-align: center; }
.edx-artist__img {
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto .55rem;
    border: 3px solid var(--edx-line);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.edx-artist:hover .edx-artist__img {
    transform: scale(1.06) translateY(-3px);
    border-color: var(--edx-primary);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--theme-color) 22%, transparent);
}
.edx-artist__name {
    font-size: .82rem;
    font-weight: 700;
    color: var(--edx-ink);
    line-height: 1.3;
}

/* ══════════════════════════════════════════════════════════════════════
   ELECTIONS
══════════════════════════════════════════════════════════════════════ */
.edx-elections-intro {
    font-size: .88rem;
    color: var(--edx-muted);
    margin-bottom: 1.1rem;
}
.edx-elections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.1rem;
}
.edx-book__city {
    color: var(--edx-muted);
    font-weight: 600;
}
.edx-promo__info {
    min-width: 0;
    flex: 1;
}
.edx-promo__loc-icon {
    color: var(--edx-primary);
    margin-right: .25rem;
}

/* ══════════════════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════════════════ */
.edx-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
@media(min-width: 1024px) {
    .edx-side {
        position: sticky;
        top: clamp(72px, 14vw, 108px);
        max-height: calc(100vh - 108px);
        overflow-y: auto;
        scrollbar-width: thin;
        padding-right: 4px;
    }
    .edx-side::-webkit-scrollbar { width: 6px; }
    .edx-side::-webkit-scrollbar-thumb { background: var(--edx-line); border-radius: 3px; }
}

/* ── Countdown ────────────────────────────────────────────────────── */
.edx-countdown {
    border-radius: var(--edx-radius-lg);
    overflow: hidden;
    color: #fff;
    background: var(--edx-grad);
    box-shadow: 0 16px 38px color-mix(in srgb, var(--theme-color2) 28%, transparent);
    position: relative;
}
.edx-countdown::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.18) 0%, transparent 55%),
        radial-gradient(circle at 10% 110%, rgba(255,255,255,.12) 0%, transparent 60%);
    pointer-events: none;
}
.edx-countdown__hd {
    padding: 1.1rem 1.4rem .35rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: rgba(255,255,255,.78);
}
.edx-countdown__hd > i {
    flex-shrink: 0;
    font-size: .85rem;
    opacity: .9;
}
.edx-countdown__label {
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(255,255,255,.92);
    min-width: 0;
}
.edx-countdown__grid {
    padding: 0 1rem 1.2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .35rem;
}
.edx-countdown__cell {
    text-align: center;
    padding: .35rem .15rem;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
}
.edx-countdown__num {
    font-family: var(--edx-font-display);
    display: block;
    font-weight: 900;
    font-size: clamp(1.6rem, 3.4vw, 2rem);
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.edx-countdown__unit {
    display: block;
    font-size: .58rem;
    font-weight: 700;
    color: rgba(255,255,255,.78);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: .25rem;
}

/* ── Booking ──────────────────────────────────────────────────────── */
.edx-book__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .4rem;
    padding: 1.1rem 1.4rem .9rem;
    border-bottom: 1px dashed var(--edx-line);
}
.edx-book__from {
    font-size: .72rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: .8px;
    color: var(--edx-muted);
}
.edx-book__amount {
    font-family: var(--edx-font-display);
    font-weight: 900;
    font-size: 1.65rem;
    color: var(--edx-ink);
    line-height: 1;
}
.edx-book__amount span { font-size: .72rem; font-weight: 700; color: var(--edx-muted); margin-left: .25rem; }

.edx-book__rows {
    padding: .25rem 1.4rem;
    display: flex;
    flex-direction: column;
}
.edx-book__row {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--edx-line-soft);
}
.edx-book__row:last-child { border-bottom: none; }
.edx-book__row-ico {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--edx-grad-soft);
    color: var(--edx-primary);
    font-size: .85rem;
}
.edx-book__row-info { flex: 1; min-width: 0; }
.edx-book__row-lbl {
    display: block;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--edx-muted);
    margin-bottom: .15rem;
}
.edx-book__row-val {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--edx-ink);
    line-height: 1.35;
    word-break: break-word;
}
.edx-book__row-val a { color: inherit; border-bottom: 1px dotted rgba(0,0,0,.2); }
.edx-book__row-val a:hover { color: var(--edx-primary); border-color: var(--edx-primary); }

.edx-avail {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .65rem;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 800;
}
.edx-avail--ok { background: rgba(34,197,94,.12); color: #15803d; }
.edx-avail--no { background: rgba(225,29,72,.1); color: #be123c; }
.edx-avail--warn { background: rgba(245,158,11,.12); color: #b45309; }

.edx-tix-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 1rem 1.4rem;
}
.edx-tix-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .76rem;
    font-weight: 700;
    padding: .35rem .75rem;
    border-radius: 50px;
    background: color-mix(in srgb, var(--theme-color) 9%, transparent);
    color: var(--edx-primary);
    border: 1px solid color-mix(in srgb, var(--theme-color) 22%, transparent);
}
.edx-tix-chip--free { background: rgba(34,197,94,.1); color: #15803d; border-color: rgba(34,197,94,.22); }
.edx-tix-chip--sold { background: rgba(225,29,72,.06); color: #be123c; border-color: rgba(225,29,72,.18); text-decoration: line-through; opacity: .75; }

.edx-book__cta {
    padding: .25rem 1.4rem 1.4rem;
}
.edx-book__cta .edx-btn { width: 100%; padding: 1.05rem 1.25rem; }
.edx-book__cta .edx-btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.edx-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .35rem .9rem;
    padding: 0 1.4rem 1.4rem;
}
.edx-trust__item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .7rem;
    color: var(--edx-muted);
    font-weight: 600;
}
.edx-trust__item i { color: var(--edx-primary); }

/* ── Promoter card ───────────────────────────────────────────────── */
.edx-card--promo .edx-card__hd {
    padding: .95rem 1.25rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--theme-color) 8%, #fff), color-mix(in srgb, var(--theme-color2) 6%, #fff));
}
.edx-card--promo .edx-card__hd h3 {
    font-size: 1rem !important;
}
.edx-promo__hd {
    padding: 1.15rem 1.4rem 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.edx-promo__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--edx-grad);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 22px rgba(124,58,237,.32);
}
.edx-promo__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edx-promo__name {
    font-family: var(--edx-font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--edx-ink);
    line-height: 1.2;
    margin-bottom: .25rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    flex-wrap: wrap;
}
.edx-promo__verified {
    color: #2563eb;
    font-size: .9rem;
    line-height: 1;
}
.edx-promo__sub {
    font-size: .78rem;
    color: var(--edx-muted);
    font-weight: 600;
}

.edx-promo__stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .85rem 1.4rem;
    border-top: 1px solid var(--edx-line-soft);
    border-bottom: 1px solid var(--edx-line-soft);
}
.edx-promo__stat { text-align: center; flex: 1; }
.edx-promo__stat-num {
    font-family: var(--edx-font-display);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--edx-ink);
    display: block;
    font-variant-numeric: tabular-nums;
}
.edx-promo__stat-lbl {
    font-size: .62rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--edx-muted);
    letter-spacing: .7px;
}
.edx-promo__follow {
    flex: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem 1rem;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 800;
    background: var(--edx-grad);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.edx-promo__follow:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(124,58,237,.4); color: #fff; }
.edx-promo__follow--done,
.edx-promo__follow.is-following {
    background: rgba(34,197,94,.12);
    color: #15803d;
    cursor: default;
    box-shadow: none;
}
.edx-promo__follow--done:hover,
.edx-promo__follow.is-following:hover {
    transform: none;
    box-shadow: none;
}

.edx-promo__actions {
    padding: .85rem 1.4rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.edx-mini-btn {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem .85rem;
    border-radius: 12px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--edx-ink);
    border: 1.5px solid var(--edx-line);
    background: var(--edx-paper);
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.edx-mini-btn:hover { border-color: var(--edx-primary); color: var(--edx-primary); transform: translateY(-1px); }
.edx-mini-btn--wa { color: #16a34a; border-color: rgba(22,163,74,.25); }
.edx-mini-btn--wa:hover { background: #25D366; border-color: #25D366; color: #fff; }

/* ── Contacts ─────────────────────────────────────────────────────── */
.edx-contacts {
    padding: 1rem 1.4rem 1.25rem;
    border-top: 1px solid var(--edx-line-soft);
}
.edx-contacts__lbl {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: var(--edx-muted);
    margin-bottom: .55rem;
}
.edx-contacts__lbl i { color: var(--edx-primary); }
.edx-contacts__list { display: flex; flex-wrap: wrap; gap: .4rem; }
.edx-contacts__item {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 700;
    padding: .45rem .85rem;
    border-radius: 50px;
    background: color-mix(in srgb, var(--theme-color) 9%, transparent);
    color: var(--edx-primary);
    border: 1px solid color-mix(in srgb, var(--theme-color) 20%, transparent);
    transition: all .2s ease;
}
.edx-contacts__item:hover { background: var(--edx-primary); color: #fff; }

/* ── Mini map ─────────────────────────────────────────────────────── */
.edx-map {
    border-radius: var(--edx-radius-lg);
    overflow: hidden;
    background: var(--edx-line-soft);
    border: 1px solid var(--edx-line);
    aspect-ratio: 16/10;
    display: block;
    position: relative;
}
.edx-map img {
    width: 100%; height: 100%; object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
}
.edx-map__pin {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -100%);
    width: 38px; height: 38px;
    background: var(--edx-grad);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(124,58,237,.4);
}
.edx-map__pin::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--edx-primary);
}
.edx-map__cta {
    position: absolute;
    bottom: .8rem; right: .8rem;
    padding: .55rem .9rem;
    background: rgba(11,15,26,.75);
    color: #fff;
    border-radius: 50px;
    font-size: .76rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.edx-map__cta:hover { background: var(--edx-ink); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   SPONSORS
══════════════════════════════════════════════════════════════════════ */
.edx-sponsors {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: var(--edx-paper);
    border-top: 1px solid var(--edx-line);
}
.edx-sponsors__hd { text-align: center; margin-bottom: 2.25rem; }
.edx-sponsors__hd h2 {
    font-family: var(--edx-font-display);
    font-weight: 900;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: var(--edx-ink);
    margin-bottom: .35rem;
    letter-spacing: -.01em;
}
.edx-sponsors__hd h2 span {
    background: var(--edx-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.edx-sponsors__hd p { font-size: .92rem; color: var(--edx-muted); }
.edx-sponsors-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.75rem;
}
.edx-sponsor { text-align: center; transition: transform .25s; }
.edx-sponsor:hover { transform: scale(1.07); }
.edx-sponsor img {
    max-height: 72px;
    object-fit: contain;
    filter: grayscale(40%);
    transition: filter .25s;
}
.edx-sponsor:hover img { filter: none; }
.edx-sponsor p { font-size: .76rem; font-weight: 700; color: var(--edx-muted); margin-top: .4rem; }

/* ══════════════════════════════════════════════════════════════════════
   STICKY MOBILE BAR
══════════════════════════════════════════════════════════════════════ */
.edx-stickybar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--edx-line);
    box-shadow: 0 -10px 30px rgba(11,15,26,.1);
    padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom,0px));
    display: flex;
    align-items: center;
    gap: .8rem;
    transform: translateY(120%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.edx-stickybar.is-visible { transform: translateY(0); }
.edx-stickybar__info { flex: 1; min-width: 0; }
.edx-stickybar__name {
    font-weight: 800;
    font-size: .9rem;
    color: var(--edx-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.edx-stickybar__sub { font-size: .72rem; color: var(--edx-muted); margin-top: .1rem; }
.edx-stickybar__btn {
    flex-shrink: 0;
    padding: .85rem 1.4rem;
    background: var(--edx-grad);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: .9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    box-shadow: var(--box-shadow);
    white-space: nowrap;
}
@media(min-width: 1024px) { .edx-stickybar { display: none; } }

/* ══════════════════════════════════════════════════════════════════════
   MODAL alert
══════════════════════════════════════════════════════════════════════ */
.edx-modal-alert {
    background: var(--theme-bg-light);
    border: 1px solid var(--border-info-color);
    border-left: 4px solid var(--theme-color);
    border-radius: var(--edx-radius-lg);
    padding: 1.25rem 1.35rem;
    margin: 0 0 1.35rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--box-shadow);
}
.edx-modal-alert__ico i { font-size: 1.65rem; color: var(--theme-color); }
.edx-modal-alert__title { color: var(--color-dark); font-family: var(--heading-font); font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.edx-modal-alert__text { color: var(--body-text-color); font-size: .9rem; line-height: 1.6; margin-bottom: .85rem; }
.edx-modal-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.edx-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    padding: .62rem 1.2rem;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: .82rem;
    text-decoration: none;
    transition: var(--transition2, all .3s ease);
    border: none;
    box-shadow: var(--box-shadow);
}
.edx-modal-btn--app { background: var(--theme-gradient); color: #fff; }
.edx-modal-btn--wa  { background: #25D366; color: #fff; box-shadow: none; }
.edx-modal-btn:hover { transform: translateY(-2px); color: #fff; filter: brightness(1.03); }

/* Harmoniser le modal billetterie (fichier externe) sur petits écrans */
@media (max-width: 576px) {
    .ticket-modal { border-radius: 18px; max-height: 94vh; margin: 0 .35rem; }
    .ticket-modal-header { padding: 1.1rem 1.15rem; border-radius: 18px 18px 0 0; }
    .ticket-modal-header h2 { font-size: 1.15rem !important; flex-wrap: wrap; gap: .5rem; }
    .ticket-modal-body { padding: 1.15rem !important; }
    .ticket-category-header { flex-wrap: wrap; gap: .35rem; align-items: baseline; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .edx-container { padding: 0 clamp(.75rem, 4vw, 1.25rem); }
    .edx-hero__top {
        flex-wrap: wrap;
        margin-bottom: clamp(1.25rem, 5vw, 2.5rem);
    }
    .edx-hero__icons { margin-left: auto; }
}

@media(max-width: 768px) {
    .edx-stats {
        margin-top: -28px;
        padding: .95rem;
        gap: .85rem;
        grid-template-columns: 1fr 1fr;
    }
    .edx-stat__ico { width: 38px; height: 38px; }
    .edx-card__bd { padding: 1.15rem; }
    .edx-card__hd { padding: .9rem 1.15rem; flex-wrap: wrap; }
    .edx-card__count { margin-left: auto; }
    .edx-hero { min-height: clamp(380px, 62vh, 540px); }
    .edx-hero__poster { display: none !important; }
    .edx-hero__sub { gap: .65rem 1rem; font-size: .82rem; }
    .edx-hero__cta { flex-direction: column; align-items: stretch; }
    .edx-hero__cta .edx-btn { justify-content: center; width: 100%; }
    .edx-promo__hd { flex-direction: row; }
    .edx-promo__stats { flex-wrap: wrap; }
    .edx-sponsors-row { gap: 1.25rem 1.5rem; }
}

@media (max-width: 576px) {
    .edx-hero__top {
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
    }
    .edx-hero__icons { align-self: flex-end; margin-left: 0; }
    .edx-crumb { font-size: .74rem; max-width: 100%; }
    .edx-crumb__cur { max-width: none; white-space: normal; }
    .edx-hero__chips { gap: .4rem; }
    .edx-chip { font-size: .72rem; padding: .38rem .72rem; }
    .edx-page .edx-hero h1.edx-title { font-size: clamp(1.65rem, 9vw, 2.25rem) !important; }
}

@media(max-width: 480px) {
    .edx-stats { grid-template-columns: 1fr; gap: .85rem; margin-top: -20px; }
    .edx-artists { grid-template-columns: repeat(3, 1fr); gap: .85rem .5rem; }
    .edx-artist__img { width: 76px; height: 76px; }
    .edx-elections { grid-template-columns: 1fr; }
    .edx-sess-list { grid-template-columns: 1fr; }
    .edx-book__cta .edx-btn { padding: .95rem 1rem; font-size: .88rem; }
    .edx-stickybar { padding: .65rem .75rem calc(.75rem + env(safe-area-inset-bottom, 0px)); gap: .55rem; }
    .edx-stickybar__btn { padding: .72rem 1rem; font-size: .82rem; }
}
@media(prefers-reduced-motion: reduce) {
    .edx-hero__bg { transition: none; transform: none; }
}

.edx-ticket-empty {
    padding: 2rem;
    text-align: center;
    color: var(--edx-muted);
}

.edx-ticket-empty i {
    font-size: 2.5rem;
    color: var(--edx-primary);
    display: block;
    margin-bottom: .75rem;
}

.edx-free-app-card {
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #eef2ff 0%, #f5f3ff 55%, #fff 100%);
    border: 1px solid rgba(79, 70, 229, .15);
}
.edx-free-app-card__head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #312e81;
}
.edx-free-app-card__head p {
    margin: .35rem 0 0;
    font-size: .82rem;
    color: #6366f1;
    font-weight: 600;
}
.edx-free-app-card__text {
    margin: 1rem 0 1.15rem;
    font-size: .88rem;
    line-height: 1.55;
    color: #6b7280;
}
.edx-free-app-card .edx-btn { width: 100%; justify-content: center; }
