You can apply for C or D visa in any portuguese embassy or consulate abroad for the purpose of golden visa investment.