Pepe equalised with two minutes remaining as Gremio drew 1-1 at home to Flamengo in the opening leg of their Copa Libertadores semi-final tie.
Gremio avoided defeat in Porto Alegre, where the host snatched a draw thanks to substitute Pepe's 88th-minute equaliser.
Flamengo was superior for large spells in the all-Brazilian affair at Arena do Gremio – Jorge Jesus' visitor seeing three goals ruled out by VAR.
Bruno Henrique gave Flamengo the lead in the 69th minute after rising highest to head past Gremio goalkeeper Paulo Victor at his near post.
However, Pepe came off the bench to rescue Gremio during the closing stages midweek.
Everton fizzed a powerful effort across the six-yard box and team-mate Pepe was on hand to score with his thigh.
Flamengo will host the return leg in Rio de Janeiro on 23 October.