Almost all of mainland Portugal is under a yellow weather warning for extreme heat, with maximum temperatures forecast to reach 38-39°C in some regions and tropical nights expected.