/* Correções de responsividade para sustentabilidade.html e sustentabilidade-en.html */

@media (max-width: 991px) {
    /* Remover espaço branco abaixo do header */
    body {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    header {
        margin-bottom: 0 !important;
    }
    
    /* Hero Section Mobile */
    .sustainability-hero {
        height: 60vh !important;
        min-height: 400px !important;
        padding-top: 60px !important;
        margin-top: 60px !important;
    }
    
    .sustainability-hero h1 {
        font-size: 32px !important;
        padding: 0 20px !important;
        line-height: 1.3 !important;
    }
    
    /* Content Sections Mobile */
    .content-section {
        padding: 40px 20px !important;
    }
    
    .content-section h2 {
        font-size: 28px !important;
        margin-bottom: 20px !important;
        line-height: 1.3 !important;
    }
    
    .content-section h3 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .content-section p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        margin-bottom: 15px !important;
    }
    
    /* Sustainability Grid Mobile */
    .sustainability-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    
    .sustainability-content {
        padding: 30px 20px !important;
        order: 2 !important;
    }
    
    .sustainability-image {
        margin: 0 !important;
        border-radius: 0 !important;
        order: 1 !important;
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
    }
    
    .sustainability-image img {
        height: 350px !important;
        width: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
    
    /* Forçar imagem sempre em cima em mobile */
    .sustainability-section:nth-child(even) .sustainability-content,
    .sustainability-section:nth-child(even) .sustainability-image,
    .sustainability-section:nth-child(odd) .sustainability-content,
    .sustainability-section:nth-child(odd) .sustainability-image {
        order: unset !important;
    }
    
    .sustainability-section:nth-child(even) .sustainability-image,
    .sustainability-section:nth-child(odd) .sustainability-image {
        order: 1 !important;
    }
    
    .sustainability-section:nth-child(even) .sustainability-content,
    .sustainability-section:nth-child(odd) .sustainability-content {
        order: 2 !important;
    }
    
    /* Seções inline (não grid) */
    .sustentabilidade-section {
        flex-direction: column !important;
        margin-bottom: 40px !important;
    }
    
    .sustentabilidade-section .sustentabilidade-image {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        margin-bottom: 0 !important;
        order: 1 !important;
    }
    
    .sustentabilidade-section .sustentabilidade-image img {
        width: 100% !important;
        height: 350px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }
    
    .sustentabilidade-section .sustentabilidade-content {
        padding: 30px 20px !important;
        order: 2 !important;
    }
    
    .sustentabilidade-section .sustentabilidade-content h2,
    .sustentabilidade-section .sustentabilidade-content a {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
    
    .sustentabilidade-section .sustentabilidade-content p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    
    /* Icon Section Mobile */
    .icon-section {
        padding: 40px 20px !important;
    }
    
    .icon-section img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 20px !important;
    }
    
   
/* Ajustes específicos para telas muito pequenas */
@media (max-width: 480px) {
    .sustainability-hero h1 {
        font-size: 26px !important;
    }
    
    .content-section h2 {
        font-size: 24px !important;
    }
    
    .sustainability-image img,
    .sustentabilidade-section .sustentabilidade-image img {
        height: 280px !important;
    }
    
    .sustentabilidade-section .sustentabilidade-content h2,
    .sustentabilidade-section .sustentabilidade-content a {
        font-size: 20px !important;
    }
}
