Three months to the world’s largest sporting event, meant to showcase the best of the host country, Brazil’s deep political and economic problems play out in the international spotlight.