/* Variáveis de cores baseadas no site da Prefeitura de Nova Iguaçu */
:root {
    --primary-color: #004a8d; /* Azul escuro */
    --secondary-color: #0071bc; /* Azul médio */
    --accent-color: #29abe2; /* Azul claro */
    --dark-color: #333333;
    --light-color: #f5f5f5;
    --white-color: #ffffff;
    --gray-color: #e0e0e0;
    --text-color: #444444;
    --text-light: #666666;
    --link-color: #0071bc;
    --link-hover-color: #004a8d;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Trebuchet MS', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    letter-spacing: 0.3px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 74, 141, 0.15);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #fff);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 75px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: scale(1.05);
}

.header-content {
    flex: 1;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

header .subtitle-header {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 5px;
    font-weight: 400;
}

/* Navegação principal */
.main-nav {
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.main-nav li {
    padding: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.main-nav li:last-child {
    border-right: none;
}

.main-nav a {
    color: var(--white-color);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--white-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.main-nav i {
    margin-right: 0;
    font-size: 16px;
}

/* Seção Hero */
.hero {
    background: linear-gradient(135deg, var(--white-color) 0%, #f9fbfd 100%);
    padding: 70px 0;
}

.hero h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 36px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 12px;
    font-weight: 700;
}

.hero .subtitle {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 35px;
    font-weight: 500;
}

/* Seção About */
.about-section {
    margin-top: 40px;
}

.about-intro {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 35px;
    font-style: italic;
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
}

.about-content {
    margin-bottom: 30px;
}

.about-content > p:first-child {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 17px;
}

.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 35px 0;
}

.pillar {
    background: linear-gradient(135deg, #ffffff, #f8f9ff);
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 74, 141, 0.05);
}

.pillar:hover {
    box-shadow: 0 8px 24px rgba(0, 74, 141, 0.12);
    transform: translateY(-4px);
}

.pillar-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.25);
}

.pillar h4 {
    color: var(--primary-color);
    margin-bottom: 14px;
    font-size: 17px;
    font-weight: 600;
}

.pillar p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.about-conclusion {
    background: linear-gradient(135deg, #f8f9ff, #f0f7ff);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 74, 141, 0.08);
}

.about-conclusion p {
    margin: 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.btn-read-more-about {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-read-more-about:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 74, 141, 0.2);
}

.btn-read-more-about.collapsed {
    background-color: var(--accent-color);
}

.btn-read-more-about.collapsed:hover {
    background-color: var(--secondary-color);
}

/* Responsividade seção Nossa História */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero .subtitle {
        font-size: 16px;
    }
    
    .about-intro {
        font-size: 15px;
    }
    
    .pillars-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pillar {
        padding: 20px;
    }
    
    .pillar-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .pillar h4 {
        font-size: 15px;
    }
    
    .pillar p {
        font-size: 13px;
    }
    
    .btn-read-more-about {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Seção de Instrumentos */
.instruments {
    padding: 40px 0;
    background-color: var(--light-color);
}

.instruments h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background-color: var(--white-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.card p {
    color: var(--text-color);
    font-size: 14px;
}

.card-category {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

/* Membros do Comitê - estilos elegantes */
.members-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.member-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.member-photo {
    height: 180px;
    background: linear-gradient(135deg, var(--light-color), rgba(0,0,0,0.02));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.member-name {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.member-role {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
}

.member-department {
    font-size: 13px;
    color: var(--text-color);
}

.member-contact {
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

.uploaded-file-card {
    display: flex;
    flex-direction: column;
}

/* Seção de Normas */
.norms {
    padding: 40px 0;
    background-color: var(--white-color);
}

.norms h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.norms-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.norm {
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.norm h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.norm p {
    margin-bottom: 10px;
    font-size: 14px;
}

.norm .date {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 15px;
}

.download-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 360px 1fr 220px;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-logo img {
    max-height: 80px;
    margin-bottom: 15px;
}

.footer-info p {
    margin: 6px 0;
    font-size: 14px;
    color: var(--white-color);
}

.footer-social h3 {
    margin-bottom: 12px;
}

/* Footer map styles */
.footer-map {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-social h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--white-color);
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    header h1 {
        margin: 15px 0 0;
        font-size: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        padding: 0;
    }
    
    .cards-container,
    .norms-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-map {
        max-width: 100%;
        height: 260px;
    }
}

/* Quando o rodapé tiver apenas o mapa, centralizar e limitar largura */
.footer-only-map {
    justify-items: center;
}

.footer-only-map .footer-map {
    width: 100%;
    max-width: 480px;
    height: 260px;
}

/* Sistema de Upload */
.upload-section {
    background-color: var(--white-color);
    padding: 40px 0;
}

.upload-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 28px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.upload-form {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-color);
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-color);
}

.file-list {
    margin-top: 30px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: var(--white-color);
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.file-item:hover {
    background-color: var(--gray-color);
}

.file-name {
    font-weight: 500;
}

.file-actions a {
    margin-left: 10px;
    color: var(--secondary-color);
}

.file-actions a:hover {
    color: var(--primary-color);
}

/* Estilos para a seção de notícias */
.news-section {
    background-color: var(--white-color);
    padding: 60px 0;
    margin-bottom: 40px;
}

.news-section h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    background-color: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.news-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.news-card-featured .news-image {
    height: 100%;
    min-height: 350px;
}

.news-card-featured .news-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background-color: var(--white-color);
}

.news-card-featured h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 28px;
}

.news-card-featured p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
}

.news-card-highlight {
    border: 2px solid var(--accent-color);
}

.badge-highlight {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--light-color);
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    margin: 0 0 12px 0;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1.4;
}

.news-content p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: var(--accent-color);
}

/* Seção de Últimas Notícias na página inicial */
.news-latest-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f7ff 100%);
    padding: 70px 0;
    margin: 50px 0;
}

.news-latest-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.latest-news-card {
    background-color: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 74, 141, 0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.latest-news-card:hover {
    box-shadow: 0 12px 28px rgba(0, 74, 141, 0.15);
    transform: translateY(-6px);
}

.latest-news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-color), #e8eef5);
    position: relative;
}

.latest-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.latest-news-card:hover .latest-news-image img {
    transform: scale(1.08);
}

.latest-news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.latest-news-content h3 {
    margin: 0 0 12px 0;
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
}

.latest-news-date {
    font-size: 13px;
    color: var(--text-light);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.latest-news-date i {
    color: var(--accent-color);
}

.latest-news-preview {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

.btn-read-more-news {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.btn-read-more-news:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

@media (max-width: 768px) {
    .news-latest-section h2 {
        font-size: 24px;
    }
    
    .latest-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .latest-news-image {
        height: 200px;
    }
}

.page-section {
    background-color: var(--white-color);
    padding: 70px 0;
}

.page-section h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 8px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 12px;
    font-weight: 700;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 500;
}

.filters-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filters-section .search-input,
.filters-section .category-filter {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.filters-section .search-input {
    flex: 1;
    min-width: 250px;
}

.filters-section .category-filter {
    min-width: 150px;
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.instrument-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 74, 141, 0.08);
    padding: 28px;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--accent-color);
}

.instrument-card:hover {
    box-shadow: 0 12px 28px rgba(0, 74, 141, 0.15);
    transform: translateY(-6px);
}

.instrument-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.instrument-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
}

.category-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(41, 171, 226, 0.2);
}

.category-badge.category-politica {
    background: linear-gradient(135deg, #0071bc, #004a8d);
}

.category-badge.category-comite {
    background: linear-gradient(135deg, #29abe2, #0071bc);
}

.category-badge.category-privacidade {
    background: linear-gradient(135deg, #d4a574, #c99361);
}

.category-badge.category-cartilha {
    background: linear-gradient(135deg, #5cb85c, #4cae50);
}

.category-badge.category-outro {
    background: linear-gradient(135deg, #777, #555);
}

.instrument-description {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 12px 0;
    flex: 1;
    font-weight: 500;
}

.norma-content-preview {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin: 12px 0;
    max-height: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.instrument-date {
    color: var(--text-light);
    font-size: 13px;
    margin: 12px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.instrument-date i {
    color: var(--accent-color);
}

.btn-download-pdf {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 16px;
    text-align: center;
    width: 100%;
    box-shadow: 0 3px 8px rgba(0, 113, 188, 0.2);
}

.btn-download-pdf:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 74, 141, 0.25);
}

.btn-download-pdf i {
    margin-right: 8px;
}

.btn-view-document {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 12px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 113, 188, 0.2);
}

.btn-view-document:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 74, 141, 0.25);
}

.btn-view-all {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.2);
    font-size: 15px;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 74, 141, 0.25);
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--accent-color);
    font-size: 18px;
}

/* Responsividade Instrumentos */
@media (max-width: 768px) {
    .page-section {
        padding: 40px 0;
    }
    
    .page-section h2 {
        font-size: 24px;
    }
    
    .filters-section {
        flex-direction: column;
    }
    
    .filters-section .search-input {
        min-width: 100%;
    }
    
    .filters-section .category-filter {
        min-width: 100%;
    }
    
    .instruments-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .instrument-header {
        flex-direction: column;
    }
}

/* Seção de Comitê Estratégico */
.comite-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.comite-member-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 74, 141, 0.08);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.comite-member-card:hover {
    box-shadow: 0 12px 28px rgba(0, 74, 141, 0.15);
    transform: translateY(-6px);
}

.comite-member-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

.comite-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.comite-member-card:hover .comite-member-photo img {
    transform: scale(1.05);
}

.comite-member-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comite-member-content h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

.comite-member-info {
    color: var(--text-light);
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .comite-members-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .comite-member-photo {
        height: 200px;
    }
}

.no-news {
    text-align: center;
    color: #999;
    font-size: 18px;
    padding: 60px 20px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--accent-color);
    font-size: 18px;
}

/* Responsividade para notícias */
@media (max-width: 1024px) {
    .news-card-featured {
        grid-template-columns: 1fr;
    }
    
    .news-card-featured .news-image {
        height: 250px;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Estilos para notícias destacadas na página inicial */
.news-highlight-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    margin: 40px 0;
}

.news-highlight-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.news-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.news-highlight-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
}

.news-highlight-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
}

.news-highlight-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: var(--light-color);
}

.news-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-highlight-card:hover .news-highlight-image img {
    transform: scale(1.08);
}

.news-highlight-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-highlight-content h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.4;
}

.news-highlight-date {
    font-size: 12px;
    color: #888;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-highlight-date i {
    color: var(--accent-color);
}

.news-highlight-preview {
    margin: 0 0 15px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    flex: 1;
}

.btn-read-more {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.btn-read-more:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.btn-view-all {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.btn-view-all:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .news-highlight-section h2 {
        font-size: 24px;
    }
    
    .news-highlight-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-highlight-image {
        height: 200px;
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 50px 0 25px;
    margin-top: 70px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 -4px 12px rgba(0, 74, 141, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 17px;
    margin-bottom: 18px;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: 100%;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* Página de Notícia Individual */
.news-detail-section {
    background-color: var(--white-color);
    padding: 70px 0;
    min-height: 80vh;
}

.news-detail-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-content h1 {
    color: var(--primary-color);
    font-size: 38px;
    margin-bottom: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.news-meta-detail {
    display: flex;
    gap: 24px;
    margin-bottom: 35px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e8eef5;
    flex-wrap: wrap;
}

.news-meta-detail .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.news-meta-detail .meta-item i {
    color: var(--accent-color);
    font-size: 16px;
}

.news-image-detail {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 45px;
    box-shadow: 0 8px 24px rgba(0, 74, 141, 0.12);
}

.news-image-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 45px;
}

.news-body br {
    margin: 12px 0;
    display: block;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(41, 171, 226, 0.2);
    font-size: 15px;
}

.btn-back:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateX(-4px);
    box-shadow: 0 6px 16px rgba(0, 74, 141, 0.25);
}

.btn-back i {
    font-size: 16px;
}

/* Notícias Relacionadas */
.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-news h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 30px;
}

.news-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.news-card-small {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.news-card-small:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.news-card-small.news-card-highlight {
    border: 2px solid var(--accent-color);
}

.news-image-small {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.news-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-small:hover .news-image-small img {
    transform: scale(1.05);
}

.news-content-small {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content-small h3 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 1.4;
}

.news-meta-small {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #999;
    flex-wrap: wrap;
}

.news-meta-small .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Estilo do "Ler mais" nas listas */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 14px;
    margin-top: auto;
    transition: all 0.3s ease;
}

.news-card:hover .read-more,
.news-card-small:hover .read-more,
.latest-news-card:hover .read-more {
    color: var(--primary-color);
    gap: 10px;
}

@media (max-width: 768px) {
    .news-detail-content h1 {
        font-size: 28px;
    }
    
    .news-image-detail {
        height: 250px;
    }
    
    .news-body {
        font-size: 15px;
        text-align: left;
    }
    
    .news-grid-small {
        grid-template-columns: 1fr;
    }
    
    .related-news h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Estilos para Carrossel de Notícias (Swiper) */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.newsCarousel,
.newsListCarousel {
    width: 100%;
    height: 100%;
}

.newsCarousel .swiper-button-next,
.newsCarousel .swiper-button-prev,
.newsListCarousel .swiper-button-next,
.newsListCarousel .swiper-button-prev {
    color: white;
    background-color: rgba(0, 74, 141, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.newsCarousel .swiper-button-next:hover,
.newsCarousel .swiper-button-prev:hover,
.newsListCarousel .swiper-button-next:hover,
.newsListCarousel .swiper-button-prev:hover {
    background-color: rgba(0, 74, 141, 0.9);
    transform: scale(1.1);
}

.newsCarousel .swiper-pagination-bullet,
.newsListCarousel .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 0.7;
}

.newsCarousel .swiper-pagination-bullet-active,
.newsListCarousel .swiper-pagination-bullet-active {
    background-color: #fff;
    opacity: 1;
}

.newsCarousel .swiper-pagination,
.newsListCarousel .swiper-pagination {
    bottom: 15px;
}

/* Ajustes para cards com carrossel */
.news-card {
    position: relative;
}

.news-card .swiper {
    width: 100%;
    max-height: 350px;
}

.news-card-featured .swiper {
    max-height: 400px;
}

.news-image-detail .swiper {
    width: 100%;
    max-height: 500px;
}

@media (max-width: 768px) {
    .newsCarousel .swiper-button-next,
    .newsCarousel .swiper-button-prev,
    .newsListCarousel .swiper-button-next,
    .newsListCarousel .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
}