A triumphant night for north Africa ended on Saturday with hosts Morocco and Algeria reaching the Women's Africa of Nations (WAFCON) semi-finals and the 2027 World Cup in Brazil.