/* guia.css */

/* Tags de Filtro */
.filter-wrapper {
        display: flex;
        justify-content: center;
        overflow-x: visible;
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
}

@media (max-width: 600px) {
    .filter-wrapper {
        justify-content: flex-start;
        overflow-x: auto;
        width: 100vw;
        max-width: 100vw;
        padding-left: 16px;
        padding-right: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .filter-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .tags-container {
        min-width: max-content;
        width: auto;
    }
}

.tags-container {
    display: flex;
    gap: 0.75rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--gray-100);
    /* min-width e width só no mobile */
}

.tag-btn {
        padding: 0.6rem 1.2rem;
        border-radius: 0.875rem;
        border: none;
        background: transparent;
        color: var(--gray-500);
        font-family: 'Outfit', sans-serif;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        white-space: nowrap;
        font-size: 0.8rem;
}

@media (min-width: 601px) {
    .tag-btn {
        font-size: 0.8rem;
    }
}

.tag-btn:hover {
    color: var(--primary-500);
    background: var(--primary-50);
}

.tag-btn.active {
    background: var(--primary-500);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(98, 60, 234, 0.3);
}

/* Seções e Blocos de Texto */
.content-section {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.text-block {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--primary-100);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.text-block p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Grid de Bloquinhos (Modo Cards) */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.guide-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.guide-card:hover {
    border-color: var(--primary-200);
    box-shadow: 0 10px 20px rgba(98, 60, 234, 0.05);
}

.command-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: var(--primary-50);
    color: var(--primary-600);
    border-radius: 0.5rem;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

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