#2
although most Chironomidae are (semi)aquatic, several genera are truly terrestrial. genera like Smittia, Parasmittia, Psuedosmittia, Metriocnemus, Gymnometriocnemus, Camptocladius, Georthocladius and Bryophaenocladius (all Orthocladiinae) have one or more terrestrial represantative. They live in pasture soil, forest soil, birds' nests, manure or in the moss growing on stone walls or roofs. You're pupae seems like a Chironomidae and can be readily identified with Langton (1991).
#5
Long parallel leg sheaths that reach the posterior apex of the abdomen with a strongly humped thorax are typical for Mycetophilidae or Keroplatidae. I am pretty sure neither of these character states is found in any known Chironomidae.
It is common to find immature stages of multiple groups living in organic substrate; this pupa is likely not related to the adult you found.