At least 1 hour before starting, soak 1 cup (75 g) dried fig halves in 4 tbsp sour fruit juice.
Make the pesto sauce: combine roughly 50 g basil leaves, 2 garlic cloves, 4 tbsp pine nuts, 150 ml olive oil, and 50 g Parmesan in a food processor and blend until smooth.
For the dough, combine 250 g flour and 200 g chilled unsalted butter pieces in a food processor and pulse until the mixture resembles breadcrumbs.
Add 120 g sour cream and knead until the dough comes together into a ball.
Divide the dough into 2 equal portions, wrap each in plastic wrap, and refrigerate for 30 minutes.
Heat 2 tsp olive oil and 50 g unsalted butter in a large skillet over medium heat.
Add 1 kg onion rings and 1 tbsp brown sugar.
Cook, stirring occasionally, for 30–40 minutes until the onions are deeply caramelized.
Add 60 ml red wine vinegar and remove from heat.
In a separate skillet, heat the remaining unsalted butter over medium heat.
Add the soaked figs with their juice and cook for 5 minutes until softened and excess liquid evaporates.
Preheat oven to 220°C (428°F).
On a floured work surface, roll out both dough portions to 3 mm thickness.
Place on 2 baking sheets, prick all over with a fork, and bake for 3 minutes.
Cover with a kitchen towel, press lightly, remove the towel, and bake for another 4–5 minutes until set.
Top each baked dough piece with half the caramelized onions, half the cooked figs, 8 slices of pre-fried pancetta, and distribute half of the goat cheese.
Bake at 220°C (428°F) for 3 minutes.
Cut each dough piece into 16 canapés. Drizzle with olive oil, brush with pesto sauce, top with fresh basil leaves, and serve immediately.