Entry requirements and safety
A French traveler entering Costa Rica as a tourist is not automatically subject to the “six months remaining on your passport” rule often repeated online.
A “comprehensive travel insurance” policy can cover different things. For Costa Rica, first look at coverage for medical expenses abroad, repatriation, assistance, activity-related exclusions, and the emergency procedure.
For a tourist trip with a French passport, first check the Costa Rica section of the French Ministry of Foreign Affairs website, then the requirements of your airline and any transit country.