From Old Galician-Portuguese afora, from a- + fora. Compare Spanish afuera, French dehors.
Practice speaking and memorizing "afora" and many other words and sentences in Portuguese.