/* Modales événements — design dédié */
.evt-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.evt-modal.show {
    display: flex;
    visibility: visible;
    opacity: 1;
}

.evt-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(6px);
}

.evt-modal__sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(90dvh, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 0.5rem));
    min-height: 0;
    background: #121212;
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(203, 162, 72, 0.35);
    border-bottom: none;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    animation: evtSheetUp 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

@media (min-width: 640px) {
    .evt-modal {
        align-items: center;
        padding: max(1rem, env(safe-area-inset-top, 0px)) 1.5rem max(1rem, env(safe-area-inset-bottom, 0px));
    }

    .evt-modal__sheet {
        border-radius: 16px;
        border-bottom: 1px solid rgba(203, 162, 72, 0.35);
        max-height: min(85dvh, calc(100dvh - 2rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)));
    }
}

@keyframes evtSheetUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.evt-modal__handle {
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 99px;
    margin: 0.6rem auto 0;
    flex-shrink: 0;
}

.evt-modal__hero {
    padding: 0.85rem 1.25rem 1rem;
    background: linear-gradient(180deg, rgba(203, 162, 72, 0.14) 0%, transparent 100%);
    border-bottom: 1px solid rgba(203, 162, 72, 0.12);
    flex-shrink: 0;
}

.evt-modal__hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.evt-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.55rem;
    border-radius: 99px;
    background: rgba(203, 162, 72, 0.15);
    border: 1px solid rgba(203, 162, 72, 0.35);
    color: #cba248;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.evt-modal__badge i {
    font-size: 0.65rem;
}

.evt-modal__title {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
}

.evt-modal__subtitle {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    line-height: 1.4;
}

.evt-modal__close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.evt-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.evt-modal__body {
    padding: 1rem 1.25rem 0.5rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.evt-modal__footer {
    padding: 0.75rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.evt-modal__btn-ok {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #cba248, #d4b55a);
    color: #111;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Blocs de contenu */
.evt-block {
    margin-bottom: 0.85rem;
    padding: 0.85rem 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.evt-block:last-child {
    margin-bottom: 0;
}

.evt-block--accent {
    border-color: rgba(203, 162, 72, 0.25);
    background: rgba(203, 162, 72, 0.06);
}

.evt-block--warn {
    border-color: rgba(255, 107, 107, 0.25);
    background: rgba(255, 107, 107, 0.06);
}

.evt-block__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

.evt-block__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(203, 162, 72, 0.12);
    color: #cba248;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.evt-block__title {
    margin: 0;
    color: #cba248;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.evt-block__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    line-height: 1.55;
}

.evt-block__text + .evt-block__text {
    margin-top: 0.5rem;
}

.evt-block__text strong {
    color: #fff;
    font-weight: 600;
}

.evt-block__text em {
    color: rgba(255, 255, 255, 0.5);
    font-style: normal;
    font-size: 0.75rem;
}

/* Chips équipements */
.evt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.evt-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.2;
}

.evt-chip i {
    color: #cba248;
    font-size: 0.62rem;
}

/* Liste à puces précise */
.evt-list {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.evt-list li {
    position: relative;
    padding: 0.38rem 0 0.38rem 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.evt-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.evt-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cba248;
}

/* Options jeudi (2 colonnes visuelles) */
.evt-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

.evt-option {
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.evt-option__label {
    display: block;
    color: #cba248;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.3rem;
}

.evt-option__text {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    line-height: 1.45;
}

/* Dress code — cartes Mesdames / Messieurs */
.evt-dress-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.55rem;
}

@media (max-width: 420px) {
    .evt-options,
    .evt-dress-grid {
        grid-template-columns: 1fr;
    }
}

.evt-dress-card {
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.evt-dress-card--f {
    border-color: rgba(255, 105, 180, 0.2);
    background: rgba(255, 105, 180, 0.05);
}

.evt-dress-card--m {
    border-color: rgba(100, 149, 237, 0.2);
    background: rgba(100, 149, 237, 0.05);
}

.evt-dress-card__who {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.evt-dress-card--f .evt-dress-card__who { color: #ff8ec4; }
.evt-dress-card--m .evt-dress-card__who { color: #8eb4ff; }

.evt-dress-card__rules {
    margin: 0;
    padding: 0;
    list-style: none;
}

.evt-dress-card__rules li {
    position: relative;
    padding-left: 0.85rem;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    line-height: 1.45;
}

.evt-dress-card__rules li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #cba248;
}

.evt-dress-card__rules li.forbidden {
    color: #ff8a8a;
}

.evt-note {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    background: rgba(203, 162, 72, 0.08);
    border: 1px solid rgba(203, 162, 72, 0.2);
    margin-top: 0.85rem;
}

.evt-note i {
    color: #cba248;
    font-size: 0.85rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.evt-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.76rem;
    line-height: 1.5;
}

/* ——— Dress code : thème rouge ——— */
.evenements-info-btn--dresscode {
    background: rgba(220, 53, 69, 0.14) !important;
    border-color: rgba(220, 53, 69, 0.55) !important;
    color: #ff6b7a !important;
}

.evenements-info-btn--dresscode:hover,
.evenements-info-btn--dresscode:focus {
    background: rgba(220, 53, 69, 0.26) !important;
    border-color: #dc3545 !important;
}

.evt-modal--dresscode .evt-modal__sheet {
    border-color: rgba(220, 53, 69, 0.45);
}

.evt-modal--dresscode .evt-modal__hero {
    background: linear-gradient(180deg, rgba(220, 53, 69, 0.18) 0%, transparent 100%);
    border-bottom-color: rgba(220, 53, 69, 0.15);
}

.evt-modal--dresscode .evt-modal__badge {
    background: rgba(220, 53, 69, 0.18);
    border-color: rgba(220, 53, 69, 0.45);
    color: #ff6b7a;
}

.evt-modal--dresscode .evt-block__icon {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b7a;
}

.evt-modal--dresscode .evt-block__title {
    color: #ff6b7a;
}

.evt-modal--dresscode .evt-dress-card {
    border-color: rgba(220, 53, 69, 0.2);
    background: rgba(220, 53, 69, 0.06);
}

.evt-modal--dresscode .evt-dress-card--f .evt-dress-card__who,
.evt-modal--dresscode .evt-dress-card--m .evt-dress-card__who {
    color: #ff6b7a;
}

.evt-modal--dresscode .evt-dress-card__rules li::before {
    color: #dc3545;
}

.evt-modal--dresscode .evt-dress-card__rules li.forbidden {
    color: #ff4757;
    font-weight: 600;
}

.evt-modal--dresscode .evt-note--warn {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.35);
}

.evt-modal--dresscode .evt-note--warn i {
    color: #ff6b7a;
}

.evt-modal--dresscode .evt-note--warn p,
.evt-modal--dresscode .evt-note--warn strong {
    color: #ffb3ba;
}

.evt-modal--dresscode .evt-modal__btn-ok {
    background: linear-gradient(135deg, #dc3545, #ff4757);
    color: #fff;
}

/* ——— Modales accès (entrées / profil) ——— */
.access-gate-modal {
    display: none;
}

.evt-modal__footer--split {
    display: flex;
    gap: 0.5rem;
}

.evt-modal__footer--split .evt-modal__btn-ok,
.evt-modal__footer--split .evt-modal__btn-secondary {
    flex: 1;
}

.evt-modal__btn-secondary {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.evt-modal__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.evt-modal__btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
}

.evt-modal--entries .evt-modal__badge,
.evt-modal--profile .evt-modal__badge {
    background: rgba(203, 162, 72, 0.15);
    border-color: rgba(203, 162, 72, 0.35);
    color: #cba248;
}

.evt-modal--entries .evt-block--accent,
.evt-modal--profile .evt-block--accent {
    border-color: rgba(203, 162, 72, 0.25);
    background: rgba(203, 162, 72, 0.06);
}

.evt-modal--entries .evt-block__icon,
.evt-modal--profile .evt-block__icon {
    background: rgba(203, 162, 72, 0.12);
    color: #cba248;
}

.evt-modal--entries .evt-block__title,
.evt-modal--profile .evt-block__title {
    color: #cba248;
}

.evt-modal--entries .evt-list li::before,
.evt-modal--profile .evt-list li::before {
    background: #cba248;
}

/* ——— Onglets compacts (Événements, Horaires…) ——— */
.evenements-tabs {
    padding: 0.35rem 1rem 0.25rem !important;
    margin: 0 0 0.35rem !important;
}

.evenements-tabs .tab-buttons {
    padding: 0.15rem !important;
    gap: 0.25rem !important;
    border-radius: 8px !important;
}

.evenements-tabs .tab-btn {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    gap: 0.3rem !important;
    border-radius: 6px !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.evenements-tabs .tab-btn i {
    font-size: 0.72rem !important;
}

.evenements-tabs .tab-btn.active {
    box-shadow: 0 1px 4px rgba(203, 162, 72, 0.25) !important;
}

/* ——— Événements événementiels mis en avant ——— */
.special-soiree-item {
    margin: 2rem 1rem !important;
    position: relative;
    overflow: visible;
}

.special-soiree-item .soiree-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    width: 100%;
}

.special-soiree-item .soiree-link * {
    pointer-events: none;
}

.special-flyer {
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}

.special-flyer .flyer-image-small {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.special-glow {
    display: none;
}

.special-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: visible;
    min-height: auto;
    flex: 1;
    padding: 1rem !important;
}

.special-date {
    color: #Cba248 !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-shadow: 0 0 10px rgba(203, 162, 72, 0.5);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.special-event-badge {
    display: inline-block;
    background: linear-gradient(135deg, #Cba248 0%, #d4b55a 100%);
    color: #000;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 0.3rem 0.7rem !important;
    border-radius: 15px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 10px rgba(203, 162, 72, 0.4);
}

.special-title {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 10px rgba(203, 162, 72, 0.4);
    margin: 0 !important;
}

@media (max-width: 768px) {
    .special-soiree-item {
        margin: 1.5rem 0.5rem !important;
    }

    .special-date {
        font-size: 0.75rem !important;
    }

    .special-event-badge {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.6rem !important;
    }

    .special-title {
        font-size: 1rem !important;
    }
}

/* ——— Badge « Aujourd'hui » ——— */
.evenement-badge-aujourdhui {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    color: #c8ffe0;
    background: rgba(46, 213, 115, 0.22);
    border: 1px solid rgba(46, 213, 115, 0.55);
    white-space: nowrap;
    flex-shrink: 0;
}

.evenement-badge-aujourdhui .fas {
    font-size: 0.68rem;
    color: #8fffc1;
}

.soirees-list .soiree-item {
    position: relative;
    overflow: visible;
}

.evenement-badge-aujourdhui--list-corner {
    position: absolute;
    right: 0.55rem;
    bottom: 0.45rem;
    z-index: 3;
    pointer-events: none;
}

.evenement-badge-aujourdhui--list-under-time {
    position: static;
    margin: 0.12rem 0 0.1rem;
    align-self: center;
}

.event-info--detail {
    position: relative;
    text-align: center;
}

.event-datetime-meta {
    position: relative;
}

.evenement-badge-aujourdhui--detail-corner {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
    margin: 0;
}

/* ——— Après-midi : date/heure centrées dans la liste ——— */
.soirees-list .soiree-item--apres-midi .soiree-content {
    align-items: stretch;
}

.soirees-list .soiree-item--apres-midi .soiree-info-centered {
    width: 100%;
    align-items: center;
    text-align: center;
}

.soirees-list .soiree-item--apres-midi .soiree-date,
.soirees-list .soiree-item--apres-midi .soiree-time,
.soirees-list .soiree-item--apres-midi .soiree-title,
.soirees-list .soiree-item--apres-midi .soiree-type {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.soirees-list .soiree-item--apres-midi .soiree-badge-small {
    align-self: center;
    margin-top: 0.15rem;
}

/* ——— Carrousel : date/titre centrés ——— */
.featured-events-slide .soiree-info-centered {
    width: 100%;
    align-items: center;
    text-align: center;
}

.featured-events-slide .soiree-date,
.featured-events-slide .special-date,
.featured-events-slide .special-title {
    width: 100%;
    text-align: center !important;
}

/* ——— Détail après-midi : bloc date centré ——— */
.event-info--apres-midi .event-date-simple,
.event-info--apres-midi .event-time-simple {
    width: 100%;
    text-align: center;
}

.soiree-date-row,
.event-date-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

/* ——— Carrousel événements mis en avant ——— */
.featured-events-carousel {
    margin: 2rem 1rem;
    position: relative;
    width: calc(100% - 2rem);
    max-width: 100%;
    box-sizing: border-box;
}

.evenements-featured-separator {
    display: block;
    margin: 0.85rem 1rem 1.15rem;
    height: 1px;
    border: 0;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 1px 0 rgba(203, 162, 72, 0.12);
}

.soirees-list .featured-events-carousel {
    margin: 1.25rem 1rem 0;
}

.soirees-list .evenements-featured-separator--after-carousel {
    margin-top: 0.85rem;
    margin-bottom: 1.15rem;
}

.featured-events-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    position: relative;
    isolation: isolate;
}

.featured-events-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    transition: transform 0.75s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;
}

.featured-events-slide {
    flex: 0 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.featured-events-slide:not(.is-active) {
    pointer-events: none;
}

.featured-events-slide .special-soiree-item {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    overflow: hidden !important;
    border-radius: 8px;
}

.featured-events-slide .soiree-link {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* ——— Carte carrousel ——— */
.featured-events-slide .featured-carousel-card {
    margin: 0 !important;
}

.featured-events-slide .featured-carousel-card .soiree-link {
    align-items: stretch !important;
    gap: 0.65rem !important;
    padding: 0 !important;
}

.featured-events-slide .featured-carousel-flyer {
    position: relative;
    overflow: hidden !important;
    flex-shrink: 0;
    width: 80px;
    height: 120px;
}

.featured-events-slide .featured-carousel-flyer .flyer-image-small,
.featured-events-slide .featured-carousel-flyer .flyer-placeholder {
    width: 80px;
    height: 120px;
}

.featured-events-slide .featured-carousel-content {
    position: relative;
    overflow: hidden !important;
    flex: 1;
    min-width: 0;
    height: 120px !important;
    max-height: 120px !important;
    min-height: 0 !important;
    padding: 1.15rem 0.35rem 1.1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
}

.featured-events-slide .featured-carousel-content > .featured-carousel-content-badge {
    position: absolute !important;
    z-index: 2;
    margin: 0 !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    border-radius: 999px;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    width: auto !important;
    height: auto !important;
}

.featured-events-slide .featured-carousel-content-badge--eventiel {
    top: 0.1rem;
    right: 0.1rem;
    left: auto;
    bottom: auto;
    font-size: 0.72rem !important;
    padding: 0.08rem 0.34rem !important;
    letter-spacing: 0.02em;
    max-width: calc(100% - 0.25rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-events-slide .featured-carousel-content-badge--eventiel.eventiel-apres-midi {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

.featured-events-slide .featured-carousel-content-badge--eventiel:not(.eventiel-apres-midi) {
    background: linear-gradient(135deg, #Cba248 0%, #d4b55a 100%);
    color: #000;
}

.featured-events-slide .featured-carousel-content-badge--type {
    top: auto;
    right: auto;
    bottom: 0.1rem;
    left: 0.1rem;
    font-size: 0.68rem !important;
    padding: 0.07rem 0.3rem !important;
    letter-spacing: 0.01em;
}

.featured-events-slide .featured-carousel-content-badge--type i {
    font-size: 0.62rem;
    line-height: 1;
}

.featured-events-slide .featured-carousel-content-badge--apres-midi {
    background: rgba(255, 193, 7, 0.24);
    border: 1px solid rgba(255, 193, 7, 0.55);
    color: #ffe6a3;
}

.featured-events-slide .featured-carousel-content-badge--soiree {
    background: rgba(203, 162, 72, 0.24);
    border: 1px solid rgba(203, 162, 72, 0.58);
    color: #f5e6c8;
}

.featured-events-slide .soiree-content.special-content.featured-carousel-content {
    height: 120px !important;
    max-height: 120px !important;
    min-height: 0 !important;
    padding: 1.15rem 0.35rem 1.1rem !important;
    overflow: hidden !important;
}

.featured-events-slide .featured-carousel-info {
    width: 100%;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    gap: 0.06rem !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
}

.featured-events-slide .special-date {
    font-size: 0.68rem !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    text-align: center !important;
    text-shadow: none !important;
    line-height: 1.15;
}

.featured-events-slide .featured-carousel-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.64rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    line-height: 1.1;
}

.featured-events-slide .featured-carousel-aujourdhui {
    font-size: 0.52rem !important;
    padding: 0.04rem 0.28rem !important;
    margin: 0.06rem 0 0.04rem !important;
    line-height: 1.1 !important;
}

.featured-events-slide .featured-carousel-aujourdhui .fas {
    font-size: 0.54rem !important;
}

.featured-events-slide .special-title {
    font-size: 0.78rem !important;
    line-height: 1.15 !important;
    width: 100%;
    text-align: center !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-events-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.featured-events-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.featured-events-dot.is-active {
    background: #cba248;
    transform: scale(1.15);
}

.evenement-badge-apres-midi {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.12rem 0.42rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffe6a3;
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.45);
    white-space: nowrap;
}

.evenement-badge-apres-midi .fas {
    font-size: 0.68rem;
    color: #ffd966;
}

.evenement-badge-apres-midi--mini {
    font-size: 0.48rem !important;
    padding: 0.05rem 0.28rem !important;
    gap: 0.12rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.evenement-badge-apres-midi--mini .fas {
    font-size: 0.46rem !important;
}

.soiree-badge-small.special.eventiel-apres-midi,
.special-event-badge.eventiel-apres-midi {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.45) !important;
}

.event-badge.special.eventiel-apres-midi {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
}

@media (max-width: 768px) {
    .featured-events-carousel {
        margin: 1.5rem 0.5rem;
    }

    .featured-events-slide .soiree-content.special-content.featured-carousel-content {
        padding: 1.05rem 0.3rem 1rem !important;
    }

    .featured-events-slide .featured-carousel-content-badge--eventiel {
        font-size: 0.65rem !important;
        padding: 0.07rem 0.3rem !important;
    }

    .featured-events-slide .featured-carousel-content-badge--type {
        font-size: 0.62rem !important;
        padding: 0.06rem 0.26rem !important;
    }

    .featured-events-slide .featured-carousel-content-badge--type i {
        font-size: 0.58rem;
    }

    .featured-events-slide .special-date {
        font-size: 0.64rem !important;
    }

    .featured-events-slide .special-title {
        font-size: 0.72rem !important;
    }

    .featured-events-slide .featured-carousel-time {
        font-size: 0.6rem;
    }
}

/* Programme (soirees.php) — boutons Fonctionnement / Dress code */
.evenements-info-actions {
    display: none;
    gap: 0.5rem;
    padding: 0 1rem 0.5rem;
}

.evenements-info-actions.active {
    display: flex;
}

.evenements-info-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.6rem;
    background: rgba(203, 162, 72, 0.12);
    border: 1px solid rgba(203, 162, 72, 0.35);
    border-radius: 8px;
    color: #cba248;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.evenements-info-btn:hover,
.evenements-info-btn:focus {
    background: rgba(203, 162, 72, 0.22);
    border-color: #cba248;
    outline: none;
}

.evenements-info-btn i {
    font-size: 0.72rem;
}

.evenements-info-btn--dresscode {
    background: rgba(220, 53, 69, 0.14);
    border-color: rgba(220, 53, 69, 0.55);
    color: #ff6b7a;
}

.evenements-info-btn--dresscode:hover,
.evenements-info-btn--dresscode:focus {
    background: rgba(220, 53, 69, 0.26);
    border-color: #dc3545;
}

.soirees-list.tab-content {
    display: none;
}

.soirees-list.tab-content.active {
    display: block;
}
