From my experience, a day trip can cover the basics. But if you're like me and love to explore every nook and cranny, consider spending 2-3 days in places like Cascais or Ericeira.