The uprising underlined the severe polarization that still grips the country days after the inauguration of leftist President Luiz Inacio Lula da Silva.