Napoli remained sixth, three points below Roma which lost 2-0 against relegation-threatened Udinese.
Despite it being a meeting between two of the in-form teams in Serie A, chances were few and far between in the first half.
Napoli goalkeeper David Ospina was forced off with an injury after clattering into his own teammate. He was replaced by Alex Meret.
Meret was let down by his defense three minutes into the second half when they left Pašalić unmarked to head in a cross from Alejandro “Papu” Gómez.
Atalanta doubled its lead eight minutes later as it counterattacked rapidly before spreading the ball from right to left in the penalty area for Gosens to finish off with a diagonal shot into the bottom right corner.
Arkadiusz Milik had a goal ruled out for Atalanta for offside late on.
ROMA’S HOPES FADE
Roma’s hopes of a top-four finish all but evaporated on a disappointing evening for the capital side.