/* Previsões Locais - Clean Design with Fixed Temperature */
main {
    padding-top: 0;
}

.page-hero {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    font-weight: 400;
}

.content-section {
    padding: 3rem 0;
    background: var(--white);
}

.map-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.temperature-map {
    width: 100%;
    margin-bottom: 2rem;
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
}

.map-svg {
    width: 100%;
    height: auto;
    display: block;
}

.region {
    cursor: pointer;
    transition: all 0.2s;
}

.region path {
    transition: all 0.2s;
}

.region:hover path {
    opacity: 0.85;
    filter: brightness(1.1);
}

.region text {
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

.temp-display {
    font-size: 14px;
    font-weight: 600;
    fill: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.2s;
}

.region:hover .temp-display {
    font-size: 16px;
    fill: var(--accent);
}

.waves {
    opacity: 0.3;
}

.wave-animation {
    animation: waveFlow 3s ease-in-out infinite;
}

.wave-animation:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes waveFlow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(15px);
    }
}

.map-legend {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.map-legend h3 {
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.legend-scale {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.legend-note {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.75rem;
}

.forecast-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.forecast-info h2 {
    color: var(--primary);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.forecast-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .map-container {
        padding: 1.5rem;
    }

    .legend-scale {
        flex-direction: column;
        gap: 0.75rem;
    }

    .page-hero h1 {
        font-size: 1.75rem;
    }
}
