The defending Liga champions suffered a shock 2-1 defeat in their first ever league visit to Catalan side.