If you plan to keep your foreign salary and live in Brazil, you will apply for the Digital Nomad Visa (VITEM XIV).
Cost of Living $1,400 USD / mo
Est. Remote Salary $7,300 USD / mo
Remote Income Tax Tax resident after 183 days of stay
Visa Option Digital Nomad Visa (VITEM XIV)