:root {
    --primary-color: #0B5345;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --yellow: #F4D03F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Barra de Acessibilidade */
.accessibility-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.accessibility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-tools {
    display: flex;
    gap: 1.5rem;
}

.top-tools {
    display: flex;
    gap: 1.5rem;
}

.accessibility-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.accessibility-bar a:hover {
    text-decoration: underline;
}

/* Cabeçalho Principal */
.main-header {
    background-color: var(--white);
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    height: 90px;
    width: auto;
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.logo-text h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0.3rem 0;
}

.logo-text p {
    color: var(--secondary-color);
    font-size: 1rem;
}

.search-section {
    flex: 1;
    max-width: 400px;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
}

.search-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: #094239;
}

.header-tools {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.header-tools a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-tools a:hover {
    color: var(--primary-color);
}

/* Menu Principal */
.main-nav {
    background-color: var(--yellow);
    padding: 0;
    position: relative;
    z-index: 100;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links > li > a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Mega Menu */
.has-mega-menu {
    position: static;
}

.mega-menu {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 2rem 0;
    display: none;
    z-index: 1000;
}

.has-mega-menu:hover .mega-menu {
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
}

/* News Section Grid Layout */
.news-section {
    padding: 20px;
    background: #f5f5f5;
}

.news-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* News Slider */
.news-slider {
    width: 100%;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.news-container {
    width: 100%;
    position: relative;
    height: 400px;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.news-card-large {
    height: 100%;
    display: flex;
    flex-direction: row;
    background: white;
}

.news-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Latest News */
.latest-news {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    height: 400px;
    overflow-y: auto;
}

.latest-news h3 {
    color: var(--white);
    background: var(--primary-color);
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    text-decoration: none;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f8f8;
    transform: translateX(5px);
}

.news-item h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .news-grid-container {
        grid-template-columns: 1fr;
    }
    
    .latest-news {
        height: auto;
        max-height: 400px;
    }

    .news-card-large {
        flex-direction: column;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 20px;
    }
}

/* Quick Access Section */
.quick-access {
    padding: 4rem 5%;
}

.quick-access h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.quick-access-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.quick-access-item:hover {
    transform: translateY(-5px);
}

.quick-access-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Content Section */
.content-section {
    padding: 2rem 5%;
    background-color: var(--light-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.services-menu {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
    width: 100%;
}

/* INFORMATIVOS Section */
.informativos-section {
    padding: 2rem 0;
    background: var(--white);
}

.informativos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.informativos-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.informativos-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.informativos-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.informativos-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.informativos-date {
    color: #666;
    font-size: 0.85rem;
}

.informativos-footer .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
}

.informativos-footer .read-more:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .informativos-grid {
        grid-template-columns: 1fr;
    }
}

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

/* Services Menu */
.services-menu {
    background-color: var(--white);
}

.services-menu h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--secondary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.service-item i {
    width: 20px;
    text-align: center;
}

/* News Content */
.news-content {
    background-color: var(--white);
}

.news-content h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateX(5px);
}

.news-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.news-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.date {
    color: #666;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* News Card Styles */
.news-card-large {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.news-image {
    flex: 1;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

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

.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.news-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .news-card-large {
        flex-direction: column;
        margin: 10px;
    }
    
    .news-image {
        min-height: 200px;
    }

    .news-content {
        padding: 20px;
    }
}

/* News Slider Styles */
.news-slider {
    width: 100%;
    background: #f5f5f5;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.news-card-large {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    height: calc(100% - 40px);
}

.news-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.news-slide.active .news-content {
    opacity: 1;
    transform: translateX(0);
}

.news-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.news-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Latest News */
.latest-news {
    max-width: 1200px;
    margin: 0 auto 0;
    position: relative;
    z-index: 3;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
}

.latest-news h3 {
    color: var(--white);
    background: var(--primary-color);
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    text-decoration: none;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f8f8;
    transform: translateX(5px);
}

.news-item h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .latest-news {
        margin: 20px auto;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--secondary-color);
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--yellow);
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info li i {
    color: var(--yellow);
    margin-top: 0.3rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.developer a {
    color: var(--yellow);
    text-decoration: none;
}

.developer a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Alto Contraste */
.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

.high-contrast .accessibility-bar,
.high-contrast .main-header,
.high-contrast .main-nav,
.high-contrast .content-section,
.high-contrast .news-card,
.high-contrast .footer {
    background-color: #000 !important;
    border-color: #fff !important;
}

.high-contrast .accessibility-bar a,
.high-contrast .logo-text h1,
.high-contrast .logo-text h2,
.high-contrast .logo-text p,
.high-contrast .nav-links > li > a,
.high-contrast .news-card h3,
.high-contrast .news-card p,
.high-contrast .date {
    color: #fff !important;
}

.high-contrast .search-form input {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

.high-contrast .search-form button,
.high-contrast .nav-links > li > a:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.high-contrast .service-item:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.high-contrast img {
    filter: grayscale(100%) contrast(120%);
}

/* Responsivo */
@media (max-width: 1200px) {
    .accessibility-bar .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .accessibility-tools,
    .top-tools {
        justify-content: center;
        flex-wrap: wrap;
    }

    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .search-section {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .accessibility-tools,
    .top-tools {
        gap: 1rem;
    }

    .accessibility-bar a {
        font-size: 0.8rem;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .news-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .pagination {
        gap: 0.25rem;
    }

    .pagination a {
        padding: 0.4rem 0.8rem;
    }
}

/* Adjust main content to account for fixed header */
main {
    margin-top: 0;
    padding-top: 0;
}

/* Slideshow */
.slideshow-container {
    position: relative;
}

/* News Slider Section */
.news-slider-section {
    width: 100%;
    background: #f5f5f5;
    padding: 0 0;
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
}

.news-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.news-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.news-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.news-card-large {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    height: 400px;
}

.news-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.news-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.news-slide.active .news-content {
    opacity: 1;
    transform: translateX(0);
}

.news-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.news-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.slider-dots {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Latest News */
.latest-news {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px;
    height: 400px;
}

.latest-news h3 {
    color: var(--white);
    background: var(--primary-color);
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 1.2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    text-decoration: none;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f8f8;
    transform: translateX(5px);
}

.news-item h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .slider-container {
        grid-template-columns: 1fr;
    }
    
    .latest-news {
        margin-top: 20px;
    }
}

/* Seção de Vereadores */
.vereadores-section {
    padding: 40px 0;
    position: relative;
    background-color: #f8f9fa;
}

.vereadores-section .container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
    padding-right: 1rem;
}

.section-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), transparent);
}

.section-content {
    padding: 1rem 0;
}

.vereadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 1rem 0;
}

.vereador-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

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

.vereador-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.vereador-info {
    padding: 15px;
    text-align: center;
    background: white;
}

.vereador-info h3 {
    color: var(--primary-color);
    font-size: 1.1em;
    margin: 0 0 8px;
    font-weight: 600;
}

.vereador-info p {
    color: #666;
    margin: 0 0 4px;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .vereadores-section .container {
        margin-top: -30px;
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .vereadores-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        padding: 10px;
    }

    .vereador-card img {
        height: 180px;
    }

    .vereador-info h3 {
        font-size: 1em;
    }

    .vereador-info p {
        font-size: 0.85em;
    }
}

/* Página de Perfil do Vereador */
.vereador-profile {
    background: #f8f9fa;
    padding-bottom: 40px;
}

.profile-header {
    position: relative;
    margin-bottom: 30px;
}

.profile-cover {
    height: 250px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 10px 10px;
}

.profile-info {
    position: relative;
    margin-top: -100px;
    padding: 0 20px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
}

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

.profile-details {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-details h1 {
    color: var(--primary-color);
    font-size: 2em;
    margin-bottom: 15px;
}

.profile-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.profile-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.profile-social a {
    color: var(--primary-color);
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.profile-social a:hover {
    color: var(--secondary-color);
}

/* Tabs de Conteúdo */
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button:hover {
    background: #f0f0f0;
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tab-content.active {
    display: block;
}

/* Seção Sobre */
.bio-section, .formacao-section, .historico-section {
    margin-bottom: 30px;
}

.timeline {
    list-style: none;
    padding: 0;
}

.timeline li {
    display: flex;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.timeline li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline .date {
    min-width: 120px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Projetos */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.projeto-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    position: relative;
}

.projeto-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 500;
}

.projeto-status.aprovado {
    background: #e3f9e5;
    color: #1b4400;
}

.projeto-status.tramitacao {
    background: #fff4e5;
    color: #663c00;
}

.projeto-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn-more {
    padding: 5px 15px;
    background: var(--primary-color);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

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

/* Comissões */
.comissoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.comissao-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.comissao-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cargo {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.comissao-reunioes {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Atividades */
.atividades-timeline {
    padding: 20px;
}

.atividade-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.atividade-item:before {
    content: '';
    position: absolute;
    left: 100px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background: #eee;
}

.atividade-item:last-child:before {
    display: none;
}

.atividade-data {
    min-width: 100px;
    color: var(--primary-color);
    font-weight: 600;
}

.atividade-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    flex: 1;
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contato-info ul {
    list-style: none;
    padding: 0;
}

.contato-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #666;
}

.horario-atendimento {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
    .profile-meta {
        flex-direction: column;
        gap: 10px;
    }

    .profile-tabs {
        gap: 5px;
    }

    .timeline li {
        flex-direction: column;
        gap: 5px;
    }

    .atividade-item {
        flex-direction: column;
        gap: 10px;
    }

    .atividade-item:before {
        display: none;
    }
}

/* Página de Listagem de Vereadores */
.vereadores-page {
    padding: 40px 0;
    background: #f8f9fa;
}

.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 1.1em;
}

/* Filtros Avançados */
.advanced-search {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.toggle-filters {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1em;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-filters i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.toggle-filters.active i.fa-chevron-down {
    transform: rotate(180deg);
}

.filters-panel {
    display: none;
    padding: 20px;
    border-top: 1px solid #eee;
}

.filters-panel.active {
    display: block;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 500;
    color: #444;
}

.filter-group select,
.filter-group input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95em;
}

.filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

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

.btn-secondary {
    background: #eee;
    color: #666;
}

.btn-secondary:hover {
    background: #ddd;
}

/* Resultados */
.search-results {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.view-options {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Grid de Vereadores */
.vereadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.vereador-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.vereador-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 300px;
}

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

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-badge.ativo {
    background: #e3f9e5;
    color: #1b4400;
}

.status-badge.licenciado {
    background: #fff4e5;
    color: #663c00;
}

.status-badge.suplente {
    background: #e5f6ff;
    color: #004d99;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.partido {
    color: #666;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.btn-perfil {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-perfil:hover {
    background: var(--secondary-color);
}

/* Lista de Vereadores */
.vereadores-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vereadores-list .vereador-card {
    display: flex;
    height: 150px;
}

.vereadores-list .card-image {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.vereadores-list .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
    background: #f0f0f0;
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        flex-direction: column;
    }

    .vereadores-list .vereador-card {
        flex-direction: column;
        height: auto;
    }

    .vereadores-list .card-image {
        width: 100%;
        height: 200px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}

