Academic ranks (Portugal and Brazil)

Academic ranks in Portugal and Brazil are the titles, relative importance and power of professors, researchers, and administrative personnel held in academia.
Overview.
In Romance languages (spoken in Portugal, France, Italy, Romania and Spanish- and Portuguese-speaking Latin America – Ibero-America), the term "professor" and "teacher" translate the same (""professor" / "professeur" / "professore" / "profesor") thus it is used for anyone teaching at a school (grade/elementary, middle, and high school), institute, technical school, vocational school, college or university, regardless of the level of the subject matter taught or the level or ages of students. However, one who teaches at a university is specifically called "professor universitário"" ("university professor"), although it is also common to call university professors just "professor".
As subtypes of professors the following are distinguished:
Portugal.
Both "professor associado" and "professor auxiliar" may have "Agregação", an extra degree mandatory to all applicants to the rank of "professor catedrático" which one can apply to usually years after the PhD (similar to the French "Habilitation à Diriger des Recherches"). "Agregação" is a two-day exam based on curriculum vitae evaluation and a public lecture, where the candidate is evaluated by secret vote by a large number of other full professors, in which the professors insert a white or a black sphere into a bag according to his or her decision.
The three ranks of professors may also be held by invited professors, according to the rank, this does not mean that they are from outside the university but rather they re not employed by the university full time.
Portuguese universities still have a few other teaching staff in two ranks not holding a PhD. These two ranks were extinguished in 2009 and will vanish after all the ongoing contracts terminate in the next few years.
Brazil.
Federal level.
Academic ranks in the federal universities have been updated slightly over the years via new legislation.
Since 2013, ranks are organized in five classes, containing up to four levels each:
Federal university professors are public servants and as such acquire tenure automatically after an initial three-year probationary period (; see also Brazilian Civil Service#Tenure).
Salary is pre-determined for each class/level combination, increasing with rank advancement, and includes a thirteenth salary.
Federal university professors are also entitled to 45-day annual leave,
compensated one-third higher than the normal salary.
Hiring is done through a civil service entrance examination open to anyone eligible – though normally in Portuguese, which represents a challenge for internationals– and normally leads to the bottom rank (class A, level 1).
Career advancement is achieved through "progression" across levels of a given class and "promotion" across different classes, with each step normally requiring two years of service plus approval in a performance evaluation (internal to the university).
Faculty may expedite promotion upon tenuring (3-year probation) thus advancing to the first level of class B or class C if they are holders of the required degrees (master's or PhD, respectively).
Advancement to the top rank (class E) requires additionally either a type of Habilitation (defense of an original thesis) or approval of a written document () describing the applicant's professional achievements (in teaching, research, outreach, and academic administration); the evaluation process in this case is carried out by a special commission made of at least 75% of members external to the applicant's own university.
State level.
At São Paulo state universities, particularly at the University of São Paulo, the academic rank system is as follows:
Research-only.
More recently, permanent academic posts for researchers that do not necessarily involve teaching have appeared. Those are not to be confused with temporary graduate-level and post-doctoral research positions.