Where to stay
The whole coastline has a pretty good highway infrastucture so distance/time is very relative. If you want to avoid the busy Lisbon area, and by infrastructure you mean, schools, shopping centre, hospital, etc, nothing big but all the modern convienences. Perhaps Torres Vedras is...