/* ============================================================
   Lazy Mind / site vitrine : habillage « cran 3 ».
   Réécriture du 29/10/2026 d'après la maquette
   direction-artistique/bancs/2026-10-29_LazyMind_Site_Maquette-accueil-cran3_v1.html
   et la reprise « Tranché le 29/10 ». L'ancien fichier est gardé :
   style.css.avant-29-10-cran3.

   Ce fichier RECOPIE les valeurs du socle, il ne les importe pas :
   le site est hors du dépôt des apps, il reste autonome.

   ORDRE : 1 jetons · 2 base · 3 accessibilité · 4 trame · 5 composants
   · 6 accueil · (la suite s'ajoute page par page : en-tête d'app,
   captures, liens, 404, texte, pied).
   ============================================================ */

/* ---------- 1. Jetons ---------- */

@font-face{
  font-family:"Bricolage Grotesque";
  src:url("../assets/fonts/bricolage-grotesque-opsz-wght.woff2") format("woff2");
  font-weight:200 800;
  font-style:normal;
  font-display:swap;
}

:root{ --px:2px;
  color-scheme:light dark;

  --sol:#F6F5F9;        /* fond de page */
  --fenetre:#FFFFFF;    /* bloc posé sur le fond */
  --encre:#24263A;
  --doux:#5C5F78;       /* texte secondaire, 4.5:1 sur --sol */
  --filet:#C9CCDA;      /* filets décoratifs */
  --filet-ui:#6C7090;   /* contours porteurs de sens (3:1 mini) */

  /* teinte par défaut : ciel. Les cinq teintes sont plus bas. */
  --t-a:#6AA4FB; --t-b:#C885DC; --t-c:#00BABF;
  --t-ink:#23597D; --t-pale:#DEEAFD; --t-line:#3176AD;

  --famille:"Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --largeur:1200px;
  --gouttiere:40px;
  --rayon-icone:24%;
}
:root[data-theme="light"]{ color-scheme:light; }
:root[data-theme="dark"]{
  color-scheme:dark;
  --sol:#11131C; --fenetre:#1B1E2B; --encre:#ECEDF6; --doux:#A9ACC4;
  --filet:#3A3E55; --filet-ui:#8E92B0;
  --t-ink:#B0CEFB; --t-pale:#1C3E51;
}

/* Les cinq teintes d'app + le neutre (Loi lisible). Une variable est
   substituée là où elle est DÉCLARÉE : tout ce qui en dérive (ombre,
   bordure) se redéclare sur [data-teinte], jamais seulement sur :root. */
[data-teinte="ciel"]{    --t-a:#6AA4FB; --t-b:#C885DC; --t-c:#00BABF; --t-ink:#23597D; --t-pale:#DEEAFD; --t-line:#3176AD; }
[data-teinte="rose"]{    --t-a:#FC5CBB; --t-b:#FF7204; --t-c:#9D90FF; --t-ink:#912271; --t-pale:#FFDDEF; --t-line:#C22E90; }
[data-teinte="lavande"]{ --t-a:#C26CFF; --t-b:#FF5581; --t-c:#2EA0FF; --t-ink:#5F2FAD; --t-pale:#EFDEFE; --t-line:#834ACE; }
[data-teinte="menthe"]{  --t-a:#00DBCF; --t-b:#87C5FF; --t-c:#A6D066; --t-ink:#30736C; --t-pale:#DEFDF9; --t-line:#3F978D; }
[data-teinte="papaye"]{  --t-a:#F39014; --t-b:#98BB2E; --t-c:#FE79A1; --t-ink:#8C470C; --t-pale:#FEE9D7; --t-line:#C96610; }
[data-teinte="neutre"]{  --t-a:#9AA3BC; --t-b:#C9B8D8; --t-c:#9CC7C9; --t-ink:#3F4258; --t-pale:#ECEDF3; --t-line:#6C7090; }

:root[data-theme="dark"] [data-teinte="ciel"]{    --t-ink:#B0CEFB; --t-pale:#1C3E51; }
:root[data-theme="dark"] [data-teinte="rose"]{    --t-ink:#FFAED8; --t-pale:#5D1D4E; }
:root[data-theme="dark"] [data-teinte="lavande"]{ --t-ink:#D9B0FC; --t-pale:#392760; }
:root[data-theme="dark"] [data-teinte="menthe"]{  --t-ink:#B2F9F1; --t-pale:#2A5D57; }
:root[data-theme="dark"] [data-teinte="papaye"]{  --t-ink:#FCC99C; --t-pale:#542F0E; }
:root[data-theme="dark"] [data-teinte="neutre"]{  --t-ink:#D5D7E4; --t-pale:#2C2F40; }

/* Thème « Système » : theme.js retire data-theme, c'est alors le réglage du
   système qui décide. Mêmes valeurs que le thème « Sombre » ci-dessus. */
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --sol:#11131C; --fenetre:#1B1E2B; --encre:#ECEDF6; --doux:#A9ACC4;
    --filet:#3A3E55; --filet-ui:#8E92B0;
    --t-ink:#B0CEFB; --t-pale:#1C3E51;   /* teinte par défaut en sombre = ciel : les liens des pages sans data-teinte restaient bleu foncé (2,2:1) */
  }
  :root:not([data-theme="light"]) [data-teinte="ciel"]{    --t-ink:#B0CEFB; --t-pale:#1C3E51; }
  :root:not([data-theme="light"]) [data-teinte="rose"]{    --t-ink:#FFAED8; --t-pale:#5D1D4E; }
  :root:not([data-theme="light"]) [data-teinte="lavande"]{ --t-ink:#D9B0FC; --t-pale:#392760; }
  :root:not([data-theme="light"]) [data-teinte="menthe"]{  --t-ink:#B2F9F1; --t-pale:#2A5D57; }
  :root:not([data-theme="light"]) [data-teinte="papaye"]{  --t-ink:#FCC99C; --t-pale:#542F0E; }
  :root:not([data-theme="light"]) [data-teinte="neutre"]{  --t-ink:#D5D7E4; --t-pale:#2C2F40; }
}

/* ---------- 2. Base ---------- */

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--sol);
  color:var(--encre);
  font-family:var(--famille);
  font-size:1.0625rem;
  line-height:1.5;
  overflow-x:hidden;
  text-wrap:pretty;            /* pas de mot seul en fin de paragraphe */
}
h1,h2,h3{
  margin:0;
  font-weight:800;
  letter-spacing:-.02em;
  line-height:1.02;
  text-wrap:balance;           /* les titres sont coupés à la main quand il le faut */
}
p{ margin:0; }
a{ color:inherit; }
img{ max-width:100%; height:auto; }

.wrap,.conteneur{ width:100%; max-width:var(--largeur); margin:0 auto; padding:0 var(--gouttiere); }

/* ---------- 3. Accessibilité ---------- */

.lien-evitement{
  position:absolute; left:-9999px; top:0; z-index:20;
  background:var(--encre); color:var(--sol);
  padding:.7rem 1rem; font-weight:700; text-decoration:none;
}
.lien-evitement:focus{ left:0; }
.hors-ecran{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:2px solid var(--t-line);
  outline-offset:3px;
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* ---------- 4. Trame ----------
   Dessinée par js/trame.js dans un <canvas class="trame-fond"> posé
   en premier enfant de tout élément [data-hote]. Le halo autour du
   texte et des blocs est creusé dans le canvas : rien à faire en CSS
   que de le caler derrière le contenu. */
[data-hote]{ position:relative; }
/* Position, taille et bande de chaque <canvas> : posées par js/trame.js. */
[data-hote] > .trame-fond{ pointer-events:none; z-index:0; }
[data-hote] > *:not(.trame-fond):not(.lien-evitement){ position:relative; z-index:1; }
/* L'en-tête passe devant le contenu : son panneau Réglages déborde sur le héros (le nuage de l'accueil bloquait les clics, 29/10/2026). */
[data-hote] > .entete:not(.trame-fond):not(.lien-evitement){ z-index:5; }

/* ---------- 5. Composants ---------- */

.capsule{
  display:inline-flex; align-items:center; gap:8px;
  border-radius:999px; padding:10px 20px;
  font-weight:600; font-size:15px; text-decoration:none;
  border:1px solid var(--filet-ui); background:var(--fenetre); color:var(--encre);
}
.capsule--pleine{ background:var(--encre); color:var(--sol); border-color:var(--encre); }
.capsule:hover{ border-color:var(--encre); }

.puce{
  display:inline-block;
  font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  border-radius:999px; padding:3px 10px;
  background:var(--t-pale); color:var(--t-ink);
}

/* LA TUILE D'ICÔNE. Un carré à coins arrondis qui porte l'icône 3D.
   Pas d'aura : seules les icônes portent la couleur. L'emplacement est
   le même pour l'image fixe et pour l'animée (geste C) : même boîte,
   même nom de fichier, la page ne change pas. */
.icone{
  display:block; position:relative; flex:none;
  aspect-ratio:1; border-radius:var(--rayon-icone); overflow:hidden;
}
.icone img,.icone video,.icone canvas{
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
}

/* En-tête de section numéroté : 01 · Titre · note à droite. */
.section-titre{
  display:flex; align-items:baseline; gap:18px;
  padding:64px 0 22px;
  margin-bottom:24px;   /* ce qui suit ne colle plus au filet (filtres de l'accueil) */
  border-bottom:1px solid var(--filet);
}
.section-titre__num{ font-size:14px; color:var(--doux); font-variant-numeric:tabular-nums; }
.section-titre h2{ font-size:40px; }
.section-titre__note{ margin-left:auto; font-size:14px; color:var(--doux); }


/* Blocs à filet : fond plein, filet fin, pas d'ombre, pas d'aura. */
.bloc{
  background:var(--fenetre);
  border:1px solid var(--filet);
  padding:28px;
}

/* Boutons : capsules. Le nom .bouton est gardé, les 31 pages l'emploient.
   Plein = l'action principale ; --secondaire = contour seul. */
.bouton{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:48px; padding:10px 22px;
  border-radius:999px;
  background:var(--encre); color:var(--sol);
  border:1px solid var(--encre);
  font:inherit; font-size:15px; font-weight:600; line-height:1.2;
  text-decoration:none; cursor:pointer;
  text-wrap:balance;
}
.bouton:hover{ background:var(--t-ink); border-color:var(--t-ink); color:var(--sol); }
.bouton--secondaire{ background:transparent; color:var(--encre); border-color:var(--filet-ui); }
.bouton--secondaire:hover{ background:transparent; color:var(--encre); border-color:var(--encre); }
.bouton--large{ font-size:17px; padding:14px 28px; }

/* Filtres : des capsules à bascule. */
.filtres{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; }
.filtre{
  font:inherit; font-size:14px; font-weight:600;
  min-height:44px; padding:0 16px;
  border:1px solid var(--filet-ui); border-radius:999px;
  background:var(--fenetre); color:var(--doux); cursor:pointer;
}
.filtre:hover{ border-color:var(--encre); color:var(--encre); }
.filtre--actif{ background:var(--encre); border-color:var(--encre); color:var(--sol); }
.filtre--actif:hover{ color:var(--sol); }

/* Les cartes d'application : le contenu est celui de data/apps.js. */
.grille-apps{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:1fr 1fr;
  border-left:1px solid var(--filet);
}
.carte[hidden]{ display:none; }
.carte{
  position:relative;
  display:flex; flex-direction:column; gap:14px;
  padding:26px 28px;
  background:var(--fenetre);
  border-right:1px solid var(--filet); border-bottom:1px solid var(--filet);
  border-top:1px solid var(--filet);
  margin-top:-1px;
}
.carte__entete{ display:flex; align-items:center; gap:18px; }
.carte__icone{
  flex:none; width:224px; height:224px; margin-left:-23.6px; /* la tuile (10,5 % de marge transparente dans l'image) s'aligne sur le texte */
  border-radius:var(--rayon-icone); display:block; object-fit:cover;
}
.carte__titres{ display:flex; flex-direction:column; gap:16px; min-width:0; }   /* 16 px entre titre et étiquettes (Émilie, 29/10) */
.carte h3{ font-size:42px; line-height:1.05; color:var(--encre); }   /* proportionnel à l'icône de 224 px (Émilie : au moins 42 px) */
.carte p{ font-size:15.5px; line-height:1.5; color:var(--doux); text-wrap:pretty; }
.carte__capture{
  display:block; width:100%; height:auto;
  border:1px solid var(--filet);
}
.carte .actions-carte{
  margin-top:auto; padding-top:6px;
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
}
.etiquettes{ display:flex; flex-wrap:wrap; gap:6px; }
.etiquette{
  font-size:12px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  border-radius:999px; padding:3px 10px;
  background:var(--t-pale); color:var(--t-ink);
  white-space:nowrap;
}

/* Soutien, testeur·ses, contact : des blocs à filet, à la suite. */
.bloc-soutien,.encart-testeur,.bloc-contact{
  background:var(--fenetre);
  border:1px solid var(--filet);
  padding:32px 36px;
  margin-top:64px;
  max-width:46rem;
}
.bloc-soutien h2,.encart-testeur h2,.bloc-contact h2{ font-size:32px; margin-bottom:14px; }
.bloc-soutien p,.encart-testeur p,.bloc-contact > p{ color:var(--doux); margin-bottom:14px; text-wrap:pretty; }
.bloc-soutien p:last-child,.encart-testeur p:last-child,.bloc-contact > p:last-of-type{ margin-bottom:0; }
.encart-testeur__precision{ font-size:14.5px; }
.secours{ margin-top:22px; font-size:15px; color:var(--doux); }
.bloc-soutien .bouton,.encart-testeur .bouton,.bloc-contact .bouton{ margin-top:6px; }
.externe{ font-weight:400; }
.accroche{ text-wrap:balance; }
.bloc-contact{ margin-bottom:64px; }

/* En-tête : marque, liens, réglages. */
.reglages-menu{ position:relative; flex:none; }
.reglages-menu > summary{ list-style:none; }
.reglages-menu > summary::-webkit-details-marker{ display:none; }
.reglages-menu__bouton{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--filet-ui); color:var(--doux); background:var(--fenetre); cursor:pointer;
}
.reglages-menu__bouton:hover,.reglages-menu[open] > .reglages-menu__bouton{ color:var(--encre); border-color:var(--encre); }
.reglages-menu__bouton svg{ width:20px; height:20px; shape-rendering:crispEdges; }
.reglages-menu__panneau{
  position:absolute; z-index:10; top:calc(100% + 8px); right:0;
  display:grid; gap:12px; padding:16px; min-width:15rem;
  background:var(--fenetre); border:1px solid var(--filet-ui);
}
.reglages-menu__titre{ margin:0 0 -4px; font-size:13px; color:var(--doux); }
.segmente{
  display:grid; grid-auto-flow:column; grid-auto-columns:1fr; margin:0; padding:3px; gap:3px;
  border:1px solid var(--filet-ui); border-radius:999px; background:var(--sol); font-size:14px;
}
.segmente__case{ display:inline-flex; }
.segmente__case input{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:0; clip-path:inset(50%); overflow:hidden; }
.segmente__option{
  display:inline-flex; align-items:center; justify-content:center; width:100%;
  min-height:40px; padding:0 14px; border-radius:999px;
  color:var(--doux); text-decoration:none; white-space:nowrap; cursor:pointer;
}
.segmente__option:hover{ color:var(--encre); }
.segmente__option--actif,.segmente__case input:checked + .segmente__option{ background:var(--encre); color:var(--sol); }
.segmente__option--actif:hover,.segmente__case input:checked + .segmente__option:hover{ color:var(--sol); }
.segmente__case input:focus-visible + .segmente__option{ outline:2px solid var(--t-line); outline-offset:2px; }
/* La pastille du thème glisse (js/reglages-anim.js). Sans le script, ces règles ne servent pas. */
.segmente--pastille{ position:relative; }
.segmente--pastille .segmente__case{ position:relative; z-index:1; }
.segmente--pastille .segmente__case input:checked + .segmente__option,
.segmente--pastille .segmente__case input:checked + .segmente__option:hover{ background:transparent; color:var(--doux); }
.segmente--pastille .segmente__option--sous{ color:var(--sol) !important; }
.segmente__pastille{ position:absolute; top:3px; bottom:3px; left:0; width:0; border-radius:999px; background:var(--encre); pointer-events:none; z-index:0; will-change:transform,width; }

/* Pied : plan du site (de vrais liens, jamais masqués) puis mentions. */
.pied{
  border-top:1px solid var(--filet);
  padding:36px 0 44px; color:var(--doux); font-size:14px;
}
.pied p{ margin:0; }
.plan-site{ display:grid; gap:28px; margin:0 0 26px; }
.plan-site__titre{
  margin:0 0 10px; padding-bottom:6px; border-bottom:1px solid var(--filet);
  font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--doux);
}
.plan-site ul{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fill,minmax(19rem,1fr)); gap:2px 28px;
  font-size:14px; line-height:1.8;
}
.plan-site a{ display:block; padding:2px 0; color:var(--doux); text-decoration:none; }
.plan-site a:hover{ color:var(--encre); }
.plan-site__sanslien{ display:block; padding:2px 0; color:var(--doux); }
.plan-site__nom{ color:var(--encre); font-weight:600; }
.plan-site a:hover .plan-site__nom{ text-decoration:underline; }
.pied__mentions{ padding-top:18px; border-top:1px solid var(--filet); }
.pied__mentions a{ color:var(--doux); }
.pied__mentions a:hover{ color:var(--encre); }


/* ---------- 6. Accueil ---------- */

.entete{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; padding-bottom:24px;
}
.marque{ display:flex; gap:10px; align-items:center; font-weight:700; font-size:19px; text-decoration:none; white-space:nowrap; }
.nav{ display:flex; gap:26px; align-items:center; font-size:15px; color:var(--doux); }
.nav a{ text-decoration:none; }
.nav a:hover{ color:var(--encre); }

.hero{ position:relative; overflow:hidden; border-bottom:1px solid var(--filet); }
.hero__texte{ padding:96px 0 56px; }
.hero__kicker{ font-size:14px; letter-spacing:.08em; text-transform:uppercase; color:var(--doux); margin-bottom:18px; }
.hero h1{ font-size:112px; line-height:.95; letter-spacing:-.035em; }
.hero__sous{ font-size:30px; font-weight:300; line-height:1.2; color:var(--doux); margin-top:22px; letter-spacing:-.01em; }
.hero__sous > span{ display:block; text-wrap:balance; }
.hero__lien{
  display:inline-flex; gap:8px; align-items:center; margin-top:30px;
  font-size:15px; font-weight:600; text-decoration:none;
  border-bottom:1px solid var(--encre); padding-bottom:2px;
}
.frise{
  display:grid; grid-template-columns:repeat(11,1fr); gap:22px;
  margin:0; padding:0 0 72px; list-style:none;
}
.frise a{ display:block; text-align:center; text-decoration:none; }
.frise .icone{ width:100%; }
.frise b{ display:block; font-size:12.5px; font-weight:600; margin-top:10px; color:var(--doux); white-space:nowrap; }

@media (max-width:600px){
  :root{ --gouttiere:20px; }
  .nav{ gap:16px; font-size:14px; }
  .nav a:not([lang]){ display:none; }   /* sur téléphone : le catalogue est juste dessous, seule la langue reste */
  .hero__texte{ padding:44px 0 34px; }
  .hero h1{ font-size:64px; }
  .hero__sous{ font-size:22px; }
  .frise{ grid-template-columns:repeat(4,1fr); gap:18px 14px; padding-bottom:44px; }
  .frise b{ font-size:11px; white-space:normal; }
  .section-titre{ padding-top:44px; }
  .section-titre h2{ font-size:30px; }
  .section-titre__note{ display:none; }
  .grille-apps{ grid-template-columns:1fr; }
  .carte{ padding:20px; }
  .carte__icone{ width:120px; height:120px; margin-left:-12.7px; }
  .carte__entete{ gap:14px; }
  .carte h3{ font-size:24px; }
  .bloc-soutien,.encart-testeur,.bloc-contact{ padding:24px 20px; margin-top:44px; }
}

/* Phrase d'introduction d'une section, sous son en-tête numéroté. */
body:not(.page-app) #contenu section > p:first-of-type{ margin:26px 0 34px; color:var(--doux); max-width:46rem; text-wrap:balance; }

/* ---------- 7. Page d'application ---------- */

body{ display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
body > main{ flex:1 0 auto; }
body > .pied{ flex-shrink:0; }

a{ color:var(--encre); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em; }
a:hover{ color:var(--encre); text-decoration-thickness:2px; }
.bouton,.capsule,.frise a,.marque,.nav a,.plan-site a,.segmente__option,.hero__lien,.fil a{ text-decoration:none; }

.entete-app{ border-bottom:1px solid var(--filet); padding:0 0 56px; }
.barre-haut{
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:nowrap;
  padding:24px 0 40px;
}
.fil{ margin:0; min-width:0; font-size:14px; color:var(--doux); }
.fil a{ color:var(--doux); }
.fil a:hover{ color:var(--encre); text-decoration:underline; }
.entete-app__tete{ display:flex; align-items:center; gap:28px; }
.entete-app__icone{ width:320px; flex:none; margin-left:-33.8px; }
.entete-app h1{ font-size:56px; line-height:1; letter-spacing:-.03em; max-width:20ch; }
.reponse{
  margin:36px 0 0; max-width:46rem; padding:24px 28px;
  background:var(--fenetre); border:1px solid var(--filet);
  font-size:18px; line-height:1.55; text-wrap:pretty;
}
.etat-publication,.a-venir{
  display:inline-block; margin:22px 0 0; padding:6px 16px;
  border-radius:999px; background:var(--t-pale); color:var(--t-ink);
  font-size:14px; font-weight:600;
}

/* Les sections : titre numéroté à gauche, contenu à droite. La
   numérotation est un compteur CSS : aucune page à retoucher. */
.page-app main{ counter-reset:section; padding-bottom:0; }
.page-app main > .encart-testeur{ margin-bottom:64px; }   /* la boîte testeur ne colle plus au pied de page */
@media (max-width:600px){ .page-app main > .encart-testeur{ margin-bottom:44px; } }
.page-app main > section{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:0 56px;
  padding:56px 0; border-top:1px solid var(--filet);
}
.page-app main > section:first-child{ border-top:0; }
.page-app main > section > h2{ font-size:34px; align-self:start; }
.page-app main > section > h2::before{
  counter-increment:section; content:counter(section,decimal-leading-zero);
  display:block; margin-bottom:10px;
  font-size:14px; font-weight:400; letter-spacing:0; color:var(--doux); font-variant-numeric:tabular-nums;
}
.page-app main > section > *:not(h2){ grid-column:2; }
.page-app main > section > .gros-plans,
.page-app main > section > .defile-telephones,
.page-app main > section > .defile-boutons{ grid-column:1 / -1; }
.page-app main p{ text-wrap:pretty; margin-bottom:14px; }
.page-app main p:last-child{ margin-bottom:0; }
.page-app main ul{ list-style:none; margin:0; padding:0; }
.page-app main li{ padding:14px 0; border-top:1px solid var(--filet); }
.page-app main li:first-child{ border-top:0; padding-top:0; }
.page-app main li:last-child{ padding-bottom:0; }
.page-app main li strong{ color:var(--encre); }
.page-app h3{ margin:28px 0 6px; font-size:20px; letter-spacing:-.01em; line-height:1.2; }
.page-app h3:first-of-type{ margin-top:0; }
.page-app h3 + p{ color:var(--doux); }

/* Les captures. */
figure{ margin:0 0 28px; }
figcaption,.capture-tel figcaption,.gros-plan figcaption{
  margin-top:12px; font-size:14px; line-height:1.4; color:var(--doux); text-align:center;
}
.telephone{
  padding:10px; background:var(--fenetre);
  border:1px solid var(--filet-ui); border-radius:30px;
}
.telephone img{ display:block; width:100%; height:auto; border-radius:21px; }
.capture-tel{ margin:0; }

.page-app .defile-telephones{
  list-style:none; display:flex; gap:20px; margin:32px calc(var(--gouttiere) * -1) 0; padding:0 var(--gouttiere) 16px;
  overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:var(--gouttiere);
}
.page-app .defile-telephones > li{ flex:0 0 200px; scroll-snap-align:start; padding:0; border:0; }
.page-app .defile--actif{ cursor:grab; scrollbar-width:none; }
.page-app .defile--actif::-webkit-scrollbar{ display:none; }
.page-app .defile--actif:focus-visible{ outline:2px solid var(--t-line); outline-offset:4px; }
.page-app .defile-telephones.defile--glisse{ cursor:grabbing; scroll-snap-type:none; scroll-behavior:auto; user-select:none; }
.page-app .defile-telephones.defile--glisse img{ pointer-events:none; }
@media (prefers-reduced-motion:no-preference){ .page-app .defile-telephones{ scroll-behavior:smooth; } }
.defile-boutons{ display:flex; justify-content:flex-end; gap:10px; margin-top:8px; }
.defile-boutons[hidden]{ display:none; }
.bouton.defile-bouton{ width:48px; padding:0; background:var(--fenetre); color:var(--encre); border-color:var(--filet-ui); }
.bouton.defile-bouton:hover{ border-color:var(--encre); background:var(--fenetre); }
.bouton.defile-bouton:disabled{ opacity:.4; cursor:default; }
.defile-bouton svg{ display:block; width:24px; height:24px; }

/* Les gros plans en pixels (le pixel garde sa taille). */
.gros-plans{ display:flex; flex-wrap:wrap; justify-content:center; gap:20px; margin-top:20px; }
.gros-plan{ margin:0; width:calc(var(--px) * 80 + 2px); }
.gros-plan img{
  display:block; box-sizing:content-box; width:calc(var(--px) * 80); height:calc(var(--px) * 80);
  image-rendering:pixelated; border:1px solid var(--filet-ui); border-radius:16px;
}
@media (min-width:40rem){
  .gros-plan{ width:calc(var(--px) * 120 + 2px); }
  .gros-plan img{ width:calc(var(--px) * 120); height:calc(var(--px) * 120); }
}
.gros-plans--grille{ display:grid; justify-content:center; align-items:start; grid-template-columns:repeat(2,calc(var(--px) * 80 + 2px)); }
@media (min-width:40rem){ .gros-plans--grille{ grid-template-columns:repeat(2,calc(var(--px) * 120 + 2px)); } }
.gros-plans--grille .gros-plan--capture{ width:auto; max-width:none; }
.gros-plans--grille .gros-plan--capture img{ box-sizing:border-box; width:100%; height:auto; }
.gros-plans--grille > .gros-plan:last-child:nth-child(odd){ grid-column:1 / -1; justify-self:center; width:calc(var(--px) * 80 + 2px); }
@media (min-width:40rem){ .gros-plans--grille > .gros-plan:last-child:nth-child(odd){ width:calc(var(--px) * 120 + 2px); } }
.gros-plans + .a-venir{ margin-top:24px; }
.gros-plan--capture{ width:min(100%,390px); }
.gros-plan--capture img{ width:100%; height:auto; image-rendering:auto; }

@media (max-width:1000px){
  .grille-apps{ grid-template-columns:1fr; }   /* icône de carte à 224 px et titre à 42 px : deux colonnes ne tiennent plus sous 1000 px */
}
@media (max-width:860px){
  /* icône d'en-tête à 320 px : à côté du titre elle ne tient plus, on la pose au-dessus */
  .entete-app__tete{ flex-direction:column; align-items:flex-start; gap:18px; }
  .entete-app__icone{ width:220px; align-self:center; margin-left:0; }
}
@media (max-width:900px){
  .page-app main > section{ grid-template-columns:1fr; gap:18px 0; padding:40px 0; }
  .page-app main > section > *:not(h2){ grid-column:1; }
  .page-app main > section > h2{ font-size:28px; }
}
@media (max-width:600px){
  .entete-app{ padding-bottom:40px; }
  .barre-haut{ padding:16px 0 28px; }
  .entete-app__tete{ flex-direction:column; align-items:flex-start; gap:18px; }
  .entete-app__icone{ width:220px; align-self:center; margin-left:0; }
  .entete-app h1{ font-size:36px; }
  .reponse{ padding:20px; font-size:17px; }
}

/* Les liens de structure gardent l'encre : seuls les liens dans un texte prennent la teinte. */
.marque,.hero__lien,.capsule{ color:var(--encre); }
.capsule--pleine{ color:var(--sol); }
.nav a,.fil a,.pied__mentions a,.plan-site a{ color:var(--doux); }
.nav a:hover,.fil a:hover,.pied__mentions a:hover,.plan-site a:hover{ color:var(--encre); }
.bouton:not(.bouton--secondaire),.bouton:not(.bouton--secondaire):hover{ color:var(--sol); }
.bouton--secondaire,.bouton--secondaire:hover{ color:var(--encre); }
.bouton.defile-bouton,.bouton.defile-bouton:hover{ color:var(--encre); }
.filtre--actif,.filtre--actif:hover{ color:var(--sol); }

/* Un bouton sous le bloc de réponse de l'en-tête d'une page d'app. */
.entete-app .reponse + p,.entete-app .etat-publication + p{ margin-top:22px; }


/* ---------- 7. Pages « liens » et « apps du studio » (29/10/2026) ----------
   /apps/ et /en/apps/ ; /liens/ et /en/links/ réutiliseront l'en-tête
   centré et le nuage. Repris de style.css (sections « La page de liens »
   et « La page des apps du studio »), recalés sur les jetons du cran 3.
   Une app = un grand bouton capsule, l'icône 3D à gauche. Publiée : bouton
   plein ; à venir : bouton secondaire (contour seul). */

.entete--liens{ display:block; padding-bottom:8px; }
.entete--liens .conteneur{ text-align:center; }
.entete--liens .reglages-menu{ display:flex; justify-content:flex-end; }
.entete--liens .reglages-menu__panneau{ text-align:left; }
.entete--liens h1{ font-size:min(2.6rem, calc((100vw - 2.5rem) / 10.4)); line-height:1.1; letter-spacing:-.02em; }
@media (max-width:30rem){
  .entete--liens h1{ font-size:min(2.15rem, calc((100vw - 2.5rem) / 10.4)); }
}


.page-apps main{ padding-bottom:56px; }
.page-apps section h2{ text-align:center; font-size:22px; margin:0 0 20px; }
.page-apps section + section{ margin-top:40px; }
.boutons-apps{ list-style:none; margin:0 auto; padding:0; display:grid; gap:16px; max-width:34rem; }
/* Icônes 3D mises en valeur : 120 px (choix d'Émilie, 29/10/2026). Source 256 px = netteté 2x. */
/* L'icône déborde de la boîte, haut et bas ; à gauche, rien que l'icône : elle coiffe
   le bout arrondi de la boîte (choix d'Émilie, 29/10/2026, planche « boite-icone », B). */
.boutons-apps{ gap:44px; padding-top:20px; }
.bouton-app{ position:relative; min-height:84px; justify-content:flex-start; gap:18px; padding:10px 24px 10px 82px; width:calc(100% - 56px); margin-left:56px; text-align:left; }
.bouton-app__icone{ position:absolute; left:-56px; top:50%; transform:translateY(-50%); width:120px; height:120px; border-radius:21%; display:block;
  filter:drop-shadow(0 6px 10px rgba(36,38,58,.22)); }
@media (max-width:22rem){ .bouton-app{ padding-left:70px; width:calc(100% - 44px); margin-left:44px; } .bouton-app__icone{ width:96px; height:96px; left:-44px; } }
.bouton-app__titres{ display:flex; flex-direction:column; flex:1; min-width:0; line-height:1.25; }
.bouton-app__nom{ font-size:22px; }
.bouton-app__mention{ font-size:12px; letter-spacing:.06em; text-transform:uppercase; opacity:.85; }
.bouton-app__fleche{ flex:none; }
.bouton-app:focus-visible{ outline:2px solid var(--t-line); outline-offset:3px; }
.page-apps .pied{ text-align:center; }
.page-apps .pied p + p{ margin-top:6px; }

/* ---------- 8. Page de liens (/liens/ et /en/links/), 29/10/2026 ----------
   Même en-tête centré et même nuage que /apps/ (§ 7). Les boutons sont les
   capsules du site, empilées sur une colonne étroite. Pas de phrase
   d'accroche ajoutée (décision d'Émilie). */
.entete--liens .reglages{ display:flex; justify-content:center; margin:0 0 16px; }
.entete--liens .accroche{ margin:10px auto 0; max-width:30rem; color:var(--doux); font-size:17px; }
.page-liens main{ padding-bottom:56px; }
.liens-bio{ margin:36px auto 0; max-width:34rem; }
.liens-bio ul{ list-style:none; margin:0; padding:0; display:grid; gap:16px; }
.liens-bio .bouton{ width:100%; }
.page-liens .bloc-soutien{ max-width:34rem; margin:44px auto 0; }
.page-liens .pied{ text-align:center; }

/* ---------- 9. À propos (extraits du Droit à la paresse), 29/10/2026 ----------
   Prose en romain, colonne de 34 rem, interligne 1,8 (pas 2,05 : au-delà les
   lignes se détachent et le bloc se lit comme une liste). L'écart entre
   extraits remplace un séparateur : il dit que le texte est coupé. */
.extraits{ margin:72px auto 0; max-width:34rem; font-size:17px; line-height:1.8; color:var(--encre); }
.page-app main .extraits p{ margin:0 0 56px; }
.page-app main .extraits p:last-child{ margin-bottom:0; }
.page-app main p.signature{ margin:40px auto 24px; max-width:34rem; text-align:right; color:var(--doux); font-size:15px; letter-spacing:.02em; }
@media (max-width:34rem){ .extraits{ margin-top:48px; } }


/* ---------- 10. Page d'erreur (404.html), 29/10/2026 ----------
   Portée telle quelle depuis style.css (arche et fantômes, 14 images,
   cycle de 4980 ms) : seules les variables de texte changent (--encre,
   --doux) et --px est posé sur la page, le jeton n'existant pas dans ce
   fichier. L'animation et le dessin ne bougent pas. Pas de trame : la
   scène est déjà le décor. */
.page-erreur{ --px:2px; }

.erreur{ padding-top:3.25rem; text-align:center; }
.erreur h1{ margin:0 0 .35rem; font-size:2.15rem; line-height:1.15; color:var(--encre); }
.erreur .traduction{ margin:0 auto 1.5rem; color:var(--doux); }
.erreur p{ max-width:30rem; margin-inline:auto; }
.erreur__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:1.25rem; margin-top:2rem; }

/* L'illustration est posée directement sur la page, sans forme derrière
   elle (Émilie, 29/10/2026 : le médaillon appartenait à l'ancienne DA).
   Ancien mécanisme retiré : médaillon, ses couleurs, les variables de la
   scène en SVG. Copie : style.neuf.css.avant-29-10-sans-blob.

   TAILLE : l'unité de dessin vaut 2 px (--px) × 2 sur téléphone, × 2,5
   au-delà ; l'arche fait 48 unités (voir plus bas), toujours un nombre
   entier de pixels par unité pour garder le trait net. */
.erreur{ --unite-scene:calc(var(--px) * 2); }
@media (min-width: 30rem){
  .erreur{ --unite-scene:calc(var(--px) * 2.5); }
}
.erreur__medaillon{
  display:grid; place-items:center;
  width:calc(var(--unite-scene) * 48); height:calc(var(--unite-scene) * 48);
  margin:0 auto 1.75rem;
}
/* L'ARCHE EN VOLUME (29/10/2026). Remplace le dessin en SVG et ses 14
   images de fantômes en CSS. Illustration rendue sous Blender, validée
   par Émilie : l'arche fixe (PNG) et, par-dessus, le calque des fantômes
   (WebP animé, fond transparent, boucle de 5,2 s), en version claire et
   sombre. Les deux calques ont le même cadre : ils se superposent
   exactement. Fichiers et LISEZ-MOI : assets/illustrations/arche-404/.
   Taille : 48 unités (192 px sur téléphone, 240 px au-delà), à 480 px
   de source : net sur écran à double densité. */
.arche-404{ position:relative; width:calc(var(--unite-scene) * 48); height:calc(var(--unite-scene) * 48); }
.arche-404 img{ position:absolute; inset:0; width:100%; height:100%; }   /* position:absolute rend l'image bloc : pas de display ici, sinon il battrait .arche-404__sombre{display:none} */
.arche-404__sombre{ display:none; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .arche-404__clair{ display:none; }
  :root:not([data-theme="light"]) .arche-404__sombre{ display:block; }
}
:root[data-theme="dark"] .arche-404__clair{ display:none; }
:root[data-theme="dark"] .arche-404__sombre{ display:block; }
/* MOUVEMENT RÉDUIT : l'arche seule, sans les fantômes. */
@media (prefers-reduced-motion: reduce){
  .arche-404__fantomes{ display:none !important; }
}

/* Une adresse mail ne se coupe jamais (Émilie, 28/09/2026) : le trait d'union de
   lazy-mind est un point de coupure, « contact@lazy- » puis « mind.com » se lisait
   faux. Règle reprise de style.css, qui manquait ici (vue sur les pieds de page). */
a[href^="mailto:"]{ white-space:nowrap; }
/* Page d'erreur : l'air entre le français et l'anglais, comme avant. */
.erreur p + p{ margin-top:14px; }
.erreur .traduction + p{ margin-top:22px; }
/* Page d'erreur : coupures de ligne équilibrées (Émilie, 29/10/2026) :
   « Elle a peut-être changé d'adresse, / ou elle n'a jamais existé. » */
.erreur h1, .erreur p{ text-wrap:balance; }

/* 11. ICONES QUI TOURNENT (geste C, 29/10/2026). js/icone-3d.js pose
   .icone-3d sur l'icone d'une carte ou d'un en-tete d'app. Tailles
   choisies par Emilie sur planche : carte 192 px (120 sur telephone),
   en-tete 320 px (220 sur telephone). Au doigt, le geste est
   horizontal : pan-y laisse la page defiler verticalement. */
.icone-3d{ cursor:grab; touch-action:pan-y; -webkit-user-select:none; user-select:none; -webkit-tap-highlight-color:transparent; }
.icone-3d.prise{ cursor:grabbing; }
.icone-3d img{ -webkit-user-drag:none; user-drag:none; }

/* LOT 5 (29/10/2026) : retours à la ligne équilibrés sur les textes courts centrés. */
.entete--liens .conteneur p,.erreur p,.page-apps .pied p,.page-liens .pied p,.frise b{ text-wrap:balance; }

/* 12. LE NUAGE EN FILM (29/10/2026) — remplace le nuage en pixels CSS.
   L'image a de la marge transparente : la taille affichée est plus grande
   que le nuage qu'on voit. */
.nuage-film{ display:block; width:200px; height:200px; }
.nuage-film--hero{ margin:0 0 -26px -14px; }
@media (min-width:601px){ .nuage-film--hero{ width:240px; height:240px; margin:0 0 -34px -18px; } }
@media (min-width:1100px){
  .hero__texte{ position:relative; }
  .nuage-film--hero{ position:absolute; right:-20px; top:50%; width:480px; height:480px; margin:0; transform:translateY(-50%); }
}
.nuage-zone{ display:grid; place-items:center; margin:-.5rem auto .25rem; }
.nuage-zone .nuage-film{ width:240px; height:240px; }
@media (max-width:600px){ .nuage-zone .nuage-film{ width:200px; height:200px; } }
