Leonardo Bonucci marked his 35th birthday with two goals as Juventus made hard work of a 2-1 win over bottom side Venezia to all but secure a top-four finish in Serie A.
The Bianconeri had taken just one point from their previous two matches at the Allianz Stadium but did enough to claim victory against Venezia, who have now lost nine in a row.
Full debutant Fabio Miretti played a big part in Bonucci's headed opener inside seven minutes, but Juve were pegged back through a Mattia Aramu strike 19 minutes from time.
However, Bonucci bundled in a late winner to ensure that his side now require just two points from their remaining three games to keep Roma at bay in the battle for fourth.
Juve nearly opened the scoring four minutes in when Luca Pellegrini fired a ferocious strike against the crossbar from range.
The hosts did not have to wait much longer for their breakthrough, though, as Matthijs de Ligt nodded Miretti's delivery back across goal for Bonucci to turn in from close range.
Venezia, who sacked Pablo Zanetti this week and placed Andrea Soncin in temporary charge, took full advantage of Juve's failure to kill off the match through Aramu's long-ranger.
That had Venezia on course for successive 1-1 draws against Juve, only for the Bianconeri to snatch all three points when a corner was not dealt with and went in off Bonucci's shin.
What does it mean? A return to home comforts for Juve – just!
Juve have picked up more points on their travels (35) than they have at home this season (34 with this win) and this was another occasion in which they never truly got going.
Massimiliano Allegri's side have lost just one of their past 21 league games overall and also have a Coppa Italia final with Inter to look forward to later this month.
The immediate priority is nailing down fourth place and, barring a miraculous collapse over their remaining three games, that is as good as achieved.
Leonardo leads the way
Bonucci has now scored five Serie A goals for Juventus this season, which is his best tally in a single campaign.
The veteran Italy international has equalled team-mate Giorgio Chiellini as the defender to have found the net in the most years in the competition since 2000 (13).
Mattia makes his mark
Aramu had gone 14 matches between finding the net in Serie A, with his most recent strike prior to today coming in December's draw with Juventus.
The 26-year-old was Venezia's sole attacking spark, registering all three of his side's attempts on target, including that impressive effort from range.
Juventus are back in action on Friday with a trip to Genoa, while Venezia travel to fellow strugglers Salernitana on Thursday.