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.
|FA accepts Mourinho criticism of Wembley surface|
|Robben rubbishes injury talk|
|Marchisio expects Milan title challenge|
|Rafael set for Lyon move|
|Celtic ´seeking reassurances´ over Qarabag pitch|
|Wenger beating Mourinho does not affect Chelsea - Zouma|
|Rooney moved by Everton welcome|
|Mancini not worried by lack of Inter goals|
|Coloccini wants to finish career at Newcastle - McClaren|
|Ramsey: Pressure to win trophies is nothing new|
|Terry: Wembley defeat could be a ´blessing in disguise´|
|Blatter not running for IOC re-election|
|Bendtner: Wolfsburg can challenge Bayern for Bundesliga honours|
|Liverpool relishing Britannia return, says Henderson|
|Everton big enough to keep Stones - Martinez|
|MLS Review: Fire stun Dallas as goals dry up|
|New Atletico signings excite Raul Garcia|
|Cahill expects Arsenal title challenge|
|Jovetic happy with Inter debut|
|Luis Enrique: Barca defence must improve|
|Yanev calls for calm after ugly scenes in friendly|
|Coppa Italia Review: Cittadella romp to victory, Brescia rely on penalties|
|Arsenal have learned how to play against big teams - Ramsey|
|Shawcross to visit specialist over back woe|
|Fiorentina 2 Barcelona 1: Bernardeschi double sends Barca to another defeat|
|Mancini hints at Melo interest|
|Rodgers hails ´incredible´ Benteke strike|
|Galatasary 1 Inter 0: Sneijder sinks former club|
|Wenger defends Arsenal approach|
|Wembley loss has no bearing on new season - Terry|
|Porto cruise to friendly win over Stoke|
|Mourinho denies Wenger ´snub´ suggestions|
|Arsenal abandoned their philosophy to win Community Shield - Mourinho|
|Mourinho throws Community Shield medal into Wembley crowd|
|Swindon Town 1 Liverpool 2: Benteke nets stunner on debut|
|Scottish Premiership Review: Hearts win thriller on top-flight return|
|Ujah at the double as Bremen beat West Ham|
|Mourinho: We were the better team|
|Wenger hails defensive solidity|
|Rooney returns as Villarreal spoil Ferguson´s party|
|Rodriguez stunner earns Southampton draw as Caulker makes debut|
|Arsenal 1 Chelsea 0: Case of 14th time lucky for Wenger against Mourinho|
|Taechaubol announces Milan agreement|
|Jojic fires Cologne to latest victory|
|China 0 South Korea 2: Kim and Lee seal victory|
|Origi getting up to speed|
|Costa a doubt for start of season - Mourinho|
|North Korea 2 Japan 1: Halilhodzic´s men spurn lead|
|Allam brands FA ´amateurs´ as name-change row rumbles on|
|Fournier ´worried´ by Lyon pre-season|
|Swansea still working on Michu exit - Monk|
|Neuer furious at Bayern Supercup defeat|
|Wenger: Ozil signing not a mistake|
|UEFA Champions League Preview: Shakhtar ready for Fenerbahce decider|
|Lampard targets MLS play-offs for City|
|MLS Review: Goals galore as DC United win 10-goal thriller|
|Ronaldinho returns and helps Fluminense to win|
|Keane: United won´t overtake Chelsea|
|Casillas has the ´enthusiasm of a 20-year-old´ - Lopetegui|
|Blanc hopeful over Ibrahimovic knee injury|
|Guardiola laments late goal in Supercup defeat|
|Tuchel plans to keep Bender|
|Hecking happy with Wolfsburg discipline after Supercup win|
|Arsenal players too interested in selfies and six-packs - Keane|
|Confusion over Ibrahimovic´s PSG future|
|Sporting Lisbon 2 Roma 0: Slimani, Mane inspire Portuguese hosts|
|Rodgers feeling ready for new campaign|
|Khedira to miss Supercoppa|
|Paris Saint-Germain 2 Lyon 0: Aurier and Cavani seal more silverware|
|Wolfsburg 1 Bayern Munich 1 (5-4 on penalties): Super-sub Bendtner nicks it for Pokal champions|
|Lampard´s long-awaited New York City debut ends in defeat|
|Casillas the spot-kick hero for Porto|
|Monk bullish ahead of season opener at champions|
|Marseille 2-0 Juventus: Night to forget for Serie A champions|
|Swansea end pre-season with yet another draw|
|HJK 0 Liverpool 2: Origi and Coutinho on target|
|Juventus rocked by Khedira injury scare|
|Lens and Pantilimon star as Sunderland beat Hannover|
|Pardew hopeful of concluding Wickham deal|
|Martinez allays Lukaku fears|
|Stuttgart 4 Manchester City 2: Cause for concern for Pellegrini|
|Wasteful Bournemouth held by Hoffenheim|
|Jerome seals Norwich win|
|Souare´s first goal ensures Palace draw|
|Sinclair hits hat-trick in Villa draw|
|Leicester end pre-season with thrilling Birmingham win|
|Wood and Mowatt condemn Everton to friendly defeat|
|Coloccini not involved as Newcastle lose to Gladbach|
|Borussia Dortmund 2 Real Betis 0: Ramos scores on return from injury|
|Stoke lose to Cologne on Afellay debut|
|Norwich capture goalkeeper Kean|
|Jovetic hits out at Pellegrini following City exit|
|Jones backing new boys to spark United revival|
|Scottish Premiership Review: Celtic up and running, Dundee hammer Kilmarnock|
|Can keen to learn from Milner|
|Immobile on the mend following friendly scare|
|Sagan Tosu 1 Atletico Madrid 1 (1-4 on penalties): Simeone´s men need spot-kicks|
|Cahill: Big-spending rivals will make title race tougher|
|Roberto happy to play full-back for Barca|
|Gestede eager to make his mark at Villa|
|I want to play more and score more - Remy|
|Lambert influence important, says Pulis|
|Benteke a ´bargain´ buy - Rodgers|
|Zola: Qatar would be ideal for Balotelli, Cassano|
|Suarez: I´m not among world´s best|
|PSG ready despite ´chaotic´ pre-season - Blanc|
|Arsenal thumping still hurts - Fournier|
|Aubameyang targets Champions League success|
|Rooney set for Everton return|
|Cech can match Van der Sar - Wenger|
|Mourinho ponders Wenger´s losing record against him|
|CBF confirm Fred failed a doping test|