You’d have to check minimum connecting time in CLT, but I suspect 30 mins is ok if it has ticketed. Connection times like that at CLT should be ok if flights are in time.
AA may or may not cover your hotel, depending on the reason for the delay. If it is outside their control you may need to rely on your travel insurance.
I had a similar connection recently in PHL, it was down to about 20 minutes once we pulled up at the gate. I made the flight but my luggage didn’t unfortunately. AA was proactive… bag delivered to my door the next day and I was reimbursed for additional expenses such as PJs and stuff I needed for the day.
With the extra 10 mins - plus the fact that flights times are fairly heavily padded in the US - you should be fine. Just move quickly on arrival