Não estava conseguindo deixar azul novamente com o código da aula
adicionei mais um "remove" no "if" e funcionou
botao.classList.remove('dashboard__item__button--return');
if (imagem.classList.contains('dashboard__item__img--rented')) {
imagem.classList.remove('dashboard__item__img--rented');
botao.classList.remove('dashboard__item__button--rented');
botao.classList.remove('dashboard__item__button--return'); // ← faltava isso
botao.textContent = 'Alugar';
}