/* Variáveis CSS */
:root {
    --primary-color: #2e8b57; /* Verde médio */
    --primary-dark: #1a5e3a; /* Verde escuro */
    --primary-light: #4caf50; /* Verde claro */
    --accent-color: #8bc34a; /* Verde limão */
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #e9ecef;
    --gray: #ced4da;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 60px;
}

.main-nav .menu {
    display: flex;
    list-style: none;
}

.main-nav .menu li {
    margin-left: 20px;
}

.main-nav .menu a {
    font-weight: 600;
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav .menu a:hover {
    color: var(--primary-color);
    background-color: rgba(46, 139, 87, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(46, 139, 87, 0.8), rgba(46, 139, 87, 0.8)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature-img {
    height: 200px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-img img {
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Articles Section */
.articles {
    padding: 80px 0;
    background-color: var(--white);
}

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

.article-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.article-img {
    height: 200px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: var(--primary-dark);
    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: 60px;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-light);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.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%;
    color: var(--white);
    transition: background-color 0.3s ease;
}

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

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

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        position: relative;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: var(--text-color);
        transition: all 0.3s ease;
    }
    
    .hamburger::before {
        top: -8px;
    }
    
    .hamburger::after {
        bottom: -8px;
    }
    
    .main-nav .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 20px;
    }
    
    .main-nav .menu.active {
        display: flex;
    }
    
    .main-nav .menu li {
        margin: 10px 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    background-image: linear-gradient(rgba(46, 139, 87, 0.8), rgba(46, 139, 87, 0.8)), url('../img/page-header-bg.jpg');
    background-size: cover;
    background-position: center;
}

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

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Page */
.about-page {
    padding: 80px 0;
    background-color: var(--white);
}

.values-list {
    margin-left: 20px;
    margin-bottom: 30px;
}

.values-list li {
    margin-bottom: 10px;
}

.about-quote {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: var(--shadow);
}

.about-quote blockquote {
    font-style: italic;
    font-size: 1.2rem;
    margin: 0;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.team-member {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.member-img {
    height: 300px;
    overflow: hidden;
}

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

.member-info {
    padding: 20px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Process Section */
.process {
    padding: 80px 0;
    background-color: var(--white);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

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

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Articles Page */
.articles-page {
    padding: 80px 0;
    background-color: var(--white);
}

.article-full {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.article-featured-img {
    height: 400px;
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-excerpt {
    padding: 30px;
}

.article-excerpt h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-excerpt ul {
    margin-left: 20px;
    margin-bottom: 30px;
}

.article-excerpt ul li {
    margin-bottom: 10px;
}

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

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

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.newsletter-form .form-group {
    flex-grow: 1;
    margin-bottom: 0;
}

/* Contact Page */
.map-section {
    padding: 80px 0;
    background-color: var(--white);
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    padding: 20px;
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle .fa-plus:before {
    content: "\f068"; /* Minus icon */
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background-color: var(--primary-light);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Instagram Feed */
.instagram-feed {
    padding: 80px 0;
    background-color: var(--white);
}

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

.instagram-placeholder {
    background-color: var(--gray-light);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    grid-column: 1 / -1;
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
}

.form-control.error {
    border-color: #dc3545;
}

/* Success Messages */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Error Messages */
.error-message-box {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .form-group {
        margin-bottom: 15px;
    }
    
    .article-featured-img {
        height: 250px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}

/* Estilos para notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease-out;
    min-width: 300px;
    max-width: 80%;
}

.notification.success {
    border-left: 4px solid #4CAF50;
    background-color: #f0fff0;
}

.notification.error {
    border-left: 4px solid #f44336;
    background-color: #fff0f0;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.notification i {
    font-size: 1.5em;
}

.notification.success i {
    color: #4CAF50;
}

.notification.error i {
    color: #f44336;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    margin-left: 15px;
    color: #666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #333;
}

.notification.fade-out {
    animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
} 