/* Navbar compartilhada entre Home, Produtos, Serviços, Quem Somos e Contato */
.header {
    height: auto;
    min-height: 86px;
}

.header-content {
    max-width: 1400px;
    min-height: 86px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.logo img {
    width: 127px;
    height: 53px;
    object-fit: contain;
}

.partner-logo {
    width: 58px;
    height: 58px;
    min-width: 58px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .header {
        height: auto;
        min-height: 72px;
    }

    .header-content {
        width: 100%;
        padding: 0.65rem 1rem;
        min-height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .partner-logos {
        display: flex;
        align-items: center;
        min-width: 0;
        gap: 0.45rem;
    }

    .logo img {
        width: 127px;
        height: 53px;
        object-fit: contain;
    }

    .partner-logo {
        width: 22px;
        height: 22px;
        max-width: 22px;
        min-width: 0;
        margin-left: 0;
        object-fit: contain;
        position: static;
        transform: none;
    }

    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        margin-left: auto;
        color: #111;
        cursor: pointer;
        line-height: 1;
    }

    .mobile-toggle i {
        display: none;
    }

    .mobile-toggle::before {
        content: "\2630";
        display: block;
        color: #111;
        font-size: 1.45rem;
        line-height: 1;
        font-weight: 800;
    }

    .mobile-toggle.active::before {
        content: "\00d7";
        font-size: 2rem;
        line-height: 0.8;
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 72px;
        left: 1rem;
        right: 1rem;
        width: auto;
        padding: 0.8rem 1rem 1rem;
        gap: 0.4rem;
        z-index: 1002;
        flex-direction: column;
        text-align: left;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(0, 168, 89, 0.16);
        border-radius: 12px;
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        color: #111;
        font-size: 0.98rem;
        text-align: left;
    }
}
