In this picture you can see the old lighthouse in the Cidade Historica.
The length of your stay in Porto Seguro ranges from a couple of days to all the days you have. Porto Seguro is a good place to relax, and to regain strength in order to keep traveling around Brazil.