* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

header {
    background-color: #645403;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    border-bottom: 4px solid #4a3e02;
}

header img {
    height: 70px; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 18px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 0; 
    display: inline-block;
}

nav a:hover {
    background-color: #ffffff;
    color: #645403;
}

main {
    flex: 1; 
    padding: 50px;
    background-color: #fcfcfc;
}

section {
    max-width: 900px;
    margin: 0 auto; 
}

main h1 {
    color: #645403;
    margin-bottom: 25px;
    font-size: 2.2rem;
    border-bottom: 2px solid #645403;
    padding-bottom: 10px;
}

main p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: justify;
}

main img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    display: block;
}

main a {
    color: #645403;
    font-weight: bold;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
}

/* Mantido apenas para os formulários de contato/apoio */
form label {
    font-weight: bold;
    color: #645403;
    margin-bottom: -5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 0; 
    font-size: 1rem;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: #645403;
}

input[type="submit"] {
    background-color: #645403;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0; 
    transition: background-color 0.3s;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #4a3e02; 
}

footer {
    background-color: #645403;
    color: #ffffff;
    padding: 40px 50px 20px 50px;
}

footer h2 {
    text-align: center; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 30px; 
}

.footer-col {
    flex: 1; 
    min-width: 250px; 
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.95rem;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    text-decoration: underline;
    color: #e6dfc3;
}

footer .fab {
    font-size: 35px; 
    margin-top: 5px;
    transition: transform 0.3s;
}

footer .fab:hover {
    transform: scale(1.1); 
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    padding-top: 20px;
    font-size: 0.85rem;
    width: 100%;
}

.home-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; 
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.intro-image img {
    max-width: 100%;
    margin-bottom: 0;
    border: 5px solid #645403;
    border-radius: 15px;
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15); 
}

.meritos-lista {
    list-style: none; 
    padding-left: 0;
    margin-top: 15px;
    margin-bottom: 40px;
}

.meritos-lista li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.meritos-lista i {
    color: #645403;
    font-size: 1.3rem;
    margin-right: 15px;
    width: 25px; 
    text-align: center;
}

.area-atuacao h2 {
    display: flex;
    align-items: center;
    color: #645403;
    border-bottom: 2px solid #645403;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.area-atuacao h2 i {
    margin-right: 15px;
    font-size: 1.8rem;
}

.noticias-container {
    max-width: 1000px;
    margin: 0 auto;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.noticia-card {
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.3s;
    border-radius: 0; 
}

.noticia-card:hover {
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.1); 
}

.noticia-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.noticia-card h3 a {
    color: #645403;
    text-decoration: none;
    transition: color 0.3s;
}

.noticia-card h3 a:hover {
    color: #312902;
    text-decoration: underline;
}

.data-noticia {
    font-size: 0.9rem !important;
    color: #666666;
    margin-bottom: 25px !important;
}

.data-noticia i {
    color: #645403;
    margin-right: 5px;
}

.btn-leia-mais {
    display: inline-block;
    background-color: #645403;
    color: #ffffff !important; 
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s;
    margin-top: auto; 
    border-radius: 0; 
}

.btn-leia-mais:hover {
    background-color: #4a3e02;
}

#menu-toggle, 
.menu-icon {
    display: none;
}

@media (max-width: 768px) {
    header {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .menu-icon {
        display: block;
        font-size: 28px;
        color: #ffffff;
        cursor: pointer;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #645403; 
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        border-bottom: 4px solid #4a3e02;
        z-index: 1000;
    }

    header nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li a {
        display: block;
        padding: 14px 20px;
        text-decoration: none;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    header nav ul li a:hover {
        background-color: #ffffff;
        color: #645403;
    }

    #menu-toggle:checked ~ nav {
        display: block;
    }
}