Deverbal of llampegar; see there for further etymology. Compare Occitan lampec~lamic, Spanish relámpago, Portuguese relâmpago.
Practice speaking and memorizing "llampec" and many other words and sentences in Catalan.