add_shortcode('agenda_secours', function() {
    $file = '/var/www/html/wp-content/uploads/agenda.ics';
    $content = file_get_contents($file);
    $data_uri = 'data:text/calendar;base64,' . base64_encode($content);

    // On force un affichage ultra-minimaliste : seulement les 5 prochains événements
    return do_shortcode('[ics_calendar url="' . $data_uri . '" view="list" count="5" limit="5"]');
});