Brazil Non-Resident Taxes

What jurisdictions are considered a Tax Haven for Brazilian tax purposes?
How are the capital gains taxes on Brazilian trades calculated?
What taxes are applicable to trading my activity in Brazil?