Perimeter trim profile for terraces and balconies