NIOAQUE, Brazil—It looks like a scene from Marlboro Country. Cattle ranchers drive their Chevy pickup trucks to the local rodeo. Cowboys in washed-out jeans entertain the crowds.

In fact, it is Brazil’s conservative heartland, a 14-hour drive from the nearest beach and a world away from the country’s reputation for liberal hedonism.

Over much...