Cotillard’s now-ex-husband Guillaume Canet directs her in this dark thriller that premiered out of competition at Cannes.