Charles Leclerc was thrilled to get pole in Spain after what he described as a 'tricky' qualifying session in his Ferrari.