<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">

  <!-- ════════════════════════════════════════════════════════════════════
       Sitemap Spuma — uniquement les VRAIES URLs HTML servies par le serveur.

       ⚠️ Google ignore les fragments d'URL (#) depuis 2015. Les routes SPA
       internes (#recette, #bibliotheque, #conseils, #huile/X…) ne sont PAS
       listées ici car Google les voit toutes comme étant la même URL canonique
       (la home). Les inclure pollue le sitemap et déclenche des rapports
       "Détectée non indexée" / "Autre page avec balise canonique correcte"
       sans aucun bénéfice SEO.

       Pour qu'une "sous-page" SPA soit indexée séparément, il faudrait soit :
       (a) un router HTML5 avec vraies URLs (/recette, /bibliotheque…)
       (b) du pre-rendering (Vite SSG) au build pour servir le HTML pré-rendu

       Chantier reporté — voir backlog Second_Cerveau.
       ════════════════════════════════════════════════════════════════════ -->

  <!-- Page principale — multilingue via hreflang -->
  <url>
    <loc>https://spuma.app/</loc>
    <xhtml:link rel="alternate" hreflang="fr"         href="https://spuma.app/"/>
    <xhtml:link rel="alternate" hreflang="en"         href="https://spuma.app/en/"/>
    <xhtml:link rel="alternate" hreflang="es"         href="https://spuma.app/es/"/>
    <xhtml:link rel="alternate" hreflang="it"         href="https://spuma.app/it/"/>
    <xhtml:link rel="alternate" hreflang="de"         href="https://spuma.app/de/"/>
    <xhtml:link rel="alternate" hreflang="x-default"  href="https://spuma.app/"/>
    <lastmod>2026-05-20</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    <image:image>
      <image:loc>https://spuma.app/og-image.png</image:loc>
      <image:title>Spuma — Studio de formulation savon saponifié à froid</image:title>
    </image:image>
  </url>

  <!-- Pages légales statiques (HTML servi directement) -->
  <url>
    <loc>https://spuma.app/legal/cgu.html</loc>
    <lastmod>2026-05-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://spuma.app/legal/confidentialite.html</loc>
    <lastmod>2026-05-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://spuma.app/legal/cookies.html</loc>
    <lastmod>2026-05-20</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

</urlset>
