Brazil state owned company Petrobras is selling $823 million worth of onshore and shallow water offshore fields as it shifts its focus to deepwater.