I watched this movie during my childhood. It was a sci-fi movie and the environment is like a cyberpunk game or the Blade Runner movies. The sky was pitch-black all the time because the ozone layer had depleted and scientists did something to make the world pitch-black, like it was night all the time.
The movie is not Habitat and definitely from between the 80s and 90s. The main characters don't believe the scientists or politicians, so they try to reach somewhere to see the world in daytime.
IIRC, at the end of the movie, they finally get somewhere - like changing layers - and see the Sun. Also not sure, but around the ending, there is something like a rocket landing or a launch moment, like NASA's.
Dark City looks so similar and I got really surprised because Jennifer Connelly is in the movie, but I think this is not the one I am looking for. In my movie, they somehow managed to get somewhere to see the Sun, at least, but they were in some room with glasses and watching the rocket launching, I believe.