Federico Dimarco used to watch Inter in the stands before lining up on the pitch
Maxime Lopez stunned Juventus with a 95th minute winner at the Allianz Stadium which earned Sassuolo a 2-1 win on Wednesday to leave their opponents lagging behind in the title race.
French midfielder Lopez supplied a beautiful dinked finish after charging through on goal while Juve searched for a winner to condemn Massimiliano Allegri's side to a tough defeat.
Juve are now 13 points away from league leaders AC Milan, who squeezed past Torino on Tuesday, and sit seventh after a result which was as disappointing as their performance.
Alessio Dionisi's side, meanwhile, are up to ninth on 14 points, just one behind Juve after their first ever away win over Italian football's 'Old Lady'.
"These are the sorts of matches that you can't lose if you know you're not going to win them," said Allegri.
"We need to think about how we handle games, you can't concede a goal like that on the counter... Juve never let in goals like today and it needs to never happen again."
Hosts Juve thought they had earned at least a point thanks to Weston McKennie, who headed a 76th minute equaliser after Juve fell behind to Davide Frattesi's strike a minute before the break.
Up to Frattesi's opener Juve had huffed and puffed in a similar fashion to recent displays, although Paulo Dybala was unlucky not to open the scoring when he smashed a low drive off the post 37 minutes into his first start in over a month.
After the break Juve showed more urgency, with Alex Sandro, Juan Cuadrado and Dybala all going close within five minutes before the hour mark.
However Giacomo Raspadori had an even better chance for the away side in the middle of all those Juve opportunities, firing high from a great position after being set up by Domenico Berardi.
That miss looked to be crucial when McKennie met Dybala's looping cross with a powerful header that drew Juve level with 14 minutes left.
That appeared to hail the beginning of a Juve siege but the hosts created little in the final minutes and were punished by Lopez when he clinically finished from Berardi's through ball.
Inter Milan stayed in touch with their city rivals with a routine 2-0 win at 10-man Empoli.
Champions Inter went ahead through Danilo Ambrosio's header in the 34th minute and once Samuele Ricci was sent off six minutes after the break for a late tackle on Nicolo Barella there was only ever going to be one winner.
Academy product Federico Dimarco tapped home Lautaro Martinez's low cross to make sure of the win with a quarter of the match remaining as Inter bounced back from being denied in the final second by fierce rivals Juve on Sunday.
Simone Inzaghi's third-placed side stay seven points behind Milan, who can be caught by Napoli on Thursday night.
Two points further back in fourth are Roma, who came from behind to win 2-1 at bottom side Cagliari to move into the last Champions League position.
Roger Ibanez's thumping header in the 71st minute and Lorenzo Pellegrini's stunning free-kick seven minutes later earned Jose Mourinho's side a precious win after going behind to Leonardo Pavoletti's opener shortly after the break.
"Everyone keeps telling me I can't take free kicks, so I keep practicing. This is the result," said Pellegrini, who also took the corner from which Ibanez opened the scoring.
"That's what we are all doing, working hard in training to improve ourselves."
Roma leapfrog Atalanta, who won 3-1 earlier at Sampdoria through a Duvan Zapata double and Josip Ilicic's superb individual goal deep into stoppage time.
Lazio bounced back from the weekend's humiliating four-goal hammering at the hands of Verona to beat Fiorentina 1-0 in Rome, with Pedro sweeping home the only goal in the 52nd minute to put Maurizio Sarri's side above Juve in sixth place.