I think a slight problem came from your stack size being shorter than his.
I would’ve played this the exact same way but by the turn for me, I think I would’ve just shipped it all in there because it was most likely going to be all in by the river anyways (as your plan was). But there were a handful of river cards that you definitely didn’t want to see (A’s, K’s, diamonds, arguably 2’s and 6’s for 76/87 hands seeing) as he was loose and on button.
With shoving on the turn you force him to a hard decision (which is likely to cause a mistake = good), but seeing as you left .85c behind it may of shown a lack of commitment to the all in. As well to my first comment, he also had no fear of calling your turn bet (shove or not) and then having to also face a river bet because you were all in. If you had of had 12-18 behind, he would’ve had to think about a possible river bet of half or full pot if he missed his hand, which would’ve also given you some extra fold equity for a situation like this.
Regardless, I would personally say you made the right play by betting the pot, which denied odds and forced him to make a mistake if he was to call. He happened to of made a mistake and got paid for it but in the long run of this line you took, you would be more profitable.