/* ========== LIGHTHOUSE DETALHADO STYLES ========== */

/* Core Web Vitals */
.core-web-vitals-section,
.opportunities-section,
.diagnostics-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.subsection-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.web-vitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.web-vital-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.web-vital-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.web-vital-card.good {
    border-left-color: #0cce6b;
}

.web-vital-card.average {
    border-left-color: #ffa400;
}

.web-vital-card.poor {
    border-left-color: #ff4e42;
}

.web-vital-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.web-vital-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.web-vital-score {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #f0f0f0;
}

.web-vital-card.good .web-vital-score {
    background: #e6f9f0;
    color: #0cce6b;
}

.web-vital-card.average .web-vital-score {
    background: #fff4e6;
    color: #ffa400;
}

.web-vital-card.poor .web-vital-score {
    background: #ffe6e6;
    color: #ff4e42;
}

.web-vital-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.web-vital-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

/* Opportunities */
.opportunities-list,
.diagnostics-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.opportunity-card,
.diagnostic-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #2196F3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.opportunity-header,
.diagnostic-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.opportunity-header h4,
.diagnostic-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.opportunity-savings {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.opportunity-value,
.diagnostic-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 0.5rem;
}

.opportunity-description,
.diagnostic-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .web-vitals-grid {
        grid-template-columns: 1fr;
    }

    .opportunity-header,
    .diagnostic-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
