Brazil made their economy all about Commodities and exports to China. You live by the sword you die by the sword.
So their economy is kinda hitting a BRIC wall.