Italy came from behind to beat France 3-1 in Milan and hand Zidane his first defeat since taking charge of Les Bleus.