SAO PAULO — Less than a decade ago, Brazil's economy faltered at the first sign of instability in international financial markets. Today, by contrast, the country seems immune from global market turbulence — or so Brazilian officials believe.