Local behavior of Hodge structures at infinity