Bayern Munich coach Pep Guardiola dreams of taking over as Brazil coach in the future and would do so "without thinking," ex-Santos and Roma goalkeeper Julio Sergio has told ESPN.

Sergio, who worked with Guardiola at the Bundesliga champions earlier this year as he prepares to begin his own coaching career, said he had told him he would have liked to have led Brazil in last summer's World Cup -- and believes he would have won it.

Guardiola was linked with the position after Mano Menezes was dismissed in June 2012, but Brazil Federation president Joe Maria declined to appoint the first foreign coach in Selecao history, instead giving the job to Luiz Felipe Scolari.

"He told me that he had a dream of one day coaching the national team, and he would accept the offer without thinking," Sergio told ESPN Brasil.

"He said he had wanted to lead Brazil at the 2014 World Cup, and guaranteed that, if he had been the Selecao coach, and had Neymar, they would have been champions."

Guardiola has said he will not leave Bayern before his contract expires at the end of next season.

Sergio explained that he had been keen to study with Guardiola because "the guy lives football 24 hours a day. The players there really love him."

Brazil, who lost the World Cup semifinal 7-1 to Germany, have won eight successive games under Dunga, who replaced Scolari after the tournament.