Do what the Barcelonians do, but few foreign tourists know….
Information Sources: The guardian
The Costa Maresme, which stretches north-east for 30 miles or so from just outside the city to the start of the Costa Brava at Blanes.
My favourite section is the seven miles between Caldes d’Estrac and Sant Pol de Mar. Take the train; the journey is less than an hour from Plaça Catalunya, costs just over €3. The line, opened from 1848, was the first railway on the Iberian peninsula and was the making of the Maresme as wealthy folk from Barcelona built fancy summer homes. The train surrounds the whole coast.