* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; color: #2c3e50; }
h3 { font-size: 1.5em; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

.bg-light {
    background-color: #ffffff;
}

/* =============== HEADER =============== */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between; /* Mantém o space-between para alinhar o menu toggle à direita no mobile */
    align-items: center;
}

#logo-link-header {
    display: inline-block;
    line-height: 0;
    /* O logo será o primeiro item, naturalmente à esquerda */
}

#logo {
    height: 50px;
    width: auto;
}

header nav {
    /* Em desktop, a navegação virá depois do logo. */
    /* Para empurrá-la para a direita, usamos margin-left: auto */
    margin-left: auto;
}

header nav ul {
    display: flex;
}

header nav ul li {
    margin-left: 25px;
}

/* Removido first-child pois não é mais necessário com margin-left: auto no nav */

header nav ul li a {
    color: #333;
    font-weight: 600;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #244483;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e88b00;
    transition: width 0.3s ease;
}

header nav ul li a:hover::after,
header nav ul li a.active::after {
    width: 100%;
}

/* Menu Mobile Toggle */
.menu-toggle {
    display: none; /* Escondido em telas maiores por padrão */
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    /* margin-right removido/ajustado pois agora é o último item e space-between o posicionará */
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* =============== BANNER PRINCIPAL =============== */
.banner {
    background-image: url('../img/banner-principal.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 70vh;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    padding: 20px;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 3em;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta-button {
    background-color: #64945c;
    color: #ffffff;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    border: none;
}

.cta-button:hover {
    background-color: #244483;
    transform: translateY(-2px);
}

/* =============== SEÇÃO "SOBRE NÓS" (RESUMO) =============== */
.about-us-home .about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-us-home .about-text {
    flex: 1;
}

.about-us-home .about-text p {
    margin-bottom: 15px;
}

.about-us-home .about-image {
    flex-basis: 400px;
    flex-shrink: 0;
}

.about-us-home .about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ... (o restante do CSS permanece o mesmo da versão anterior) ... */


/* =============== SEÇÃO "NOSSOS PRODUTOS" (DESTAQUES) =============== */
.featured-products h2 {
    text-align: center;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.product-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.product-card p {
    font-size: 0.9em;
    color: #555;
    min-height: 50px;
}

.featured-products .product-availability {
    text-align: center;
    margin-top: 30px;
    font-size: 1.3em;
    color:  #e88b00;
    font-weight: bold;
    font-style: normal;
}

.featured-products .cta-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
}

/* =============== SEÇÃO "DIFERENCIAIS E INOVAÇÃO" =============== */
.differentiators h2 {
    text-align: center;
    margin-bottom: 40px;
}
.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.differentiator-item {
    text-align: center;
    padding: 20px;
}

.differentiator-item i {
    font-size: 2.5em;
    color: #64945c;
    margin-bottom: 15px;
}

.differentiator-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

.quote {
    background-color: #f0f0f0;
    padding: 30px;
    border-left: 5px solid #e88b00;
    margin-top: 30px;
    font-style: italic;
    text-align: center;
}

.quote p {
    font-size: 1.1em;
    color: #444;
}


/* =============== SEÇÃO "COMPROMISSO COM SUSTENTABILIDADE" =============== */
.sustainability-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sustainability-image {
    flex-basis: 45%;
    flex-shrink: 0;
}

.sustainability-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sustainability-text {
    flex: 1;
}

.sustainability-text h2 {
    margin-bottom: 20px;
}

.sustainability-text p {
    margin-bottom: 20px;
}

.sustainability-icon {
    font-size: 2.5em;
    color: #27ae60;
    display: block;
    text-align: right;
}

/* =============== SEÇÃO "CONTATO" (RESUMIDA) =============== */
.contact-home {
    text-align: center;
}

.contact-home h2 {
    margin-bottom: 15px;
}

.contact-home > p {
    margin-bottom: 25px;
    font-size: 1.1em;
}

.contact-info-home p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.contact-info-home i {
    margin-right: 10px;
    color: #25D366; /* Cor do ícone do WhatsApp */
}
.contact-info-home i.fa-envelope {
    color: #e88b00;
}


.contact-info-home a:hover {
    text-decoration: underline;
}

.contact-home .cta-button {
    margin-top: 30px;
}

/* =============== FOOTER =============== */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo, .footer-contact {
    flex: 1;
    min-width: 200px;
}

#logo-footer {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9em;
}

footer h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9em;
}
.footer-contact p i {
    margin-right: 8px;
    color: #e88b00;
}
.footer-contact p a:hover {
    color: #ffffff;
    text-decoration: underline;
}


.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 0.85em;
    color: #95a5a6;
}


/* =============== RESPONSIVIDADE =============== */

/* Tablets e Dispositivos Menores */
@media (max-width: 992px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.9em; }
    .banner-content h1 { font-size: 2.3em; }

    .about-us-home .about-content,
    .sustainability-content {
        flex-direction: column;
        text-align: center;
    }

    .sustainability-content {
        flex-direction: column-reverse;
    }

    .about-us-home .about-text,
    .about-us-home .about-image,
    .sustainability-text,
    .sustainability-image {
        flex-basis: auto;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-us-home .about-image {
        margin-top: 30px;
    }
    .sustainability-text {
         margin-bottom: 30px;
    }

    .sustainability-icon {
        text-align: center;
    }
}

/* Dispositivos Móveis */
@media (max-width: 768px) {
    .section-padding {
        padding: 40px 0;
    }

    header .container {
        position: relative;
    }

    header nav {
        display: none; /* Escondido por padrão no mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 10px 0;
        z-index: 999;
        margin-left: 0; /* Reseta o margin-left: auto do desktop */
    }

    header nav.active {
        display: flex;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
    }

    header nav ul li {
        margin: 0;
        text-align: left;
    }

    header nav ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    header nav ul li a::after {
        display: none;
    }
    header nav ul li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: flex; /* Mostra o botão do menu hambúrguer */
        /* O menu toggle é o último item no flex container, */
        /* e justify-content: space-between o alinhará à direita. */
    }

    #logo { /* Logo no mobile */
        height: 40px;
    }


    .banner {
        height: 60vh;
        min-height: 350px;
    }

    .banner-content h1 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .banner .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-card p {
        min-height: auto;
    }

    .about-us-home .about-text,
    .about-us-home .about-image,
    .sustainability-text,
    .sustainability-image {
        max-width: 100%;
    }


    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo, .footer-contact {
        margin-bottom: 20px;
    }
    #logo-footer {
        margin-left: auto;
        margin-right: auto;
    }
}