A motor vehicle, comprising at least one headlight unit that includes: - an electric actuator for adjusting the inclination of the light beam emitted by the headlight unit; and - an electronic control unit associated to the headlight unit and configured for receiving a control signal and for activating the electric actuator of the headlight unit in such a way as to adjust the inclination of the light beam as a function of said control signal, wherein the motor vehicle further comprises: - a main electronic control unit of the motor vehicle; - a system of one or more motor-vehicle airbags, including an airbag electronic control unit; and - a motor-vehicle braking system, including a braking-system electronic control unit, wherein - the main control unit of the motor vehicle is configured for obtaining information on a value of the longitudinal acceleration (Long) of the motor vehicle from the airbag control unit and for obtaining information on a value of the speed of the motor vehicle from the control unit of the motor-vehicle braking system, said vehicle being characterized in that: - the main control unit of the motor vehicle is configured for calculating the value of the pitch angle (PitchAngle) of the motor vehicle, defined as inclination of the longitudinal axis of the motor vehicle with respect to the road, exclusively on the basis of the values of the longitudinal acceleration (Long) of the motor vehicle, of the speed of the motor vehicle, and of the angle of slope (Slope) of the road, and for generating said control signal for the control unit of the headlight unit on the basis of said calculated value of the pitch angle (PitchAngle) of the motor vehicle; - the main control unit of the motor vehicle is configured for obtaining information on said value of the angle of slope (Slope) of the road from the control unit of the motor-vehicle braking system. - an electric actuator for adjusting the inclination of the light beam emitted by the headlight unit; and - an electronic control unit associated to the headlight unit and configured for receiving a control signal and for activating the electric actuator of the headlight unit in such a way as to adjust the inclination of the light beam as a function of said control signal, - a main electronic control unit of the motor vehicle; - a system of one or more motor-vehicle airbags, including an airbag electronic control unit; and - a motor-vehicle braking system, including a braking-system electronic control unit, wherein - the main control unit of the motor vehicle is configured for obtaining information on a value of the longitudinal acceleration (Long) of the motor vehicle from the airbag control unit and for obtaining information on a value of the speed of the motor vehicle from the control unit of the motor-vehicle braking system, - the main control unit of the motor vehicle is configured for calculating the value of the pitch angle (PitchAngle) of the motor vehicle, defined as inclination of the longitudinal axis of the motor vehicle with respect to the road, exclusively on the basis of the values of the longitudinal acceleration (Long) of the motor vehicle, of the speed of the motor vehicle, and of the angle of slope (Slope) of the road, and for generating said control signal for the control unit of the headlight unit on the basis of said calculated value of the pitch angle (PitchAngle) of the motor vehicle; - the main control unit of the motor vehicle is configured for obtaining information on said value of the angle of slope (Slope) of the road from the control unit of the motor-vehicle braking system.