The precious metals miner said it had signed agreements with affiliates of funds advised by Appian Capital Advisory to buy both mines for $1 billion and a 5% net smelter return royalty over potential future underground production at Santa Rita.

Sibanye shares climbed 2.9% after the announcement. Sibanye has been diversifying into metals used in electric vehicle batteries in a bid to transform the company from a gold and platinum group metals (PGM) producer to a diversified miner.

CEO Neal Froneman called the deal, which is subject to conditions including approval from the South African Reserve Bank, a significant step in Sibanye's transition into a climate change resilient business.

Sibanye kicked off its shift into battery metals earlier this year with the purchase of a nickel processing plant in France and a minority stake in a lithium project in Finland. nL4N2KT1VU]

Last month it bought a 50% interest in a joint venture with a U.S. company to develop a lithium-boron project.

The Brazil deal will add two low-cost, producing assets to the company's "green metals" portfolio and will immediately add to its cash flows and earnings, Sibanye said.

Sibanye was not the highest bidder for the Brazil mines but Appian chose it as it was the best cultural fit, Michael Scherb, founder and CEO of Appian Capital Advisory said in a telephone interview.

Scherb said he liked Sibanye's strategy of delegating authority to local management teams, which he said helps the company manage cultural sensitivities around its mines.

The bidding for the mines was competitive with suitors including car companies, offtake groups, financial investors and special-purpose acquisition companies, Scherb said. He declined to say which car companies had shown interest.

"It just goes to show that the concern about security of supply for energy transition commodities is very real."

Citi and Standard Chartered were M&A financial advisors to Appian, while Moelis & Company LLC was the financial advisor to Sibanye.

($1 = 0.8593 euros)

(Reporting by Shanima A in Bengaluru and Promit Mukherjee; Editing by Anil D'Silva and David Evans)

By Promit Mukherjee and Helen Reid