(b)1. A person who actually killed, intended to kill, or attempted to kill the victim and who is convicted under s. 782.04 of a capital felony, or an offense that was reclassified as a capital felony, which was committed before the person attained 18 years of age shall be punished by a term of imprisonment for life if, after a sentencing hearing conducted by the court in accordance with s. 921.1401, the court finds that life imprisonment is an appropriate sentence. If the court finds that l...