Wild camping is not so discouraged in France, provided you are cautious (namely regarding fires), ask permission if you see someone, and if you do not leave your tent too long at the same place.
Indeed, bivouac is tolerated even in Spain. What I call bivouac is putting your tent on at the end of...