Prep the pan. Line a 9x9-inch baking pan with parchment, leaving overhang for easy lifting. Preheat the oven to 350°F (175°C).
Make the crust. In a bowl, whisk almond flour, coconut flour, powdered sweetener, and salt.
Stir in melted butter, egg, and vanilla until a soft dough forms.
Press and par-bake. Press the dough evenly into the pan. Dock with a fork a few times. Bake for 10–12 minutes until just set and lightly golden at the edges.
Set aside.
Toast the pecans. While the crust bakes, spread pecans on a sheet pan and toast for 6–8 minutes until fragrant. Cool slightly, then roughly chop.
Cook the “caramel.” In a medium saucepan, melt butter over medium heat. Whisk in the brown and granulated sweeteners.
Cook, stirring, 2–3 minutes until dissolved and glossy.
Add cream and flavorings. Reduce heat to low. Slowly whisk in heavy cream (it may bubble). Stir in vanilla, cinnamon, and salt.
Simmer 1–2 minutes until smooth. Remove from heat and cool 2–3 minutes.
Temper the eggs. Whisk the lightly beaten eggs in a small bowl. Slowly stream in a few spoonfuls of the warm caramel while whisking constantly to prevent scrambling.
Then whisk the egg mixture back into the saucepan until combined.
Fold in pecans. Stir in the chopped pecans until evenly coated.
Assemble and bake. Pour the pecan filling over the par-baked crust and spread evenly. Bake for 18–22 minutes, until the filling is set at the edges and slightly jiggly in the center.
Cool completely. Let the pan cool on a rack, then chill at least 1 hour to firm up. Lift out by the parchment and slice into bars.
Sprinkle with flaky salt if using.