A severe thunderstorm in southern Brazil left at least three people dead and damaged thousands of buildings.