Yeah, your maxima is certainly doomed if the mantle is detaching... sorry for the bad news. :'(
The three Tridacna crocea I have right now are over 12 years old. I run 250 watt HQI metal halides (Iwasaki daylight, which they quit making last year as far as I know *not happy!*) about ten inches above the water. The clams are about six inches below the water surface on the rock work so they can anchor themselves. Tridacna maxima are fine on the sand bed, but crocea would not be happy there at all.
I agree with TheHarold that the lighting is way too insufficient. I've tried LED lighting (Apollo Reef LED lights) and had them at 100% on blues and whites. The coloration was not as good as when they were under metal halides but the electrical bill was a bit nicer! Any way, when the LED lights started burning out, just prior to the warranty expiring and Apollo Reef going out of business, I switched back to the old HQI metal halides and the clams are very happy!
So my guess is that the lighting was insufficient, but you might also check the bottom of the clam where the hinge is for tiny 2mm-4mm white cone shaped snails. What I'm referring to are Pyramidellid snails and they can wreak havok with Tridaca clams really fast! Take a look at the link below for more detailed info.
http://www.reefkeeping.com/issues/2006-09/jf/index.php
I bought a small maricultured clam 15-20 years ago and lost several large maxima that I'd had for 5 to 8 years because of them. They are nasty little buggars and sneaky too, they usually only move around at night! If you find them, wait several months to let them starve out before buying a new Tridacna. And as always, stable water chemistry is very important as well as strong lighting. Just acclimate them over several weeks to the high lighting and they should be fine. Hope this helps!