OMG. Your car! It looks like it burned inside too! I'm so sorry, but glad you didn't get hurt. NEVER EVER swerve hard to miss hitting an animal. I bet you learned that. Hopefully, that "instinct" will go away now. For me, after all the years of driving, that is not an instinct for me. I will slow down, (not slam on the breaks too hard) or turn the car out of the way, but never do anything extreme. I missed hitting some free range cattle, as I came around a bend where I use to live. I only had to slow down and turn the car into the other lane. I swerved, but gradually, not suddenly or too hard. Luckily no one was coming. But there was time to do that because I saw them in enough time...they were up ahead a little.
Especially after having lived in a wilderness area where there are constantly deer, moose, and many other critters crossing the near desolate highway, I knew that swerving to miss an animal, especially when there is snow on the ground for at least 5 or 6 months out of the year, would surely cause human death, mine or someone else's. On either side of this highway, in many places, there was a sheer drop off. So, there is no way I would swerve to miss hitting an animal. I'd plow right into him or her. And did. No one lives where I lived without hitting a deer or something, on average, every couple years. I managed to slow down without slamming the brakes too hard because I saw her up ahead enough, and just bumped her.
Anyhow, you should play scenarios in your head and think it out what you'd do because swerving the car too hard can not be an option. It's worse than hitting the thing in most cases. (as you have found out.)
I had a fellow tell me once that if he saw he was going to run into a deer...there was no way to stop in time no matter what he did... (it's a quick judgment) it is better, in fact, to accelerate a little or don't do anything, but don't brake. That's because when you hit the brakes, the car's nose dips down lower and the deer (or whatever) will tend to come through the windshield which is so much more dangerous. It's better if the engine block stays high and protects you.
That deer I hit got up and trotted away. I always hoped she didn't have internal injuries. But she seemed okay. It does make you really sad when you hit an animal. But hopefully, you'll play it through your head a few times so that if it happens again, you will be able to fight that instinct you have to swerve the car hard. I'm so sorry that happened to your car. What a bummer. But am glad no one was hurt. (except the poor raccoon.)