Lima's late goal strengthened Benfica's bid for UEFA Europa League redemption as they edged Juventus 2-1 in the semi-final first leg.
The striker picked the ideal time to strike in Thursday's encounter in Lisbon, with his powerful 84th-minute finish giving Benfica the upper hand heading into next week's second leg.
Benfica – who lost last season's final to Chelsea – took the lead in the second minute thanks to Ezequiel Garay's header.
Juventus had no shortage of motivation either, with this year's final to be held in Turin, and after a good second half, levelled proceedings when Carlos Tevez netted a well-taken finish with 17 minutes left.
The goal – Tevez's first in European competition since scoring for Manchester United in April 2009 – looked like it would give the Serie A outfit a crucial draw, but Lima had other ideas.
Benfica goalkeeper Artur Moraes then superbly kept out Claudio Marchisio as the hosts held on for a win that continues their push for a quadruple.
Having already sewn up the Primeira Liga title, Benfica have booked a spot in the Taca de Portugal final and will contest a Taca da Liga semi-final against Porto on Sunday.
It took less than two minutes for Benfica to take the lead as Garay powerfully headed in Miralem Sulejmani's corner from the left.
Slack marking from Leonardo Bonucci allowed Garay a free header, with the defender's decision to push his opponent, instead of challenge him in the air, sure to be questioned by coach Antonio Conte.
Goalkeeper Gianluigi Buffon could not keep the effort out, despite getting two hands to it, and he will have been pleased to see Sulejmani slice an effort wide after a quick Benfica counter-attack in the 11th minute.
Juventus – missing star midfielder Arturo Vidal to a knee injury – struggled to make inroads despite a good spell of possession, with Tevez not troubling Artur with a tame 20-yard effort.
An excellent slaloming run from Tevez on the half-hour mark was indicative of Juve's first-half struggles, as the sharp build-up play amounted to nothing, and when they did create another chance, defender Stephan Lichtsteiner was in an offside position when he wasted a free header.
Juve came close to levelling proceedings 10 minutes into the second half, with Artur doing well to tip Paul Pogba's header wide after Marchisio's clever centre.
The Serie A leaders kept pressing, as Lichtsteiner's teasing ball across the face of goal had to be well cleared by Maximiliano Pereira before they were eventually rewarded by Tevez.
Marchisio's ball sent Kwadwo Asamoah free down the left and his cut-back to Tevez allowed the forward time before shooting.
And he read the situation superbly, taking a touch to evade the sliding Luisao, before slotting through the legs of Artur to break his European drought.
Lima responded in style for Benfica, though, with the forward hammering a first-time strike home from just inside the penalty area into the top-right corner after Ivan Cavaleiro's clever dummy.
Lazar Markovic then shot wide for Benfica and there was still time for Juve to draw level again, only for Marchisio to fire against Artur when played through before defender Giorgio Chiellini also wasted a late chance.
The result will lift Benfica ahead of Sunday's crucial cup clash, while Juventus are likely to rest players in Monday's Serie A visit to Sassuolo.
|Chile penalty hero Bravo: I was injured!|
|Bravo the shootout hero as Sanchez, Ronaldo scrap fails to inspire|
|Portugal 0 Chile 0 (aet, 0-3 pens): Bravo the hero in shoot-out victory|
|Portugal 0 Chile 0 (aet, 0-3 pens): Bravo the hero in shoot-out victory|
|Confederations Cup Diary: Mexico´s preparation glitches, howling in Kazan|
|Manchester United striker Rashford snapped with ´king´ Ronaldinho|
|Boro flop Fischer completes Mainz move|
|Karsdorp seals €19m Roma switch|
|DFB calls for WADA to take independent control of football drugs testing|
|Britton signs new Swansea deal|
|Liverpool target Keita wants move to Barcelona, Madrid or City|
|Man Utd and Liverpool target Sessegnon signs first professional Fulham deal|
|Gomis set for Galatasaray switch|
|Difficult to motivate goalkeepers in Neuer´s shadow - Kahn|
|Confederations Cup Social Diary: Kuranyi prepares Chile for Ronaldo and Bravo remembers how to be a|
|Former Chelsea and England midfielder Parker retires|
|Carles Alena agrees new Barcelona contract|
|Germany cannot rest on laurels - Low cautious over gifted generation|
|Martial rejects reports he will leave Man United|
|Germany young but experienced - Osorio gets to heart of the matter|
|We must teach fans about discrimination before World Cup, says Smertin|
|Real Madrid ´meet regularly´ with Chelsea goalkeeper Courtois´ agent|
|No solid ground to question Russia, Qatar World Cups – Samoura|
|Scorpion kick goalkeeper Higuita joins Atletico Nacional|
|FIFA´s Samoura wants to eradicate doping in football|
|Modeste move to Tianjin Quanjian off amid Aubameyang speculation|
|Bristol City seal club-record signing Famara Diedhiou|
|Germany boss Low wants names in Russia World Cup doping row|
|Hillsborough: The CPS charges|
|Van Dijk and Cedric ´not for sale´, insist Southampton|
|Saul Niguez has no intention of swapping Atleti for Barcelona|
|David Duckenfield one of six to face Hillsborough charges|
|You can practice penalties too much - Low wary over Germany shootout reputation|
|Fabio Borini set for medical as AC Milan move nears|
|Brazil great Ronaldo ´almost certain´ Cristiano will stay at Real Madrid|
|Bony determined to prove his worth at Manchester City|
|Neville shocked by Wayne Rooney decision delay|
|Ceballos denies Real Madrid deal complete|
|Garcia report vindicates bid´s integrity, says Qatar 2022 Committee|
|Pele, Puskas and centurion Daei - who is left for Ronaldo to catch?|
|He is not worth £60m - Liverpool´s potential Van Dijk fee concerns Nicol|
|New Real Madrid deal for Zidane is Perez´s first job|
|Perez praises James amid transfer talk|
|Victory, Sydney to meet in A-League opening round|
|Madrid, Man United yet to hold Morata talks – Perez|
|Ronaldo is angry but will stay at Madrid, says Perez|
|If we buy Mbappe, who comes out? – Perez|
|Confederations Cup Social Diary: Ronaldo strikes a pose, Chile reminisce and mum´s the word|
|I didn´t realise we´d won! - Germany U21 hero Pollersbeck|
|Confederations Cup Diary: Transfer talk gets Santos laughing and why you should never lose a Mexico|
|Better Call Saul - Atletico star hits hat-trick to send Spain into U21 Euro final|
|Garcia Report: Barcelona and Madrid´s Qatar dealings not linked to World Cup vote|
|Sevilla announce agreement for Banega return|
|I don´t play for money - Alves says farewell to Juve as Man City move looms|
|Lucas Lima denies Barcelona offer as he weighs up Santos renewal|
|Garcia Report: Conclusions of investigation into Qatar 2022 bid|
|Pollersbeck the shoot-out hero as Germany beat England for U21 Euro final spot|
|Maldini beaten in professional tennis debut|
|Santos ´will go to the end of the world´ with Portugal stars|
|Pirlo taught Vidal how to play - Borghi|
|Garcia Report: Conclusions of investigation into Russia 2018 bid|
|What is the ´Garcia Report´ and why does it matter?|
|Australian goalkeeper Vukovic earns Genk move|
|Hernandez returns to Mexico training ahead of Germany showdown|
|Sirigu leaves PSG to join Torino|
|Guerreiro out, Silva major doubt for Portugal´s semi-final clash|
|FIFA releases full ´Garcia Report´ into World Cup bidding process after Bild leak|
|Leicester midfielder Mendy wants Bordeaux move|
|Ronaldo, Morata and Mbappe futures discussed by Del Bosque|
|Banega ´very close´ to Sevilla return, agent reveals|
|Mexico about more than Hernandez, warns Mustafi|
|Premier League is right for Real Madrid star Ronaldo, says Meireles|
|Milan trying to close Biglia deal amid Premier League interest, agent claims|
|Germany´s Can not scared of Ronaldo|
|Chile are ready to counter Ronaldo – Pizzi|
|Ginola advises Mbappe to stay at Monaco|
|Calhanoglu waiting for ´final talks´ as AC Milan move nears|
|Sanchez not distracted by transfer talk, says Chile coach Pizzi|
|Allegri hails ´future Juventus leader´ Bonucci|
|Has Morata´s wife dropped a hint of Man Utd move?|
|Stats amazing - Can marvels at Liverpool newcomer Salah|
|FIFA response expected after Bild reveal Qatar World Cup report ´leak´|
|Shanghai Shenhua seek to tie down Guarin and Moreno|
|Germany v Mexico: Werner´s eyes on the prize as El Tri aim to start on time|
|Asensio praises Donnarumma amid Real Madrid links|
|Giggs: Rooney could stay at Manchester United|
|WATCH: McCollum guesses Atletico star Griezmann´s NBA impressions|
|Suarez wants Arsenal´s Bellerin at Barcelona|
|Montella hopeful Donnarumma will stay at Milan|