Charles De Ketelaere has scored both goals to help Atalanta boost their chances of returning to the Champions League with a 2-1 win over direct rivals Roma.
De Ketelaere scored his two goals within as many minutes in the first half but Lorenzo Pellegrini set up a tense final quarter by scoring from the spot.
Fifth-place Atalanta moved three points above Roma and have also played a match less. The top five in Serie A qualify for next season's Champions League and there are two rounds remaining in the Italian league.
Sunday's result also meant Juventus secured a spot in next season's Champions League despite surprisingly being held to a 1-1 draw by Salernitana earlier in the day. It also confirmed Bologna's first appearance in the Champions League.
But it was more misery for Roma who were eliminated from the Europa League midweek, giving up a two-goal lead to draw 2-2 at Bayer Leverkusen in the second leg of their semi-final.
Atalanta will face Leverkusen in the final after beating Marseille.
Atalanta took the lead in the 18th minute when De Ketelaere raced onto Gianluca Scamacca's through ball and cut past Roma defender Gianluca Mancini before firing into the far side of the net.
De Ketelaere doubled his tally two minutes later after being set up by Teun Koopmeiners.
Roma got back into the match when Pellegrini drilled a penalty into the bottom left corner after Atalanta defender Marten de Roon had tripped Tammy Abraham.
Juventus hit the woodwork three times before a late goal from Adrien Rabiot allowed them to snatch a point at home to bottom club Salernitana.
Juventus rested a number of players ahead of Wednesday's Italian Cup final against Atalanta, although Massimiliano Allegri rang the changes after his team was jeered off the field at halftime, making three substitutions.
But by that point Juventus were trailing after Niccolò Pierozzi headed a corner between home goalkeeper Wojciech Szczęsny and the near post.
Juventus rescued a point in stoppage time when Manuel Locatelli backheeled on a corner for Rabiot to come sliding onto at the far post.
It was a fifth straight match without a win for Juventus.
Lazio kept alive their faint hopes of sneaking into the Champions League with a 2-0 win over Empoli.
Patric fired Lazio in front with the last kick of the first half and Matías Vecino sealed the result a minute from time.
It was Lazio's fourth win in five league matches and lifted them four points behind Atalanta, who have a match in hand.
There are six teams within five points of each other in the fight to avoid relegation to Serie B.
Sassuolo are three points behind 17th-place Empoli and safety after losing 2-1 at Genoa, while Udinese - which are two points below Empoli — visit Lecce on Monday.
Verona were four points above the drop after losing 2-1 to Torino.