/* LAYOUT EM DUAS COLUNAS */
.portfolio-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-top: 32px;
    flex-wrap: wrap;
}

.portfolio-main {
    flex: 2;
    min-width: 260px;
}

.portfolio-aside {
    flex: 1;
    min-width: 280px;
    position: sticky;
    top: 80px;
}

/* ESTILOS DO ASIDE (LADO AMARELO) */
.insight-aside {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border-radius: 20px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    border-left: 5px solid #0822ea;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.insight-aside::before {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 15px;
    font-size: 140px;
    font-family: Georgia, serif;
    color: rgba(234, 179, 8, 0.15);
    pointer-events: none;
    line-height: 1;
}

.insight-badge {
    display: inline-block;
    background: rgba(234, 179, 8, 0.2);
    color: #854d0e;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.insight-aside h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #1e1b0a;
}

.insight-aside p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #3f3f46;
    margin-bottom: 14px;
}

.insight-compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 20px 0;
    padding: 12px 0;
    border-top: 1px solid rgba(234, 179, 8, 0.3);
    border-bottom: 1px solid rgba(234, 179, 8, 0.3);
}

.compare-item {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    flex: 1;
}

.compare-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 4px;
}

.compare-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e1b0a;
}

.compare-item small {
    font-size: 0.65rem;
    color: #78716c;
}

.compare-arrow {
    font-size: 1.2rem;
    color: #eab308;
    font-weight: 700;
}

.aside-cta {
    display: block;
    background: #0f172a;
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: none;
}

.aside-cta:hover {
    background: #0fe500;
    color: #0f172a;
    transform: translateY(-2px);
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .portfolio-layout {
        flex-direction: column;
    }
    
    .portfolio-aside {
        position: static;
        width: 100%;
    }
    
    .insight-aside {
        padding: 24px 20px;
    }
    
    .insight-compare {
        flex-direction: column;
    }
    
    .compare-arrow {
        transform: rotate(90deg);
    }
}

/* ESTILOS DOS CARDS (mantendo o original) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

@media (min-width: 640px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-card-preview {
    height: 160px;
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
}

.portfolio-card-preview-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-preview-inner {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 12px 12px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.portfolio-card-body {
    padding: 14px 14px;
}

.portfolio-card-body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-card-body p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}