There's some old influence from the religion for sure but it's nowhere as important as you think.
France is still one of the least religious countries in Europe (Czech Republic usually being the least religious and France in the second position) and people talk about sex openly like a normal subject even at work.