Langlands program for $p$-adic coefficients and the petites camarades conjecture