/* Dark Mode / Combat - Detalhe Evento */
.page-detalhe-dark { background-color: #111; color: #f8f9fa; min-height: 100vh; padding-bottom: 3rem; }
.page-detalhe-dark .section-title { text-transform: uppercase; font-weight: 800; letter-spacing: 0.08em; color: #f8f9fa; }
.page-detalhe-dark .text-muted { color: #adb5bd !important; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-hero {
    height: 55vh;
    min-height: 320px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.event-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17,17,17,0.4) 0%, rgba(17,17,17,0.85) 100%);
    z-index: 1;
}
.event-hero-content { position: relative; z-index: 2; text-align: center; color: #f8f9fa; }
.event-hero-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 0.5rem;
    margin-bottom: 1rem;
}
.event-hero .event-hero-content .event-hero-title {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    font-size: clamp(1.05rem, 1.8vw + 0.65rem, 1.85rem);
    line-height: 1.35;
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
}
.event-hero .badge { background: rgba(211,47,47,0.9) !important; border: none; font-weight: 600; }
.event-hero-meta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: 36rem;
    margin: 0 auto;
    padding: 0 0.5rem;
}
.event-hero-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}
.event-hero-meta .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    margin: 0;
}
.event-hero-meta .badge i {
    flex-shrink: 0;
    margin: 0 !important;
}
.event-hero-meta .badge-datetime {
    flex: 1 1 9rem;
    min-height: 2.75rem;
}
.event-hero-meta .badge-local {
    width: 100%;
    flex: none;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
    padding: 0.75rem 1rem;
    min-height: 2.75rem;
}

.back-btn {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 1000;
    border-radius: 2rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #f8f9fa;
    padding: 0.5rem 1rem;
    transition: border-color 0.2s ease;
}
.back-btn:hover { border-color: #d32f2f; color: #d32f2f; }

.info-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0.5rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.info-card:hover { transform: translateY(-3px); border-color: #333; }
.info-card .card-header {
    background: #222;
    border-bottom: 1px solid #2a2a2a;
    color: #f8f9fa;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.info-card .card-header.bg-danger { background: #d32f2f !important; border-color: #d32f2f; }
.info-card .card-header.bg-primary { background: #1a237e !important; border-color: #1a237e; }
.info-card .card-header.bg-warning { background: #f1c40f !important; color: #111 !important; border-color: #f1c40f; }
.info-card .card-body { color: #f8f9fa; }

.detail-item { padding: 1rem 0; border-bottom: 1px solid #2a2a2a; }
.detail-item:last-child { border-bottom: none; }
.detail-item strong { color: #f8f9fa; }

.price-badge { background: #d32f2f; color: #fff; padding: 0.4rem 0.9rem; border-radius: 0.35rem; font-weight: 700; }

.category-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 0.5rem;
    transition: all 0.25s ease;
}
.category-card:hover { border-color: #d32f2f; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(211,47,47,0.15); }
.category-card .card-title { color: #f8f9fa; font-weight: 800; text-transform: uppercase; font-size: 0.95rem; }

.btn-inscrever, .page-detalhe-dark .btn-danger {
    background: #d32f2f;
    border-color: #d32f2f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}
.btn-inscrever:hover, .page-detalhe-dark .btn-danger:hover {
    background: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
}
.btn-inscrever-outro, .page-detalhe-dark .btn-outline-danger {
    border: 2px solid #d32f2f;
    color: #d32f2f;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.btn-inscrever-outro:hover, .page-detalhe-dark .btn-outline-danger:hover {
    background: #d32f2f;
    color: #fff;
    border-color: #d32f2f;
}

.btn-group-inscription { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-group-inscription .btn { flex: 1; min-width: 140px; white-space: normal; text-align: center; line-height: 1.2; padding: 0.5rem 0.75rem; }
@media (max-width: 576px) {
    .btn-group-inscription { flex-direction: column; gap: 0.75rem; }
    .btn-group-inscription .btn { flex: none; width: 100%; min-width: auto; }
}
@media (min-width: 577px) and (max-width: 768px) {
    .btn-group-inscription .btn { min-width: 120px; font-size: 0.875rem; }
}
@media (min-width: 769px) {
    .btn-group-inscription .btn { min-width: 180px; padding: 0.75rem 1rem; }
}

.page-detalhe-dark .alert-info { background: rgba(33,150,243,0.15); border-color: #2196f3; color: #e3f2fd; }
.page-detalhe-dark .alert-warning { background: rgba(241,196,15,0.15); border-color: #f1c40f; color: #f8f9fa; }
.page-detalhe-dark .bg-light { background: #222 !important; color: #f8f9fa; border-radius: 0.35rem; }

.page-detalhe-dark .btn-primary { background: #1a237e; border-color: #1a237e; }
.page-detalhe-dark .btn-primary:hover { background: #283593; border-color: #283593; color: #fff; }
.page-detalhe-dark .btn-warning { background: #f1c40f; border-color: #f1c40f; color: #111; font-weight: 700; }
.page-detalhe-dark .btn-warning:hover { background: #f9a825; border-color: #f9a825; color: #111; }

.evento-logo-detalhe { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; border: 2px solid #2a2a2a; }
.funnel-card { background: #161616; border: 1px solid #2c2c2c; border-radius: 0.75rem; }
.funnel-step-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #adb5bd; font-weight: 700; }
.funnel-card .form-select, .funnel-card .form-control { background: #111; color: #f8f9fa; border: 1px solid #3a3a3a; }
.funnel-card .form-select:focus, .funnel-card .form-control:focus { border-color: #d32f2f; box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.2); }
.funnel-summary { background: #111; border: 1px solid #2c2c2c; border-radius: 0.5rem; padding: 1rem; }
.funnel-summary .summary-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #2a2a2a; padding: 0.4rem 0; color: #e9ecef; }
.funnel-summary .summary-row:last-child { border-bottom: none; }
.funnel-total { color: #d32f2f; font-weight: 800; font-size: 1.15rem; }
