/* 
   ESTILOS EXCLUSIVOS - PÁGINA SUSTENTABILIDADE
   BioPure Eco-Design
*/

:root {
    --eco-green: #2D6A4F;    /* Verde Floresta Profundo (Autoridade) */
    --eco-light: #D8F3DC;    /* Verde Água pálido (Frescor) */
    --eco-vibrant: #40916C;  /* Verde Folha (Ação) */
}

/* 1. ESTRUTURA GERAL */
.eco-wrapper {
    padding-top: 80px; /* Espaço para o header fixo */
}

/* 2. HERO SECTION SUSTENTÁVEL */
.eco-hero {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.9)), 
                url('img/bg-nature.jpg') center/cover; /* Imagem de fundo opcional */
    padding: 120px 0 60px;
    text-align: center;
}

.label-eco {
    color: var(--eco-green);
    background: var(--eco-light);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 25px;
}

.eco-content h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.eco-content h1 span {
    color: var(--eco-vibrant);
}

.eco-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto;
}

/* 3. PILARES (CARDS) */
.eco-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: -30px; /* Efeito de sobreposição no Hero */
}

.p-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.02);
    transition: 0.3s;
}

.p-card:hover {
    transform: translateY(-10px);
    border-color: var(--eco-light);
}

.p-icon {
    font-size: 2rem;
    color: var(--eco-vibrant);
    margin-bottom: 15px;
}

.p-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* 4. GRID DE DETALHES TÉCNICOS */
.eco-details {
    padding-bottom: 20px !important; /* De 50px para 20px */
}

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide meio a meio */
    gap: 40px;                     /* Espaço entre texto e imagem */
    align-items: center;            /* Alinha o texto verticalmente com o meio da foto */
    padding: 60px 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.eco-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.eco-text h2 span {
    color: var(--eco-green);
}

.check-list {
    margin-top: 20px;
    list-style: none;
}

.check-list li {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.check-list li i {
    color: var(--eco-vibrant);
    background: var(--eco-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.eco-image img {
    width: 100%;
    max-width: 550px;       /* Limita a largura máxima da foto */
    height: 380px;          /* Define uma altura fixa elegante */
    object-fit: cover;      /* Faz a foto preencher o espaço sem distorcer */
    border-radius: 30px;    /* Cantos arredondados para seguir o padrão BioPure */
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); /* Sombra suave para profundidade */
    border: 8px solid #fff; /* Moldura branca opcional para um ar premium */
}

/* 5. RESPONSIVIDADE */
@media (max-width: 768px) {
    .eco-pillars { grid-template-columns: 1fr; margin-top: 20px; }
    .eco-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .check-list li { justify-content: center; }
    .eco-content h1 { font-size: 2.5rem; }
    .eco-image img { height: 250px; }
}

/* --- LÓGICA DO MENU HAMBÚRGUER --- */

/* Escondido no Desktop */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 10px;
}

/* RESPONSIVIDADE (Mobile) */
/* --- CONFIGURAÇÃO MOBILE SEGURA --- */

@media (max-width: 768px) {
    /* 1. O Menu (Fundo Branco e Centralização) */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Começa escondido */
        width: 100%;
        height: 100vh;
        background-color: #ffffff !important;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px; /* Espaço entre as palavras */
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1050;
        list-style: none;
        padding: 0;
    }

    .nav-links.active {
        right: 0 !important;
    }

    /* 2. As Palavras do Menu (Preto e Negrito) */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1rem !important;
        font-weight: 700 !important; /* Deixa a letra mais grossa igual à imagem */
        color: #1A202C !important; /* Cor preta/grafite */
        text-decoration: none;
        display: inline-block;
    }

    /* 3. O Botão (Falar com Consultor) */
    .btn-primary-nav {
        background-color: #00AEEF !important; /* Azul oficial */
        color: #ffffff !important;           /* Texto branco */
        padding: 15px 40px !important;       /* Botão mais gordinho */
        border-radius: 50px !important;      /* Formato de pílula */
        font-size: 1.2rem !important;
        font-weight: 800 !important;
        width: 85% !important;               /* Largura do botão no celular */
        max-width: 300px;
        display: inline-block !important;
        box-shadow: 0 10px 20px rgba(0, 174, 239, 0.2);
        margin-top: 10px;
    }

    .nav-links a.btn-primary-nav {
    color: #ffffff !important; /* Branco puro */
    text-align: center;
    }

    .nav-links a.btn-primary-nav:hover,
    .nav-links a.btn-primary-nav:active {
    color: #ffffff !important;
    }

    /* 4. O Hambúrguer (Botão que abre o menu) */
    .hamburger {
        display: block !important;
        z-index: 1100;
        position: relative;
    }
    
    .main-footer {
        margin-top: 10px !important;
        padding-top: 30px !important;
    }
    
    .eco-details {
        padding-bottom: 10px !important;
    }
        .footer-column.brand {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centraliza horizontalmente */
        text-align: center;  /* Centraliza as linhas de texto */
    }

    /* 2. Garante que o Logo (Imagem + Nome) fique no meio */
    .footer-column.brand .logo {
        justify-content: center;
        width: 100%;
        margin-bottom: 15px;
    }

    /* 3. Centraliza o parágrafo de descrição */
    .footer-column.brand p {
        margin: 0 auto 25px auto; /* margem automática nas laterais centraliza o bloco */
        max-width: 90%;          /* Evita que o texto encoste nas bordas do celular */
    }

    /* 4. Centraliza os círculos das Redes Sociais */
    .social-medias {
        justify-content: center;
        width: 100%;
    }
    .footer-column h4::after {
        display: none !important;
    }

    /* 2. Centraliza a coluna de links */
    .footer-column.links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 30px;
    }

    /* 3. Estiliza o título 'Navegação' */
    .footer-column h4 {
        margin-bottom: 20px;
        font-size: 1.1rem;
        color: var(--text-dark); /* Cor escura elegante */
        font-weight: 700;
    }

    /* 4. Tira o azul feio dos links e deixa o texto profissional */
    .footer-column ul {
        padding: 0;
        list-style: none;
    }

    .footer-column ul li {
        margin-bottom: 12px;
    }

    .footer-column ul li a {
        color: var(--text-light) !important; /* Cinza escuro discreto */
        text-decoration: none;
        font-size: 1rem;
        font-weight: 500;
        transition: 0.3s;
    }

    /* Efeito ao tocar no link */
    .footer-column ul li a:active,
    .footer-column ul li a:hover {
        color: var(--primary-blue) !important;
    }
}

/* --- ESTADOS DA ANIMAÇÃO --- */

/* Elemento escondido (antes de chegar nele com o scroll) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Elemento visível (ativado pelo JS) */
.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Efeito 'escada' para os cartões de pilares */
.p-card:nth-child(1) { transition-delay: 0.1s; }
.p-card:nth-child(2) { transition-delay: 0.3s; }
.p-card:nth-child(3) { transition-delay: 0.5s; }

.main-footer {
    margin-top: 20px !important;    /* De 80px para 20px */
    padding-top: 40px !important;   /* De 60px para 40px */
}