Portugal is a founding member of NATO and entered the EC ( now the EU ) in 1986 .