Dynamical phase transition in the first-passage probability of a Brownian motion.