Brazilian here. President wins by popular vote. Period.

Must win by 50% plus 1 of all valid votes on Round 1. If not, 1st and 2nd most voted go for Round 2 a few weeks later. Then, 50%+1 again of all valid votes.