Periodic and quasi-periodic attractors for the spin–orbit evolution of Mercury with a realistic tidal torque