Social capital and sociological resilience in megacities context