We study the acoustic response of flat-menisci bubbles trapped in the grooves of a microstructured hydrophobic substrate immersed in water. In the first part of the paper we consider a single bubble subjected to a normally incident plane wave. We use the method of matched asymptotic expansions, based on the smallness of the gas-to-liquid density ratio, to describe the near-field of the groove, where the compressibility of the liquid can be neglected, and an acoustic region, on the scale of the wavelength, which is much larger than the groove opening in the resonance regime of interest. We find that bubbles trapped in grooves support multiple subwavelength resonances, which are damped -radiatively -even in the absence of dissipation. Beyond the fundamental resonance, at which the pinned meniscus is approximately parabolic, we find a sequence of higher-order anti-resonance and resonance pairs; at the anti-resonances (whose frequencies are independent of the gas properties and groove size) the gas is idle and the scattering vanishes, while