Based on your description, the film you're thinking of sounds like it could be "Pan's Labyrinth" (2006), directed by Guillermo del Toro. While it's not set in South America—it's actually set in Spain during the Spanish Civil War—it involves elements that might align with what you remember:
- The story follows a young girl named Ofelia who encounters a fantastical, otherworldly realm, including a creature that could be interpreted as a "demon" or faun.
- She goes on a journey that involves entering a labyrinth (which is cave-like), facing supernatural entities, and undergoing trials that test her spirit.
- There's a theme of protection and imprisonment, as Ofelia is in a vulnerable position due to the war and her stepfather's control.
- While she doesn't exactly become a "shaman" or perform an exorcism, the film explores themes of folklore, magic, and personal transformation, which might feel similar to shamanistic elements.
If this isn't the right film, it's possible you're referring to a lesser-known or international horror film with South American influences. For example:
- Films like "The Exorcism of God" (2021), set in Mexico (which is sometimes culturally associated with Latin America), involve possession and exorcism, but it doesn't perfectly match your details (no cave or shaman transformation).
- Or perhaps something like "When Evil Lurks" (2023), an Argentine horror film with possession themes, though it doesn't involve a cave or a girl becoming a shaman.
If none of this rings a bell, could you provide more details (like any specific actors, visuals, or plot twists you remember)? That might help narrow it down further!