Catholics were from the very beginning saying that most of the Bible is a mystery that can't be understood by human minds, you need the priesthood to tell you what it really means, and reading it yourself would just confuse you and lead you to wrong conclusions. A few centuries ago, the Bible was actually on the index of forbidden books. I'm not kidding you.
And one of the earliest catholic saints was St Augustine Of Hippo, who wrote that only an idiot would take the Genesis literally. In fact, he made a whole book out of that. He got sanctified for his efforts.
Of course this created the situation where Vatican could invent any doctrine it wanted, and not care less about whether the Bible says so or says the exact opposite. The Purgatory or the wholesale-scale sale of indulgences are probably the most widely quoted examples of this.
The idea of taking the Bible literally is a fundamentally protestant position. In fact, that's how protestantism got started in the first place and that was its thrust: screw the Pope, if it's not in the Bible, it's just Bull
Basically you can't paint all christians with the same brush. Especially if you go debunking it, it really helps to know what you debunk. Because trying to treat catholicism as biblical literalism isn't really going to get you anywere. Those guys don't believe in their own bible (or in its exact literal text) to start with.
Still illogical, yes, but it's a very different kind of illogical.
But to get back to the actual topic, the catholic church has coexisted pretty well with the Aristotelian "science" before, and in fact endorsed it. Then eventually, during the counter-reformation, it learned to live with the normal science too. The Jesuits for example are pretty much a science order sponsored by the Vatican. Those guys run universities and research labs. And, yes, teach evolution.