I understand that as a foreigner once you marry in Brazil you can apply for permanent visa, which can be granted in as little as 2-3 months. That just sounds so easy.
But what happens if then you get divorced? I imagine it depends on "when" you get divorced, but have not been able to find any info on this.