The economy has slowed to a pale shadow of its growth in recent years; inflation is high, the currency is declining sharply against the dollar — but the expectations of Brazilians have rarely been higher, feeding broad intolerance with corruption, bad schools and other government failings.