Foie millefeuille with caramelized apples and fig jam