After a contentious campaign, Brazilian polls opened amid tight security Sunday as voters headed out to elect their next president.