It’s not a film, but Clive Barker’s The Great and Secret Show has a very secret world feel to it.
There’s secret societies, magic, a dream sea, and a mysterious substance. I won’t say too much to avoid spoilers.
I only made the connection when I was dusting the book and looking at the cover.