/* Filtros */
.filtros {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.busca-acervo {
    display: flex;
    justify-content: center;
    margin: -0.5rem auto 2rem;
    max-width: 620px;
}

.busca-acervo__input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-sm);
    font: inherit;
}

.busca-acervo__input:focus {
    outline: 2px solid rgba(104, 129, 60, 0.18);
    border-color: var(--green);
}

.filtro-btn {
    background: var(--light-gray);
    border: 1px solid var(--border);
    color: var(--dark);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.filtro-btn.ativo {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.filtro-btn:hover {
    background: var(--green);
    color: white;
}

/* Cards do acervo */
.acervo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.item-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.item-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f1f5f9;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border-color 0.2s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.item-thumb-video {
    aspect-ratio: 16 / 9;
}

.item-card:hover .item-thumb {
    border-color: var(--green);
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-thumb canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f8fafc;
}

.item-thumb .icone-padrao {
    font-size: 3rem;
    color: #94a3b8;
}

.item-tipo {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.item-titulo {
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 0.3rem;
}

.item-desc {
    font-size: 0.85rem;
    color: #475569;
}

.listagem-acoes {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.ver-mais-btn[hidden] {
    display: none;
}
