TIANJIN, China (AFP) - Brazil ended Asian interest in the World Cup quarter-finals on Sunday but needed a dash of magic to subdue battling Australia 3-2.
The Samba Girls were 2-0 up in 23 minutes but were pegged back by Lisa de Vanna and Lauren Colthorpe before Cristiane settled the tie with a classy strike on 76 minutes.
Brazil will face two-time champions the US on Thursday in only their second ever World Cup semi-final while Australia, who follow China and North Korea out in the first knock-out stage, at least leave with their pride intact.
The Matildas, ranked 15th to Brazil's seventh, were always going to be up against it and an uphill task looked mountainous in the fourth minute when Formiga curled a delicious shot in off the bar.
Marta, the 2006 World Player of the Year, should have doubled the lead a minute later but saw her shot smothered by Australian 'keeper Melissa Barbieri when put through one-on-one.
With Australia struggling to settle, things went from bad to worse for the Matildas when inspirational captain Cheryl Salisbury went off clutching her right ankle.
Her replacement Kate McShea had the harshest of introductions when she was adjudged to have dragged down Renata Costa in the box, although replays showed otherwise.
Marta coolly side-footed the penalty low and to Barbieri's right for her fifth goal of the tournament, making her joint top-scorer with Norway's Ragnhild Gulbrandsen and Brazil's all-time leader in the competition.
But just as Brazil thought they would coast into the semis, a defensive slip kept the tie alive and cost them their first goal of the tournament.
Lightning Aussie forward de Vanna, vindicating the decision to start her for the first time, intercepted a loose back pass and rounded goalkeeper Andreia for her fourth World Cup goal on 36 minutes.
With Brazil content to sit back after the restart, Australia piled on the pressure and they stunned the South Americans on 68 minutes as midfielder Colthorpe headed a hopeful ball past the stranded Andreia.
But as extra-time beckoned, Brazil's vaunted forwards put together a devastating combination rounded off by Cristiane, whose swivel and curled shot into the top right corner was a contender for goal of the tournament.
Australia fought to the end and Dianne Alagich could have snatched it with an overhit volley in the dying seconds as Daniela almost bagged Brazil's fourth at the other end.
|Coach: Jorge Barcellos|
for Formiga 90+2'
|Ligue 1 Review: Paris Saint-Germain and Lyon make Marseille pay for slip-up|
|Burkina Faso coach puts AFCON exit down to bad luck|
|Saint-Etienne 0 Paris Saint-Germain 1: Ibrahimovic scores in repeat performance|
|Shenaishil optimistic despite Kasim absence|
|Walcott: Goal has been a long time coming|
|DR Congo v Tunisia: Leekens warns against complacency|
|Congo 2 Burkina Faso 1: Thievy helps send 2013 runners-up crashing out|
|Gabon 0 Equatorial Guinea 2: Balboa and Iban put hosts through|
|McCarthy and Distin on road to recovery|
|Gil has hit the ground running - Lambert|
|Eredivisie Review: Ajax and Feyenoord lose ground after dour draw, Eagles secure big win|
|Wenger confirms Gabriel move is imminent|
|Eto´o presented to Sampdoria fans|
|Cape Verde v Zambia: Victory a must for 2012 winners to avoid elimination|
|Brighton and Hove Albion 2 Arsenal 3: Walcott and Ozil among the goals for holders|
|Mancini upbeat despite ´cruel´ late defeat|
|Pogba revelling in rich vein of form|
|Aston Villa 2 Bournemouth 1: Gil helps under-fire Lambert breathe easy|
|Defour dismissed after Standard Liege banner taunt|
|Allardyce relieved with scrappy West Ham win|
|Sturridge ´happy man´ after return to Liverpool training|
|Inter 0 Torino 1: Moretti ends unbeaten run for top-four hopefuls|
|Juventus 2 Chievo 0: Pogba inspires victory as leaders march on|
|Bristol City 0 West Ham 1: Super sub Sakho sinks City|
|Hughes in talks over new Stoke deal|
|Delph signs new contract|
|Chelsea v Liverpool: Mourinho demands League Cup response|
|Football League Preview: Derby eye top two, Cambridge back to reality|
|Nani not giving up on Old Trafford career|
|Perth Glory 3 Melbourne Victory 3: Leaders stage two-goal late comeback|
|Neymar: Barca have no interest in Real results|
|Milan defender Mexes apologises for red card|
|South Korea v Iraq: Strange lead-up for Shenaishil´s men|
|Lazio´s Djordjevic thanks well-wishers ahead of ankle surgery|
|Iran´s Asian Cup appeal dismissed by AFC|
|Cech urges Chelsea to clean up FA Cup exit ´mess´|
|Henderson: Liverpool are up for the cup|
|Edimar wants ´normal´ ban for Real star Ronaldo|
|Pellegrini defends misfiring City strikers|
|Australia ready for UAE - Sainsbury|
|Blanc takes positives from past|
|Inzaghi promises ´something different´ at Milan|
|Mexes sorry for seeing red|
|La Liga Review: Wins for top three|
|Vitoria Guimaraes 2 Gil Vicente 2: Last-gasp penalty salvages point for hosts|
|Simeone marvels at Griezmann impact|
|Djordjevic to have x-ray on ankle problem|
|Eredivisie Review: PSV go seven points clear, Heerenveen cruise|
|Luis Enrique backs himself on Suarez omission|
|Lazio 3 Milan 1: Parolo and Klose seal victory|
|Cameroon 1 Guinea 1: Draw ensures Group D stays finely poised|
|Rodgers reveals Sturridge fitness boost after Bolton stalemate|
|Atletico Madrid 3 Rayo Vallecano 1: Griezmann inspires routine win|
|Gabriel move agreed, Campbell to join Villarreal on loan|
|Gabon v Equatorial Guinea: Neighbours face off for quarter-final berth|
|FA Cup Review: Chelsea stunned by Bradford as Middlesbrough beat Manchester City|
|Ronaldo apologises for red card|
|Pulis eyes room for improvement|
|Liverpool 0 Bolton Wanderers 0: Championship side frustrate Anfield to earn replay|
|Karanka hails players after stunning City|
|Elche 0 Barcelona 6: Neymar and Messi inspire resounding win|
|League Two Review: Wycombe and Burton held, Shrewsbury up to second|
|Pardew lauds Palace performance|
|Pochettino laments late collapse|
|Scottish Premiership Review: Celtic stretch lead, Inverness and Dundee United keep up chase|
|Parkinson revels in huge upset after humbling Chelsea|
|Bayern targeting unbeaten Bundesliga season - Robben|
|Pearson: FA Cup win can breed confidence|
|League One Review: Dons close gap, Peterborough end run|
|Ivory Coast 1 Mali 1: Gradel rescues Renard´s men|
|Fulham seal Richards loan|
|Pellegrini: UAE trip had no impact|
|Koeman blames defeats on defensive lapses|
|Gundogan injury mars Dortmund preparations|
|Championship Review: Ighalo stars as Blackpool capitulate|
|Chelsea defeat a ´disgrace´ - Mourinho|
|Monk rues missed opportunity|
|Manchester City 0 Middlesbrough 2: Boro stun City with FA Cup shock|
|Chelsea 2 Bradford City 4: League One outfit dump out Premier League leaders|
|Tottenham 1 Leicester City 2: Late turnaround stuns Spurs|
|Cordoba 1 Real Madrid 2: Bale steals late win as Ronaldo sees red|
|Birmingham City 1 West Brom 2: Anichebe seals derby triumph|
|Southampton 2 Crystal Palace 3: Pardew´s men reach fifth round|
|Sunderland 0 Fulham 0: Defoe fails to fire on home debut|
|Bowyer hails ´terrific´ Blackburn|
|Rochdale v Stoke City: Shawcross in race to be fit for cup clash|
|Blackburn Rovers 3 Swansea City 1: Late goals snatch victory for Championship side|
|Congo v Burkina Faso: Le Roy vows to attack|
|Roma still in race for Scudetto - Garcia|
|Mancini coy on Toure links|
|Mertens rules out Napoli exit|
|Barzagli back in Juve squad|
|A-League Review: Adelaide and Sydney rack up the goals|
|Real have signed a ´diamond´ in Silva, says Oliveira|
|Queiroz: How can Williams sleep at night?|
|Asian Cup history ´the focus´ for Australia - Kruse|
|Pogba could be the world´s ´most expensive´ player|
|Australia international joins Dundee United|
|Real Madrid is a ´dream come true´ - Silva|
|Van Gaal angered by first-half showing in cup stalemate|