Tidal sand ridges and shoal-retreat massifs