With that much Int, I would be tempted to go Wizard. A fun gestalt combination is Swashbuckler/Wizard. With gestalt, it is a good idea for one of your classes to give you access to magic; doing so really expands your options.
If your DM will allow ToB classes, look at Wizard/Swordsage or...