/* Categorias */

/* Banner */
.categorias-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: white;
    width: 80%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.categorias-stats,
.categoria-stats,
.category-stats,
.stats-categorias,
.categorias-resumo {
    display: none !important;
}

.menu-filtros {
    padding: 34px 0;
    background-color: #202020;
    border-bottom: 1px solid rgba(255, 40, 0, 0.18);
}

.filtros-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.filtros-titulo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    white-space: nowrap;
}

.filtros-titulo i {
    color: var(--primary-color);
}

.filtros-botoes,
.extra-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.extra-filtros {
    width: 100%;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.extra-filtros[hidden] {
    display: none;
}

.filtro-btn,
.filtro-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    background-color: #171717;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    font-weight: 700;
}

.filtro-btn i,
.filtro-toggle i {
    color: var(--primary-color);
}

.filtro-btn:hover,
.filtro-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filtro-toggle:hover,
.filtro-toggle.open {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filtro-btn:hover i,
.filtro-btn.active i,
.filtro-toggle:hover i,
.filtro-toggle.open i {
    color: white;
}

.filtro-toggle.open i {
    transform: rotate(180deg);
}

/* Formulário */

.destaque-section {
    background-color: rgba(255, 40, 0, 0.05) !important; 
    border-radius: 20px; 
    margin: 40px auto; max-width: 1400px; 
}


.destaque-section h2 {
    color: var(--light-color);
}


.destaque-grid {
    margin-top: 20px;
}


.destaque-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF2800, #ff5c33);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.destaque-badge i {
    font-size: 0.7rem;
}

/* Categorias */
.categorias-grid-section {
    background-color: var(--dark-color);
    padding-top: 20px;
}

.section-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.section-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--primary-color);
    color: white !important;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 40, 0, 0.25);
}

.section-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 40, 0, 0.35);
    background: #FF3300;
    gap: 15px;
}

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

/* Efeitos */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .filtros-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filtros-botoes,
    .extra-filtros {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .categorias-hero {
        height: 300px;
        margin-top: 130px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .filtro-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .destaque-badge {
        top: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .section-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .categorias-hero {
        height: 250px;
        margin-top: 135px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.85rem;
    }
    
    .filtro-btn {
        width: 100%;
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .filtro-toggle {
        width: 100%;
    }
    
    .destaque-badge {
        position: static;
        display: inline-block;
        margin-bottom: 12px;
        width: fit-content;
    }
}
