A continuous characterization of maximal cliques in k-uniform hypergraphs