# ✅ Vérification humaine — `dev-verif-11` (Self-host police)

**Branche :** `dev-verif-11` (depuis `dev`)
**Lot :** Police auto-hébergée (`next/font/local`)
**Date :** 2026-06-01

## Objet

Remplacer `next/font/google` (Inter) par `next/font/local` servant un WOFF2 auto-hébergé.
**Double bénéfice :**
1. **Élimine la dépendance Google Fonts au BUILD** — c'était la source des builds intermittents (`Failed to fetch Inter from Google Fonts`) rencontrés tout au long de l'audit.
2. Satisfait l'item spec **performance / font-loading** (self-host WOFF2 + `font-display: swap`).

## Changements (fichiers)

- `package.json` / `pnpm-lock.yaml` — ajout `@fontsource-variable/inter ^5.2.8` (installé via **`sfw pnpm add`** / Socket Firewall).
- `app/layout.tsx` :
  ```ts
  import localFont from "next/font/local";
  const inter = localFont({
    src: "../node_modules/@fontsource-variable/inter/files/inter-latin-wght-normal.woff2",
    display: "swap",
    weight: "100 900",
    style: "normal",
  });
  ```
  (`inter.className` sur `<body>` inchangé.)

## Preuves

```
pnpm build (sandbox NORMAL, SANS réseau) : exit 0  ✅  ← plus de fetch Google Fonts
home : aucune ref fonts.googleapis / fonts.gstatic       ✅
home : @font-face servi depuis /_next/static/media/*.woff2 (self-host)  ✅
home : woff2 préchargé dans <head>                        ✅
body class : "antialiased inter_…__className"             ✅
```

## ⚠️ À confirmer

- [ ] **Rendu visuel** : vérifier que le texte s'affiche bien en Inter (poids variable 100–900) — aucune régression typographique.
- [ ] Subset **latin** uniquement (cohérent avec l'ancien `subsets: ["latin"]`). Si du contenu nécessite latin-ext (caractères accentués rares), ajouter le fichier `inter-latin-ext-wght-normal.woff2`.

## Décision

- [ ] **Lot validé** → mergeable. (Bonus : les builds CI ne dépendront plus de Google Fonts.)
- [ ] Corrections demandées :

> _Notes du vérificateur :_
