/* Estilos Gerais */
:root {
    --primary-color: #4a8e2c; /* Verde da logo */
    --secondary-color: #0d3b5c; /* Azul escuro da logo */
    --accent-color: #f0a030; /* Laranja da linha na logo */
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --white: #ffffff;
    --font-primary: 'Roboto', Arial, sans-serif;
    --font-secondary: 'Merriweather', Georgia, serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--light-gray);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img { 
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.menu a:hover, .menu a.active {
    color: var(--primary-color);
}

.menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.search {
    display: flex;
    align-items: center;
}

.search input {
    padding: 8px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    color: var(--dark-gray);
}

/* Hero Section */
.hero {
    padding: 30px 0;
}

.featured-news {
    display: flex;
    gap: 20px;
}

.main-news {
    flex: 2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.main-news img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.main-news .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.secondary-news {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-item img {
    width: 100%;
    height: 215px;
    object-fit: cover;
}

.news-item .news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.date {
    font-size: 12px;
    opacity: 0.8;
}

/* Latest News Section */
.latest-news {
    padding: 50px 0;
    background-color: var(--white);
}

.section-title {
    position: relative;
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

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

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

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

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card .news-content {
    padding: 15px;
}

.news-card h3 {
    margin: 10px 0;
    font-size: 18px;
    color: var(--secondary-color);
}

.news-card p {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--dark-gray);
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.load-more button:hover {
    background-color: var(--primary-color);
}

/* Categories Section */
.categories {
    padding: 50px 0;
}

.category-section {
    margin-bottom: 50px;
}

.category-news {
    display: flex;
    gap: 30px;
}

.main-category-news {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.main-category-news img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

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

.main-category-news h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.category-news-list {
    flex: 1;
}

.news-list-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

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

.news-list-item h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.news-list-item:hover h4 {
    color: var(--primary-color);
}

.see-more {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

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

/* Newsletter Section */
.newsletter {
    background-color: var(--secondary-color);
    padding: 60px 0;
    color: var(--white);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 15px;
    font-size: 28px;
}

.newsletter p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

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

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

.footer-logo p {
    opacity: 0.8;
    font-size: 14px;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after, .footer-contact h3::after, .footer-social h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .featured-news {
        flex-direction: column;
    }
    
    .main-news img {
        height: 400px;
    }
    
    .secondary-news {
        flex-direction: row;
    }
    
    .news-item img {
        height: 200px;
    }
    
    .category-news {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .menu {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .search {
        margin-left: auto;
    }
    
    .secondary-news {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter button {
        border-radius: 4px;
    }
}

@media (max-width: 576px) {
    .search input {
        width: 150px;
    }
    
    .main-news img {
        height: 300px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}