Lyon have completed the signing of midfielder Gael Danic from Valenciennes for a fee of up to one million euros.