/* ==========================================================================
   PÁGINA ESG / SUSTENTABILIDADE
   ========================================================================== */

.esg-hero {
    background-color: var(--color-primary-dark);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.esg-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 2;
}

.esg-hero h1 span {
    color: var(--color-secondary);
}

.esg-hero p {
    color: #e0e0e0;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.esg-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.esg-content {
    padding: var(--space-xl) 0;
}

.esg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-xl);
}

.esg-grid.reverse {
    direction: rtl;
}

.esg-grid.reverse > * {
    direction: ltr;
}

.esg-text h2 {
    font-size: 2.2rem;
    margin-bottom: var(--space-sm);
}

.esg-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.esg-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.esg-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Decorador orgânico da imagem */
.esg-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 95%;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: calc(var(--radius-lg) - 5px);
    pointer-events: none;
}

@media (max-width: 992px) {
    .esg-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .esg-grid.reverse {
        direction: ltr;
    }
}
