Modeling and forecasting the Covid-19 pandemic in Brazil