European countries are set to invest up to 2.82 billion euro by 2100 to avoid losing as much as 1.27 trillion euro due to climate-driven coastal flood damage, a new analysis by the EU Joint Research Center shows.