Put 100 g sugar, the flour, salt and margarine in a bowl. Knead them together until you have a smooth dough. Put it into the fridge for at least 30 minutes.
Grease a tart mould (alternatively a springform pan).
Spread the dough evenly across the pan and up the sides.
In a small frying pan melt the sugar over a slow fire. Wait until it caramelizes.
Add the coconut milk and the maple syrup.
Stir constantly.
Once it boils, stir in the walnuts.
Pour the caramelized walnuts onto the dough. Spread evenly.
Preheat the oven to 200 °C (400 °F).
Cut the pears in half and then cut them into thin slices.
Place the pear slices onto the caramelized walnuts.
Sprinkle with lemon juice.
Sprinkle with cinnamon to taste.
Put the tart into the oven for about 30 minutes.