Design and optimization of a hadronic calorimeter based on micropattern gaseous detectors for a future experiment at the Muon Collider | Synapse