Defender Gum headed a late, late winner for the Rio giants.
Closest rivals Atletico Mineiro are nine points behind after also winning, 2-1 against Sport.
Meanwhile Palmeiras’ hopes of avoiding relegation were given a fresh blow as they lost 1-0 to Nautico.