É interessante observar que nas construções mais antigas do século XVII, especialmente as de ordens religiosas como a de São Bento, as torres guardam o aspecto básico de fortaleza [...]. Já no século XVIII, à função de suporte dos sinos agrega-se o valor simbólico de sinal externo de riqueza e prestígio das irmandades proprietárias, traduzido em sua maior altura e na ornamentação apurada dos coroamentos.
In the early centuries of colonization, architecture geared toward protection set the tone for the urbanity of Rio de Janeiro, and while the fortresses installed along the coast were meant to protect the city against invasions, the 16th-century churches and monasteries – and some from the early 17th century – served the function of “protecting the spirits,” often themselves functioning as fortification structures for the city.
Fortaleza de Santa Cruz da Barra, localizada na orla de Niterói da Baía de Guanabara e erguida no século XVI. Marc Ferrez, c. 1890. Instituto Moreira Salles
In the 16th century, Mannerism – a transitional style between Neoclassical and Baroque – marked the architecture of some of the city's buildings. But it was the Baroque style that, in the 17th century, became Rio de Janeiro's great architectural legacy.
Igreja de Nossa Senhora do Bonsucesso vista da Ladeira da Misericórdia. A predominância da construção, do século XVI, é o Barroco. Wikimedia Commons
In the 18th century, the incorporation of Joanine woodcarving, perspective painting, and polygonal and curvilinear church floor plans – techniques imported from Italy that revolutionized Portuguese Baroque – also spread into civil architecture. These transformations made the city a "model" and created the conditions for Rio de Janeiro's style to spread throughout the rest of the colony, especially to Minas Gerais.
In this environment, the religious Orders occupied a special place. Receiving land donations from the so-called "homens bons" ("good men"), that is, members of the colony's political and financial elite, they built and inhabited Rio's churches and convents in the oldest parts of the city. The first to arrive were the Jesuits – alongside the city's founders in 1565 –, and they occupied Morro do Castelo. Next came the Carmelites, who settled in Largo do Carmo around 1590; the Benedictines, who arrived in Rio de Janeiro in 1589 and settled on Morro de São Bento in 1590; and the Franciscans, who occupied Morro de Santo Antônio in 1615.
Convento de Santo Antônio. Desenho de Pieter Gotfred Bertichen, 1856 – Coleção Brasiliana Itaú
The third orders formed by laymen were also established in the baroque city. Initially, there were three: the Venerable Third Order of São Francisco da Penitência, the Venerable Order of Nossa Senhora do Carmo, and the Venerable Order of São Francisco de Paula, all sustained by the wealth and devotion of the city's leading men.
Interior da Igreja da Ordem Terceira de São Francisco da Penitência. Wikimedia Commons
It looks like the source text you intended to include is missing — only "Referências:" (References:) was provided, with no content to translate. Could you please share the full text you'd like translated? Once I have it, I'll provide the English (US) translation following all the formatting rules (preserving markers, links, and placeholders exactly as specified).
CUSTÓDIO, José A. C. Defense Architecture in Colonial Brazil. Discursos fotográficos, Londrina, v.7, n.10, p.173-194, Jan./Jun. 2011
OLIVEIRA, Myriam A. R. JUSTINIANO, Fátima. Baroque and Rococo in the Churches of Rio de Janeiro. Brasília, DF: IPHAN / Programa Monumenta, 2008.
PEREIRA, Sónia Gomes. A Santa Casa da Misericórdia do Rio de Janeiro: two crucial moments of Brazilian architecture – the colonial work and the 19th-century renovation. In: FERREIRA-ALVES, Natália M. A Misericórdia de Vila Real e as Misericórdias no Mundo de Expressão Portuguesa. CEPESE – Centro De Estudos Da População, Economia e Sociedade, 2011.