What is the specific #if defined(ARDUINO_ARCH_ESP32) for ESP32-S2, ESP32-S3, ESP32-C3?

I can’t reproduce that at all. When I add a snippet like

#include <Arduino.h>

#if CONFIG_IDF_TARGET_ESP32C3
    #warning "Compiling for ESP32-C3"
#elif CONFIG_IDF_TARGET_ESP32S2
    #warning "Compiling for ESP32-S2"
#elif CONFIG_IDF_TARGET_ESP32S3
    #warning "Compiling for ESP32-S3"
#elif CONFIG_IDF_TARGET_ESP32
    #warning "Compiling for ESP32"
#else
  #error "Unrecognized ESP."
#endif

it’s clearly showing me only one bock activated

and that’s with

[env:lolin_s2_mini]
platform = espressif32
board = lolin_s2_mini
framework = arduino

Can you add this snippet in your code somewhere and check if it triggers correctly in the build warning messages?

Are you sure you have put an #include <Arduino.h> before accessing those macros?