had
Nós havíamos combinado de nos encontrar às três, mas ela já havia saído.
We had arranged to meet at three, but she had already left.
Nós já havíamos desistido quando a resposta chegou.
We had already given up when the answer arrived.
Pensamos que os havíamos cercado.
We thought we had surrounded them.
— RRR: Revolta, Rebelião, Revolução (2022)