Increased public spending and low unemployment rates are key factors contributing to Brazil's economic resilience despite high borrowing costs.