The final film of the late Polish master Andrzej Zulawski, “Cosmos” is a twisty, darkly comic, and entertainingly deranged whodunit. Witold (Jonathan Genet) has just failed his law-school examinations, and Fuchs (Johan Libéreau) has recently quit his job at a Parisian fashion company. Both arrive at a family-run Lisbon boarding house for a few days of escape and R&R, but they are instead greeted by a series of unsettling omens: first sparrows and then pieces of wood are found hanging forebodingly in the forest, and enigmatic signs appear on the ceiling and in the garden. Who is responsible? Among the others present in the house are the presiding couple (Sabine Azéma and Jean-François Balmer), their niece Catherette (Clémentine Pons), who has a disfigured mouth, and their married daughter Lena (Victória Guerra), who has a perfect mouth. Or at least it appears perfect to Witold, who promptly falls in lust with Lena; Catherette, in turn, nurses an infatuation with him. As the tension mounts, a shocking third hanging — of the resident house cat — occurs. Is a fourth hanging imminent — this time of a human?