import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
// Manrope auto-hébergée (charte §3 — jamais de CDN)
import '@fontsource/manrope/400.css';
import '@fontsource/manrope/500.css';
import '@fontsource/manrope/600.css';
import '@fontsource/manrope/700.css';
import '@/styles/app.css';
import App from '@/App';
import { applyThemeMode, getThemeMode } from '@/theme/theme';

applyThemeMode(getThemeMode());

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <App />
  </StrictMode>,
);
