About Permanent residence after marriage. What is Viper?

sir , i am going to marry wd my brazilian girlfriend soon, i am basically a doctor ,working in uruguay and here too under permanent residence process ,

,i want to get brazilian residence too is it possible,,,
other question is that i want to come back after applying for residence it is possible too o i have to wait there untill i get processed o they will watch me if i live there

third one is that what is viper if i apply for viper then can i leave country after applying ,,leaving brazil mean after 2 days as i have job here in uruguay thanks alot
i will be gratefull to get ur expert opinion on this thanks
regards

You can leave after you apply but you need to be in Brazil to pick up your CIE. When it arrives. Also you should inform federal police when you are out of the country.

Jim