From Italian firma (“signature”), from Latin firmāre (“to make firm, strengthen, fortify”).
Practice speaking and memorizing "firma" and many other words and sentences in Portuguese.