Over 520 people detained during unrest in France