According to the American ISAF (International Shark Attack File), there have been no reported unprovoked shark attacks in Portugal since 1847 (which is when they started collecting data). So the chances are extremely low and you don’t have to worry about that.