Posted in News on Jun 25, 2009.
This semifinal against the hosts was heading for extra time until Alves, in an inspired move by coach Dunga, replaced Andre Santos and broke the stalemate with a curling free kick in the 88th minute.
Brazil face the United States in Sunday's final with South Africa heading to Rustenburg for the third place play-off with Spain.
South Africa were without suspended midfielder Macbeth Sibaya, his place taken by Siphiwe Tshabalala, while Brazil midfielder Luisao started for injured Juan.
The two adversaries made it into the last four in wildly contrasting ways - Brazil sauntering through as Group B leaders with maximum points, South Africa edging through on goal difference as Group A runners-up.
With President Jacob Zuma watching, about the only one of the 48 000 fans not blowing into a vuvuzela, South Africa made a promising start as they fought to make their first final since the 1996 African Nations Cup.
Against the run of play Itumelang Khune was forced into action to save a Ramires effort while shortly after his counterpart Julio Cesar was in full flight to cover a long range effort from speedy defender Siboniso Gaxa.
South Africa were giving as good as they got as Brazil tried to work the ball repeatedly down the left flank using Inter Milan back Maicon as the key link.
On 21 minutes they should have scored only for Tshabalala's header off a freekick to go high.
As the half hour beckoned the Kaizer Chiefs midfielder unleashed a carefully constructed 30 metre freekick with only Cesar's palm preventing the hosts taking the lead.
Down at the other end Khune safely held onto Andre Santos' volley.
Kaka produced his first bit of magic as he darted through the South African defence but the Real Madrid forward's curving shot drifted wide of the far post.
Brazil were fortunate not to go into the break trailing as Steven Pienaar had Cesar beaten with his stinging 35 metre shot from the right but the status quo was upheld when the ball edged wide.
The holders were not at their brilliant best against a South African side that were scampering after every ball as if their lives depended on it.
On the hour, with Dunga looking on pensively, Teko Modise's close range shot deflected off Luisao before hitting the beaten Cesar's right post in a period of domination from Joel Santana's side.
With eight minutes left and as extra time loomed Dunga introduced Alves into the fray and the Barcelona defender repaid the confidence when he beat the Bafana Bafana wall with a thundering freekick two minutes from time.
South Africa: 16-Itumeleng Khune; 2-Siboniso Gaxa, 3-Tsepo
Masilela, 4-Aaron Mokoena, 14-Matthew Booth; 5-Benson Mhlongo,
13-Kagisho Dikgacoi, 10-Steven Pienaar (11-Elrio van Heerden
90+3), 12-Teko Modise (21-Katlego Mashego 90+1), 8-Siphiwe
Tshabalala (9-Katlego Mphela 90+1); 17-Bernard Parker.
Brazil: 1-Julio Cesar; 2-Maicon, 3-Lucio, 14-Luisao,
16-Andre Santos (13-Daniel Alves 82); 5-Felipe Melo, 8-Gilberto
Silva, 18-Ramires, 10-Kaka; 9-Luis Fabiano (20-Kleberson 90+2),
11-Robinho.
Referee: Massimo Busacca (Switzerland