/* =========================================
   PREVISÃO DO TEMPO
   ========================================= */

.clima-widget {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--color-text, #1a1a1a);
}

.clima-header {
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border, #e0e0e0);
}

.clima-header small {
    color: var(--color-grey, #666);
    font-weight: 500;
}

.clima-semana {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.clima-dia {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.25rem;
    text-align: center;
}

.dia-data {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-dark-grey, #444);
}

.dia-icone i {
    font-size: 1.25rem;
    color: var(--color-primary-dark, #0056b3);
}

.dia-temp {
    display: flex;
    gap: 0.25rem;
    font-weight: 600;
}

.dia-temp .max {
    color: var(--color-primary, #0066cc);
}

.dia-temp .min {
    color: var(--color-grey, #888);
}

/* Mobile: rolagem horizontal ou empilha */
@media (max-width: 768px) {
    .clima-semana {
        grid-template-columns: repeat(4, 1fr);
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 0.75rem;
    }
    
    .clima-dia {
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .clima-semana {
        grid-template-columns: repeat(2, 1fr);
    }
}