Intense winter storms have caused flooding, evacuations and infrastructure damage in parts of Portugal.