Unai Emery's side climbed above Nice on goal difference and to within three points of leaders Monaco.
Lyon thumped Metz, 5-0, behind Memphis Depay's double and Alexandre Lacazette's 22nd Ligue 1 goal of the season.
Nancy pulled five points clear of the automatic drop zone with a goalless draw against ninth-place Toulouse.
Adam Ounas scored a second-half brace off the bench to complete Bordeaux's late turnaround at Lille.
Giovanni Sio's lone goal helped Rennes edge last-place Lorient and climb to eighth in Ligue 1.
Karl Toko Ekambi's brace propelled Angers past SC Bastia, 3-0, for their third straight Ligue 1 victory.