Barcelona’s long-running negotiations with Nike almost produced one of the biggest commercial changes in the club’s history.