/* ==========================================================================
   Atik Design — feuille de style partagée du site (lot 2 de la refonte, 15 nov. 2026)
   Source : outils/gabarit/atik.css. Copiée dans le site par « node outils/gabarit/construire.mjs »
   (assets/atik.css) : ne pas modifier la copie du site, elle est écrasée à chaque construction.
   Tirée de la maquette claire validée par Vincent le 15 nov. 2026 (maquettes/atik.css).
   Les jetons sombres restent disponibles (<html data-theme="sombre">), inutilisés.
   Aucun JavaScript requis. Aucune animation d’apparition : le texte est toujours visible.
   ========================================================================== */

/* ---------- 0. Polices hébergées sur le site (SIL Open Font License 1.1, licences dans assets/fonts/) ----------
   Polices variables, sous-ensemble latin de Google Fonts (couvre le français, l’anglais, l’espagnol,
   l’allemand et le portugais). DM Sans v17, Outfit v15, téléchargées le 15 nov. 2026. */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

/* ---------- 1. Jetons ---------- */
:root {
  /* Les trois couleurs du logo */
  --logo-orange: #f97316;
  --logo-bleu: #6366f1;
  --logo-rose: #f472c6;
  /* Les trois couleurs du logo (A orange, recouvrement rose, D bleu-violet), sans jaune ni vert (demande de Vincent, 15 nov. 2026). */
  --trait-logo: linear-gradient(90deg, #f97316 0%, #f472c6 50%, #6366f1 100%);

  /* Direction claire */
  --fond: #faf8f4;
  --fond-2: #f2efe8;
  --surface: #ffffff;
  --encre: #171a2e;      /* titres */
  --texte: #2d3148;      /* texte courant */
  --discret: #5c6178;    /* texte secondaire (contraste AA sur --fond) */
  --filet: #e3dfd5;
  --ombre: 0 1px 2px rgba(23, 26, 46, .05), 0 10px 28px rgba(23, 26, 46, .07);
  --ombre-survol: 0 2px 4px rgba(23, 26, 46, .06), 0 18px 40px rgba(23, 26, 46, .12);
  --entete: rgba(250, 248, 244, .88);
  --lien: #3f3fd1;

  /* Une couleur d'accent par famille, reprise des fonds d'icones par domaine (fond-v5-atik.md) :
     travaux vert, apprendre (LexA+) violet, mobilite (Transports) bleu, loisirs magenta (fond Tropical), jeux orange.
     Ordre : texte / fond teinte / plein. */
  --travaux: #1a6e3f;      --travaux-teinte: #e4f3e9;     --travaux-plein: #2f9e5b;
  --apprendre: #76309a;    --apprendre-teinte: #f3e9fa;   --apprendre-plein: #9447b8;
  --mobilite: #0b5f8f;     --mobilite-teinte: #e3f1f9;    --mobilite-plein: #1b86b9;
  --loisirs: #b0235a;      --loisirs-teinte: #fde7ef;     --loisirs-plein: #e8336e;
  --jeux: #b8400d;         --jeux-teinte: #fdeedf;        --jeux-plein: #f97316;

  /* Accent courant (remplacé par .famille-*) */
  --accent: var(--lien);
  --accent-teinte: #ecebfb;
  --accent-plein: var(--logo-bleu);

  --rayon: 16px;
  --rayon-petit: 10px;
  --largeur: 1120px;
  --marge: 24px;
  --police: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --police-titre: 'Outfit', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
}

[data-theme="sombre"] {
  --fond: #0b0f1d;
  --fond-2: #0f1427;
  --surface: #151b31;
  --encre: #f5f6fb;
  --texte: #d6d9e7;
  --discret: #9ba2ba;
  --filet: #262d49;
  --ombre: 0 1px 0 rgba(255, 255, 255, .03) inset;
  --ombre-survol: 0 18px 40px rgba(0, 0, 0, .45);
  --entete: rgba(11, 15, 29, .86);
  --lien: #a5b0ff;

  --travaux: #62cf8c;      --travaux-teinte: rgba(47, 158, 91, .15);     --travaux-plein: #2f9e5b;
  --apprendre: #c9a0ec;    --apprendre-teinte: rgba(148, 71, 184, .18);  --apprendre-plein: #a55bd0;
  --mobilite: #5cc4f6;     --mobilite-teinte: rgba(27, 134, 185, .16);   --mobilite-plein: #1b86b9;
  --loisirs: #f58fb3;      --loisirs-teinte: rgba(232, 51, 110, .15);    --loisirs-plein: #e8336e;
  --jeux: #fb9a4b;        --jeux-teinte: rgba(249, 115, 22, .13);       --jeux-plein: #f97316;

  --accent-teinte: rgba(99, 102, 241, .16);
  color-scheme: dark;
}

.famille-travaux   { --accent: var(--travaux);   --accent-teinte: var(--travaux-teinte);   --accent-plein: var(--travaux-plein); }
.famille-apprendre { --accent: var(--apprendre); --accent-teinte: var(--apprendre-teinte); --accent-plein: var(--apprendre-plein); }
.famille-mobilite  { --accent: var(--mobilite);  --accent-teinte: var(--mobilite-teinte);  --accent-plein: var(--mobilite-plein); }
.famille-loisirs   { --accent: var(--loisirs);   --accent-teinte: var(--loisirs-teinte);   --accent-plein: var(--loisirs-plein); }
.famille-jeux      { --accent: var(--jeux);      --accent-teinte: var(--jeux-teinte);      --accent-plein: var(--jeux-plein); }

/* Fond d'icone de chaque famille (domaines de fond-v5-atik.md, demande d'Alexandra du 15 nov. 2026) : tuiles, bandeaux
   des familles de l'accueil, en-tete de /lexa et /jeux. Images : outils/gabarit/faire-fonds.py. */
.famille-travaux   { --fond-famille: url("/assets/img/fonds/travaux.webp"); }
.famille-apprendre { --fond-famille: url("/assets/img/fonds/apprendre.webp"); }
.famille-mobilite  { --fond-famille: url("/assets/img/fonds/mobilite.webp"); }
.famille-loisirs   { --fond-famille: url("/assets/img/fonds/loisirs.webp"); }
.famille-jeux      { --fond-famille: url("/assets/img/fonds/jeux.webp"); }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--police-titre); color: var(--encre); line-height: 1.15; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
p { margin: 0; }
a { color: var(--lien); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--logo-bleu); outline-offset: 3px; border-radius: 6px; }

.contenant { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.section { padding: 72px 0; }
.section + .section { padding-top: 0; }
.section-bande { background: var(--fond-2); padding: 72px 0; border-block: 1px solid var(--filet); }
.section-bande + .section { padding-top: 72px; }
.sur-titre {
  font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.chapeau { font-size: 19px; color: var(--discret); max-width: 62ch; margin-top: 12px; }
.lien-fleche { font-weight: 600; text-decoration: none; color: var(--accent); white-space: nowrap; }
.lien-fleche::after { content: ' →'; }
.lien-fleche:hover { text-decoration: underline; }
.aller-au-contenu { position: absolute; left: -9999px; }
.aller-au-contenu:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 10px 16px; border-radius: 8px; }

/* ---------- 4. En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: var(--entete);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--filet);
}
.entete::before { content: ''; display: block; height: 3px; background: var(--trait-logo); }
.entete .contenant { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.marque { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); flex-shrink: 0; }
.marque img { width: 38px; height: 38px; }
.marque span { font-family: var(--police-titre); font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.nav { margin-left: auto; min-width: 0; }
/* Selecteur de langue : de simples liens, une entree par langue ou la page existe. */
.langues { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--filet); border-radius: 999px; background: var(--surface); flex-shrink: 0; }
.langues a, .langues span { display: block; min-width: 38px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; color: var(--discret); letter-spacing: .03em; }
.langues a:hover { color: var(--encre); background: var(--fond-2); }
.langues [aria-current] { background: var(--encre); color: var(--fond); }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--texte); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
}
.nav a:hover { background: var(--fond-2); color: var(--encre); }
.nav a[aria-current="page"] { color: var(--encre); font-weight: 700; }
.nav .separe { margin-left: 10px; padding-left: 14px; border-left: 1px solid var(--filet); }

/* ---------- 5. Haut de l'accueil ---------- */
.hero { padding: 72px 0 56px; }
.hero .etiquette {
  display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--discret);
  border: 1px solid var(--filet); background: var(--surface); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 { max-width: 19ch; }
.hero h1 em { font-style: normal; background: var(--trait-logo); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .chapeau { font-size: 20px; margin-top: 18px; }

.tuiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 44px; }
/* Tuile sur le fond d'icone de sa famille, sous un voile sombre (texte blanc au contraste AA meme sur le fond clair des Loisirs). */
.tuile {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: 20px 18px 18px; border-radius: var(--rayon);
  background: linear-gradient(180deg, rgba(8, 6, 22, .50), rgba(8, 6, 22, .70)), var(--fond-famille, linear-gradient(#1b1640, #1b1640)) center / cover;
  border: 1px solid rgba(255, 255, 255, .10); box-shadow: var(--ombre);
  text-decoration: none; color: #fff;
}
.tuile h2 { font-size: 20px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.tuile p { font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .9); flex-grow: 1; }
.tuile .icones { display: flex; margin-top: 8px; }
.tuile .icones img { width: 36px; height: 36px; border-radius: 9px; border: 2px solid rgba(255, 255, 255, .85); margin-right: -8px; background: #120d2a; }
.tuile .suite { font-size: 14px; font-weight: 700; color: #fff; margin-top: 10px; }
.tuile .suite::after { content: ' →'; }
.tuile:hover { border-color: rgba(255, 255, 255, .55); box-shadow: var(--ombre-survol); }

/* Bandeau sur le fond d'icone de la famille : en-tete des familles de l'accueil, en-tete de /lexa et /jeux. */
.bandeau {
  border-radius: var(--rayon); box-shadow: var(--ombre); color: #fff;
  background: linear-gradient(90deg, rgba(8, 6, 22, .62), rgba(8, 6, 22, .50)), var(--fond-famille, linear-gradient(#1b1640, #1b1640)) center 30% / cover;
}
.bandeau h1, .bandeau h2 { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.bandeau .chapeau { color: rgba(255, 255, 255, .92); }
.bandeau .lien-fleche { color: #fff; }
.hero-bandeau { padding: 28px 0 44px; }
.hero-bandeau .bandeau { padding: 48px 44px; }
.hero-bandeau .bandeau .chapeau { max-width: 64ch; }

/* ---------- 6. Familles et cartes d'app ---------- */
.tete-famille { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.tete-famille h2.avec-barre { position: relative; padding-left: 18px; }
.tete-famille h2.avec-barre::before { content: ''; position: absolute; left: 0; top: .12em; bottom: .12em; width: 6px; border-radius: 3px; background: var(--accent-plein); }
.tete-famille .chapeau { font-size: 17px; margin-top: 8px; }
.tete-famille h2.avec-barre + .chapeau { padding-left: 18px; }
.tete-famille.bandeau { align-items: center; padding: 26px 30px; margin-bottom: 26px; }
.tete-famille.bandeau h2.avec-barre { padding-left: 0; }
.tete-famille.bandeau h2.avec-barre::before { display: none; }
.tete-famille.bandeau h2.avec-barre + .chapeau { padding-left: 0; }

.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.carte {
  position: relative; display: flex; flex-direction: column;
  padding: 22px; border-radius: var(--rayon);
  background: var(--surface); border: 1px solid var(--filet); box-shadow: var(--ombre);
}
.carte-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.carte-tete img { width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; }
.carte .genre { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.carte h3 { font-size: 19px; margin-top: 2px; }
.carte h3 a { color: inherit; text-decoration: none; }
.carte h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--rayon); } /* toute la carte est cliquable */
.carte p { font-size: 15.5px; color: var(--discret); flex-grow: 1; }
.carte .badges { position: relative; z-index: 1; margin-top: 16px; min-height: 40px; }
.carte .note-langue { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--discret); border: 1px solid var(--filet); border-radius: 999px; padding: 1px 9px; margin-left: 4px; white-space: nowrap; }
.carte:hover { border-color: var(--accent); box-shadow: var(--ombre-survol); }
.carte:has(h3 a:focus-visible) { outline: 3px solid var(--logo-bleu); outline-offset: 3px; }
.carte h3 a:focus-visible { outline: none; }

/* Badges officiels d'Apple et de Google : jamais redessines, jamais deformes, 40 px de haut au minimum. */
.badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge-magasin { display: inline-block; line-height: 0; border-radius: 7px; }
.badge-magasin img { height: 40px; width: auto; }
.badges-grands { gap: 12px; }
.badges-grands .badge-magasin img { height: 52px; }
.badge-magasin:hover { opacity: .85; }
.bientot { font-size: 14px; font-weight: 600; color: var(--discret); }
.bientot::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--discret); opacity: .6; margin-right: 8px; vertical-align: 1px; }

/* ---------- 7. Guides ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: var(--rayon); background: var(--surface);
  border: 1px solid var(--filet); border-top: 4px solid var(--accent-plein); box-shadow: var(--ombre);
}
.guide .genre { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.guide h3 { font-size: 18.5px; line-height: 1.3; flex-grow: 1; }
.guide h3 a { color: inherit; text-decoration: none; }
.guide h3 a::after { content: ''; position: absolute; inset: 0; }
.guide time { font-size: 14px; color: var(--discret); }
.guide:hover { box-shadow: var(--ombre-survol); }
.guide:hover h3 a { text-decoration: underline; }
.tous-guides { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 24px; font-size: 15px; color: var(--discret); }
.tous-guides a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--filet); background: var(--surface);
  color: var(--texte); text-decoration: none; font-weight: 500;
}
.tous-guides a:hover { border-color: var(--discret); }

/* ---------- 8. Le studio ---------- */
.studio { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.studio .lignes { display: grid; gap: 14px; margin-top: 20px; font-size: 18px; }
.studio .lignes p { padding-left: 18px; border-left: 3px solid var(--filet); }
.studio .lignes p:nth-child(1) { border-color: var(--logo-orange); }
.studio .lignes p:nth-child(2) { border-color: var(--logo-bleu); }
.studio .lignes p:nth-child(3) { border-color: var(--logo-rose); }
.encart {
  padding: 26px; border-radius: var(--rayon); background: var(--surface);
  border: 1px solid var(--filet); box-shadow: var(--ombre);
}
.encart h3 { margin-bottom: 8px; }
.encart p { color: var(--discret); font-size: 15.5px; }
.encart .courriel { display: inline-block; margin-top: 14px; font-size: 18px; font-weight: 600; }
.encart .autres { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 15px; }

/* ---------- 9. Pied de page ---------- */
.pied { background: var(--fond-2); border-top: 1px solid var(--filet); padding: 56px 0 28px; font-size: 15px; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pied h2 { font-family: var(--police); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--encre); margin-bottom: 14px; }
.pied li { margin-bottom: 9px; }
.pied a { color: var(--discret); text-decoration: none; }
.pied a:hover { color: var(--encre); text-decoration: underline; }
.pied-bas {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--filet); color: var(--discret); font-size: 14px;
}
.pied-bas .marque img { width: 28px; height: 28px; }
.pied-bas .marque span { font-size: 16px; }
.marques { margin-top: 14px; font-size: 12.5px; color: var(--discret); }

/* ---------- 10. Page produit ---------- */
.fil { padding-top: 18px; font-size: 14px; color: var(--discret); }
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.fil li + li::before { content: '›'; margin-right: 6px; opacity: .7; }
.fil a { color: var(--discret); }

.hero-produit { padding: 36px 0 64px; }
.hero-produit .contenant { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.identite { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.identite img { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--ombre); }
.identite .nom { font-family: var(--police-titre); font-size: 24px; font-weight: 700; color: var(--encre); line-height: 1.2; }
.identite .famille {
  display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--accent);
  background: var(--accent-teinte); padding: 3px 10px; border-radius: 999px; text-decoration: none;
}
.hero-produit h1 { font-size: clamp(32px, 4.4vw, 50px); }
.hero-produit .chapeau { font-size: 19px; margin-top: 18px; }
.hero-produit .badges { margin-top: 28px; }
.hero-produit .precisions { margin-top: 16px; font-size: 14.5px; color: var(--discret); }
.hero-produit .precisions span + span::before { content: ' · '; }

.telephone {
  margin: 0 auto; width: min(100%, 280px); padding: 9px; border-radius: 38px;
  background: #11131c; border: 1px solid #343849;
  box-shadow: 0 24px 60px rgba(23, 26, 46, .22);
}
.telephone img { border-radius: 30px; width: 100%; }
[data-theme="sombre"] .telephone { box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.04); }

.captures { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 32px; }
.captures figure { flex: 0 1 300px; }
.captures figure { margin: 0; }
.captures .telephone { width: min(100%, 250px); padding: 7px; border-radius: 32px; }
.captures .telephone img { border-radius: 26px; }
.captures figcaption { text-align: center; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--encre); }
.captures figcaption small { display: block; font-weight: 400; color: var(--discret); font-size: 14px; }

.blocs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.bloc { padding: 22px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--filet); }
.bloc::before { content: ''; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--accent-plein); margin-bottom: 14px; }
.bloc h3 { margin-bottom: 6px; }
.bloc p { font-size: 15.5px; color: var(--discret); }

.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 32px; }
.offre { padding: 26px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--filet); }
.offre.pro { border-color: var(--accent-plein); background: linear-gradient(180deg, var(--accent-teinte), var(--surface) 55%); }
.offre h3 { font-size: 21px; }
.offre .pour { color: var(--discret); font-size: 15px; margin: 4px 0 16px; }
.offre li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15.5px; }
.offre li::before { content: ''; position: absolute; left: 4px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.offre .mentions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--filet); font-size: 13.5px; color: var(--discret); }

.reperes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.repere { padding: 16px 18px; border-radius: var(--rayon-petit); border: 1px solid var(--filet); background: var(--surface); }
.repere b { display: block; font-family: var(--police-titre); color: var(--encre); font-size: 17px; }
.repere span { font-size: 14.5px; color: var(--discret); }
.sous-section { margin-top: 48px; font-size: 24px; }
.guides-lies { margin-top: 28px; }
.section-seule { padding-top: 24px; }
.note { margin-top: 16px; font-size: 14.5px; color: var(--discret); }

.faq { max-width: 820px; margin-top: 28px; border-top: 1px solid var(--filet); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--police-titre); font-size: 18.5px; font-weight: 600; color: var(--encre);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 40px 20px 0; color: var(--texte); }

.voisines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.voisine {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--rayon-petit);
  border: 1px solid var(--filet); background: var(--surface); text-decoration: none; color: var(--texte);
}
.voisine img { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.voisine b { display: block; color: var(--encre); font-size: 15.5px; line-height: 1.25; }
.voisine span { font-size: 13.5px; color: var(--discret); line-height: 1.3; display: block; }
.voisine:hover { border-color: var(--accent); }

.confiance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.confiance .encart p + p { margin-top: 10px; }

.appel {
  border-radius: 24px; padding: 48px 32px; text-align: center;
  background: var(--accent-teinte); border: 1px solid var(--filet);
}
.appel p { color: var(--texte); max-width: 56ch; margin: 12px auto 0; }
.appel .badges { justify-content: center; margin-top: 26px; }

/* ---------- 11. Mouvement : seulement si la personne ne l'a pas réduit ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .carte, .guide, .tuile, .voisine, .badge-magasin, .nav a, .langues a { transition: opacity .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease; }
  .carte:hover, .guide:hover { transform: translateY(-2px); }
}

/* ---------- 12. Écrans moyens et téléphones ---------- */
/* Cinq tuiles : une rangée de cinq, puis 3 + 2, puis 2 + 2 + 1 (la dernière sur toute la largeur). */
@media (max-width: 1100px) {
  .tuiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .guides { grid-template-columns: 1fr; }
  .studio { grid-template-columns: 1fr; }
  .pied-colonnes { grid-template-columns: repeat(2, 1fr); }
  .blocs { grid-template-columns: repeat(2, 1fr); }
  .reperes, .voisines { grid-template-columns: repeat(2, 1fr); }
  .confiance { grid-template-columns: 1fr; }
  .hero-produit .contenant { grid-template-columns: 1fr; gap: 40px; }
  /* Le menu devient une rangée qui défile : tous les liens restent visibles, sans JavaScript. */
  .entete .contenant { flex-wrap: wrap; gap: 0; padding-top: 8px; }
  .entete .marque { min-height: 44px; }
  .langues { margin-left: auto; order: 2; }
  .nav { order: 3; }
  .nav { margin-left: 0; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--marge)); padding-inline: calc(var(--marge) - 10px); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 10px 12px; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 640px) {
  :root { --marge: 18px; }
  body { font-size: 16.5px; }
  .section, .section-bande { padding: 52px 0; }
  .section-bande + .section { padding-top: 52px; }
  .hero { padding: 40px 0 36px; }
  .hero .chapeau { font-size: 18px; }
  .tuiles { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
  .tuile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tuile { padding: 16px 14px 14px; }
  .tete-famille.bandeau { padding: 20px 18px; }
  .hero-bandeau { padding: 18px 0 30px; }
  .hero-bandeau .bandeau { padding: 30px 20px; }
  .tuile h2 { font-size: 17.5px; }
  .tuile p { font-size: 14px; }
  .tuile .icones img { width: 30px; height: 30px; }
  .cartes { grid-template-columns: 1fr; }
  .blocs, .offres { grid-template-columns: 1fr; }
  .voisines { grid-template-columns: 1fr; }
  .hero-produit { padding: 24px 0 48px; }
  .identite img { width: 64px; height: 64px; border-radius: 15px; }
  /* Captures : rangée qui défile avec accroche, sans JavaScript. */
  .captures {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--marge)); padding: 4px var(--marge) 12px;
  }
  .captures figure { flex: 0 0 68%; scroll-snap-align: center; }
  .appel { padding: 36px 20px; border-radius: 18px; }
  .pied-colonnes { gap: 28px 20px; }
}

/* ---------- 13. Lot 3 : accueil et pages de confiance ---------- */
.ancre { display: block; height: 0; }
.section + .ancre + .section { padding-top: 0; } /* une ancre entre deux sections ne change pas l'espacement */
.prose { max-width: 70ch; }
.prose p + p { margin-top: 14px; }
.prose a { font-weight: 600; }
.politiques-famille { margin-top: 32px; }
.politiques-famille h3 { position: relative; padding-left: 14px; font-size: 20px; }
.politiques-famille h3::before { content: ''; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 3px; background: var(--accent-plein); }
.politiques { margin-top: 14px; border-top: 1px solid var(--filet); }
.politiques li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.politiques .nom-app { font-weight: 600; color: var(--encre); }
.politiques .liens { display: flex; flex-wrap: wrap; gap: 8px; }
.politiques .liens a { display: inline-block; padding: 6px 12px; border: 1px solid var(--filet); border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.politiques .liens a:hover { border-color: var(--accent); }
.encart ul { margin-top: 10px; }
.encart li { position: relative; padding-left: 16px; margin-top: 6px; font-size: 15.5px; color: var(--discret); }
.encart li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-plein); }
@media (max-width: 640px) {
  .politiques li { flex-direction: column; align-items: flex-start; }
}

/* ---------- 14. Lot 4 : pages produit ---------- */
.hero-produit.sans-image .contenant { grid-template-columns: minmax(0, 1fr); max-width: calc(820px + 2 * var(--marge)); margin-inline: auto; }
.captures figure.paysage { grid-column: span 3; }
.captures figure.paysage img { border-radius: var(--rayon); border: 1px solid var(--filet); margin: 0 auto; }
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; padding: 22px; border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--filet); }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-teinte); color: var(--accent); font-family: var(--police-titre); font-weight: 700; margin-bottom: 12px; }
.etapes h3 { margin-bottom: 6px; }
.etapes p { font-size: 15.5px; color: var(--discret); }
.liste-points { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 28px; }
.liste-points li { position: relative; padding-left: 20px; font-size: 16px; }
.liste-points li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-plein); }
.section .prose, .section-bande .prose { margin-top: 20px; }
.images-larges { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 28px; }
.images-larges figure { margin: 0; }
.images-larges img { width: 100%; border-radius: var(--rayon); border: 1px solid var(--filet); }
.images-larges figcaption { margin-top: 10px; font-size: 14.5px; color: var(--discret); }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.video { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--encre); border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--filet); overflow: hidden; padding-bottom: 14px; }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video .titre-video { padding: 0 14px; font-weight: 600; line-height: 1.3; }
.video .voir { padding: 0 14px; font-size: 14px; font-weight: 700; color: var(--accent); }
.video .voir::after { content: ' →'; }
.video:hover { border-color: var(--accent); }
.offres-3 { grid-template-columns: repeat(3, 1fr); }
.mentions-offres { margin-top: 16px; font-size: 14px; color: var(--discret); max-width: 820px; }
.section-app .app-avec-image { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; margin-bottom: 32px; }
.section-app .app-avec-image .telephone { max-width: 300px; justify-self: center; }
.section-app h2.nom { font-size: clamp(26px, 3.4vw, 34px); }
.section-app .identite { margin-bottom: 16px; }
.section-app .identite img { width: 64px; height: 64px; border-radius: 15px; }
.section-app .genre { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.section-app .badges { margin-top: 22px; }
.section-app .captures { margin: 8px 0 28px; }
.section-app .blocs { margin-top: 0; }
.liens-legaux { margin-top: 22px; font-size: 14.5px; }
@media (max-width: 980px) {
  .offres-3 { grid-template-columns: 1fr; }
  .section-app .app-avec-image { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .captures figure.paysage { flex: 0 0 92%; }
}
.hero-produit .avis { margin-top: 18px; padding: 12px 16px; border-left: 4px solid var(--accent-plein); border-radius: 0 var(--rayon-petit) var(--rayon-petit) 0; background: var(--surface); font-size: 14.5px; color: var(--texte); max-width: 62ch; }
.section-app .precisions { margin-top: 16px; font-size: 14.5px; color: var(--discret); }
.section-app .precisions span + span::before { content: ' · '; }

/* ---------- 15. Lot 6 : blogues (articles, accueil des blogues, /guides) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenant.etroit { max-width: calc(760px + 2 * var(--marge)); }
.hero-article { padding: 32px 0 26px; }
.hero-article h1 { font-size: clamp(30px, 4.2vw, 46px); max-width: none; }
.hero-article .chapeau { font-size: 19px; }
.infos-article { margin-top: 18px; font-size: 14.5px; color: var(--discret); }

.article-corps { padding-bottom: 56px; font-size: 18px; line-height: 1.7; }
.article-corps > * + * { margin-top: 18px; }
.article-corps h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 46px; }
.article-corps h2 + * { margin-top: 14px; }
.article-corps h3 { font-size: 20px; margin-top: 30px; }
.article-corps h3 + * { margin-top: 10px; }
.article-corps ul, .article-corps ol { padding-left: 1.4em; }
.article-corps ul { list-style: disc; }
.article-corps li + li { margin-top: 6px; }
.article-corps a { font-weight: 600; }
.article-corps strong { color: var(--encre); }
.article-corps .blocs { margin-top: 18px; grid-template-columns: repeat(2, 1fr); }

/* Tableaux : défilement horizontal sur téléphone plutôt qu'un débordement de la page. */
.tableau { overflow-x: auto; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--surface); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.tableau th, .tableau td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--filet); }
.tableau th { font-weight: 700; color: var(--encre); background: var(--fond-2); }
.tableau tr:last-child td { border-bottom: 0; }

/* Encadrés : bon à savoir (accent de la famille), attention (ambre), alerte (rouge). */
.encadre { padding: 16px 20px; border-radius: var(--rayon-petit); border-left: 4px solid var(--accent-plein); background: var(--accent-teinte); font-size: 16.5px; line-height: 1.6; }
.encadre p + p, .encadre p + ul, .encadre p + ol { margin-top: 10px; }
.encadre-attention { border-left-color: #c98a00; background: #fdf5df; }
.encadre-alerte { border-left-color: #c2410c; background: #fdece4; }
[data-theme="sombre"] .encadre-attention { background: rgba(201, 138, 0, .14); }
[data-theme="sombre"] .encadre-alerte { background: rgba(194, 65, 12, .16); }

/* Appel dans le corps de l'article : bouton /go/ (iPhone → App Store, Android → Google Play, ordinateur → page). */
.appel-app { padding: 20px 22px; border-radius: var(--rayon); border: 1px solid var(--filet); border-top: 4px solid var(--accent-plein); background: var(--surface); box-shadow: var(--ombre); }
.appel-app h3 { margin: 0 0 6px; font-size: 19px; }
.appel-app p { font-size: 16.5px; }
.appel-app p + p { margin-top: 12px; }
.bouton { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent-plein); color: #fff; font-weight: 700; text-decoration: none; line-height: 1.3; }
.article-corps .bouton { color: #fff; }
.bouton:hover { filter: brightness(1.08); }

.faq-article { padding-bottom: 56px; }
.faq-article .faq { margin-top: 18px; }
.section-app-article { padding-top: 8px; }
.appel-article img { margin: 0 auto 14px; border-radius: 15px; }
.appel-article .sur-titre { margin-bottom: 4px; }
.appel-article .lien-page { margin-top: 18px; }
.sous-section { margin-top: 36px; margin-bottom: 4px; }

.guide .resume { font-size: 15px; color: var(--discret); line-height: 1.5; }
.liste-guides { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.carte-blogue .titres-blogue { margin-top: 4px; flex-grow: 1; }
.carte-blogue .titres-blogue li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.4; color: var(--discret); }
.carte-blogue .titres-blogue li + li { margin-top: 8px; }
.carte-blogue .titres-blogue li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-plein); }
.carte-blogue .nombre { margin-top: 14px; flex-grow: 0; font-size: 14px; font-weight: 700; color: var(--accent); }

/* Blogue Dyslexie : fiches d'outils, critères et stratégies repris des anciennes pages. */
.app-card, .criteria-item, .strat-card { padding: 16px 20px; border: 1px solid var(--filet); border-radius: var(--rayon-petit); background: var(--surface); }
.app-card h3, .strat-card h3 { margin-top: 0; }
.app-card p, .criteria-item p, .strat-card p { font-size: 16px; margin-top: 6px; }
.badge { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-family: var(--police); font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--accent); background: var(--accent-teinte); }
.criteria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.strat-num { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 50%; background: var(--accent-teinte); color: var(--accent); font-family: var(--police-titre); font-weight: 700; }

@media (max-width: 640px) {
  .article-corps { font-size: 17px; }
  .article-corps .blocs, .criteria-grid { grid-template-columns: 1fr; }
  .tableau table { font-size: 14.5px; }
  .tableau th, .tableau td { padding: 8px 10px; }
}
