Breakdown of Nós esperávamos que o herdeiro guardasse o documento legal.
nós
we
o documento
the document
guardar
to keep
que
that (conjunction)
Elon.io is an online learning platform
We have an entire course teaching Portuguese (Portugal) grammar and vocabulary.