Former industrial French city reshapes itself according to ambitious green standards