
:root {
    /* Cores */
    --primary-green: #00701a;
    --accent-yellow: #ffcc00;
    --bg-gray: #f8f9fa;
    --text-dark: #1a2a3a;
    --text-muted: #666;
    --dark-blue: #0a192f;
    --text-light: #a8b2d1;
    
    /* Breakpoints */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 992px;
    
    /* Border Radius */
    --br-sm: 8px;
    --br-md: 12px;
    --br-lg: 20px;
    --br-xl: 30px;
    --br-2xl: 40px;
    --br-3xl: 50px;
    --br-4xl: 60px;
}

/* Aliases para compatibilidade */
:root {
    --green-primary: var(--primary-green);
    --green-dark: var(--primary-green);
    --azul-escuro-footer: var(--dark-blue);
    --yellow: var(--accent-yellow);
    --verde-escuro: var(--primary-green);
    --amarelo: var(--accent-yellow);
}

body { font-family: 'Montserrat', sans-serif; background-color: #fff; color: var(--text-dark); margin: 0; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Breadcrumb Navigation */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}
.breadcrumb .container {
    padding: 0;
}
.breadcrumb ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb li:not(:last-child)::after {
    content: "/";
    color: #6c757d;
    margin-left: 0.5rem;
}
.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb li:last-child {
    color: #6c757d;
    font-weight: 600;
}

/* minimal reset */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family: 'Montserrat', sans-serif;color:#222;background:#fff}
.container{width:90%;max-width:1200px;margin:0 auto}

/* Hero Page (Foto 10) */
.hero-green-overlay {
    height: 300px;
    background: linear-gradient(rgba(0, 112, 26, 0.85), rgba(0, 112, 26, 0.85)), url('https://source.unsplash.com/1200x800/?landscape');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}
.hero-green-overlay h1 { font-size: 3rem; margin-bottom: 10px; }

/* Hero Section with Image Slideshow */
.hero {
    position: relative;
    height: 400px;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 1.5s ease-in-out;
    opacity: 0;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.green-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 96, 4, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin: 0;
}

/* Layout Grid */
.about-layout { display: grid; grid-template-columns: 1fr 350px; gap: 40px; padding: 60px 0; }

/* Column Left Styles */
.about-section { margin-bottom: 60px; }
.section-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.icon-circle-green { background: var(--green-primary); color: white; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.section-header h2 { color: var(--green-dark); font-weight: 800; margin: 0; }
.image-placeholder-large img { width: 100%; border-radius: 20px; margin-top: 20px; }

/* Mission/Vision Cards (Foto 15) */
.mission-vision-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 25px 0; }
.card-white { background: white; border: 1px solid #eee; padding: 25px; border-radius: 20px; }
.card-white h3 { color: var(--green-primary); margin-top: 0; }

/* Valores (Foto 15) */
.values-container { background: #fffdf2; border: 2px solid var(--yellow); padding: 30px; border-radius: 20px; margin-top: 20px; text-align: center; }
.values-grid { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 15px; }
.value-tag { background: white; padding: 10px 20px; border-radius: 10px; border: 1px solid #ddd; font-weight: 700; color: var(--green-primary); }

/* Pelouros (Foto 16) */
.pelouro-item { background: white; border: 1px solid #eee; margin-bottom: 15px; padding: 18px 22px; border-radius: 15px; border-left: 5px solid var(--green-primary); display: flex; align-items: center; gap: 15px; font-weight: 600; transition: all 0.3s ease; }
.pelouro-item:hover { box-shadow: 0 6px 16px rgba(0, 112, 26, 0.12); transform: translateX(4px); }
.pelouro-icon { width: 40px; height: 40px; background: #e6f1e9; color: var(--green-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.pelouro-item span { flex: 1; }

/* CTA Contact Section */
.contact-cta { background: linear-gradient(135deg, var(--green-primary) 0%, #005c1a 100%); color: white; padding: 35px; border-radius: 20px; margin: 40px 0; text-align: center; }
.contact-cta h3 { font-size: 1.4rem; margin-bottom: 10px; }
.contact-cta p { margin-bottom: 20px; opacity: 0.95; }
.btn-cta { display: inline-block; background: white; color: var(--green-primary); padding: 12px 32px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: all 0.3s ease; }
.btn-cta:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2); }

/* Sidebar (Foto 13) */
.sidebar { 
    position: sticky;
    top: 20px;
    height: fit-content;
}
.sidebar-toggle { display: none; }
.sidebar-box { border: 1px solid #eee; border-radius: 25px; padding: 30px; margin-bottom: 30px; background: white; transition: all 0.3s ease; }
.sidebar-box:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
.divider { height: 2px; background: #eee; margin: 15px 0; position: relative; }
.divider::after { content: ''; position: absolute; left: 0; top: 0; width: 40px; height: 100%; background: var(--green-primary); }
.nav-menu ul { list-style: none; padding: 0; }
.nav-menu li a { display: flex; align-items: center; gap: 10px; padding: 12px 0; text-decoration: none; color: #666; font-weight: 600; border-bottom: 1px solid #f9f9f9; transition: all 0.3s ease; position: relative; }
.nav-menu li a:hover { color: var(--green-primary); padding-left: 6px; }
.nav-menu li a.active { color: var(--green-primary); font-weight: 700; }
.nav-menu li a.active::before { content: ''; position: absolute; left: -18px; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; background: var(--green-primary); border-radius: 2px; }

/* President Card (Foto 13) */
.president-card { background: var(--green-primary); color: white; text-align: center; }
.pres-photo { width: 100px; height: 100px; border-radius: 50%; border: 4px solid var(--yellow); margin: 0 auto 15px; overflow: hidden; }
.pres-photo img { width: 100%; height: 100%; object-fit: cover; }
.btn-message { display: block; background: var(--green-dark); color: white; text-decoration: none; padding: 12px; border-radius: 10px; margin-top: 15px; font-weight: 700; font-size: 0.8rem; }

/* FOOTER (Corrigido) */
.site-footer { 
    background-color: var(--azul-escuro-footer); 
    color: #ffffff; 
    padding: 70px 0 30px; 
    position: relative; 
    margin-top: 50px; 
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h2 { font-size: 1.3rem; margin-bottom: 20px; color: #fff; }
.footer-col h3 { font-size: 1rem; margin-bottom: 25px; letter-spacing: 1px; color: #fff; }
.footer-col p { color: #a0aab4; font-size: 0.9rem; line-height: 1.6; }

.social-icons a { color: #fff; opacity: 0.6; font-size: 1.2rem; transition: 0.3s; }
.social-icons a:hover { opacity: 1; color: var(--amarelo); }

.contact-list li { margin-bottom: 18px; color: #a0aab4; display: flex; gap: 12px; font-size: 0.9rem; }
.contact-list i { color: var(--amarelo); margin-top: 4px; }

.useful-links a { text-decoration: none; color: #a0aab4; font-size: 0.9rem; transition: 0.3s; display: block; margin-bottom: 12px; }
.useful-links a:hover { color: #fff; padding-left: 5px; }

.footer-bottom { text-align: center; padding-top: 35px; font-size: 0.8rem; color: #667085; }
.scroll-top-btn { position: absolute; top: -25px; right: 50px; background: var(--verde-escuro); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-decoration: none; }

/* Responsividade */
@media (max-width: 992px) {
    .sidebar-toggle {
        display: block;
        background: none;
        border: 2px solid var(--green-primary);
        padding: 8px 12px;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1.2rem;
        color: var(--green-primary);
        margin-bottom: 15px;
    }
    .sidebar {
        position: relative;
    }
    .sidebar-box {
        display: none;
    }
    .sidebar.active .sidebar-box {
        display: block;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        height: 320px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .mission-vision-cards {
        grid-template-columns: 1fr;
    }

    .values-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .values-grid .value-tag {
        width: 100%;
        text-align: center;
    }

    .sidebar-box {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .contact-cta {
        padding: 25px;
    }
    .btn-cta {
        padding: 12px 24px;
    }

    .hero {
        height: 280px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sidebar {
        order: 2;
    }

    .about-section {
        margin-bottom: 40px;
    }

    .mission-vision-cards {
        gap: 18px;
    }

    .pelouro-item {
        padding: 18px 18px;
    }

    .section-header {
        gap: 10px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .sidebar-box {
        padding: 22px;
    }

    .nav-menu li a {
        padding: 10px 0;
    }

    .btn-message {
        padding: 12px 14px;
    }
}

@media (max-width: 576px) {
    .sidebar-toggle {
        width: 100%;
        text-align: center;
    }
    .hero {
        height: 240px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .mission-vision-cards,
    .values-grid {
        gap: 15px;
    }

    .values-container {
        padding: 20px;
    }

    .values-grid {
        gap: 12px;
    }

    .pelouro-item {
        padding: 14px 16px;
    }

    .sidebar-box {
        padding: 18px;
    }
    .contact-cta {
        padding: 20px;
    }
    .btn-cta {
        padding: 11px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- Animações e efeitos sutis --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; will-change: transform, opacity; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Hero title animation */
.hero-green-overlay h1 { opacity: 0; transform: translateY(12px); transition: opacity 700ms ease, transform 700ms ease; }
.hero-green-overlay.hero-animate h1 { opacity: 1; transform: translateY(0); }

/* Small hover lift for cards */
.card-white, .value-tag, .service-card, .project-item, .market-card { transition: transform 220ms ease, box-shadow 220ms ease; }
.card-white:hover, .service-card:hover, .project-item:hover, .market-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(2,40,20,0.06); }

/* Smooth appear for images */
.image-placeholder-large img, .pres-photo img { transition: transform 600ms ease, opacity 600ms ease; }
.image-placeholder-large img.reveal.in-view, .pres-photo img.reveal.in-view { transform: scale(1); opacity: 1; }

/* Back to top transition tweak */
.scroll-top-btn { transition: transform 200ms ease, opacity 200ms ease; }

/* utility */
.muted { color: #6b7280; }

