/**
 * Tool Ecosystem Widget — Pós-resultado contextual
 * Aparece após o usuário calcular/usar a ferramenta.
 * Classes: .tool-ecosystem-widget, .tew-*
 */

.tool-ecosystem-widget {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    animation: tewFadeIn 0.4s ease;
}

.tew-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.tew-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.tew-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.tew-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transform: translateY(-1px);
}

.tew-card-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 8px;
}

.tew-card-body {
    flex: 1;
    min-width: 0;
}

.tew-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.tew-card-desc {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.tew-card-cta {
    font-size: 0.76rem;
    font-weight: 600;
    color: #2563eb;
}

/* Mobile: stack cards */
@media (max-width: 768px) {
    .tew-cards {
        grid-template-columns: 1fr;
    }
    .tool-ecosystem-widget {
        padding: 16px;
    }
}

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