SÃO PAULO—Brazil’s economy is doing well by almost any measure. GDP has grown at around 3% for three consecutive years, unemployment is at...