/* Notícias CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container principal */
.noticias-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin-top: 80px; /* Espaço para navbar fixa */
}

/* Header das notícias */
.noticias-header {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 3rem;
}

.noticias-header h1 {
    color: #004080;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.noticias-header p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.noticias-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #004080;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
}

.noticias-stats i {
    color: #FFD600;
}

/* Divisor amarelo */
.divisor-amarelo {
    background: #FFD600;
    border-radius: 12px;
    display: block;
    margin: 0 auto 1.5rem auto;
}

.divisor-section {
    width: 90px;
    height: 8px;
}

/* Grid de notícias */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

/* Cards de notícias */
.noticia-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.noticia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.noticia-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.noticia-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-image img {
    transform: scale(1.05);
}

.destaque-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #FFD600;
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.noticia-content {
    padding: 2rem;
}

.noticia-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.noticia-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.noticia-title {
    color: #004080;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.noticia-excerpt {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.noticia-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-read-more {
    background: #004080;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-read-more:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 64, 128, 0.3);
}

.noticia-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}



.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* Sidebar */
.noticias-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.sidebar-section h3 {
    color: #004080;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

/* Últimas notícias */
.recent-noticias {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-noticia a {
    text-decoration: none;
    color: inherit;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.recent-noticia a:hover {
    background: #f8f9fa;
}

.recent-noticia h4 {
    color: #004080;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.recent-noticia span {
    color: #666;
    font-size: 0.8rem;
}

/* Redes sociais */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #004080;
}

.newsletter-form button {
    background: #004080;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    background: #003366;
    transform: translateY(-2px);
}

/* Estado vazio */
.no-noticias {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.no-noticias-content i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.no-noticias-content h3 {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-noticias-content p {
    color: #999;
    font-size: 1.1rem;
}

/* Paginação */
.noticias-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .noticias-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .noticias-sidebar {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .noticias-container {
        padding: 1rem;
        margin-top: 60px;
    }
    
    .noticias-header h1 {
        font-size: 2rem;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .noticia-content {
        padding: 1.5rem;
    }
    
    .noticia-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-read-more {
        justify-content: center;
    }
    
    .noticia-share {
        justify-content: center;
    }
    
    .noticias-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .noticias-header h1 {
        font-size: 1.8rem;
    }
    
    .noticia-title {
        font-size: 1.2rem;
    }
    
    .noticia-image {
        height: 200px;
    }
    
    .noticia-content {
        padding: 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.noticia-card {
    animation: fadeInUp 0.6s ease forwards;
}

.noticia-card:nth-child(1) { animation-delay: 0.1s; }
.noticia-card:nth-child(2) { animation-delay: 0.2s; }
.noticia-card:nth-child(3) { animation-delay: 0.3s; }
.noticia-card:nth-child(4) { animation-delay: 0.4s; }
.noticia-card:nth-child(5) { animation-delay: 0.5s; }
.noticia-card:nth-child(6) { animation-delay: 0.6s; }

/* Loading states */
.noticia-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus states */
.btn-read-more:focus,
.share-btn:focus,
.social-link:focus {
    outline: 2px solid #004080;
    outline-offset: 2px;
} 