The director crafted the majority of the script on location in Lençóis Maranhenses during pre-production. He incorporated a lot of the music he encountered in the nearby houses and bars into the screenplay.
The child who portrayed Antonio Junior in the film actually resides right next to the desert and landed his role entirely by chance. This fortunate encounter occurred at a Christmas party, where, upon the director's inquiry about the most extroverted child present, his father pointed him out.
The French couple featured in the film resides in Lençóis Maranhenses, Brazil.