FORTALEZA, Brazil (AP) -- Neymar made the difference for Brazil again on Wednesday, scoring in the ninth minute and making one for Jo to give the hosts a 2-0 win over Mexico and virtually secure a spot in the semifinals of the Confederations Cup.
The Brazilian striker scored his second goal of the tournament with a left-footed volley from just inside the penalty box after Mexican defenders failed to clear a cross. Mexico fought strongly but had little finishing power up front.
The result leaves Mexico in a near impossible position to advance in the World Cup warm-up competition.
Brazil opened with a 3-0 win over Japan, while Mexico lost 2-1 to Italy. Japan and Italy play the other Group A match later on Wednesday.
Brazil leads the group with six points, three more than Italy. Mexico and Japan remain without a point. The top two teams in each of the groups advance to the next round of the eight-team tournament among continental champions.
Brazil had lost two of the last three matches against Mexico, including in the Olympic final last year, when the team led by Neymar and Oscar were considered favorites to win Brazil's first gold medal in football. Mexico had won seven of the last 14 matches against the five-time world champions coming into Wednesday's match.
But backed by loud home fans packing the Arena Castelao in the northeastern city of Fortaleza, Brazil came out attacking from the beginning and it took a while before Mexico could get into the game. The Brazilian players were constantly getting the crowd involved and had their support throughout the match.
Mexico had few chances but came close to scoring an equalizer late in the second half. The best chance was a shot by Andres Guardado that was deflected by a defender in front of goal.
Brazil opened the scoring after a run by Barcelona right back Daniel Alves down the right side. His cross to striker Fred inside the area was partially cleared by Mexico captain Francisco Rodriguez and the ball went toward Neymar, who struck a difficult shot on the volley.
It was Brazil's first match since the players publicly expressed their support to a historic wave of protests that has swept across the South American nation in recent days to demand for better public services to the population.
Neymar, recently signed by Barcelona and Brazil's biggest star, has been criticized for not being able to replicate his Santos success with the national team, but he has played well in the first two games at the Confederations Cup.
He was the Brazilian player who threatened the most on Wednesday, creating chances and imposing difficulties on the Mexican defense throughout the match.
He almost scored his second goal of the day with a shot that went over the crossbar in the 23rd. In the 56th, he sped past a defender and shot just wide, and in the 66th his low right-footed shot was tipped away by Mexico goalkeeper Jose Corona after a powerful run by midfielder Paulinho.
Daniel Alves nearly added to Brazil's lead in the 14th with a remarkable lob shot that forced Corona to make a difficult save with the tip of his gloves. Oscar had a goal disallowed just five minutes into the match because Neymar was caught offsides before making a cross the cross to the Chelsea playmaker. Captain Thiago Silva also had a goal called off for offsides in the 47th.
Hulk had his chance after a pass by Neymar in the 55th, but his shot from close range struck the side of the net.
Mexico's only significant chance in the first half came with a low cross shot by Hiram Mier that just missed the target in the 16th.
With the clock running down and Mexico pressing desperately for an equalizer, Neymar wriggled through two defenders near the touchline and crossed for Jo to score from five yards. Neymar was named man of the match by the second time in a row.
Copyright 2014 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.