@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    /* Brand Colors */
    --lm-blue: #1E56CB;
    --lm-blue-dark: #153B8C;
    --lm-blue-darkest: #0A1B40;

    /* Surface Colors */
    --surface-light: #FFFFFF;
    --surface-bg: #F8F9FA;
    --surface-gray: #E0E0E0;

    /* Text Colors */
    --text-primary: #1F1F1F;
    --text-secondary: #5A5A5A;
    --text-inverse: #FFFFFF;

    /* Smart Badges */
    --badge-presale: #8B5CF6;
    /* Purple */
    --badge-soldout: #EF4444;
    /* Red */
    --badge-new: #10B981;
    /* Green */

    --font-main: 'Gilroy', 'Outfit', sans-serif;
    --font-heading: 'Gilroy', 'Outfit', sans-serif;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--surface-bg);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
}



/* ================== BUTTONS ================== */
.btn-primary {
    background: var(--lm-blue);
    color: var(--text-inverse);
    padding: 10px 24px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--lm-blue-dark);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-outline {
    background: transparent;
    color: var(--text-inverse);
    padding: 14px 32px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid var(--text-inverse);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}



/* ================== MAIN CONTENT & CAROUSEL ================== */
.main-content {
    max-width: 1280px;
    margin: 64px auto;
    padding: 0 24px;
}

.event-section {
    margin-bottom: 64px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-title {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.view-all {
    color: var(--lm-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.view-all:hover {
    text-decoration: underline;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 16px;
    /* for shadow */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-light);
    border: 1px solid var(--surface-gray);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--surface-bg);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: -24px;
}

.next-btn {
    right: -24px;
}

/* ================== DISCOVERY HUB (Categories & Dates) ================== */
.category-nav {
    padding: 32px 0 24px;
    background: #fff;
    border-bottom: 1px solid var(--surface-gray);
}

.category-hub {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: center;
}

.category-hub::-webkit-scrollbar {
    display: none;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 90px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-icon-container {
    width: 64px;
    height: 64px;
    background: var(--surface-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    border: 1px solid var(--surface-gray);
}

.cat-card:hover .cat-icon-container {
    background: #fff;
    border-color: var(--lm-blue);
    color: var(--lm-blue);
    box-shadow: 0 4px 12px rgba(30, 86, 203, 0.1);
    transform: translateY(-4px);
}

.cat-card.active .cat-icon-container {
    background: var(--lm-blue);
    border-color: var(--lm-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(30, 86, 203, 0.25);
}

.cat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-align: center;
    transition: var(--transition);
}

.cat-card:hover .cat-label,
.cat-card.active .cat-label {
    color: var(--text-primary);
}

.filter-divider {
    height: 1px;
    background: var(--surface-gray);
    margin: 32px 0;
    opacity: 0.5;
}

.quick-dates-hub {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
}

.quick-dates-hub::-webkit-scrollbar {
    display: none;
}

.dates-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 86, 203, 0.05);
    color: var(--lm-blue);
    border-radius: 12px;
    flex-shrink: 0;
}

.dates-toggle-group {
    display: flex;
    background: var(--surface-bg);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid var(--surface-gray);
}

.date-toggle {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
}

.date-toggle:hover {
    color: var(--text-primary);
}

.date-toggle.active {
    background: #fff;
    color: var(--lm-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Urgency Pulse Ring */
.pulse-ring {
    width: 12px;
    height: 12px;
    background-color: var(--badge-new);
    /* Green urgency */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* City Explorer Stories */
.city-stories-list {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.city-stories-list::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.city-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    min-width: 90px;
}

.story-image-ring {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--lm-blue), #8b5cf6);
    /* Sympla-like gradient */
    transition: transform 0.3s ease;
}

.city-story:hover .story-image-ring {
    transform: scale(1.05);
}

.story-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    /* White gap between image and ring */
}

.story-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    max-width: 100px;
    line-height: 1.2;
}

/* ================== EVENT CARDS ================== */
.event-card {
    min-width: 360px; /* Alargado para suportar imagem panorâmica */
    width: 360px;
    background: transparent;
    overflow: visible;
    position: relative;
    box-shadow: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-card:hover {
    transform: translateY(-2px);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1110 / 428; /* Proporção exata da sua imagem */
    overflow: hidden;
    background: var(--surface-gray);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.event-card:hover .card-image-wrapper {
    box-shadow: var(--shadow-md);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .card-img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-new {
    background: var(--badge-new);
}

.badge-soldout {
    background: var(--badge-soldout);
}

.badge-presale {
    background: var(--badge-presale);
}

.card-info {
    padding: 0 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
    line-height: 1.25;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-meta {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-date {
    font-weight: 800;
    color: var(--lm-blue);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================== FOOTER ================== */
.site-footer {
    background: var(--lm-blue-darkest);
    color: var(--surface-light);
    padding: 80px 24px 24px;
    margin-top: 80px;
    border-radius: 40px 40px 0 0;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--surface-light);
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--surface-light);
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    background: #1F1F1F;
    color: white;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.app-btn:hover {
    background: #2D2D2D;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--lm-blue);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #A0AEC0;
}

.footer-compliance p {
    margin-bottom: 4px;
}

.footer-trust {
    display: flex;
    gap: 16px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
}

/* ================== AETHER FESTIVAL - B2C HERO & NAV ================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1110 / 428;
    max-height: 600px;
    overflow: hidden;
    background: #0A0F1A;
}

@media (min-width: 768px) {
    .hero-carousel {
        max-height: 600px;
    }
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 8s linear;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.95) 100%);
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.hero-content-wrapper {
    width: 100%;
    color: #fff;
}

.hero-tag {
    display: inline-block;
    background: var(--lm-blue);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero-title {
    color: #ffffff !important;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 12px;
    max-width: 800px;
    text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.9);
    font-family: var(--font-main);
}

.hero-meta {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.indicator {
    width: 32px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    width: 48px;
}

.b2c-header {
    background: #fff;
    border-bottom: 1px solid var(--surface-gray);
    position: relative;
    z-index: 100;
    height: 72px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.b2c-header .search-input {
    background: var(--surface-bg);
    color: var(--text-primary);
    width: 100%;
    padding: 12px 20px 12px 48px;
    border-radius: 24px;
    border: none;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-bar-center {
    flex: 1;
    max-width: 500px;
    margin: 0 32px;
    position: relative;
    display: flex;
    align-items: center;
}

.b2c-header .search-icon {
    color: var(--text-secondary);
    position: absolute;
    left: 16px;
}

.b2c-header .link-auth {
    color: var(--text-secondary);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Category and Quick Dates replaced by DISCOVERY HUB */

/* ================== EVENT PAGE ================== */
.event-page-body {
    background-color: var(--surface-bg);
}

.event-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 1110 / 428;
    max-height: 600px;
    background-size: cover;
    background-position: top center;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: white;
}

.event-hero-content {
    padding-bottom: 48px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.event-title-glass-box {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 32px 40px;
    color: white;
    margin-bottom: -16px;
    display: inline-block;
    max-width: 80%;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.event-badge-highlight {
    background: var(--lm-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 16px;
}

.event-main-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: none;
}

.event-hero-meta {
    display: flex;
    gap: 24px;
    font-size: 16px;
    font-weight: 500;
    text-shadow: none;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

/* Event Layout Grid */
.event-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 48px;
    margin-top: 48px;
    align-items: stretch;
}

.detail-section {
    margin-bottom: 48px;
    background: white;
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.detail-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.detail-text img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

.location-card {
    display: flex;
    gap: 24px;
    border: 1px solid var(--surface-gray);
    border-radius: 16px;
    overflow: hidden;
}

.location-map-placeholder {
    width: 150px;
    height: 150px;
    position: relative;
    background: #e2e8f0;
}

.map-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: 700;
    padding: 16px;
}

.location-details {
    padding: 24px 24px 24px 0;
    flex: 1;
}

.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.policy-list li::before {
    content: "•";
    color: var(--lm-blue);
    font-weight: bold;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Sticky Ticket Sidebar */
.event-sidebar-column {
    /* Height will now stretch to parent height */
}

.tickets-sticky-panel {
    position: sticky;
    top: 24px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
}

.panel-header {
    background: var(--lm-blue-darkest);
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.lote-info {
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

.ticket-options-list {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.ticket-options-list::-webkit-scrollbar {
    width: 6px;
}
.ticket-options-list::-webkit-scrollbar-track {
    background: transparent;
}
.ticket-options-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--surface-gray);
    border-radius: 12px;
    transition: var(--transition);
}

.ticket-row:hover {
    border-color: var(--lm-blue);
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    padding-right: 16px;
}

.ticket-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    word-break: break-word;
    line-height: 1.3;
}

.ticket-price {
    font-weight: 800;
    color: var(--lm-blue);
}

.ticket-tax {
    font-size: 11px;
    color: var(--text-secondary);
}

.ticket-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface-bg);
    padding: 4px 8px;
    border-radius: 20px;
    border: 1px solid var(--surface-gray);
    flex-shrink: 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--lm-blue);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-display {
    font-weight: 700;
    width: 20px;
    text-align: center;
}

.panel-summary {
    background: var(--surface-bg);
    padding: 24px;
    border-top: 1px solid var(--surface-gray);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.summary-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--surface-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
}

.total-value {
    color: #10B981;
    /* Green for total */
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--badge-new);
    /* Green */
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    margin-top: 24px;
    transition: var(--transition);
    border: none;
}

.btn-checkout:hover:not([disabled]) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.btn-checkout[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
/* ================== UX PREMIUM: ACCORDION DE SETOR ================== */
.sector-group {
    margin-bottom: 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.sector-group:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.sector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(to right, #ffffff, #f8fafc);
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sector-group:not(.is-open) .sector-header {
    border-bottom: none;
}

.sector-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sector-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--lm-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sector-count-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: opacity 0.2s;
}

.sector-group.is-open .sector-count-pill {
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.sector-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lm-blue);
    transition: all 0.2s;
}

.sector-header:hover .sector-toggle {
    background: #e2e8f0;
}

.sector-chevron {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sector-group.is-open .sector-chevron {
    transform: rotate(180deg);
}

.sector-body {
    display: none;
    padding: 8px 24px 24px 24px;
    animation: sectorSlideDown 0.3s ease-out forwards;
}

.sector-group.is-open .sector-body {
    display: block;
}

@keyframes sectorSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sector-body .ticket-row {
    padding: 16px 0;
    border: none;
    border-bottom: 1px dashed #e2e8f0;
    border-radius: 0;
}

.sector-body .ticket-row:last-child {
    border-bottom: none;
}

/* --------- PREMIUM CHECKOUT UTILS (B2C) --------- */
body.checkout-body {
    background-color: #f8f9fa; /* Cinza claro estilo Sympla */
}

.checkout-header-premium {
    background: #1e1e24; /* Header escuro minimalista */
    border-bottom: none;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.floating-group {
    position: relative;
    width: 100%;
}
.floating-input {
    width: 100%;
    padding: 24px 16px 8px 16px;
    border: 1px solid #e2e8f0; /* Bordas mais sutis */
    border-radius: 10px; /* Levemente mais arredondado */
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-primary);
    background: #f8fafc; /* Fundo cinza clarinho/azulado (gordinho reference) */
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}
.floating-input:focus {
    border-color: var(--lm-blue);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 86, 203, 0.1);
}
.floating-label {
    position: absolute;
    left: 17px;
    top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    pointer-events: none;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--lm-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.floating-input.has-error {
    border-color: #ef4444;
}
.floating-input.has-error ~ .floating-label {
    color: #ef4444;
}

.checkout-card-premium {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02); /* Sombra quase invisível */
    border: 1px solid #e5e7eb; /* Borda flat cinza */
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

/* Wizard / Accordion classes */
.checkout-card-premium.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(1);
}

.step-summary {
    transition: all 0.3s ease;
}

.checkout-card-premium.collapsed .step-content {
    display: none !important;
}

.checkout-card-premium.collapsed .step-summary {
    display: flex !important;
}

.checkout-card-premium.collapsed .step-header {
    margin-bottom: 0 !important;
}

.checkout-card-premium.collapsed .step-number {
    background: var(--lm-blue) !important;
    color: white !important;
}

/* ═══════════════════════════════════════════
   PRE-CHECKOUT AUTH MODAL (Glassmorphism)
   ═══════════════════════════════════════════ */
.auth-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999; /* Ensure top-level */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
}

.auth-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-modal-overlay.active .auth-modal-container {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.auth-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Cloudflare Turnstile & Spinners */
.cf-turnstile-wrapper {
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Remove borders from the mocked or real iframe */
.cf-turnstile-wrapper iframe, .cf-turnstile-wrapper > div {
    border: none !important;
    box-shadow: none !important;
}

/* Magic Link Custom Input Styles */
.magic-input {
    padding: 28px 16px 12px 16px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 12px !important;
    color: #0f172a !important;
}

.magic-label {
    top: 20px !important;
    font-size: 15px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.magic-input:focus ~ .magic-label,
.magic-input:not(:placeholder-shown) ~ .magic-label {
    top: 6px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--lm-blue) !important;
    letter-spacing: 0.5px !important;
}

.btn-primary.loading .btn-text {
    opacity: 0;
}

.btn-primary.loading .btn-spinner {
    display: inline-block !important;
}

/* Trust Footer */
.modal-trust-footer {
    user-select: none;
}

/* ================== CITY EXPLORER MODAL (STANDARDIZED) ================== */
.city-modal-container {
    padding: 0; /* Override auth-modal padding to allow banner */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.city-modal-header {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.city-modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.city-modal-header h2, .city-modal-header p {
    position: relative;
    z-index: 2;
    margin: 0;
}

.city-modal-header h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
}

.city-modal-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.city-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Events List */
.explorer-events-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 8px;
}

.explorer-events-list::-webkit-scrollbar { width: 4px; }
.explorer-events-list::-webkit-scrollbar-track { background: rgba(0,0,0,0.03); border-radius: 4px; }
.explorer-events-list::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 4px; }

.explorer-event-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 12px;
    color: #334155;
    animation: slideUpFade 0.3s ease forwards;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.explorer-event-card:hover {
    transform: translateY(-2px);
    border-color: var(--lm-blue);
}

.explorer-event-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--lm-blue);
    margin: 0 0 4px 0;
}

.explorer-event-details {
    font-size: 0.85rem;
    color: #64748B;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.explorer-event-details svg {
    color: var(--lm-blue);
}

.explorer-action-btn {
    display: block;
    background: var(--lm-blue);
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.explorer-action-btn:hover {
    background: #1545A6;
}

@keyframes slideUpFade {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .city-explorer-modal {
        flex-direction: column;
        height: 90vh;
        max-height: none;
        align-self: flex-end;
        border-radius: 24px 24px 0 0;
        animation: slideUpModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    
    .city-explorer-overlay {
        padding: 0;
        align-items: flex-end;
    }

    @keyframes slideUpModal {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .city-explorer-banner {
        flex: none;
        height: 200px;
        padding: 20px;
    }

    .city-explorer-title-area h2 {
        font-size: 2rem;
    }

    .city-explorer-content {
        flex: 1;
        max-width: none;
        padding: 20px;
    }
}
