Brazil hosts the Fifa World Cup from 12 June to 13 July, and Salvador da Bahia is the most alluring venue. It is the nation's third city – after Sao Paulo and Rio – and was its first capital, from 1549 to 1793. Defending champions Spain kick off against the Netherlands here on 13 June. Fans will discover a city as vivacious as it is cultured and historic. This month also marks the annual Festa de Sao Joao, on 24 June, in which the city's squares are filled with dancing to traditional forro bands.
Get your bearings
Home to nearly three million people, Salvador is the beating heart of the north-eastern state of Bahia. It was colonised by the Portuguese at the start of the 16th century and became their capital and a focal point for the gruesome slave trade, with thousands arriving from Benin, Nigeria, Angola and beyond. That chapter of history continues to influence through a dominant African culture, in everything from food, costume, music and dance. Today, Salvador combines pretty, colonial architecture with modern skyscrapers and lively beaches, all packed on to an Atlantic-lapped peninsula that guards Baia de Todos os Santos (All Saints' Bay). Salvador is divided into the Cidade Alta (Upper City) and Cidade Baixa (Lower City). Its heart is Pelourinho, the cobbled old quarter named after the flogging pillars used to castigate slaves.
The bohemian, beachy neighbourhood of Rio Vermelho bookends the city to the south and the upper and lower districts are connected by the Lacerda elevator on Praca Municipal in Cidade Alta (6am-10pm). The 30-second journey costs just 15 cents (1p). The tourist office is next door on the upper level (visitbrasil.com; 9am-6pm).
Take a view
The terrace beside the Lacerda elevator gives an excellent view across Salvador's modern districts below and across Baia de Todos os Santos, including the busy harbour and the island of Itaparica on the other side of the bay.
Take a hike
From the lookout, head over to the neighbouring Palacio Rio Branco (9am-1pm weekends, 10pm-6pm weekdays; entry free). The nation's first government building has an impressive Neo-classical lobby and a small museum on Bahia's history. Walk north-east across Praca da Se and on to Largo Terreiro de Jesus, a square dominated by the Portuguese-style Cathedral (8.30am-5pm daily; R3/80p), built in 1862 with Lisbon sandstone. Next door is the salmon-pink Museu Afro-Brasileiro (www.mafro.ceao.ufba.br; 9am-5pm weekdays; R6/£1.60), highlighting the region's African heritage. Tickets also cover the Museum of Archaeology and Ethnology downstairs.
Cross the square, pausing under shady palms, to enjoy spontaneous performances of capoeira – an old and energetic artform developed by slaves, that fuses martial arts and dance.
Turn left on Rua das Portas do Carmo and continue to the very end to emerge on to Largo do Pelourinho. The baby-blue building at No 8 is where Spike Lee filmed Michael Jackson's video for They Don't Care About Us with local drum group Olodum. A photo on the balcony will set you back R2 (50p).
Lunch on the run
Across the square at No 19 is Senna Restaurant (11am-7pm daily except Sunday). It is also a cookery school and museum of Salvador's old culinary habits. The cosy dining room on the first floor of this 17th-century townhouse hosts a daily buffet (R44/£12) of old Bahian favourites. Try the stewed fish and acaraje – bean and onion croquettes.
At Praco do Artesanato, there's a cluster of souvenir stalls selling native berimbais – single-string percussive instruments made from a calabash shell. Elsewhere, domino-playing artists display their work along Rua das Laranjeiras. The art is bold and bright and captures the spirit of Bahia.
Dining with the locals
In the back streets of Pelourinho is Maria Mata Mouro at Rua da Ordem Terceira 8 (mariamatamouro.com.br). This charming restaurant has a pretty courtyard and defence walls built in 1549. Highlights of the menu include lamb in tamarind sauce with mandioquinha mash (R76/£20).
Mama Bahia at Rua das Portas do Carmo 21 serves hearty, unpretentious dishes, accompanied by live guitar music. The star of the menu is moqueca, a rich stew of coconut milk, palm oil and seafood – usually oysters, shrimps or octopus (from R34/£9).
Go to church
The splendid early Baroque church of Sao Francisco on Rua de Ordem Tereira celebrates Sunday mass at 8am (normal visiting hours 10am-3pm Sundays, 9am-5.30pm other days). Brazilian gold and jacaranda wood were used in the construction in the early 1700s. It was built by slaves – some were even permitted to worship inside. Its outdoor courtyard is lined with Portuguese azulejos (tiles) depicting the life of St Francis of Assisi.
Out to brunch
Opposite the church, Le Glacier Laporte at Largo do Cruzeiro de Sao Francisco 21, specialises in crêpes. Among the 22 options are queijo cheese (from R17/£5). There are also weird and wonderful fruit juices such as umbu, abacaxi and siriguela.
A walk in the park
The lush public square of Campo Grande on Avenida Sete de Setembro opens 6am-7pm daily. Under the swaying palm and mango trees stands a statue of a native warrior defeating a dragon that represents Portugal. There is also a number of stalls selling Bahian handicrafts.
Beyond the intricately carved wooden door of the Museu de Arte da Bahia at Avenida Sete de Setembro 2340, is a collection that includes the work of native painters such as the 18th-century artist Jose Teofilo de Jesus (bahiamam.org; 2-7pm weekends, 1-7pm Tuesday-Friday; free).
Take a ride
A taxi to the Barra district should cost about R20 (£5). The main attraction is the crescent-shaped shoreline, popular for its sheltered waters. Try stand-up paddle boarding (R60/£16 for an hour's lesson) or relax in a deck chair for R3 (80p).
At the southern end of the bay stands the 16th-century Santa Maria Fort at Largo do Farol da Barra. It houses a maritime museum (museunauticodabahia.org.br; 8.30am-7pm daily; closed Monday, August-December; R10/£3). Take the trail around the back of the fort to see where the bay converges with the Atlantic.
Icing on the cake
Try capoeira with a class at the Mestre Bimba Capoeira School at Rua das Laranjeiras 1 (bit.ly/MestreBimba). Hour-long lessons with veteran professor Adubos take place almost hourly, 9am-6pm (R25/£7).