The US constitution was indeed a product of the enlightenment.
How?
Well, the enlightenment was named for the era in history where scholars started coming with new ideas, particularly, democratic ideas.
John Locke's (a guy involved in the enlightenment whom supported democratic ideals) ideas is what our constitution is based on today.