OK, we're now on 'The Day After', so I'll try to gather some thoughts into something resembling a coherent analysis.
Final result for the Presidential Election: Lula 48.43%, Bolsonaro 43.20%. Lula ahead by 5.23%/around 6,185,000 votes.
My first impulse is to put Lula with bigger chances to take this one. Reason: Tebet(4.16%)'s electors should go for Lula, Ciro(3.04%)'s will at best split 3 ways between Lula(the smaller group - whomever was thinking of going for Lula already did), Bolsonaro and no one. All other candidates don't really matter(next candidate after Ciro got 0.51% of the votes). Null and blank votes add up to 4.41%. Bolsonaro would have to get electors among those who didn't go vote to win, and those are rather unreliable. This would point me to a Lula win by about 52-48.
However... after a real "broxada" on the part of Bolsonaro's supporters late tonight, today they seem bullish. May be cope? It may. However, I don't see any euphoria on part of Lula's supporters today. I work in a recently-privatized enterprise, which means it's full of leftist supporters. They aren't talking much about the election today. One of my colleagues flat out told me he expected more votes from Bolsonaro(and he hates Bolsonaro), but he still expects a Bolsonaro victory. I know that the plural of 'anecdotes' isn't 'data', but still...
What may change things: big one is abstention; those who didn't go vote. Around 33,000,000 people didn't go vote(around 21% of total electors); Bolsonaro would have to get about one third of those and part of those who voted for no one to revert the current result, assuming Tebet's voters go entirely or almost entirely to Lula. Some of Bolsonaro's supporters are challenging this assumption, though; they say the same argument that applies to Ciro applies to her(those who would have voted for Lula alredy did so).
This was essentially a long-winded way of saying I don't know enough to try to guess the winner. I'll wait one or two weeks before trying to do it.
Assuming a Lula victory, he will face challenges in Congress; Bolsonaro's party has won 99-100 seats in the House, best result for a single party since 1998. Bolsonaro also elected 15 senators(27 seats being disputed). If Bolsonaro's coalition doesn't get Limp Dick Syndrome and act like PSDB did when PT was in power - a big if, I admit - a Lula Administration should have trouble passing legislation through Congress, which will make things interesting.