;(function() { window.createMeasureObserver = (measureName) => { var markPrefix = `_uol-measure-${measureName}-${new Date().getTime()}`; performance.mark(`${markPrefix}-start`); return { end: function() { performance.mark(`${markPrefix}-end`); performance.measure(`uol-measure-${measureName}`, `${markPrefix}-start`, `${markPrefix}-end`); performance.clearMarks(`${markPrefix}-start`); performance.clearMarks(`${markPrefix}-end`); } } }; /** * Gerenciador de eventos */ window.gevent = { stack: [], RUN_ONCE: true, on: function(name, callback, once) { this.stack.push([name, callback, !!once]); }, emit: function(name, args) { for (var i = this.stack.length, item; i--;) { item = this.stack[i]; if (item[0] === name) { item[1](args); if (item[2]) { this.stack.splice(i, 1); } } } } }; var runningSearch = false; var hadAnEvent = true; var elementsToWatch = window.elementsToWatch = new Map(); var innerHeight = window.innerHeight; // timestamp da última rodada do requestAnimationFrame // É usado para limitar a procura por elementos visíveis. var lastAnimationTS = 0; // verifica se elemento está no viewport do usuário var isElementInViewport = function(el) { var rect = el.getBoundingClientRect(); var clientHeight = window.innerHeight || document.documentElement.clientHeight; // renderizando antes, evitando troca de conteúdo visível no chartbeat-related-content if(el.className.includes('related-content-front')) return true; // garante que usa ao mínimo 280px de margem para fazer o lazyload var margin = clientHeight + Math.max(280, clientHeight * 0.2); // se a base do componente está acima da altura da tela do usuário, está oculto if(rect.bottom < 0 && rect.bottom > margin * -1) { return false; } // se o topo do elemento está abaixo da altura da tela do usuário, está oculto if(rect.top > margin) { return false; } // se a posição do topo é negativa, verifica se a altura dele ainda // compensa o que já foi scrollado if(rect.top < 0 && rect.height + rect.top < 0) { return false; } return true; }; var asynxNextFreeTime = () => { return new Promise((resolve) => { if(window.requestIdleCallback) { window.requestIdleCallback(resolve, { timeout: 5000, }); } else { window.requestAnimationFrame(resolve); } }); }; var asyncValidateIfElIsInViewPort = function(promise, el) { return promise.then(() => { if(el) { if(isElementInViewport(el) == true) { const cb = elementsToWatch.get(el); // remove da lista para não ser disparado novamente elementsToWatch.delete(el); cb(); } } }).then(asynxNextFreeTime); }; // inicia o fluxo de procura de elementos procurados var look = function() { if(window.requestIdleCallback) { window.requestIdleCallback(findByVisibleElements, { timeout: 5000, }); } else { window.requestAnimationFrame(findByVisibleElements); } }; var findByVisibleElements = function(ts) { var elapsedSinceLast = ts - lastAnimationTS; // se não teve nenhum evento que possa alterar a página if(hadAnEvent == false) { return look(); } if(elementsToWatch.size == 0) { return look(); } if(runningSearch == true) { return look(); } // procura por elementos visíveis apenas 5x/seg if(elapsedSinceLast < 1000/5) { return look(); } // atualiza o último ts lastAnimationTS = ts; // reseta status de scroll para não entrar novamente aqui hadAnEvent = false; // indica que está rodando a procura por elementos no viewport runningSearch = true; const done = Array.from(elementsToWatch.keys()).reduce(asyncValidateIfElIsInViewPort, Promise.resolve()); // obtém todos os elementos que podem ter view contabilizados //elementsToWatch.forEach(function(cb, el) { // if(isElementInViewport(el) == true) { // // remove da lista para não ser disparado novamente // elementsToWatch.delete(el); // cb(el); // } //}); done.then(function() { runningSearch = false; }); // reinicia o fluxo de procura look(); }; /** * Quando o elemento `el` entrar no viewport (-20%), cb será disparado. */ window.lazyload = function(el, cb) { if(el.nodeType != Node.ELEMENT_NODE) { throw new Error("element parameter should be a Element Node"); } if(typeof cb !== 'function') { throw new Error("callback parameter should be a Function"); } elementsToWatch.set(el, cb); } var setEvent = function() { hadAnEvent = true; }; window.addEventListener('scroll', setEvent, { capture: true, ive: true }); window.addEventListener('click', setEvent, { ive: true }); window.addEventListener('resize', setEvent, { ive: true }); window.addEventListener('load', setEvent, { once: true, ive: true }); window.addEventListener('DOMContentLoaded', setEvent, { once: true, ive: true }); window.gevent.on('allJSLoadedAndCreated', setEvent, window.gevent.RUN_ONCE); // inicia a validação look(); })();
  • AssineUOL
Logo Pagbenk Seu dinheiro rende mais
Topo

Preço de imóveis teve em 2021 maior alta em 7 anos, aponta índice FipeZap

Alta em 2021 foi de 5,29% - Shutterstock
Alta em 2021 foi de 5,29%
Imagem: Shutterstock

Colaboração para o UOL, no Rio

05/01/2022 10h35Atualizada em 05/01/2022 17h04

O preço dos imóveis residenciais no país teve alta de 5,29% em 2021, de acordo com o índice FipeZap. É o maior reajuste desde 2014, quando o aumento foi de 6,70%.

A pesquisa realizada pela Fipe (Fundação Instituto de Pesquisas Econômicas) leva em conta o preço médio de apartamentos prontos em 50 cidades brasileiras com base em anúncios da Internet.

A alta em 2021 foi registrada em 47 das 50 cidades monitoradas. Na maioria delas, no entanto, o aumento foi inferior à inflação.

As maiores altas no ano

  1. Itajaí (SC): +23,77%
  2. Itapema (SC): +23,57%
  3. Balneário Camboriú (SC): +21,21%
  4. Vila Velha (ES): +20,24%
  5. Vitória (ES): +19,86%
  6. Maceió (AL): +18,50%
  7. São José (SC): +18,16%
  8. Florianópolis (SC): +15,74%
  9. Curitiba (PR): +15,41%
  10. Goiânia (GO): +13,70%

Em dezembro, o índice teve alta de 0,48%, após aumento de 0,53% em novembro. Os maiores reajustes no último mês ocorreram em:

  1. Balneário Camboriú (SC): +2,94%
  2. São José (SC): +2,70%
  3. São José dos Campos (SP): +2,55%
  4. Vila Velha (ES): +2,36%
  5. Maceió (AL): +2,17%
  6. Pelotas (RS): +2,02%
  7. Florianópolis (SC): +1,56%
  8. Itapema (SC): +1,29%
  9. Curitiba (PR): +1,25%
  10. Goiânia (GO): +1,13%

Já o preço médio do metro quadrado com base nos valores anunciados em dezembro ficou em R$ 7.874.

Oito cidades ficaram acima desse valor, com São Paulo e Rio de Janeiro encabeçando a lista do metro quadrado mais caro do país.

Valor por metro quadrado

  1. São Paulo (SP): R$ 9.708
  2. Rio de Janeiro (RJ): R$ 9.650
  3. Balneário Camboriú (SC): R$ 9.358
  4. Itapema (SC): R$ 8.856
  5. Brasília (DF): R$ 8.788
  6. Florianópolis (SC): R$ 8.582
  7. Vitória (ES): R$ 8.562
  8. Itajaí (SC): R$ 7.909