Colombia players protested Brazil's equaliser before the hosts ran out 2-1 winners ©Getty Images

Brazil maintained their 100 per cent start to the Copa América with a controversial 2-1 win over Colombia in Rio de Janeiro.

Casemiro scored a stoppage time winner to give Brazil maximum points at Estádio Olímpico Nilton Santos.

The Real Madrid midfielder's late goal came after Roberto Firmino's equaliser was allowed to stand, despite the ball hitting the referee moments earlier.

Luis Diaz had put Colombia in front in superb fashion as his acrobatic bicycle kick found the net after just 10 minutes.

Brazil rarely looked like restoring parity until Neymar's wayward pass - which would have fallen to a Colombian player - struck referee Nestor Pitana, who put the whistle to his mouth but allowed play to continue.

Under the rules, Pitana, who refereed the 2018 World Cup final, should have blown for a drop-ball.

Casemiro scored a stoppage-time winner to give Brazil all three points ©Getty Images
Casemiro scored a stoppage-time winner to give Brazil all three points ©Getty Images

Lucas Paqueta then fed Renan Lodi, whose cross was headed home by Firmino, sparking fierce protests from the Colombian players.

The video assistant referee looked at the incident but gave the goal following a lengthy stoppage.

The controversy turned the tide in the match and Casemiro compounded Colombia's misery when he converted Neymar's corner.

Brazil remain top of Group B and have already qualified for the quarter-finals, while Colombia are also through to the next round.

In the other match in the group, Ecuador recorded their second consecutive 2-2 draw as they were held by Peru at Estádio Olímpico Pedro Ludovico in Goiânia.

Ecuador went 2-0 up thanks to Renato Tapia's own goal and Ayrton Preciado, before second-half goals from Gianluca Lapadula and Andre Cavillo salvaged a point for Peru.

The tournament, which had been due to take place in Argentina and Colombia before being moved to Brazil at short notice, continues tomorrow.