As there are no night trains, if everything goes well, it takes about 36 hours from door to door, with wait times. Spending some night near the France-Spain border is needed.
The route consists in between three and five trains, usually one bus too. About half of the times there is some train delayed or cancelled, let's see this time, crossing fingers.