/* ===== CSS EXCLUSIVO PARA PÁGINAS DE NOTÍCIAS ===== */

/* --- RESET E ESTILOS BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f7f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- CABEÇALHO E NAVEGAÇÃO (Cópia do principal) --- */
header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    width: 80px;
    height: 60px;
    object-fit: contain;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a3d7c;
    font-family: 'Oswald', sans-serif;
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #1a3d7c;
}

.desktop-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.desktop-nav .nav-menu a {
    text-decoration: none;
    color: #2a56b6;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: color 0.3s;
    position: relative;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a3d7c;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    display: none;
    background-color: #1a3d7c;
    position: fixed;
    top: 90px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 90px);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
}

.mobile-nav.active {
    right: 0;
}

.mobile-menu {
    list-style: none;
    padding: 25px;
}

.mobile-menu li {
    margin-bottom: 18px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    display: block;
    padding: 15px 20px;
}

.new-badge {
    display: inline-block;
    padding: 3px 8px;
    margin-left: 6px;
    background-color: #ff6b00;
    color: white;
    font-size: 10px;
    border-radius: 12px;
}

/* --- ESTILOS DO ARTIGO --- */
.artigo-sozinho {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    margin: 40px auto;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    max-width: 850px;
}
.artigo-titulo {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    color: #1a3d7c;
    margin-bottom: 15px;
    line-height: 1.2;
}
.artigo-meta {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.news-category {
    display: inline-block;
    background-color: rgba(42, 86, 182, 0.1);
    color: #2a56b6;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.news-date {
    color: #888;
    font-size: 0.9rem;
}
.artigo-imagem-principal {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}
.artigo-conteudo p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}
.artigo-conteudo h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: #1a3d7c;
    margin-top: 30px;
    margin-bottom: 15px;
}
.artigo-voltar {
    display: inline-block;
    margin-top: 30px;
    color: #2a56b6;
    text-decoration: none;
    font-weight: 600;
}
.artigo-voltar:hover {
    text-decoration: underline;
}

/* --- BOTÃO VOLTAR AO TOPO --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #2a56b6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* --- RODAPÉ (Cópia do principal) --- */
footer {
    background-color: #1a3d7c;
    color: white;
    padding: 60px 0 30px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section ul li a { color: white; text-decoration: none; }
.social-icons { display: flex; gap: 15px; }
.social-icon { width: 40px; height: 40px; /* ... */ }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }


/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger-menu { display: flex; }
}

@media (max-width: 768px) {
    .artigo-titulo { font-size: 2.2rem; }
    .artigo-sozinho { padding: 20px; }
}