/* Estilos Globais e Variáveis */
:root {
    --primary-green: #388e3c;
    --light-green: #e8f5e9;
    --dark-green: #218838;
    --text-color: #333;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f8fdf8;
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Barra de Navegação --- */
.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.navbar-logo img {
    width: 90px;
    vertical-align: middle;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.nav-links a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    background-color: var(--primary-green);
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: var(--primary-green);
    cursor: pointer;
}

/* --- Seção Hero e Nova Animação --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(180deg, var(--light-green) 0%, #ffffff 100%);
    padding: 100px 20px 20px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-content {
    animation: fadeInDown 1s ease-out;
}

.hero h1 {
    color: var(--primary-green);
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.hero p {
    color: #555;
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    width: 120px;
    height: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: var(--delay);
    transition: transform 0.3s ease-out;
}

.hero-image:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* Animações Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Seções de Conteúdo --- */
.content-section {
    padding: 80px 0;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 40px;
}

.content-section p {
    max-width: 800px;
    margin: 0 auto;
}

/* --- Grade de Produtos --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15);
}

.product-card img {
    max-width: 80%;
    height: auto;
    margin-bottom: 15px;
}

.product-card h3 {
    margin: 15px 0 10px;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.product-card p {
    font-style: italic;
    color: #777;
    font-size: 0.9em;
}

/* --- Formulário de Contato --- */
.contact-form {
    max-width: 600px;
    margin: 20px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

.contact-form button {
    padding: 15px 30px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    align-self: center;
}

.contact-form button:hover {
    background-color: var(--dark-green);
}

/* --- Rodapé --- */
.footer {
    background-color: var(--primary-green);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

/* --- Responsividade --- */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        position: absolute;
        top: 65px;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        margin: 10px 0;
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-image {
        width: 80px;
    }

    .content-section {
        padding: 60px 0;
    }

    .content-section h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-image {
        width: 65px;
    }
    .hero-images {
        gap: 10px;
    }
}

/*
####################################################
### ESTILOS PARA A PÁGINA SOBRE NÓS ###
####################################################
*/

/* Layout geral da página Sobre */
.page-container {
    padding-top: 100px; /* Espaço para a navbar fixa */
}

.page-header {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--light-green);
    border-radius: 10px;
    margin-bottom: 60px;
}

.page-header h1 {
    color: var(--primary-green);
    margin: 0;
}

.page-header p {
    font-size: 1.2em;
    color: #555;
    margin-top: 10px;
}

/*
####################################################
### CORREÇÃO DO ESPAÇAMENTO DOS PARÁGRAFOS ###
####################################################
*/

/* Seleciona APENAS os parágrafos da primeira seção de conteúdo da página Sobre Nós */
.page-container .content-section:first-of-type p {
    margin-bottom: 1.5em; /* Aumenta o espaço abaixo de cada parágrafo */
    line-height: 1.7;     /* Melhora a altura da linha para mais legibilidade */
}

/* Remove a margem extra do último parágrafo para um alinhamento limpo */
.page-container .content-section:first-of-type p:last-child {
    margin-bottom: 0;
}


/* Seção de Significado */
.card-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.meaning-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.meaning-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.meaning-list li:last-child {
    border-bottom: none;
}

.meaning-list strong {
    color: var(--primary-green);
    font-size: 1.2em;
    margin-right: 10px;
}

/* Seção de Missão, Visão e Valores */
.mission-vision-values {
    display: flex;
    gap: 30px;
    justify-content: center;
    text-align: left;
}

.mvv-card {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.mvv-card h3 {
    color: var(--primary-green);
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 10px;
    margin-top: 0;
}

/* Grade de Valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}

.value-card {
    background-color: #fff;
    padding: 20px;
    border-left: 5px solid var(--primary-green);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.value-card strong {
    color: var(--primary-green);
    display: block;
    margin-bottom: 5px;
}

/* Ajustes responsivos para a página Sobre */
@media screen and (max-width: 768px) {
    .mission-vision-values {
        flex-direction: column;
    }
}

/*
####################################################
### ESTILOS PARA A PÁGINA DE CONTATO ###
####################################################
*/

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-column .content-section,
.contact-form-column .content-section {
    padding-top: 0; /* Remove o padding extra no topo das seções internas */
    text-align: left;
}

.contact-info-column h2,
.contact-form-column h2 {
    text-align: center;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-details-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-details-list i {
    font-size: 1.8em;
    color: var(--primary-green);
    width: 30px;
    text-align: center;
}

.contact-details-list div {
    display: flex;
    flex-direction: column;
}

.contact-details-list strong {
    font-size: 1.1em;
    color: var(--text-color);
}

.contact-details-list a,
.contact-details-list span {
    font-size: 1em;
    color: #555;
    text-decoration: none;
}

.contact-details-list a:hover {
    color: var(--primary-green);
    text-decoration: underline;
}

.map-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.map-link:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.map-link iframe {
    display: block; /* Remove espaço extra abaixo do iframe */
}

/* Ajustes responsivos para a página de Contato */
@media screen and (max-width: 992px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
    }
}

/*
####################################################
### ESTILOS PARA A PÁGINA DE OBRIGADO ###
####################################################
*/

.thank-you-card {
    text-align: center;
    padding: 60px 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 40px 0;
}

.thank-you-card h1 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.button-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: var(--dark-green);
}