Portugal travel guide
Start with Lisbon for the old town and Tagus. Give Sintra a full day of its own, then decide whether to move north for Porto.

With 3–4 full days
Keep Lisbon as your base. Plan Belém separately from Alfama and count Sintra as a day trip rather than a quick stop after a museum.
With 6–7 full days
Consider a second base in Porto. Check trains from Lisbon Oriente or Santa Apolónia, and compare a flight out of Porto with returning to Lisbon.