Julian Bousquet's dramatic late try helped Catalans Dragons fight back to win their first home match under Steve McNamara and boost their Super 8s chances, but Warrington Wolves' hopes diminished with defeat at Wakefield Trinity Wildcats
Former England coach McNamara saw his side beaten at Warrington last weekend, but they ran out 40-36 winners in a thrilling Super League against Leigh Centurions contest in Perpignan.
Leigh raced into an 18-0 lead with Matty Dawson, Danny Tickle and Ben Reynolds scoring inside 18 minutes and, after scores from Jodie Broughton and Mika Simon put the hosts on the board, a quickfire brace from Sam Hopkins had Leigh in control at the break.
Again the Dragons came back as Fouad Yaha and Vincent Duport touched down and, although Reynolds scored a second, Sam Moa and Justin Horo tries left the scores level.
A Reynolds penalty inched Leigh back in front, but late drama was to ensue as Bousquet's stole the win in the closing moments.
The Dragons are now just two points off eighth-placed Wigan Warriors, while rock-bottom Leigh officially cannot make the Super 8s.
The Wolves are now needing a big turnaround as well after going down 26-12 at Wakefield.
Brad Dwyer scored the first try of the game for the visitors, but scores from Bill Tupou and Ben Jones-Bishop plus six points from Liam Finn's boot had Wakefield 14-6 in front by the break.
Kyle Wood stretched the lead shortly after the restart and, although Chris Hill's try brought Warrington back into the match, a late converted effort from Mason Caton-Brown saw Wakefield home.
Warrington, who are 10th, still trail Wigan by three points having played a game more.