Paris Saint-Germain failed to muster a winning send-off for Lionel Messi and Sergio Ramos as they ended the Ligue 1 season by squandering a two-goal lead in a 3-2 loss against Clermont.

Early goals for the Spaniard and Kylian Mbappe put the champions on top at Parc des Princes, before Johan Gastien, Mehdi Zeffane and Grejohn Kyei completed a stirring comeback from the visitors.

It was a damp last note for ex-LaLiga heroes Messi and Ramos, who leave Paris as two-time league champions but without having won supporters' hearts – with Messi booed ahead of kick-off.

Likewise, it may prove a dour final chapter for coach Christophe Galtier, who is widely tipped to depart despite leading PSG to a record 11th league title.

PSG, who wore shirts adorned with the name of injured team-mate Sergio Rico in the first half, needed VAR to rescue them after Kyei prodded home an early finish.

The hosts promptly seized control, with Ramos netting a farewell header from Vitinha's delivery before Mbappe doubled their lead with an excellent penalty following Alidu Seidu's foul on Achraf Hakimi.

Clermont refused to fold though, with Gastien capitalising on Marco Verratti's mistake to halve the arrears and Zeffane bundling in a leveller either side of Kyei putting a spot-kick wide in a thrilling first half.

Messi, who misfired on his farewell, spurned a chance to finish Mbappe's square ball after the restart before Kyei nosed the visitors in front with a close-range finish.

PSG continued to toil for an equaliser in the closing stages and Messi almost stole a point in the final minute of injury time, only for goalkeeper Mory Diaw to stop his direct free-kick with an acrobatic save.