Local and intrinsic quantum coherence in critical systems