I'm French, I live in France and I'm considering applying for a remote job in a US company. Are there any legal issues that would prevent me to do so? How would the time spent working in a US company affect my future retirement plan? What about the things any French employer contributes to such as "la sécurité sociale"? Can I lose some benefits in France by paying my taxes to the US? Are there any tricky things I should know about this situation?