/* --- CONFIGURAÇÕES GERAIS E CORES --- */
:root {
    --verde-escuro: #2E5939;
    --verde-medio: #4C9A8A;
    --verde-claro: #78a866;
    --marrom: #5A3A1A;
    --branco: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background-color: var(--verde-medio);
    color: #333;
}

/* --- HEADER --- */
header {
    text-align: center;
    background: var(--branco);
    padding: 25px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

header img {
    max-width: 350px;
    height: auto;
}

header h1 {
    color: var(--marrom);
    margin-top: 10px;
    font-size: 1.4rem;
    line-height: 1.3;
}

/* --- NAV MENU --- */
nav {
    background: white;
    border-color: #128C7E;
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    opacity: 0.7;
}

/* --- SECTIONS --- */
section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

h2 {
    color: var(--branco);
    margin-bottom: 20px;
}

/* --- GRID SOBRE --- */
.sobre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.sobre-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    color: var(--branco);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sobre-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--marrom);
}

.sobre-item h3 {
    margin-bottom: 10px;
}

/* --- GALERIA DE PRODUTOS --- */
.produtos-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.produto-card {
    background: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.produto-card:hover {
    transform: scale(1.03);
}

.produto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.produto-info {
    padding: 20px;
}

.produto-info h3 {
    color: var(--verde-escuro);
    margin-bottom: 8px;
}

/* --- BOTÃO --- */
.button {
    background: var(--verde-escuro);
    color: var(--branco);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: 0.3s;
}

.button:hover {
    opacity: 0.8;
}

/* --- REPOSITÓRIO DE NOTÍCIAS (GRID) --- */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.noticia-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.noticia-card:hover {
    transform: translateY(-5px);
}

.noticia-imagem img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.noticia-conteudo {
    padding: 20px;
}

.noticia-data {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    font-weight: bold;
}

.noticia-conteudo h3 {
    margin: 10px 0;
    font-size: 1.25rem;
    color: #2c3e50;
}

.noticia-conteudo p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.ler-mais {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

.ler-mais:hover {
    text-decoration: underline;
}

/* --- CONTATO E REDES SOCIAIS --- */
.contact-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.icon {
    font-size: 40px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
}

.icon:hover {
    transform: scale(1.2);
}

.whatsapp { color: #25D366; }
.instagram { color: #E4405F; }
.facebook { color: #1877F2; }

.icon:hover.whatsapp { color: #128C7E; }
.icon:hover.instagram { color: #C13584; }
.icon:hover.facebook { color: #0e5a9e; }

/* --- FOOTER --- */
footer {
    background: var(--verde-escuro);
    color: var(--branco);
    text-align: center;
    padding: 18px;
    margin-top: 40px;
}

.rodape {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    color: black;
}

/* Garante que o carrossel tenha espaço para as setas nas laterais */
.swiper {
    width: 100%;
    padding: 20px 0 50px 0; /* Espaço para as bolinhas embaixo */
}

/* Garante que todos os cards do carrossel tenham a mesma altura */
.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.noticia-card {
    width: 100%; /* O card ocupa a largura da slide */
    height: 100%;
}