While coming to a stop on a slight incline, the brakes failed to stop the car, brakes were applied and initially slowed the car but when the slight incline was reached the brakes would not engage and the idle of the car move it forward and still the brakes would not engage. I had to put the car into neutral then park to stop. After the incident the brakes seemed to work fine. Nonetheless this is a major issue. There were no warning lights or any indication that something was malfunctioning. There were no indications after the incident either that anything malfunctioned. I will be taking the car to the dealer ASAP to have checked. We lightly tapped a truck that was in front of us on the slight incline - no obvious damage to either vehicle ( need to verify in daylight) - no injuries to anyone in the incident. If we were traveling faster there could have been serious injury or if there was a pedestrian there could have been serious injury.