You'll need to actually take it to a repair shop, get some estimates and consult with your insurance company to get a proper opinion as to whether its totaled or not.
Maybe, maybe not. Some dealers are crooks, some repairs shops do sub-standard work. Thats something you'll need to figure out on your end.So repair shop is better then the mazda dealer