Cristiano Ronaldo's Euro 2024 hopes were dashed as Portugal lost 5-3 to France in a penalty shootout following Friday's 0-0 draw in Hamburg.

With the substituted Kylian Mbappe watching on from the sidelines, Les Bleus set up a semi-final with Spain as they converted all five of their spot-kicks.

The decisive miss came from Portugal's Joao Felix, who struck the woodwork with his attempt.

And there was to be no heroics from Diogo Costa on this occasion, as Theo Hernandez coolly dispatched the winning penalty.

The pre-game expectation of a tight, cagey contest proved correct, as for just the second time on record at the Euros (since 1980), neither team managed a shot from inside the box in the first half – the other match was also France v Portugal, back in 1984.

Hernandez stung Costa's palms with a venomous strike, while Bruno Fernandes became the first Portugal player other than Ronaldo to attempt a direct free-kick shot at a major tournament since the Euro 2016 final with an effort that soared over close to half-time.

A great chance for Fernandes on the hour, which was kept out well by Mike Maignan, sparked the encounter into life.

Maignan was forced into action again moments later, using his chest to repel Vitinha's shot before beating away Ronaldo's follow-up.

Portugal were then indebted to Ruben Dias, whose last-ditch block diverted Randal Kolo Muani's attempt wide, before Eduardo Camavinga skewed off-target and Ousmane Dembele went close with a dipping long-range effort.

Extra time, though, was required, with Portugal having the better chances in the added 30 minutes, during which Didier Deschamps took off Mbappe.

Ronaldo should have broken the deadlock, only to blaze over with the goal begging, while Felix headed into the side netting and Nuno Mendes fired at Maignan, as penalties beckoned.

Portugal's captain firmly put away his spot-kick, but Felix was the unlucky party as his effort bounced away off the left-hand upright, paving the way for Hernandez to clinch victory.

Time to make way

There were no tears for Ronaldo this time around. Instead, just a rueful smile while France's players wheeled away in celebration.

The 39-year-old has claimed this will be his final Euros, and he bows out having had 23 shots without scoring once at Euro 2024 (not counting his two successful shootout penalties, of course).

Ronaldo hugged his old friend and team-mate Pepe, who at the age of 41, delivered another fine performance at the back, and was the one in tears this time out. They have been two unbelievable servants, but for both of them, the defeat will surely call time on their international careers.

Pepe almost certainly will do, but whether Ronaldo wants one more go at a World Cup, remains to be seen. The question for Portugal, though, is whether they are better off without him.

Winning ugly

England have come in for much criticism at Euro 2024, but when it comes to winning ugly, Deschamps is a true master.

Excluding penalties and own goals, France are yet to score in their five games. No side has ever gone longer without such a goal in the tournament's history, with Les Bleus attempting 86 non-penalty shots (7.25 non-pen xG) without scoring from one at this year's finals.

Yet somehow, Les Bleus are on the brink of yet another final under Deschamps. France have now reached at least the semi-finals in four of the last five major tournaments.

They will take on Spain in Munich on Tuesday.