Text this: Safedrive dreamer: Navigating safety–critical scenarios in autonomous driving with world models