    /* HEADER */
    .tools-header-section { background: #fff; padding: 40px 20px 40px; text-align: center; }
    .archive-container { max-width: 1200px; margin: 0 auto; }
    .header-text h1 { font-size: 2.5rem; margin-bottom: 10px; color: #111; letter-spacing: -1px; }
    .header-text p { font-size: 1.1rem; color: #666; margin: 0; }

    /* STICKY CONTAINER */
    .sticky-wrapper {
        position: -webkit-sticky; position: sticky; 
        top: 85px; z-index: 900;
        padding: 0 20px; margin-top: -30px;
        pointer-events: none; /* Permite clicar no conteúdo atrás se a barra for pequena */
    }

    /* BARRA FLUTUANTE PRINCIPAL */
    .floating-bar {
        pointer-events: auto;
        background: #fff; border-radius: 16px; padding: 10px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid #e5e7eb;
        max-width: 900px; margin: 0 auto;
        display: flex; align-items: center; gap: 15px;
        position: relative; z-index: 902;
    }

    .search-area {
        flex: 1; display: flex; align-items: center; gap: 12px;
        background: transparent; 
    }
    .search-area i { color: #9ca3af; font-size: 1.1rem; }
    .search-area input {
        border: none; background: transparent; outline: none;
        width: 100%; font-size: 1rem; color: #374151; height: 40px;
    }

    .bar-divider { width: 1px; height: 24px; background: #e5e7eb; }

    .btn-toggle-filters {
        background: #f3f4f6; border: 1px solid transparent; color: #4b5563;
        padding: 8px 16px; border-radius: 8px; cursor: pointer;
        font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 8px;
        transition: 0.2s; white-space: nowrap;
    }
    .btn-toggle-filters:hover { background: #e5e7eb; }
    .btn-toggle-filters.active-state { background: #111; color: #fff; }

    /* DRAWER (GAVETA) */
    .filter-drawer {
        pointer-events: auto;
        max-width: 800px; margin: 0 auto;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
        border: 1px solid #e5e7eb; border-top: none;
        border-radius: 0 0 16px 16px;
        overflow: hidden;
        max-height: 0; opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    }
    .filter-drawer.open {
        max-height: 400px; opacity: 1; transform: translateY(0);
        margin-top: -5px; padding-top: 10px; /* Cola na barra de cima */
    }

    .drawer-content { padding: 20px; border-top: 1px dashed #e5e7eb; }
    .drawer-label { display: block; font-size: 0.8rem; color: #9ca3af; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }

    .chips-grid {
        display: flex; flex-wrap: wrap; gap: 8px;
    }

    .pill-filter {
        background: #fff; border: 1px solid #e5e7eb; color: #6b7280;
        padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
        cursor: pointer; transition: 0.2s;
    }
    .pill-filter:hover { background: #f9fafb; border-color: #d1d5db; color: #374151; }
    .pill-filter.active {
        background: var(--primary); border-color: var(--primary); color: #fff;
        box-shadow: 0 2px 8px rgba(98,0,234,0.2);
    }

    /* GRID CARDS */
    .tools-grid {
        display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px; padding: 0 20px 60px;
    }
    .tool-card-item {
        background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
        padding: 25px; text-decoration: none; display: flex; flex-direction: column;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .tool-card-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent; }
    .card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
    .tool-icon-box { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
    .tool-cat-badge { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; color: #6b7280; background: #f3f4f6; padding: 4px 8px; border-radius: 6px; }
    .card-body h3 { font-size: 1.1rem; color: #1f2937; margin: 0 0 8px 0; font-weight: 700; }
    .card-body p { font-size: 0.9rem; color: #6b7280; line-height: 1.5; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .card-footer { margin-top: auto; padding-top: 20px; }
    .access-link { font-size: 0.9rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 5px; transition: 0.2s; }
    .tool-card-item:hover .access-link { gap: 10px; }

    @media (max-width: 768px) {
        .tools-header-section { padding: 40px 20px 30px; }
        .header-text h1 { font-size: 2rem; }
        .floating-bar { flex-wrap: wrap; } 
    }
