Statistical Physics for cosmic structures