The national mood in Brazil is grim, following a year in which more than a million people have taken to the streets of major cities across the country to protest corruption, rising inflation and a lack of government investment in public services such as education, health care and public transportation, among other things.