/* --- Variáveis e Reset --- */
:root {
    --primary-color: #2E7D32; 
    --primary-hover: #1B5E20;
    --accent-color: #81C784; 
    --earth-color: #5D4037; 
    --bg-light: #F1F8E9;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.header {
    background: var(--bg-light);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Ajuste este valor conforme a altura desejada do menu */
    width: auto;   /* Mantém a proporção correta */
    display: block;
}

.highlight {
    color: var(--primary-color);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative; 
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: -5px;
    left: 0;
    border-radius: 2px;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 550px;
    background-image: url('https://images.unsplash.com/photo-1506543730435-f2c8d21d9c0d?q=80&w=2000&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55); 
}

.hero-content {
    position: relative;
    color: var(--white);
    max-width: 700px;
    z-index: 1;
}

.badge {
    background-color: var(--accent-color);
    color: var(--primary-hover);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.hero {
    height: 100vh;
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 60px;
    overflow: hidden; 
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bannerVerdurasElohim.avif');
    background-size: cover;
    background-position: center;
    z-index: -1; 

    animation: kenBurns 20s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); 
    z-index: 0;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: #25D366; 
    color: var(--white);
}

.btn-primary:hover {
    background-color: #128C7E;
}

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

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

/* --- Sobre --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.img-placeholder {
    width: 100%;
    max-width: 400px; 
    aspect-ratio: 1 / 1; 
    background-color: #ddd;
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #aaa;
    background-image: url('images/fotoNossaHistoria.avif');
    background-size: cover;
    background-position: center;
    

    margin: 0 auto; 
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.3);
    border: 5px solid var(--white); 
}

.features-list {
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
}

.features-list i {
    color: var(--primary-color);
}

/* --- Atacado e Varejo Section --- */
.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-primary h2 {
    color: var(--white);
    margin-bottom: 50px;
}

.business-types {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.b-type {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    border: 1px solid rgba(255,255,255,0.2);
}

.b-type i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.b-type h3 {
    color: var(--white);
    margin-bottom: 15px;
}

/* --- Produtos --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--accent-color);
}

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

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

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

/* --- Galeria --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    background-color: #e0e0e0;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}
.gallery-item:nth-child(1) { background-image: url('images/producao/producao-1.avif'); }
.gallery-item:nth-child(2) { background-image: url('images/producao/producao-2.avif'); }
.gallery-item:nth-child(3) { background-image: url('images/producao/producao-3.avif'); }
.gallery-item:nth-child(4) { background-image: url('images/producao/producao-4.avif'); }

/* --- Contato) --- */
.cta-section {
    /* Degradê Suave Verde */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png'); 
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-whatsapp-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background-color: #f9f9f9;
}

.btn-whatsapp-large i {
    font-size: 1.4rem;
}

.main-footer {
    background-color: #1a1a1a; 
    color: #e0e0e0;
    padding-top: 70px;
    margin-top: auto;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr; 
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3, 
.footer-col h4 {
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    position: relative;
}

.footer-logo-img {
    height: 60px; /* Pode ser um pouco maior que no header */
    width: auto;
    margin-bottom: 15px;
}

.highlight-footer {
    color: var(--accent-color);
}

.footer-desc {
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-links a {
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px; 
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contact-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
}

.developer {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.developer:hover {
    opacity: 1;
}

.codexo-logo {
    height: 22px; 
    vertical-align: middle;
}


.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease; 
}


.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


.product-card.reveal:nth-child(1) { transition-delay: 0.1s; }
.product-card.reveal:nth-child(2) { transition-delay: 0.3s; }
.product-card.reveal:nth-child(3) { transition-delay: 0.5s; }

.b-type.reveal:nth-child(1) { transition-delay: 0.2s; }
.b-type.reveal:nth-child(2) { transition-delay: 0.4s; }


body {
    animation: fadeInPage 1s ease-in-out;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        gap: 40px;
    }

    .business-types {
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 50px 0;
    }

    /* Header/Navegação Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-light);
        transition: left 0.3s ease;
        padding: 30px 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .nav-menu a {
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .btn-contact {
        padding: 12px 25px;
    }


    .hero {
        height: auto;
        min-height: 500px;
        padding: 80px 0 60px;
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .btn {
        padding: 12px 25px;
        text-align: center;
        width: 100%;
    }

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

    .img-placeholder {
        max-width: 300px;
        font-size: 3rem;
    }


    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 25px;
    }


    .business-types {
        flex-direction: column;
        gap: 25px;
    }

    .b-type {
        min-width: 100%;
        padding: 30px;
    }


    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item {
        height: 180px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

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

    .btn-whatsapp-large {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact-list li {
        justify-content: center;
        text-align: left;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 40px;
    }

    .hero h1 {
        font-size: 1.7rem;
        line-height: 1.3;
    }

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

    .badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

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

    .img-placeholder {
        max-width: 250px;
        font-size: 2.5rem;
    }

    .product-icon {
        font-size: 2rem;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .b-type i {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 220px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .btn-whatsapp-large {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .footer-logo-img {
        height: 50px;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        padding: 60px 0 40px;
    }

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

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}


@media (hover: none) and (pointer: coarse) {
    .nav-menu a,
    .btn,
    .footer-links a,
    .footer-social a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}