Brazil's president says he was surprised by the proposed 25 percent tariffs, which came amid signs relations improving.