Floods and mudslides caused by torrential rains have killed 29 people in southern Brazil, and with dozens still missing, the death toll is expected to rise.