Real lose as Barca move to the top of La Liga