lima's sweetly struck free-kick and a matheus tap-in in the dying seconds earned the portuguese hosts their first ever group stage points.
sc braga snared their first uefa champions league points in a tense victory over fk partizan at the estádio municipal de braga.
the recalled lima got domingos paciência's men on their way with a first-half free-kick, and matheus ended the contest in added time after braga weathered a series of partizan attacks. the portuguese liga runners-up go to belgrade for the return fixture in two weeks with renewed hope following fc shakhtar donetsk's defeat at arsenal fc.
a cagey opening was a tacit acknowledgement of the importance of the encounter to both sides. in-form marko šćepović had the first shot on target on 20 minutes, but his well-struck effort from distance was too close to felipe. his prolific partner cléo, a scorer against arsenal, was the next to warm his fellow brazilian's hands from similar range.
given the tautness of the preceding 35 minutes there seemed little danger when the home side won a free-kick 25 metres from goal. lima stepped up to curl a sumptuous effort over the wall and into the top corner of vladimir stojković's goal. stojković, on his return to portugal after a spell at sporting clube de portugal, got a hand to the ball but could not keep it out.
partizan almost replied instantly, but aleksandar lazevski dragged wide after cleverly finding space in the braga area. the arsenalistas started the second period strongly, and paulão nearly extended the lead soon after the break. stojković did well to stretch and clutch his header from elderson's left-wing delivery.
having conceded nine in their opening two ties braga had the leakiest defence in the competition prior to kick-off. they were resolute on this occasion, with paulão and moisés forming a sturdy barrier in the centre. however, stanojević's introduction of substitute pierre boya gave the home back four something to think about, with the cameroonian's pace stretching play down the partizan right.
it took an athletic dive and stout parry from felipe to deny nemanja tomić's fizzing drive on 76 minutes. the goalkeeper again came to the rescue with time running out as he tipped cléo's rising drive over the bar. it proved a crucial intervention as paciência's men settled matters on the break, with alan and luis aguiar combining to leave matheus to tap in the second.