Minors can travel to Brazil alone or with one parent as long as they carry an official authorization from both parents. In the case of Spain, it is not necessary, since the passport already performs the function of authorizing. You have all the information in: «Vaccinations, documentation and requirements to travel to Brazil«.

You have all the information in: "Vaccinations, documentation and requirements to travel to Brazil".