The long bar as seen by the VVV survey - I. Colour–magnitude diagrams