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

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a2e1f;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header / Navbar */
header {
    background: #0a2e1a;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(2px);
}

.navbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 0;
    flex-wrap: wrap;
}

.logo-area {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: #e8f3e2;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #e8b64e;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #eef5e9 0%, #d4e8c8 100%);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-wave {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave path {
    fill: #f5f9f2;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 80px;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2b6e3c;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0a2f14;
}

.hero h1 span {
    color: #c47e1a;
}

.hero p {
    font-size: 1.15rem;
    color: #2a442b;
    max-width: 550px;
    margin-bottom: 32px;
}

.btn-primary {
    background: #1d6f2f;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #0f551f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29,111,47,0.3);
}

.hero-badge {
    flex: 0.9;
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 25px 40px -15px rgba(0,0,0,0.12);
    text-align: center;
}

.hero-badge p {
    font-weight: 500;
    color: #1f4a2c;
}

.hero-logo {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.badge-highlight {
    font-size: 1.8rem;
    font-weight: 800;
    color: #277a3a;
    margin-top: 8px;
    margin-bottom: 12px;
}

hr {
    margin: 16px 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c7e0b8, transparent);
}

/* Seções */
section {
    padding: 70px 0;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0f3b1f;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #2b6e3c;
    margin: 16px auto 0;
    border-radius: 3px;
}

.section-sobre {
    background: #f5f9f2;
}

.sobre-intro {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.sobre-intro p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #2a3e2a;
    line-height: 1.6;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.mvv-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.35s ease;
    border: 1px solid #e2efda;
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(43,110,60,0.08), transparent);
    transition: left 0.6s ease;
}

.mvv-card:hover::before {
    left: 100%;
}

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.15);
    border-color: #2b6e3c;
}

.mvv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e8f3e2, #d4e8c8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: transform 0.3s ease;
}

.mvv-card:hover .mvv-icon {
    transform: scale(1.05);
}

.mvv-icon i {
    font-size: 2rem;
    color: #1d6f2f;
}

.mvv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f3b1f;
}

.mvv-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #2a3e2a;
}

.sobre-destaque {
    background: linear-gradient(135deg, #fff, #fafef5);
    border-radius: 28px;
    padding: 36px;
    margin-top: 24px;
    border-left: 5px solid #1d6f2f;
}

.sobre-texto-destaque p {
    margin-bottom: 16px;
    color: #2a3e2a;
    line-height: 1.6;
}

.section-vantagens {
    background: #ffffff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.card {
    background: #fafef7;
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #e2efda;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(29,111,47,0.1);
    border-color: #bcddac;
}

.card i {
    font-size: 2.4rem;
    color: #2b6e3c;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #0f3b1f;
}

.section-servicos {
    background: linear-gradient(180deg, #f5f9f2 0%, #ffffff 100%);
}

.services-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.services-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    overflow: hidden;
}

.services-table th, .services-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #deedd6;
}

.services-table th {
    background: #eef5ea;
    font-weight: 700;
    color: #1a5a2e;
}

.services-table tr:hover td {
    background: #fafef7;
}

.cycle-solution {
    text-align: center;
    margin-top: 16px;
    padding: 12px;
    background: #eef5ea;
    border-radius: 50px;
    display: inline-block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.section-diferenciais {
    background: #fafef7;
}

.diff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 20px;
}

.diff-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    flex: 1;
    min-width: 240px;
    transition: all 0.3s ease;
    border: 1px solid #e2efda;
}

.diff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.08);
    border-color: #2b6e3c;
}

.diff-card i {
    font-size: 2rem;
    color: #2b6e3c;
    margin-bottom: 16px;
}

.indicators-card {
    margin-top: 56px;
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid #e2efda;
}

.indicators-card h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.indicators-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin-bottom: 24px;
}

.indicators-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #f5f9f2;
    border-radius: 40px;
}

.indicators-list i {
    color: #2b6e3c;
}

.badge-esg {
    background: linear-gradient(135deg, #2b6e3c20, #2b6e3c10);
    color: #1a5a2e;
    border-radius: 60px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.section-contato {
    background: #eef4ea;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    background: white;
    border-radius: 32px;
    padding: 48px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #0f3b1f;
}

.contact-info p {
    margin-bottom: 20px;
    color: #2a3e2a;
}

.contact-detail {
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-detail i {
    font-size: 1.6rem;
    width: 44px;
    color: #1d6f2f;
}

.secondary {
    text-align: center;
    border-left: 1px solid #deedd6;
}

.secondary i {
    font-size: 3rem;
    opacity: 0.5;
    color: #2b6e3c;
    margin-bottom: 16px;
}

.cert-badge {
    margin-top: 20px;
    font-weight: 500;
    color: #1d6f2f;
}

footer {
    background: #0a2e1a;
    color: #cbe5c0;
    padding: 40px 0;
    text-align: center;
}

.footer-tagline {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    z-index: 99;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.whatsapp-float:hover {
    background: #1da851;
    transform: scale(1.02);
}

/* ========================================== */
/* RESPONSIVIDADE - REORDENAÇÃO MOBILE */
/* ========================================== */

@media (max-width: 800px) {
    .navbar {
        justify-content: space-between;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #0a2e1a;
        padding: 20px 0;
        gap: 16px;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .badge-highlight {
        font-size: 1.5rem;
    }
    
    .contact-grid {
        padding: 32px 24px;
    }
    
    .secondary {
        border-left: none;
        border-top: 1px solid #deedd6;
        padding-top: 32px;
    }
    
    .mvv-grid {
        gap: 20px;
    }
}

/* ========================================== */
/* SOLUÇÃO DEFINITIVA - REORDENAÇÃO DO HERO */
/* ========================================== */

@media (max-width: 768px) {
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    
    .hero-grid .hero-content {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    
    .hero-grid .hero-badge {
        order: 2 !important;
        width: 100% !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .badge-highlight {
        font-size: 1.1rem;
    }
    
    .hero-badge p {
        font-size: 0.85rem;
    }
    
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero-grid .hero-content {
        order: 1 !important;
        width: 100% !important;
    }
    
    .hero-grid .hero-badge {
        order: 2 !important;
        width: 100% !important;
    }
    
    .mvv-card {
        padding: 20px 16px;
    }
    
    .mvv-card h3 {
        font-size: 1.2rem;
    }
    
    .indicators-list li {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        padding: 8px 16px;
        font-size: 0.8rem;
        bottom: 16px;
        right: 16px;
    }
}

img, iframe, video, svg {
    max-width: 100%;
    height: auto;
}


/* ========================================== */
/* REORDENAÇÃO DO HERO PARA DISPOSITIVOS MÓVEIS */
/* ========================================== */

@media (max-width: 768px) {
    /* Força o container do hero a empilhar os elementos verticalmente */
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
    
    /* O conteúdo principal (texto + botão) deve aparecer PRIMEIRO (em cima) */
    .hero-grid .hero-content {
        order: 1 !important;
        width: 100% !important;
    }
    
    /* O badge ESG deve aparecer DEPOIS (embaixo) */
    .hero-grid .hero-badge {
        order: 2 !important;
        width: 100% !important;
    }
}

/* Garantia extra para telas muito pequenas */
@media (max-width: 480px) {
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero-grid .hero-content {
        order: 1 !important;
        width: 100% !important;
    }
    
    .hero-grid .hero-badge {
        order: 2 !important;
        width: 100% !important;
    }
}

/* ========================================== */
/* CORREÇÃO DA SEÇÃO DE CONTATO - SEM BARRA HORIZONTAL */
/* ========================================== */

/* Ajuste para a seção de contato em tablets e mobile */
@media (max-width: 768px) {
    .section-contato .container {
        padding: 0 16px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        padding: 24px 20px !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-info {
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .contact-info h2 {
        font-size: 1.4rem !important;
        word-wrap: break-word !important;
    }
    
    .contact-info p {
        font-size: 0.9rem !important;
        word-wrap: break-word !important;
        line-height: 1.4 !important;
    }
    
    .contact-detail {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin: 16px 0 !important;
        flex-wrap: wrap !important;
    }
    
    .contact-detail i {
        font-size: 1.2rem !important;
        width: 28px !important;
        min-width: 28px !important;
        margin-top: 2px !important;
    }
    
    .contact-detail span {
        font-size: 0.85rem !important;
        word-wrap: break-word !important;
        flex: 1 !important;
        line-height: 1.4 !important;
    }
    
    .btn-primary {
        display: inline-block !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        text-align: center !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .secondary {
        border-left: none !important;
        border-top: 1px solid #deedd6 !important;
        padding-top: 20px !important;
        margin-top: 0 !important;
        text-align: center !important;
    }
    
    .secondary i {
        font-size: 2rem !important;
        margin-bottom: 12px !important;
    }
    
    .secondary p {
        font-size: 0.85rem !important;
    }
    
    .cert-badge {
        font-size: 0.8rem !important;
        word-wrap: break-word !important;
    }
}

/* Ajuste adicional para telas muito pequenas */
@media (max-width: 480px) {
    .section-contato .container {
        padding: 0 12px !important;
    }
    
    .contact-grid {
        padding: 20px 16px !important;
        gap: 20px !important;
    }
    
    .contact-info h2 {
        font-size: 1.2rem !important;
    }
    
    .contact-info p {
        font-size: 0.8rem !important;
    }
    
    .contact-detail {
        gap: 10px !important;
        margin: 12px 0 !important;
    }
    
    .contact-detail i {
        font-size: 1rem !important;
        width: 24px !important;
        min-width: 24px !important;
    }
    
    .contact-detail span {
        font-size: 0.8rem !important;
    }
    
    .btn-primary {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
    
    .secondary p {
        font-size: 0.8rem !important;
    }
    
    .cert-badge {
        font-size: 0.75rem !important;
    }
}

/* Garantia global para a seção de contato */
.section-contato {
    width: 100% !important;
    overflow-x: hidden !important;
}

.contact-grid {
    box-sizing: border-box !important;
}

.contact-detail {
    box-sizing: border-box !important;
}

.contact-detail span,
.contact-info p,
.contact-info h2,
.cert-badge {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
}