innerproduct[f_,g_,x_]:=Integrate[f g ,{x,-Pi,Pi}]
The norm from this inner product is therefore :
norm[f_]:=Sqrt[innerproduct[f,f,x]]
Up to Fourier Series