A jury led by Cate Blanchett will crown the winner of the coveted Palme d'Or for best film at Cannes Saturday, after a politically charged festival rocked by controversy and the #MeToo movement.
Movies by Spike Lee, South Korea's Lee Chang-dong, Turkish master Nuri Bilge Ceylan and Nadine Labaki of Lebanon—one of three female directors among the 21 in contention—drew critical acclaim ahead of the famously unpredictable awards night.
But beyond the prize winners, the 71st Cannes festival may linger for its off-screen moments, in the first edition since the Harvey Weinstein sexual assault scandal broke.
Hollywood stars including Blanchett, Kristen Stewart, Helen Mirren and Salma Hayek and directors Ava DuVernay and Patty Jenkins joined a red-carpet protest to demand equal opportunity and a "safe workplace".
Two days later, festival organizers signed a pledge to encourage more diversity in its selection by 2020, saying they hoped it would set an industry standard.
Despite being one of the most sought-after tickets, the premiere of Danish bad boy Lars von Trier's "The House That Jack Built" saw audience members walk out in droves from what they called a misogynistic orgy of violence.
Both its female stars, Uma Thurman and Riley Keough, were conspicuously absent from the red carpet, where Stewart on another night staged a kind of protest of her own by slipping off her high heels and climbing the vaunted Cannes stairs barefoot.
The glamour-drenched festival spotlighted dissident directors, including Jafar Panahi of Iran and Russia's Kirill Serebrennikov, who were barred by their governments from attending.
Their films drew lengthy standing ovations, while a single seat marked with their names remained empty.
Polish Oscar winner Pawel Pawlikowski, who won the foreign-language movie Oscar for "Ida" in 2015, caused a scandal at home when he told AFP at the festival that the film had been "blacklisted" by the nationalist government. Warsaw denied the claim.
Critics swooned over Pawlikowski's latest, the slow-burn period love story "Cold War" set against the backdrop of the Iron Curtain.
Labaki won hearts with "Capernaum" set among the poorest of the poor in Beirut and featuring a devastating performance by a 13-year-old Syrian refugee boy.
"While this is unquestionably an issue film, it tackles its subject with intelligence and heart," industry bible Variety said.
Spike Lee scored a hit with "BlacKkKlansman", the stranger-than-fiction story of an African-American police officer who manages to infiltrate the highest levels of the Ku Klux Klan.
The film, which several critics called a return to form for the "Do the Right Thing" director, explicitly links the 1970s tale and white nationalism in the Trump era. Lee attacked the US president with an expletive-filled tirade at his press conference that quickly went viral.
Asian masters like Lee Chang-dong created a sensation, scoring a record 3.8 out of 4 stars in a Screen magazine poll for "Burning", about a young man's mounting rage over unrequited love and set near the North Korean border.
Hirokazu Kore-eda of Japan also moved audiences with "Shoplifters", about a family of small-time crooks who take in a child they find on the street.
Turkey's Ceylan, who took home the Palme d'Or four years ago for "Winter Sleep", earned rave reviews for his epic homecoming drama "The Wild Pear Tree".
And Matteo Garrone of Italy, best known for mafia tableau "Gomorrah", delighted cinemagoers with "Dogman" about a soft-spoken pooch groomer who stands up to a local heavy.
As the festival wrapped up, director Terry Gilliam presented "The Man Who Killed Don Quixote", his "cursed" project which was two decades in the making.
"I have no life ahead of me, it's so sad after working so long to be so depleted, to have no future," he joked with a wry smile. "I can only think of death now."
In 2017, the top prize went to Ruben Ostlund's "The Square," an art world send-up that went on to bag an Oscar nomination.
This year there were less-lavish parties and fewer A-listers on the Croisette seaside boulevard.
However industry insiders dismissed talk of a festival in crisis, saying Cannes was returning to its core mission in the face of showbiz "disruption".
US magazine Vanity Fair called 2018 a "pivot year", as movie studios plump for social media to promote their blockbusters instead of the splashy French Riviera promotions of old.
"In making the festival a little less America-centric than it has been lately, Cannes has re-asserted itself as the premier destination for daring, provocative international cinema," it said.
Spike Lee told AFP that for directors doing edgy work, "Cannes is the greatest film festival in the world, there is no argument. This is the Mecca, this is the greatest stage."