Portuguese alphabet, like in other Romance languages has a natural evolution from latin and so it is not strictly phonetic and has some features inheirited from its history. Although, compared to English or even French it is easy to read and not so hard to write.