/* ==============================================
   PÁGINA DE EVENTOS - ESTILOS ESPECÍFICOS
   ============================================== */

/* Header da Página */
.page-header {
    padding: 140px 0 40px;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Evento em Destaque */
.featured-event-section {
    max-width: var(--container-max);
    margin: 0 auto 4rem;
    padding: 0 var(--container-padding);
}

.featured-event-card {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.featured-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.featured-event-image {
    width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-event-image.no-image {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.featured-event-image .placeholder-icon {
    width: 120px;
    height: 120px;
    opacity: 0.3;
}

.featured-event-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-event-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text);
    line-height: 1.2;
}

.featured-event-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-badge-category {
    background: var(--primary);
    color: white;
}

.featured-badge-date {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text);
}

.featured-event-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.featured-event-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.featured-event-cta:hover {
    background: var(--primary-dark);
    transform: translateX(4px);
}

/* Filtros */
.filters-section {
    max-width: var(--container-max);
    margin: 0 auto 3rem;
    padding: 0 var(--container-padding);
}

.filters-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-select option {
    padding: 0.5rem;
}

/* Seção de Eventos */
.events-list-section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding) 4rem;
}

.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.section-title-bar h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
}

.section-title-bar .count {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* Grid de Eventos */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Card de Evento */
.event-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.event-img {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-img.no-image {
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.event-img .placeholder-icon {
    width: 60px;
    height: 60px;
    opacity: 0.3;
}

.event-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    min-width: 60px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

.event-cat {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-venue {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-venue svg {
    flex-shrink: 0;
}

.event-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.event-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.event-price strong {
    display: block;
    font-size: 1.125rem;
    color: var(--text);
    margin-top: 0.25rem;
}

.event-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.event-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Estado Vazio */
.no-events {
    text-align: center;
    padding: 4rem 2rem;
}

.no-events-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    opacity: 0.3;
}

.no-events h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.no-events p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ==============================================
   MOBILE - PLACEHOLDERS
   ============================================== */

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

    .featured-event-image {
        width: 100%;
        height: 300px;
    }

    .featured-event-content {
        padding: 2rem;
    }

    .filters-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 30px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

       /* .event-img - original linha 391 do styles.css */
    .event-img {
        height: auto;
    }
}
