<?xml version="1.0" encoding="UTF-8"?>
<!--
  Sitemap Cortexia — 6 URLs canoniques uniquement.

  Les variantes ?lang=XX ne sont PAS listées comme URL propre : elles servent le même
  contenu et diluaient le budget de crawl (42 URLs pour 6 pages réelles → 39
  pages "Détectée, actuellement non indexée" dans Search Console).
  Les langues sont déclarées via xhtml:link hreflang, ce qui est la méthode
  recommandée par Google pour signaler les alternatives linguistiques.

  Dernière mise à jour : 2026-08-04
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">

  <!-- ACCUEIL -->
  <url>
    <loc>https://www.cortexia.me/</loc>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://www.cortexia.me/"/>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://www.cortexia.me/"/>
    <xhtml:link rel="alternate" hreflang="en"        href="https://www.cortexia.me/?lang=en"/>
    <xhtml:link rel="alternate" hreflang="es"        href="https://www.cortexia.me/?lang=es"/>
    <xhtml:link rel="alternate" hreflang="de"        href="https://www.cortexia.me/?lang=de"/>
    <xhtml:link rel="alternate" hreflang="it"        href="https://www.cortexia.me/?lang=it"/>
    <xhtml:link rel="alternate" hreflang="pt"        href="https://www.cortexia.me/?lang=pt"/>
    <xhtml:link rel="alternate" hreflang="ar"        href="https://www.cortexia.me/?lang=ar"/>
    <lastmod>2026-08-04</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- ENTRAÎNEMENT COGNITIF -->
  <url>
    <loc>https://www.cortexia.me/training</loc>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://www.cortexia.me/training"/>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://www.cortexia.me/training"/>
    <xhtml:link rel="alternate" hreflang="en"        href="https://www.cortexia.me/training?lang=en"/>
    <xhtml:link rel="alternate" hreflang="es"        href="https://www.cortexia.me/training?lang=es"/>
    <xhtml:link rel="alternate" hreflang="de"        href="https://www.cortexia.me/training?lang=de"/>
    <xhtml:link rel="alternate" hreflang="it"        href="https://www.cortexia.me/training?lang=it"/>
    <xhtml:link rel="alternate" hreflang="pt"        href="https://www.cortexia.me/training?lang=pt"/>
    <xhtml:link rel="alternate" hreflang="ar"        href="https://www.cortexia.me/training?lang=ar"/>
    <lastmod>2026-08-04</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- LEADERBOARD -->
  <url>
    <loc>https://www.cortexia.me/leaderboard</loc>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://www.cortexia.me/leaderboard"/>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://www.cortexia.me/leaderboard"/>
    <xhtml:link rel="alternate" hreflang="en"        href="https://www.cortexia.me/leaderboard?lang=en"/>
    <xhtml:link rel="alternate" hreflang="es"        href="https://www.cortexia.me/leaderboard?lang=es"/>
    <xhtml:link rel="alternate" hreflang="de"        href="https://www.cortexia.me/leaderboard?lang=de"/>
    <xhtml:link rel="alternate" hreflang="it"        href="https://www.cortexia.me/leaderboard?lang=it"/>
    <xhtml:link rel="alternate" hreflang="pt"        href="https://www.cortexia.me/leaderboard?lang=pt"/>
    <xhtml:link rel="alternate" hreflang="ar"        href="https://www.cortexia.me/leaderboard?lang=ar"/>
    <lastmod>2026-08-04</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- CENTRE D'AIDE (inclut le formulaire de contact) -->
  <url>
    <loc>https://www.cortexia.me/help</loc>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://www.cortexia.me/help"/>
    <xhtml:link rel="alternate" hreflang="fr"        href="https://www.cortexia.me/help"/>
    <xhtml:link rel="alternate" hreflang="en"        href="https://www.cortexia.me/help?lang=en"/>
    <xhtml:link rel="alternate" hreflang="es"        href="https://www.cortexia.me/help?lang=es"/>
    <xhtml:link rel="alternate" hreflang="de"        href="https://www.cortexia.me/help?lang=de"/>
    <xhtml:link rel="alternate" hreflang="it"        href="https://www.cortexia.me/help?lang=it"/>
    <xhtml:link rel="alternate" hreflang="pt"        href="https://www.cortexia.me/help?lang=pt"/>
    <xhtml:link rel="alternate" hreflang="ar"        href="https://www.cortexia.me/help?lang=ar"/>
    <lastmod>2026-08-04</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.5</priority>
  </url>

  <!-- MENTIONS LÉGALES -->
  <url>
    <loc>https://www.cortexia.me/privacy</loc>
    <lastmod>2026-04-12</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <url>
    <loc>https://www.cortexia.me/terms</loc>
    <lastmod>2026-04-12</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.3</priority>
  </url>

  <!-- Pages exclues (espace privé, authentification) :
       login, register, dashboard, profile, score, badges, weaknesses,
       forgot_password, reset_password
       → non listées, bloquées dans robots.txt ET en noindex dans leur <head> -->

</urlset>
