What we learned from the Catalan election