I had this same problem in my Z. When i tapped my brakes, every light in the car would dim for a split second and the idle would drop. Turned out i had some corroded battery terminals and grounds. When i replaced them, it didnt happen again.