Thanks for submitting your picture for identification Eilean Wilson of Morocco!
This little guy certainly is a beauty. He’s been identified at the Iphiclides feisthamelii, or more commonly known as the Southern Butterfly.
This butterfly can be found in Italy, Spain, Portugal, Morrocco, Algeria, and Tunisia.
Also note, he apparently loves the vibrant colors of the bougainvillea in Eilean’s garden!