The Church responding with 'you can no longer get married and shall have no heirs' was a very serious FAFO moment. Just think about how huge a deal that is, if you can even imagine it! The Church used to make much more effort to abide their values, very much in the way that e.g. Islam does today. The centralized nature of the Catholic Church means this (the pedo stuff) could easily be rectified by a single person, the Pope, but their failure to do so is also what I was alluding to with the dysfunction in the College of Cardinals (which is whom elects the Pope).
I think they got caught with their pants down due to progress in communications. there was a time they could suppress information and get away with it. they didn't realise soon enough that the world had changed. in fact secularism helped give a refuge to the victims - if the highest law of the land was the church, then the old ways would have worked just fine.
In any case I suppose now we're looping back around to the original point that we started bickering on. I think the problem is that society has become broadly more amoral, including religious leaders. If one cannot lead by example, then one cannot lead. I think this is the exact same reason that government systems are also failing. It'll be interesting to see where and what this culminates in, as I expect it will happen without our lifetimes.
As for the Church, it was (and remains) never too late to pull a Hollywood. Hollywood had been making not entirely subtle jokes about Ratner, Weinstein, and all of these other guys for decades. Everybody in Hollywood knew they were sex abusers, but it's only when it became clear that they were beyond the point of no return that Hollywood was like 'oh my gosh, that's just so unacceptable, I can't believe you'd do that, away with thee.' But of course doing that would be inconvenient, so again - it'd never happen, certainly not with the current leadership nor cardinals that elected them.