/* ---- Hero Banner & Recherche — Charte Tikéli Officielle ---- */
    .hero-banner {
        background: radial-gradient(circle at 10% 15%, rgba(255, 74, 13, 0.22) 0%, transparent 45%),
            radial-gradient(circle at 90% 85%, rgba(255, 74, 13, 0.12) 0%, transparent 50%),
            linear-gradient(145deg, #000000 0%, #0e0e0e 60%, #1a1a1a 100%);
        color: #ffffff;
        padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        margin-bottom: 2rem;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .hero-banner .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-family: var(--font-heading, 'Outfit', sans-serif);
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--tikeli-orange, #FF4A0D);
        background: rgba(255, 74, 13, 0.12);
        border: 1px solid rgba(255, 74, 13, 0.35);
        padding: 6px 16px;
        border-radius: 9999px;
        margin: 0 auto 1.25rem;
        box-shadow: 0 2px 10px rgba(255, 74, 13, 0.15);
    }

    .hero-banner h1 {
        color: #ffffff;
        font-family: var(--font-heading, 'Outfit', sans-serif);
        font-size: clamp(1.65rem, 4.8vw, 3rem);
        font-weight: 900;
        margin: 0 auto 0.75rem;
        letter-spacing: -0.03em;
        line-height: 1.18;
        text-align: center;
        max-width: 800px;
        overflow-wrap: break-word;
    }

    .hero-banner p {
        color: #737373;
        font-size: clamp(0.88rem, 1.8vw, 1.05rem);
        max-width: 640px;
        margin: 0 auto 1.75rem;
        line-height: 1.55;
        text-align: center;
        overflow-wrap: break-word;
    }

    .search-box-wrapper {
        background: #ffffff;
        border: 1px solid var(--eventia-border, #E5E5E5);
        border-radius: 16px;
        padding: 0.5rem;
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
        max-width: 880px;
        margin: 0 auto;
        box-shadow: 0 14px 35px rgba(6, 19, 41, 0.28);
        align-items: center;
    }

    .search-input-field {
        flex: 1;
        min-width: 180px;
        display: flex;
        align-items: center;
        padding: 0.5rem 0.85rem;
        border-right: 1px solid #F5F5F5;
        gap: 0.5rem;
    }

    .search-input-field:last-of-type {
        border-right: none;
    }

    .search-input-field i {
        color: var(--eventia-amber-dark, #FF4A0D);
        font-size: 0.95rem;
        flex-shrink: 0;
    }

    .search-input-field input,
    .search-input-field select {
        width: 100%;
        border: none;
        outline: none;
        padding: 0.35rem 0;
        font-size: 0.92rem;
        font-family: var(--font-body, 'Inter', sans-serif);
        color: var(--eventia-navy, #000000);
        background: transparent;
        font-weight: 500;
    }

    .search-box-wrapper .btn-submit-hero {
        background: var(--tikeli-orange, #FF4A0D);
        color: #ffffff;
        font-family: var(--font-heading, 'Outfit', sans-serif);
        font-weight: 800;
        font-size: 0.95rem;
        padding: 0.75rem 1.65rem;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 4px 14px rgba(255, 74, 13, 0.35);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
    }

    .search-box-wrapper .btn-submit-hero:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(224, 62, 8, 0.45);
    }

    .search-box-wrapper .btn-submit-hero:active {
        transform: scale(0.98);
    }

    @media (max-width: 768px) {
        .search-box-wrapper {
            flex-direction: column;
            gap: 0.35rem;
            padding: 0.75rem;
        }

        .search-input-field {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid #F5F5F5;
            padding: 0.65rem 0.5rem;
        }

        .search-input-field:last-of-type {
            border-bottom: none;
            margin-bottom: 0.35rem;
        }

        .search-box-wrapper .btn-submit-hero {
            width: 100%;
            padding: 0.85rem;
        }
    }

    /* ---- Cartes Événements Eventia ---- */
    .event-card-item {
        background: #ffffff;
        border: 1px solid var(--eventia-border, #E5E5E5);
        border-radius: var(--eventia-radius-lg, 14px);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: var(--eventia-transition);
        box-shadow: var(--eventia-shadow-sm, 0 2px 4px rgba(16, 24, 40, 0.06));
        text-align: left;
    }

    .event-card-item:hover {
        transform: translateY(-3px);
        box-shadow: var(--eventia-shadow-lg, 0 12px 24px -4px rgba(16, 24, 40, 0.12));
        border-color: #E5E5E5;
    }

    .event-card-item h3 {
        font-family: var(--font-heading, 'Outfit', sans-serif);
        font-weight: 700;
        color: var(--eventia-navy, #000000);
        overflow-wrap: break-word;
        word-break: normal;
        line-height: 1.25;
    }

    .event-card-item p {
        overflow-wrap: break-word;
        word-break: normal;
    }

    .event-poster {
        height: 216px;
        width: 100%;
        object-fit: cover;
        background: #E5E5E5;
        display: block;
    }

    .event-category-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: var(--tikeli-black, #000000);
        color: var(--tikeli-orange, #FF4A0D);
        font-family: var(--font-heading, 'Outfit', sans-serif);
        font-size: 0.72rem;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: var(--eventia-radius-pill, 9999px);
        border: 1px solid rgba(255, 74, 13, 0.35);
        letter-spacing: 0.04em;
        text-transform: uppercase;
        max-width: calc(100% - 96px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 2;
    }

    .event-date-chip {
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: #ffffff;
        color: var(--eventia-navy, #000000);
        font-family: var(--font-body, 'Inter', sans-serif);
        font-size: 0.75rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: var(--eventia-radius-sm, 8px);
        border: 1px solid var(--eventia-border, #E5E5E5);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
        max-width: calc(100% - 24px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        z-index: 2;
    }

    .ticket-tier-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        background: #F5F5F5;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        padding: 0.85rem 1.1rem;
        margin-bottom: 0.65rem;
        transition: var(--transition);
        overflow: hidden;
    }

    .ticket-tier-row:hover {
        border-color: var(--primary-light);
        background: #ffffff;
    }

    .ticket-tier-info {
        flex: 1 1 190px;
        min-width: 0;
        overflow-wrap: break-word;
    }

    .ticket-tier-info strong {
        display: block;
        color: var(--navy);
        font-size: 0.95rem;
        overflow-wrap: break-word;
        word-break: normal;
        line-height: 1.35;
    }

    .ticket-tier-info small,
    .ticket-tier-info span {
        overflow-wrap: break-word;
    }

    .ticket-qty-control {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-shrink: 0;
    }

    .ticket-qty-btn {
        width: 32px;
        height: 32px;
        border: 1px solid var(--line);
        background: #ffffff;
        border-radius: 6px;
        display: grid;
        place-items: center;
        cursor: pointer;
        font-weight: bold;
        font-size: 1rem;
        color: var(--navy);
        transition: var(--transition);
    }

    .ticket-qty-btn:hover {
        background: var(--primary-soft);
        border-color: var(--primary);
        color: var(--primary);
    }

    .ticket-qty-input {
        width: 48px;
        text-align: center;
        padding: 0.35rem 0.2rem;
        border: 1px solid var(--line);
        border-radius: 6px;
        font-weight: 700;
        font-size: 0.95rem;
    }

    /* Bulles de catégories (Carousel fluide & moderne) */
    .category-chips {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px 2px 14px;
        margin-top: 1.25rem;
        margin-bottom: 1.75rem;
        scroll-snap-type: x mandatory;
    }

    .category-chips::-webkit-scrollbar {
        display: none;
    }

    .category-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.5rem 1rem;
        background: #ffffff;
        border: 1px solid var(--eventia-border, #E5E5E5);
        border-radius: 9999px;
        color: var(--eventia-navy, #000000);
        font-family: var(--font-heading, 'Outfit', sans-serif);
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        scroll-snap-align: start;
        box-shadow: 0 1px 3px rgba(11, 29, 58, 0.04);
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
    }

    .category-chip i {
        color: var(--eventia-navy-light, #000000);
        font-size: 0.85rem;
    }

    .category-chip:hover {
        background: #F5F5F5;
        border-color: #E5E5E5;
        transform: translateY(-1px);
        color: var(--eventia-navy, #000000);
    }

    .category-chip.active {
        background: var(--tikeli-orange, #FF4A0D);
        color: #ffffff;
        border-color: var(--tikeli-orange, #FF4A0D);
        box-shadow: 0 4px 12px rgba(255, 74, 13, 0.28);
    }

    .category-chip.active i {
        color: #ffffff;
    }

    /* ===== Bouton like (cœur) sur les cartes ===== */
    .event-like-btn {
        position: absolute;
        top: 12px;
        right: 12px;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 5px 12px;
        background: rgba(255, 255, 255, 0.92);
        border: none;
        border-radius: 20px;
        font-size: 0.78rem;
        font-weight: 800;
        font-family: inherit;
        color: var(--navy);
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        transition: var(--transition);
        z-index: 2;
    }

    .event-like-btn i {
        color: #737373;
        transition: var(--transition);
    }

    .event-like-btn:hover {
        transform: scale(1.08);
    }

    .event-like-btn:hover i {
        color: #000000;
    }

    .event-like-btn.liked i {
        color: #000000;
    }

    .event-like-btn.liked {
        color: #000000;
    }

    /* ===== Choix de place : plan interactif ===== */
    .ticket-tier-row {
        flex-wrap: wrap;
    }

    .seat-choice-block {
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px dashed var(--line);
    }

    .direct-seat-btn {
        padding: 5px 9px;
        font-size: 0.74rem;
        font-weight: 700;
        border: 1px solid #E5E5E5;
        background: #ffffff;
        border-radius: 6px;
        cursor: pointer;
        color: #000000;
        transition: all 0.15s ease;
    }
    .direct-seat-btn:hover {
        border-color: #FF4A0D;
        background: #FFF2ED;
        color: #FF4A0D;
    }
    .direct-seat-btn.selected {
        background: #FF4A0D !important;
        color: #ffffff !important;
        border-color: #FF4A0D !important;
        font-weight: 800;
    }

    .seat-map-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--radius-full);
        color: var(--ink);
        font-size: 0.82rem;
        font-weight: 700;
        cursor: pointer;
        transition: var(--transition);
    }

    .seat-map-toggle i {
        color: var(--primary);
    }

    .seat-map-toggle strong {
        color: var(--primary);
    }

    .seat-map-toggle:hover,
    .seat-map-toggle.active {
        border-color: var(--primary);
        background: var(--primary-soft);
    }

    .seat-choice-label {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
        font-size: 0.82rem;
        color: var(--ink);
        cursor: pointer;
        font-weight: 600;
        width: 100%;
        min-width: 0;
    }

    .seat-choice-label span {
        flex: 1;
        min-width: 0;
        overflow-wrap: break-word;
        word-break: normal;
        line-height: 1.45;
    }

    .seat-choice-label input {
        accent-color: var(--primary);
        width: 16px;
        height: 16px;
        cursor: pointer;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .seat-choice-label strong {
        color: var(--primary);
        overflow-wrap: break-word;
    }

    .seat-choice-label small {
        color: var(--muted);
        font-weight: 500;
        display: block;
        overflow-wrap: break-word;
    }

    /* ==========================================================================
       VUE DE SCÈNE INTERACTIVE & CHOIX DE PLACE RESPONSIVE
       ========================================================================== */
    .scene-view-card {
        margin-top: 0.75rem;
        background: #000000;
        border: 1px solid #000000;
        border-radius: 10px;
        padding: clamp(0.65rem, 2vw, 0.85rem);
        color: #F5F5F5;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
    }

    .scene-view-card[hidden] {
        display: none !important;
    }

    .scene-stage-banner {
        background: linear-gradient(180deg, #000000 0%, #000000 100%);
        border: 1px solid rgba(56, 189, 248, 0.35);
        border-radius: 8px;
        padding: 0.5rem 0.75rem;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .scene-stage-podium {
        font-size: clamp(0.72rem, 2vw, 0.8rem);
        font-weight: 800;
        letter-spacing: 1px;
        color: #FF4A0D;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .btn-scene-interactive {
        width: 100%;
        min-height: 44px;
        padding: 0.65rem 0.9rem;
        background: linear-gradient(135deg, #000000 0%, #000000 100%);
        color: #ffffff;
        border: 1.5px solid #FF4A0D;
        border-radius: 8px;
        font-weight: 800;
        font-size: clamp(0.78rem, 2.2vw, 0.86rem);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
        transition: all 0.2s ease;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .btn-scene-interactive:hover {
        background: #000000;
        border-color: #FF4A0D;
        transform: translateY(-1px);
    }

    .scene-tag-badge {
        background: rgba(56, 189, 248, 0.2);
        color: #FF4A0D;
        font-size: 0.72rem;
        padding: 3px 8px;
        border-radius: 12px;
        white-space: nowrap;
    }

    .scene-selected-summary {
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid #000000;
        border-radius: 8px;
        padding: 0.65rem 0.75rem;
        font-size: 0.8rem;
    }

    .seat-hint {
        display: block;
        width: 100%;
        margin-top: 0.55rem;
        font-size: 0.78rem;
        color: var(--muted);
        font-weight: 600;
    }

    .seat-hint strong {
        color: var(--primary);
    }

    /* ===== MODALE VUE DE SCÈNE 3D RESPONSIVE (MÜLLER-BROCKMANN) ===== */
    .s3d-modal-overlay {
        z-index: 100000;
        background: rgba(3, 7, 18, 0.94);
        backdrop-filter: blur(8px);
        padding: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .s3d-modal-window {
        background: #000000;
        border: 1px solid #000000;
        border-radius: 18px;
        width: 100%;
        max-width: 1200px;
        height: 92vh;
        height: 92dvh;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
        position: relative;
    }

    /* Header */
    .s3d-header {
        padding: 0.75rem 1.25rem;
        background: #000000;
        border-bottom: 1px solid #000000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .s3d-header-main {
        min-width: 0;
        flex: 1 1 240px;
    }

    .s3d-header-title-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .s3d-badge-3d {
        background: rgba(56, 189, 248, 0.18);
        color: #FF4A0D;
        padding: 3px 8px;
        border-radius: 6px;
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .s3d-event-title {
        margin: 0;
        font-size: clamp(0.95rem, 2.5vw, 1.15rem);
        color: #F5F5F5;
        font-weight: 800;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .s3d-venue-subtitle {
        font-size: 0.76rem;
        color: #737373;
        margin-top: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .s3d-header-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .s3d-tabs {
        display: flex;
        gap: 4px;
        background: #000000;
        padding: 3px;
        border-radius: 8px;
        border: 1px solid #000000;
    }

    .studio-tab-btn {
        background: transparent;
        border: 1px solid transparent;
        color: #737373;
        padding: 0.35rem 0.65rem;
        border-radius: 6px;
        font-size: 0.76rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        white-space: nowrap;
    }

    .studio-tab-btn:hover {
        color: #ffffff;
    }

    .studio-tab-btn.active {
        background: rgba(56, 189, 248, 0.16);
        border-color: rgba(56, 189, 248, 0.4);
        color: #FF4A0D;
    }

    .s3d-cameras-group {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .s3d-cameras {
        display: flex;
        gap: 4px;
    }

    .s3d-cam-btn {
        background: #000000;
        color: #F5F5F5;
        border: 1px solid #000000;
        font-size: 0.76rem;
        padding: 0.35rem 0.6rem;
        border-radius: 6px;
        font-weight: 700;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: background 0.15s ease;
    }

    .s3d-cam-btn:hover {
        background: #000000;
    }

    .s3d-cam-reset {
        color: #FF4A0D;
    }

    .s3d-close-btn {
        background: rgba(239, 68, 68, 0.18);
        border: 1px solid rgba(239, 68, 68, 0.4);
        color: #000000;
        border-radius: 8px;
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        cursor: pointer;
        font-size: 0.95rem;
        transition: all 0.15s ease;
    }

    .s3d-close-btn:hover {
        background: #000000;
        color: #ffffff;
    }

    /* Body */
    .s3d-body {
        display: flex;
        flex: 1;
        min-height: 0;
        overflow: hidden;
        position: relative;
    }

    .s3d-canvas-panel {
        flex: 1;
        min-width: 0;
        position: relative;
        background: #000000;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .s3d-canvas-panel canvas {
        width: 100%;
        height: 100%;
        display: block;
        touch-action: none;
    }

    .s3d-tariff-bar {
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        z-index: 10;
        scrollbar-width: none;
    }

    .s3d-tariff-bar::-webkit-scrollbar {
        display: none;
    }

    .studio-filter-btn {
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(6px);
        border: 1px solid #000000;
        color: #E5E5E5;
        padding: 0.35rem 0.7rem;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 700;
        cursor: pointer;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        transition: all 0.15s ease;
    }

    .studio-filter-btn.active {
        background: #FF4A0D;
        color: #000000;
        border-color: #FF4A0D;
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
    }

    .s3d-touch-hint {
        position: absolute;
        top: 48px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(15, 23, 42, 0.85);
        color: #737373;
        font-size: 0.7rem;
        padding: 3px 10px;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        pointer-events: none;
        white-space: nowrap;
        opacity: 0.85;
        z-index: 5;
    }

    .s3d-legend {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(8px);
        border: 1px solid #000000;
        padding: 0.4rem 0.75rem;
        border-radius: 8px;
        display: flex;
        gap: 0.75rem;
        align-items: center;
        font-size: 0.72rem;
        color: #F5F5F5;
        z-index: 10;
        pointer-events: none;
    }

    .s3d-legend-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .s3d-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        display: inline-block;
    }

    .dot-libre {
        background: #FF4A0D;
    }

    .dot-selected {
        background: #FF4A0D;
        box-shadow: 0 0 6px #FF4A0D;
    }

    .dot-occupe {
        background: #737373;
    }

    /* Other panels */
    .s3d-plan-panel,
    .s3d-photos-panel {
        flex: 1;
        display: none;
        background: #000000;
        padding: 1.25rem;
        overflow-y: auto;
    }

    .s3d-plan-panel {
        text-align: center;
    }

    .s3d-photos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    /* Sidebar / Drawer */
    .s3d-sidebar {
        width: 320px;
        flex-shrink: 0;
        background: #000000;
        border-left: 1px solid #000000;
        padding: 1.15rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .s3d-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
    }

    .s3d-sidebar-title {
        font-weight: 800;
        color: #F5F5F5;
        font-size: 0.88rem;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .s3d-seats-badge {
        background: rgba(56, 189, 248, 0.2);
        color: #FF4A0D;
        font-size: 0.72rem;
        padding: 2px 7px;
        border-radius: 10px;
        font-weight: 800;
    }

    .s3d-mobile-toggle-btn {
        display: none;
        background: rgba(56, 189, 248, 0.15);
        color: #FF4A0D;
        border: 1px solid rgba(56, 189, 248, 0.3);
        border-radius: 6px;
        padding: 3px 8px;
        font-size: 0.72rem;
        font-weight: 700;
        cursor: pointer;
    }

    .s3d-selected-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
        max-height: 220px;
        overflow-y: auto;
        margin-bottom: 0.85rem;
        padding-right: 2px;
    }

    .s3d-empty-msg {
        color: #737373;
        font-size: 0.78rem;
        font-style: italic;
        text-align: center;
        padding: 1.25rem 0;
    }

    .s3d-sightline-box {
        background: #000000;
        border: 1px solid #000000;
        border-radius: 8px;
        padding: 0.65rem 0.75rem;
        margin-bottom: 0.85rem;
    }

    .s3d-sightline-title {
        font-size: 0.72rem;
        font-weight: 700;
        color: #FF4A0D;
        text-transform: uppercase;
        margin-bottom: 3px;
    }

    .s3d-sightline-desc {
        font-size: 0.76rem;
        color: #E5E5E5;
        line-height: 1.35;
    }

    .s3d-sidebar-footer {
        flex-shrink: 0;
    }

    .s3d-total-card {
        background: #000000;
        border: 1px solid #000000;
        border-radius: 10px;
        padding: 0.75rem 0.9rem;
        margin-bottom: 0.75rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .s3d-total-label {
        font-size: 0.72rem;
        color: #737373;
        text-transform: uppercase;
        display: block;
        font-weight: 700;
    }

    .s3d-sub-count {
        color: #FF4A0D;
        font-weight: 700;
        font-size: 0.75rem;
    }

    .s3d-total-amount {
        color: #FF4A0D;
        font-size: 1.15rem;
        font-weight: 800;
    }

    .s3d-btn-validate {
        width: 100%;
        margin: 0;
        background: #FF4A0D;
        font-size: 0.88rem;
        padding: 0.75rem 1rem;
        min-height: 44px;
        border-radius: 8px;
    }

    .s3d-btn-cancel {
        width: 100%;
        margin-top: 6px;
        background: transparent;
        border: none;
        color: #737373;
        font-size: 0.78rem;
        cursor: pointer;
        text-decoration: underline;
        padding: 4px;
    }

    /* ===== ADAPTATIONS MOBILES (< 992px & < 640px) ===== */
    @media (max-width: 991px) {
        .s3d-modal-overlay {
            padding: 0 !important;
        }

        .s3d-modal-window {
            width: 100% !important;
            max-width: 100% !important;
            height: 100vh !important;
            height: 100dvh !important;
            border-radius: 0 !important;
            border: none !important;
        }

        .s3d-body {
            flex-direction: column !important;
        }

        .s3d-canvas-panel {
            flex: 2 1 auto !important;
            min-height: 55vh !important;
            height: auto !important;
        }

        .s3d-sidebar {
            width: 100% !important;
            border-left: none !important;
            border-top: 1px solid #262626 !important;
            padding: 0.75rem 1rem !important;
            max-height: 28vh !important;
            flex: 0 0 auto !important;
            background: #000000 !important;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
            overflow-y: auto !important;
        }

        .s3d-mobile-toggle-btn {
            display: inline-flex !important;
            align-items: center;
            gap: 4px;
        }

        /* Mode rétracté sur mobile pour voir le canvas */
        .s3d-sidebar.is-collapsed .s3d-sidebar-content {
            display: none !important;
        }

        .s3d-selected-list {
            max-height: 110px !important;
        }
    }

    @media (max-width: 640px) {
        .s3d-header {
            padding: 0.5rem 0.75rem !important;
            gap: 0.4rem !important;
        }

        .s3d-header-controls {
            width: 100% !important;
            justify-content: space-between !important;
        }

        .s3d-venue-subtitle {
            display: none !important;
        }

        .s3d-touch-hint {
            display: none !important;
        }

        .s3d-legend {
            bottom: 6px !important;
            left: 6px !important;
            padding: 0.25rem 0.5rem !important;
            font-size: 0.65rem !important;
            gap: 0.4rem !important;
        }

        .s3d-cam-btn span {
            display: none !important;
        }

        .s3d-cam-btn {
            padding: 0.35rem 0.5rem !important;
        }

        .s3d-total-card {
            padding: 0.5rem 0.75rem !important;
            margin-bottom: 0.5rem !important;
        }

        .s3d-total-amount {
            font-size: 1.05rem !important;
        }

        .s3d-photos-grid {
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
            gap: 0.5rem !important;
        }
    }

    /* ===== Onglets principaux (Segmented Control Pro) ===== */
    .main-tabs {
        display: flex;
        gap: 0.35rem;
        margin: 0 auto 1.75rem;
        background: #ffffff;
        border: 1px solid var(--eventia-border, #E5E5E5);
        border-radius: 9999px;
        padding: 5px;
        box-shadow: 0 4px 15px rgba(11, 29, 58, 0.06);
        width: fit-content;
        max-width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .main-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.55rem 1.25rem;
        border-radius: 9999px;
        color: var(--eventia-muted, #737373);
        font-size: 0.88rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        font-family: var(--font-heading, 'Outfit', sans-serif);
        white-space: nowrap;
    }

    .main-tab:hover {
        color: var(--eventia-navy, #000000);
        background: #F5F5F5;
    }

    .main-tab.active {
        background: var(--eventia-navy, #000000);
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(11, 29, 58, 0.25);
    }

    .main-tab-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.72rem;
        font-weight: 800;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        border-radius: 999px;
        background: #F5F5F5;
        color: var(--eventia-navy, #000000);
        margin-left: 0.35rem;
        transition: all 0.2s ease;
    }

    .main-tab.active .main-tab-badge {
        background: var(--eventia-amber, #FF4A0D);
        color: var(--eventia-navy-dark, #000000);
    }

    @media (max-width: 640px) {
        .main-tabs {
            width: 100%;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px;
            padding: 4px;
            border-radius: 14px;
        }

        .main-tab {
            padding: 0.55rem 0.35rem;
            font-size: 0.78rem;
            border-radius: 10px;
            flex-direction: column;
            gap: 3px;
            text-align: center;
        }

        .main-tab-badge {
            font-size: 0.68rem;
            min-width: 18px;
            height: 18px;
            margin-left: 0;
            padding: 0 4px;
        }
    }

    /* ===== Section Cotisations ===== */
    .cotisation-card {
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        padding: 2rem;
        box-shadow: var(--shadow-sm);
        max-width: 640px;
        margin: 0 auto;
    }

    .cotisation-amounts {
        display: flex;
        gap: 0.6rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .cotisation-amount-btn {
        padding: 0.5rem 1.1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius-full);
        background: #ffffff;
        color: var(--ink);
        font-size: 0.85rem;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        transition: var(--transition);
    }

    .cotisation-amount-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    /* ===== Section Voter : classement des événements ===== */
    .vote-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: #ffffff;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        padding: 0.9rem 1.1rem;
        margin-bottom: 0.65rem;
        transition: var(--transition);
    }

    .vote-rank {
        width: 34px;
        height: 34px;
        flex-shrink: 0;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: #F5F5F5;
        color: var(--muted);
        font-family: 'Outfit', sans-serif;
        font-weight: 800;
        font-size: 0.9rem;
    }

    .vote-rank.top1 {
        background: #FFF2ED;
        color: #FF4A0D;
    }

    .vote-rank.top2 {
        background: #E5E5E5;
        color: #737373;
    }

    .vote-rank.top3 {
        background: #FFF2ED;
        color: #FF4A0D;
    }

    .vote-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.45rem 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius-full);
        background: #ffffff;
        color: var(--ink);
        font-size: 0.82rem;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit;
        transition: var(--transition);
        flex-shrink: 0;
    }

    .vote-btn i {
        color: #737373;
    }

    .vote-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    .vote-btn.voted {
        background: var(--primary);
        border-color: transparent;
        color: #ffffff;
        box-shadow: 0 4px 14px rgba(255, 74, 13, 0.3);
    }

    .vote-btn.voted i {
        color: #ffffff;
    }

    /* ===== Choix multiples & Candidats du vote payant ===== */
    .candidats-vote-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-height: 310px;
        overflow-y: auto;
        padding-right: 4px;
        margin-bottom: 1.25rem;
    }

    .candidats-vote-list::-webkit-scrollbar {
        width: 5px;
    }

    .candidats-vote-list::-webkit-scrollbar-thumb {
        background: #E5E5E5;
        border-radius: 999px;
    }

    .candidat-choice-card {
        display: flex;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 0.85rem 1rem;
        border: 2px solid var(--line);
        border-radius: 10px;
        background: #ffffff;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
        user-select: none;
    }

    .candidat-choice-card:hover {
        border-color: #FFF2ED;
        background: #F5F5F5;
        transform: translateY(-1px);
    }

    .candidat-choice-card.selected {
        border-color: var(--primary);
        background: linear-gradient(135deg, #FFF2ED 0%, #FFF2ED 100%);
        box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
    }

    .candidat-checkbox {
        margin-top: 4px;
        transform: scale(1.3);
        accent-color: var(--primary);
        cursor: pointer;
        flex-shrink: 0;
    }

    .candidat-choice-photo {
        width: 56px;
        height: 56px;
        border-radius: 8px;
        object-fit: cover;
        flex-shrink: 0;
        border: 2px solid var(--line);
        transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .candidat-choice-card.selected .candidat-choice-photo {
        border-color: var(--primary);
        transform: scale(1.05);
        box-shadow: 0 3px 8px rgba(13, 148, 136, 0.25);
    }

    .candidat-choice-info {
        flex: 1;
        min-width: 0;
    }

    .candidat-choice-nom {
        font-weight: 700;
        color: var(--navy);
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .candidat-choice-desc {
        color: var(--muted);
        font-size: 0.82rem;
        line-height: 1.45;
        margin: 0;
        transition: color 0.2s ease;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .candidat-choice-card.selected .candidat-choice-desc {
        color: #000000;
    }

    .candidat-badge-selected {
        font-size: 0.72rem;
        background: #FF4A0D;
        color: #ffffff;
        padding: 2px 7px;
        border-radius: 999px;
        font-weight: 700;
        display: none;
    }

    .candidat-choice-card.selected .candidat-badge-selected {
        display: inline-flex;
        align-items: center;
        gap: 3px;
    }
