Brazil recorded their seventh successive victory since their 2014 World Cup humiliation as they came from behind to beat France in Paris.