I did a similar route a few years ago, and had a great time. We stayed in paradores in Spain
LINK which are big state-owned hotels in interesting buildings, and not paticularly cheap, but you can get discounts for multiple stays and have such a huge breakfast and lovely evening meal so save on lunch!
We rode down on that occasion, then stayed one night each in Cervera de Pisuerga, Sos del Rey Catolico, and Arties. We then stayed in France at St Chinian, then a little place near Vichy, and then home on a long motorway day.
We've stayed in Catalunya in previous years, riding across from Bilbao. The mountain roads are just brilliant in Catalunya. We stayed in a hotel in Tortosa for three nights and did luggage free day trips from there. A brilliant way to ride some brilliant roads. Two days in Catalunya, one day riding down to Maestrazgo, which is really beautiful and must be seen.
On an earlier previous trip we stayed in Peniscola, a little south of Catalunya, and it was a nice time but pretty much a standard Med resort.
All these trips were a week or so. With two weeks to play with, you'll be able to combine the various aspects easily.
Let me know if you want more details. I'm sure I can dig out routes and photos if necessary.
We spent a night