The two-Higgs doublet model beyond tree-level: a gauge-invariant formalism | Synapse