First of all not every NPC needs to have important information, a lot can know nothing. If they don't know, they may tell the party anything at all to get them to stop.
How your party behaves should also be reflected in their alignment. If your party are good then have a serious conversation with them out of game about their alignment rating and how they should be acting in game. If there is a good cleric or good paladin then they should, in game, be the moral leaders of the party. If they are ignored then should have agency to act accordingly.
Torture in real life is remarkably unreliable so use this as a technique: I have sent parties on many a wild goose chase based on false information provided during a torture-based interrogation session. An NPC that knows nothing will make stuff up. You, the DM, know what they have or have not heard and you can just send the party in the wrong direction, possibly allowing the big bad to achieve their goal.
Reputation matters
If the party get a reputation for bloodthirstiness then good alignment NPCs will be less inclined to want to hire them. So start having work dry up; have an NPC tell them that theretheir reputation precedes them and it isn’t a good one. I once had a party who went down this route. By the time they had run around chasing made up shadows, accusing innocents of being bad, and torturing and killing anyone that they wanted to question they found themselves declared enemies of the city and wherewere told to leave. The big bad got hold of the weapon he wanted and was too hard for them to kill. Their allies all refused to help them. Enemies fought to the death rather thenthan surrendering and insisted on having more support so the enemies they faced where larger and harder and the party cleric who’s god(god is good alignment) found she had lost some access to her powers due to her god's displeasure. Due to all of this their experience points started to dry up to.
In the end they decided as a party to work to rehabilitate themselves. They spent a long time improving there reputation and so had a real development moment.
Have the world react to character actions and behaviors
Sometimes you have to remember that this is not a computer game where the world acts in isolation theto the playersplayers' behavior. Every action has a reaction in the wider world. I run my worlds as large open world areas where stuff is constantly happening out of scene that may or may not impact the playersplayers' experience. If they start going murder hobo they find prices go up, people shut doors, in keepers suddenly have no rooms available, reputationavailable; reputation is a big thing.