Two penalty shootout stops from Alessandro Longoni proved decisive as Italy downed Brazil to secure their first U-17 World cup medal.