
        /* Container que envolve toda a seção de notícias */
.noticias-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Título principal da seção */
.titulo-secao {
    font-size: 2rem;
    color: #002B49; /* Azul escuro institucional */
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

/* Linha decorativa abaixo do título da seção (opcional, estilo comum) */
.titulo-secao::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #002B49;
    border-radius: 2px;
}

/* Grid para alinhar os dois cards lado a lado */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

/* O Card Individual */
.card-noticia {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: calc(50% - 15px); /* Divide em 2 colunas perfeitas descontando o gap */
    min-width: 300px; /* Garante que não esmague em telas menores */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito de hover suave ao passar o mouse no card */
.card-noticia:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Container da imagem para manter proporção */
.card-img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f0f0f0;
}

/* A imagem em si */
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir o espaço sem distorcer */
    transition: transform 0.5s ease;
}

.card-noticia:hover .card-img {
    transform: scale(1.05); /* Efeito de zoom sutil na imagem ao passar o mouse */
}

/* Corpo do card (onde ficam os textos) */
.card-corpo {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Faz todos os cards terem a mesma altura se o texto variar */
}

/* Título da Notícia */
.card-titulo {
    font-size: 1.35rem;
    color: #002B49;
    line-height: 1.4;
    margin: 0 0 12px 0;
    font-weight: 600;
}

/* Data da publicação */
.card-data {
    font-size: 0.9rem;
    color: #666666;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Resumo / Parágrafo do texto */
.card-texto {
    font-size: 1rem;
    color: #444444;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex-grow: 1; /* Empurra o botão "Leia Mais" sempre para o rodapé do card */
}

/* Botão Leia Mais */
.btn-leia-mais {
    align-self: flex-start; /* Mantém o botão alinhado à esquerda */
    padding: 10px 24px;
    border: 2px solid #002B49;
    border-radius: 25px; /* Bordas arredondadas idênticas às da imagem */
    color: #002B49;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efeito invertido no botão ao passar o mouse */
.btn-leia-mais:hover {
    background-color: #002B49;
    color: #ffffff;
}

/* Responsividade para Celulares (telas menores que 768px) */
@media (max-width: 768px) {
    .card-noticia {
        width: 100%; /* Em telas pequenas, os cards ocupam a largura total e ficam um sob o outro */
    }

    .card-img-container {
        height: 200px; /* Reduz um pouco a altura da imagem no mobile */
    }
}
        /* Estilos específicos e expansões para o layout da Homepage */
        .welcome-box {
            padding: 3rem 0;
            margin-bottom: 2rem;
        }
        .welcome-title {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
            letter-spacing: -0.025em;
        }
        .welcome-subtitle {
            font-size: 1.05rem;
            color: var(--text-secondary);
            max-width: 850px;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        .home-stats-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        @media (min-width: 768px) {
            .home-stats-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        .home-stat-card {
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: var(--transition);
        }
        .home-stat-card:hover {
            box-shadow: var(--shadow-md);
            border-color: var(--accent);
        }
        .home-stat-desc {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 0.5rem;
        }
        .news-section-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }
        .news-table-wrapper {
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 1.25rem;
        }
        .news-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.9rem;
        }
        .news-table th, .news-table td {
            padding: 14px 16px;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        .news-table th {
            background-color: var(--bg-surface);
            font-weight: 600;
            color: var(--text-secondary);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        .news-table tbody tr {
            transition: background-color 0.2s ease;
        }
        .news-table tbody tr:hover {
            background-color: var(--bg-secondary);
        }
        .news-tag {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.625rem;
            font-size: 0.75rem;
            font-weight: 500;
            border-radius: 6px;
        }
        .tag-equipamento { background: rgba(34, 197, 94, 0.1); color: var(--success); }
        .tag-pesquisa { background: var(--accent-light); color: var(--accent-hover); }
        .tag-institucional { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

        .external-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--accent-hover);
            text-decoration: none;
            transition: var(--transition);
        }
        .external-link-btn:hover {
            color: var(--accent);
            gap: 0.5rem;
        }

        /* Rodapé customizado da Home */
        .home-footer {
            background: var(--bg-primary);
            border-top: 1px solid var(--border-color);
            padding: 3rem 2rem 1.5rem 2rem;
            margin-top: 5rem;
        }
        .footer-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 2.5rem;
        }
        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr;
            }
        }
        .footer-col h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; }
        .footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); margin-bottom: 1rem; }
        .footer-col p { font-size: 0.875rem; color: var(--text-secondary); max-width: 340px; line-height: 1.6; }
        .footer-links { list-style: none; padding: 0; }
        .footer-links li { margin-bottom: 0.625rem; }
        .footer-links a { font-size: 0.875rem; color: var(--text-primary); transition: var(--transition); }
        .footer-links a:hover { color: var(--accent-hover); }
        .social-flex { display: flex; flex-direction: column; gap: 0.75rem; }
        .social-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-primary); }
        .social-item svg { width: 16px; height: 16px; fill: currentColor; }
        .social-item:hover { color: var(--accent-hover); }
