Juventus earned a 3-1 win over 10-man Sassuolo as goals from Danilo, Aaron Ramsey and Cristiano Ronaldo kept them in touch with Serie A leaders Milan.
Sassuolo had frustrated the Bianconeri in the first half but their combative approach saw Pedro Obiang sent off moments before half-time.
Danilo put Juve ahead five minutes into the second half with a powerful long-range strike, yet Sassuolo equalised with a fine finish from Gregoire Defrel.
Sassuolo looked on course to take a point but late goals from Ramsey and Ronaldo secured the victory for Andrea Pirlo's side.
A slick Juve passing move opened up the Sassuolo defence early on but Gianluca Frabotta could only shoot wide following a clever backheel from Weston McKennie.
McKennie picked up an injury in the 19th minute and was replaced by Ramsey, while Ronaldo thumped the ground in frustration moments later when a strong challenge from Vlad Chiriches went unpunished.
Sassuolo seemed content to sit back and try to hit Juve on the counter-attack, with Francesco Caputo's speculative long-range effort the best they could muster early on.
Juve were dealt another blow before the interval as Paulo Dybala limped out with a knee injury before Obiang was dismissed for a lunge on Federico Chiesa following a VAR review.
Merih Demiral nudged the ball past Andrea Consigli in the Sassuolo goal in injury time at the end of the first half, but Ronaldo was unable to reach it in time to finish at the back post.
Pirlo's home team made the extra man count after the interval when right-back Danilo arrowed a low shot from around 25 yards into the bottom left corner of the net.
However, Sassuolo quickly hit back when Defrel latched on to Hamed Junior Traore's pass, deftly beat two Juve defenders and clipped the ball beyond Wojciech Szczesny.
Ramsey put Juve ahead again when he slid in at the back post to tap in Frabotta's low cross from the left with eight minutes remaining.
Ronaldo then put the gloss on the result in injury time with his 15th Serie A goal of the season after he latched on to Danilo's long ball and burst forward before coolly slotting past Consigli.
What does it mean? Juve keep pressure on Milan
Serie A leaders Milan beat Juve's city rivals Torino 2-0 on Saturday which heaped the pressure on Pirlo's side, but the defending champions dug deep here to earn victory late on.
It means Juve have won three Serie A games in a row for the first time since July 2020, and even though this performance was far from vintage they are seven points off top spot with plenty of games, including one in hand, to reel in their rivals.
Ronaldo drags Juve through
Ronaldo scored his first Serie A goals when his double helped Juventus beat Sassuolo 2-1 in September 2018 and he has now scored five goals against them in five meetings in the competition.
Even though Juve were below their best, the Portugal forward never stopped trying – his six attempted shots being more than any other player achieved – and he deserved his goal.
Obiang lets down his team-mates
In what was otherwise a disciplined display from Sassuolo, they were let down by the red card received by Obiang for a needless and reckless lunge.
Juve conceded a goal in a Serie A home game while playing with a numerical advantage for the first time since October 2013 versus Milan and it is hard to not think what might have been had Sassuolo kept 11 men on the pitch.
Juve host Genoa in the Coppa Italia last 16 on Wednesday while Sassuolo is at home to SPAL in the same competition a day later.