/*
  LE SITE DE B-STORM (maquette du 13/11/2026) - le theme « Nuit et or » de l'app : la nebuleuse, l'or, les titres a
  empattements (Sitka), le nom en italique (Cambria) avec le cerveau pour « o ». Les couleurs sont celles du
  telephone (docs/maquettes/menus-mobile/commun.css, web/premium.js).

  Ce qui bouge : des transform, des translate et des opacites seulement ; tout s'arrete si l'appareil demande moins
  de mouvement (prefers-reduced-motion).
*/
:root {
  --fond: #0a0d12; --barre: #0c0f15; --carte: #12161e; --carte-haut: #161b24;
  --encre: #f5f2eb; --texte: #cfd1d4; --gris: #969ba5; --pale: #646a75;
  --filet: rgba(255, 255, 255, .085); --filet-fort: rgba(255, 255, 255, .15); --bloc: rgba(255, 255, 255, .035);
  --or: #e2b66f; --or-clair: #edd2a6; --or-sombre: #b88a4b; --sur-or: #17130c; --vert: #8fc08b;
  --dore: linear-gradient(100deg, var(--or-clair), var(--or) 55%, #d3a25c);
  --ui: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --titre: "Sitka Display", "Sitka Heading", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --nom: Cambria, "Cambria Math", Georgia, "Times New Roman", serif;
  --doux: cubic-bezier(.22, .8, .26, 1); --ressort: cubic-bezier(.3, 1.5, .4, 1);
  --large: 1160px;
  color-scheme: dark;
}
/* Le coreen, le chinois, le japonais : les lettres latines restent dans les polices du site ; pour leurs signes, les
   polices de Windows faites pour eux (sinon le navigateur en prend une au hasard, souvent mal assortie). */
:lang(ko) { --ui: "Segoe UI Variable Text", "Segoe UI", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
            --titre: "Sitka Display", "Sitka Heading", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", serif; }
:lang(zh) { --ui: "Segoe UI Variable Text", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
            --titre: "Sitka Display", "Sitka Heading", "Microsoft YaHei", "PingFang SC", "Noto Serif SC", serif; }
:lang(ja) { --ui: "Segoe UI Variable Text", "Segoe UI", "Yu Gothic UI", "Yu Gothic", "Hiragino Sans", "Noto Sans JP", sans-serif;
            --titre: "Sitka Display", "Sitka Heading", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; }
* { box-sizing: border-box; font-variant-numeric: lining-nums !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 16px/1.5 var(--ui); overflow-x: hidden;
       -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
::selection { background: rgba(226, 182, 111, .35); color: #fff; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #07090c; }
::-webkit-scrollbar-thumb { background: #262b35; border-radius: 6px; border: 2px solid #07090c; }
::-webkit-scrollbar-thumb:hover { background: var(--or-sombre); }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, h5, p { margin: 0; }

.cadre { position: relative; z-index: 2; width: min(var(--large), 100% - 48px); margin-inline: auto; }
.cadre.etroit { --large: 820px; }

/* Les etoiles : une toile fixe, derriere tout le contenu, devant le ciel de l'accueil. */
#etoiles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* Le fil d'or : l'avancee dans la page, en haut. */
.fil-haut { position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 2px; transform: scaleX(0); transform-origin: 0 50%;
            background: linear-gradient(90deg, var(--or-sombre), var(--or-clair)); box-shadow: 0 0 12px rgba(226, 182, 111, .7); }

/* ─────────────────────────────── L'en-tete ─────────────────────────────── */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 40; border-bottom: 1px solid transparent;
          transition: background .45s ease, border-color .45s ease, backdrop-filter .45s ease; }
.entete.pose { background: rgba(8, 10, 14, .74); border-color: var(--filet);
               -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.entete-int { width: min(1280px, 100% - 48px); margin-inline: auto; height: 74px; display: flex; align-items: center;
              justify-content: space-between; gap: 20px; transition: height .45s var(--doux); }
.entete.pose .entete-int { height: 60px; }
.js .entete { translate: 0 -100%; }
.js.pret .entete { translate: 0 0; transition: translate .9s var(--doux) .15s, background .45s ease, border-color .45s ease; }

.marque { display: inline-flex; align-items: baseline; font: italic 700 28px/1 var(--nom); color: var(--encre);
          text-decoration: none; letter-spacing: .01em; white-space: nowrap; flex: none; }
.marque i { display: inline-block; width: .8em; height: .78em; margin: 0 .03em 0 .09em; align-self: center;
            transform: translateY(.05em); background: linear-gradient(140deg, var(--or-clair), var(--or) 60%, var(--or-sombre));
            -webkit-mask: url(images/cerveau.png) center / contain no-repeat; mask: url(images/cerveau.png) center / contain no-repeat;
            transition: transform .6s var(--ressort), filter .4s ease; }
.marque:hover i { transform: translateY(.05em) scale(1.14) rotate(-8deg); filter: brightness(1.25); }

.nav { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .03);
       box-shadow: inset 0 0 0 1px var(--filet); }
.nav a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; color: var(--texte);
         text-decoration: none; white-space: nowrap; transition: color .3s ease; }
.nav a:hover, .nav a.la { color: var(--encre); }
.pouce { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; opacity: 0; pointer-events: none;
         background: rgba(226, 182, 111, .14); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .3);
         transition: transform .45s var(--doux), width .45s var(--doux), opacity .3s ease; }

/* Le choix de la langue, dans l'en-tete (langues.js) : un bouton, et la liste des neuf langues qui s'ouvre dessous. */
.entete-droite { display: flex; align-items: center; gap: 12px; }
.langue { position: relative; z-index: 3; }   /* sa liste passe devant le menu des sections (seconde ligne, sur telephone) */
.langue-bouton { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 13px; border: 0; border-radius: 999px; cursor: pointer;
                 font: 500 14px/1 var(--ui); color: var(--texte); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--filet);
                 transition: color .3s ease, box-shadow .3s ease, background .3s ease; }
.langue-bouton:hover, .langue.ouverte .langue-bouton { color: var(--encre); background: rgba(226, 182, 111, .08); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .45); }
.langue-bouton svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.langue-bouton .langue-fleche { width: 14px; height: 14px; transition: transform .35s var(--doux); }
.langue.ouverte .langue-fleche { transform: rotate(180deg); }
.langue-code { display: none; font-weight: 600; letter-spacing: .04em; }
.langue-liste { position: absolute; right: 0; top: calc(100% + 10px); display: grid; grid-template-columns: repeat(3, auto); gap: 2px; padding: 8px;
                border-radius: 16px; background: rgba(14, 17, 23, .98); border: 1px solid var(--filet-fort); box-shadow: 0 30px 60px -24px #000;
                opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .25s ease, translate .35s var(--doux), visibility 0s .3s; }
.langue.ouverte .langue-liste { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.langue-liste a { padding: 10px 16px; border-radius: 10px; font-size: 14.5px; color: var(--texte); text-decoration: none; white-space: nowrap;
                  transition: background .2s ease, color .2s ease; }
.langue-liste a:hover { color: var(--encre); background: rgba(255, 255, 255, .05); }
.langue-liste a.la { color: var(--or-clair); background: rgba(226, 182, 111, .12); }

/* ─────────────────────────────── Les boutons ─────────────────────────────── */
.bouton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px;
          padding: 0 28px; border: 0; border-radius: 999px; font: 600 16px/1 var(--ui); color: var(--sur-or); cursor: pointer;
          text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; background: var(--dore);
          box-shadow: 0 16px 34px -16px rgba(226, 182, 111, .85), inset 0 1px 0 rgba(255, 255, 255, .5);
          transition: transform .3s var(--ressort), box-shadow .35s ease; -webkit-tap-highlight-color: transparent; }
.bouton::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-130%);
                  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .6) 50%, transparent 68%);
                  transition: transform .9s var(--doux); }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -18px rgba(226, 182, 111, 1), inset 0 1px 0 rgba(255, 255, 255, .5); }
.bouton:hover::before { transform: translateX(130%); }
.bouton:active { transform: scale(.965); transition-duration: .12s; }
.bouton svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
              stroke-linejoin: round; transition: transform .4s var(--ressort); }
.bouton:hover svg { transform: translateY(2px); }
.bouton.petit { height: 42px; padding: 0 20px; font-size: 14.5px; gap: 8px; }
.bouton.petit svg { width: 16px; height: 16px; }
.bouton.grand { height: 62px; padding: 0 36px; font-size: 17.5px; }
.bouton.discret { color: var(--encre); background: rgba(255, 255, 255, .045); font-weight: 500;
                  box-shadow: inset 0 0 0 1px var(--filet-fort); }
.bouton.discret::before { background: linear-gradient(105deg, transparent 32%, rgba(226, 182, 111, .22) 50%, transparent 68%); }
.bouton.discret:hover { box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .55), 0 18px 34px -22px rgba(226, 182, 111, .6); }
.onde { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .42); transform: scale(0);
        pointer-events: none; animation: onde .65s ease-out forwards; }
.bouton.discret .onde { background: rgba(226, 182, 111, .3); }
@keyframes onde { to { transform: scale(1); opacity: 0; } }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.actions.centre { justify-content: center; }

/* ─────────────────────────────── Titres et apparitions ─────────────────────────────── */
.etiquette { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 12px; font-weight: 600;
             letter-spacing: .22em; text-transform: uppercase; color: var(--or);
             text-wrap: balance; }   /* sur deux lignes, deux moities egales (pas un mot seul en dessous) */
.etiquette::before, .etiquette::after { content: ""; width: 58px; height: 1px;
                                         background: linear-gradient(90deg, transparent, rgba(226, 182, 111, .75)); }
.etiquette::after { transform: scaleX(-1); }
.etiquette.gauche { justify-content: flex-start; }
.etiquette.gauche::before { display: none; }
h1, h2 { font-family: var(--titre); font-weight: 400; color: var(--encre); letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.1vw, 52px); line-height: 1.1; }
h2 em, h3 em, .mot-or { font-style: italic; color: var(--or); background: linear-gradient(100deg, var(--or-clair), var(--or) 45%, #fff3d4 55%, var(--or) 65%, #d3a25c);
                         background-size: 260% 100%; -webkit-background-clip: text; background-clip: text;
                         -webkit-text-fill-color: transparent; animation: reflet 9s ease-in-out infinite; }
@keyframes reflet { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.chapo { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--texte); text-wrap: pretty; }
/* Pas de mot seul (ni, en japonais ou en chinois, de caractere seul) sur la derniere ligne d'un texte. */
p, li { text-wrap: pretty; }
.chapo b { color: var(--encre); font-weight: 600; }
.tete-section { max-width: 800px; margin: 0 auto 64px; text-align: center; }
.tete-section h2 { margin-top: 18px; }
.tete-section .chapo { margin: 18px auto 0; max-width: 620px; }

.section { position: relative; padding: 128px 0; }
.section.serree { padding: 0 0 20px; }
.section:not(.serree)::before { content: ""; position: absolute; top: 0; left: 50%; z-index: 2; width: min(560px, 70%); height: 1px;
                                translate: -50% 0; background: linear-gradient(90deg, transparent, rgba(226, 182, 111, .32), transparent); }
#relier::before, #telephone::before { display: none; }   /* (apres un bandeau : pas de filet) */

.js [data-venir] { opacity: 0; translate: 0 28px; }
.js [data-venir].vu { opacity: 1; translate: 0 0;
                      transition: opacity 1s var(--doux), translate 1s var(--doux); transition-delay: calc(var(--rang, 0) * 110ms); }

/* Les cartes : la lueur suit le pointeur (le fond, et le filet du bord). */
.carte { position: relative; border-radius: 22px; border: 1px solid var(--filet);
         background: linear-gradient(180deg, rgba(22, 27, 36, .88), rgba(13, 16, 22, .9)); }
.lueur::before, .lueur::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
                                transition: opacity .45s ease; }
.lueur::before { background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 182, 111, .12), transparent 62%); }
.lueur::after { padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(237, 210, 166, .95), transparent 70%);
                -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
                mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.lueur:hover::before, .lueur:hover::after { opacity: 1; }
.carte > * { position: relative; z-index: 1; }

/* ─────────────────────────────── L'accueil ─────────────────────────────── */
.accueil { position: relative; min-height: min(100vh, 1020px); display: flex; align-items: center; padding: 124px 0 96px; overflow: hidden; }
.ciel { position: absolute; inset: -4% 0 0 0; z-index: 0; }
.ciel i { position: absolute; inset: 0; background: url(images/nebuleuse.jpg) 58% 34% / cover no-repeat;
          animation: derive 46s ease-in-out infinite alternate; }
.ciel::after { content: ""; position: absolute; inset: 0;
               background: linear-gradient(90deg, rgba(10, 13, 18, .86), rgba(10, 13, 18, .42) 52%, rgba(10, 13, 18, .12)),
                           linear-gradient(180deg, rgba(10, 13, 18, .5), rgba(10, 13, 18, .05) 26%, rgba(10, 13, 18, .62) 74%, var(--fond) 98%); }
@keyframes derive { from { transform: scale(1.05); } to { transform: scale(1.16) translate3d(-1.6%, -1.2%, 0); } }
.js .ciel { opacity: 0; }
.js.pret .ciel { opacity: 1; transition: opacity 2.4s ease; }

.accueil .cadre { --large: 1300px; }
.accueil-int { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); gap: 56px; align-items: center; }
.accueil h1 { margin-top: 22px; font-size: clamp(38px, 5vw, 68px); line-height: 1.05; }
.accueil h1 em { font-style: italic; }
.accueil h1 em .mot { background: var(--dore); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
                      padding: 0 .06em .08em 0; }
.mot { display: inline-block; }
.js .mot { opacity: 0; transform: translateY(.55em) rotate(3deg); filter: blur(8px); }
.js.pret .mot { opacity: 1; transform: none; filter: none;
                transition: opacity .9s var(--doux), transform 1s var(--doux), filter .9s ease; transition-delay: calc(.4s + var(--i) * 75ms); }
.accueil .chapo { margin-top: 24px; max-width: 540px; }
.accueil .actions { margin-top: 34px; }
.js .ouverture { opacity: 0; translate: 0 22px; }
.js.pret .ouverture { opacity: 1; translate: 0 0; transition: opacity 1s var(--doux), translate 1s var(--doux);
                      transition-delay: calc(.4s + var(--rang) * 85ms); }
.gages { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--gris); }
.gages li { display: inline-flex; align-items: center; gap: 7px; }
.gages svg { width: 15px; height: 15px; fill: none; stroke: var(--or); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.descendre { position: absolute; left: 50%; bottom: 22px; z-index: 2; width: 30px; height: 50px; translate: -50% 0; display: grid;
             justify-items: center; }
.descendre::before { content: ""; width: 1px; height: 100%; background: linear-gradient(transparent, rgba(226, 182, 111, .5)); }
.descendre i { position: absolute; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--or-clair);
               box-shadow: 0 0 10px var(--or); animation: goutte 2.4s var(--doux) infinite; }
@keyframes goutte { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }

/* La scene : dessinee a 640 x 480, mise a l'echelle par site.js (--echelle). */
.scene { position: relative; width: 100%; }
.js .scene { opacity: 0; translate: 0 44px; }
.js.pret .scene { opacity: 1; translate: 0 0; transition: opacity 1.4s var(--doux) .55s, translate 1.5s var(--doux) .55s; }
.scene-int { position: absolute; left: 0; top: 0; width: 640px; height: 480px; transform-origin: 0 0; transform: scale(var(--echelle, 1)); }
/* (Pas de « will-change » a demeure sur ces plans : le navigateur garderait leur image et l'etirerait, floue, au lieu de
   redessiner le texte. Ils ne deviennent des calques que le temps de glisser avec la souris : .glisse, pose par site.js.) */
.accueil.glisse [data-profondeur] { will-change: transform; }
.ordi { position: absolute; left: 0; top: 8px; width: 620px; }
.ordi::before { content: ""; position: absolute; left: 8%; right: 8%; top: 12%; bottom: -6%; z-index: -1; border-radius: 50%;
                background: radial-gradient(closest-side, rgba(226, 182, 111, .3), transparent); filter: blur(30px); }
.ordi-ecran { margin: 0 30px; height: 358px; padding: 10px 10px 13px; border-radius: 17px 17px 4px 4px; background: #0b0c10;
              box-shadow: inset 0 0 0 1px #2b2f38, 0 40px 80px -30px rgba(0, 0, 0, .95); }
.ordi-socle { position: relative; height: 15px; border-radius: 2px 2px 18px 18px; background: linear-gradient(#444a55, #1b1e24 70%);
              box-shadow: 0 22px 30px -14px rgba(0, 0, 0, .9); }
.ordi-socle::before { content: ""; position: absolute; left: 50%; top: 0; width: 92px; height: 5px; margin-left: -46px;
                      border-radius: 0 0 8px 8px; background: #14161b; }
.fenetre { position: relative; height: 100%; border-radius: 7px; overflow: hidden; background: #1c2027; }
.fenetre-barre { position: relative; z-index: 3; height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 9px;
                 background: #0f1217; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 9px; color: var(--gris); }
.fenetre-barre > i { width: 7px; height: 7px; border-radius: 50%; background: #343943; }
.fenetre-barre > span { margin-left: 7px; }
.pastille-session { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px;
                    font-weight: 600; color: var(--or-clair); background: rgba(226, 182, 111, .12); }
.pastille-session u { width: 5px; height: 5px; border-radius: 50%; background: var(--or); animation: bat 1.6s ease-in-out infinite; }
@keyframes bat { 50% { opacity: .25; transform: scale(.7); } }
.pdf { position: absolute; inset: 26px 0 0 0; display: flex; justify-content: center; overflow: hidden; }
.pdf-feuille { flex: none; width: 376px; margin-top: 12px; padding: 20px 26px 30px; background: #f5f1e8; color: #2a2925;
               font: 8.4px/1.55 Cambria, Georgia, serif; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); align-self: flex-start;
               transition: transform .9s var(--doux); }
.pdf-feuille.monte { transform: translateY(-34px); transition: transform 5.4s linear; }
.pdf-entete { display: flex; justify-content: space-between; padding-bottom: 5px; margin-bottom: 9px; border-bottom: .5px solid #d6d0c2;
              font: 6.2px var(--ui); color: #8a857a; }
.pdf-feuille h4 { margin-bottom: 6px; font: 700 13px/1.2 Cambria, Georgia, serif; color: #1d1c19; }
.pdf-feuille h5 { margin: 9px 0 3px; font: 700 9.6px/1.2 Cambria, Georgia, serif; color: #1d1c19; }
.pdf-feuille p { margin-bottom: 6px; text-align: justify; }
.pdf-def { margin: 7px 0; padding: 6px 9px; border-left: 2px solid #b88a4b; background: #ebe5d6; }
.pdf-def b { display: block; margin-bottom: 2px; font: 700 5.8px var(--ui); letter-spacing: .14em; color: #8a6a34; }
.pdf-eq { margin: 7px 0; text-align: center; font: italic 10.5px Cambria, Georgia, serif; }
.fluo { color: inherit; border-radius: 2px; background: linear-gradient(rgba(243, 190, 72, .66), rgba(243, 190, 72, .66)) no-repeat 0 60% / 0% 82%;
        transition: background-size 1.25s cubic-bezier(.4, 0, .2, 1); }
.fluo.allume { background-size: 100% 82%; }

.voile-carte { position: absolute; inset: 26px 0 0 0; z-index: 1; background: rgba(6, 8, 12, .66); opacity: 0; transition: opacity .55s ease; }
.carte-q { position: absolute; left: 50%; top: 50%; z-index: 2; width: 300px; height: 172px; margin: -73px 0 0 -150px; perspective: 900px;
           opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .45s ease, transform .65s var(--ressort); }
.carte-q-int { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.3, 1.25, .4, 1); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 13px 16px; border-radius: 12px;
        -webkit-backface-visibility: hidden; backface-visibility: hidden; background: linear-gradient(180deg, #11151c, #0a0d12);
        border: 1px solid rgba(226, 182, 111, .4); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .95), 0 0 46px -14px rgba(226, 182, 111, .4); }
.verso { transform: rotateY(180deg); }
.carte-tete { padding-bottom: 7px; border-bottom: 1px solid var(--filet); font: italic 8.8px var(--titre); color: var(--gris); }
.carte-tete b { font-weight: 600; color: var(--or-clair); }
.face p { margin: auto 0; text-align: center; font: italic 700 15.5px/1.3 var(--titre); color: var(--encre); }
.face small { text-align: center; font: italic 8px var(--titre); color: var(--pale); }
.carte-boutons { display: flex; gap: 8px; }
.carte-boutons span { flex: 1; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--filet-fort);
                      font: italic 600 10px var(--titre); color: var(--encre); transition: transform .2s ease, background .2s ease, color .2s ease; }
.carte-boutons .presse { transform: scale(.94); color: var(--sur-or); background: var(--dore); border-color: transparent; }
[data-temps="question"] .voile-carte, [data-temps="reponse"] .voile-carte { opacity: 1; }
[data-temps="question"] .carte-q, [data-temps="reponse"] .carte-q { opacity: 1; transform: none; }
[data-temps="reponse"] .carte-q-int, [data-temps="retenu"] .carte-q-int { transform: rotateY(180deg); }
[data-temps="retenu"] .carte-q { opacity: 0; transform: translateY(-20px) scale(.94); transition: opacity .4s ease, transform .5s ease; }

.bulle-coach { position: absolute; left: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 7px;
               padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(10, 13, 18, .92); border: 1px solid rgba(226, 182, 111, .32);
               font-size: 9.4px; color: var(--encre); box-shadow: 0 10px 24px -10px #000; }
.bulle-coach .bcoach { width: 26px; height: 26px; }
.bulle-coach > span:last-child { transition: opacity .2s ease, transform .3s var(--doux); }
.bulle-coach.change > span:last-child { opacity: 0; transform: translateY(4px); }
.curseur { position: absolute; left: 0; top: 0; z-index: 4; width: 17px; height: 17px; fill: #fff; stroke: #0a0d12; stroke-width: 1.2;
           stroke-linejoin: round; transform: translate(var(--cx, 455px), var(--cy, 262px)); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6));
           transition: transform .95s cubic-bezier(.5, .05, .2, 1); }
.curseur.clic { animation: clic .32s ease; }
@keyframes clic { 45% { scale: .78; } }

.tel-scene { position: absolute; left: 476px; top: 148px; width: 156px; padding: 5px; border-radius: 27px; background: #0c0c0e;
             box-shadow: inset 0 0 0 1px #2c2c31, 0 34px 60px -22px rgba(0, 0, 0, .98), 0 0 70px -20px rgba(226, 182, 111, .45);
             }   /* il ne flotte plus : en mouvement continu, sa capture n'etait jamais posee sur un pixel entier, donc jamais nette */
.tel-scene img { display: block; width: 100%; height: auto; border-radius: 22px; }
.relies { position: absolute; left: 58px; top: 410px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px;
          border-radius: 999px; font-size: 12.5px; color: var(--or-clair); background: rgba(10, 13, 18, .84);
          border: 1px solid rgba(226, 182, 111, .32); box-shadow: 0 14px 30px -14px #000; }
.relies svg { width: 14px; height: 14px; fill: var(--or); animation: etincelle 3.2s ease-in-out infinite; }
@keyframes etincelle { 0%, 70%, 100% { opacity: 1; } 76% { opacity: .2; } 82% { opacity: 1; } 88% { opacity: .35; } }

/* ─────────────────────────────── Sur PC : la constellation, ses cinq vignettes, la video ─────────────────────────────── */
/* Le ciel est au milieu. Les cinq vignettes sont posees AUTOUR de la constellation, en arche : Observer et Interroger a
   gauche, Retenir au sommet, Reviser et « Creer une routine sans efforts » a droite. Elles sont toujours la, que la
   constellation soit survolee ou non. Sous le ciel : la miniature de la video de presentation. */
.orage { position: relative; padding-top: 46px; }
.cerveau { position: relative; width: min(980px, 100%); aspect-ratio: 980 / 560; margin: 0 auto; }
.cerveau img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; opacity: .5; }
@keyframes respire { 50% { transform: scale(1.12); } }

/* Le cerveau, en constellation blanc dore sur un ciel etoile : constellation.js le dessine dans cette toile, a la
   taille qu'elle a ici. Les bords du ciel se fondent dans la page : la toile peut deborder sur ce qui l'entoure. */
.constellation { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.eclairs { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.eclairs path { fill: none; stroke: #f6e3bd; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
                filter: drop-shadow(0 0 6px rgba(237, 210, 166, .95)); }

/* Les vignettes. Chacune se place par rapport au milieu du ciel (--x) et au haut de la section (--y). */
.atouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.atout { position: absolute; left: calc(50% + var(--x)); top: var(--y); width: 180px; margin-left: -90px; text-align: center;
         pointer-events: auto; }
.a-observer { --x: -372px; --y: 398px; }
.a-interroger { --x: -352px; --y: 150px; }
.a-retenir { --x: 0px; --y: 0px; }
.a-reviser { --x: 352px; --y: 150px; }
.a-routine { --x: 372px; --y: 398px; }
.js .atout { opacity: 0; translate: 0 20px; }
.js .atout.touche { opacity: 1; translate: 0 0; transition: opacity .8s var(--doux), translate .9s var(--doux); }
.atout h3 { font: 400 23px/1.16 var(--titre); color: var(--encre); text-wrap: balance; }
.pastille { --pastille: #161a21; position: relative; display: grid; place-items: center; width: 96px; height: 76px; margin: 0 auto 11px;
            overflow: hidden; border-radius: 22px; background: var(--pastille);
            box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .36), 0 18px 34px -20px #000;
            transition: transform .5s var(--ressort), box-shadow .4s ease; }
.atout:hover .pastille { transform: translateY(-4px);
                         box-shadow: inset 0 0 0 1px rgba(237, 210, 166, .8), 0 0 28px -4px rgba(226, 182, 111, .55), 0 20px 34px -20px #000; }
/* Quand l'eclair la touche : la pastille s'embrase (un voile d'or par-dessus le dessin, un halo autour), puis s'apaise. */
.pastille::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: var(--or-clair); opacity: 0; pointer-events: none; }
.atout.touche .pastille { animation: allume 1.3s ease; }
.atout.touche .pastille::after { animation: embrase 1.3s ease; }
@keyframes allume { 0% { box-shadow: inset 0 0 0 1px var(--or-clair), 0 0 44px 8px rgba(237, 210, 166, .95); } }
@keyframes embrase { 0% { opacity: .95; } }

/* LES DESSINS ANIMES DES VIGNETTES : ceux des tuiles de l'app (web/session.html), agrandis.
     Observer    un oeil qui regarde a gauche, a droite, et cligne ;
     Interroger  une bulle qui gonfle d'un coup : trois petits points, puis un point d'interrogation ; elle eclate, et recommence ;
     Retenir     le cerveau, immobile, et de petits dessins de notions (une ampoule, un atome, E = mc2...) qu'il absorbe ;
     Reviser     un livre ouvert dont les pages se tournent, souples ;
     La routine  deux fleches en rond, qui tournent sans fin (ce dessin-la n'existe que sur le site).
   Dans l'app, tout est mesure en pixels pour une scene de 56 x 30. Ici, chaque mesure est multipliee par --u : c'est un vrai
   agrandissement du dessin (les traits restent nets), pas une image etiree. Seules la position, l'echelle et l'opacite
   changent. Les dessins ne bougent que si on les voit (« vivantes », pose par site.js) ; au repos chacun est complet. */
.v-scene { --u: 1.5px; position: relative; display: block; width: calc(56 * var(--u)); height: calc(30 * var(--u)); color: var(--or); }
.v-scene > *, .v-oeil > *, .v-peau > * { position: absolute; }
.v-scene svg { display: block; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
/* L'oeil. */
.v-oeil, .v-paupiere { left: calc(13 * var(--u)); top: 0; width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.v-oeil svg { left: 0; top: 0; width: 100%; height: 100%; }
.v-pupille { fill: currentColor; stroke: none; }
.v-paupiere { opacity: 0; }
.vivantes .v-oeil { animation: v-cligne 4.4s linear infinite; }
.vivantes .v-iris { animation: v-regard 4.4s ease-in-out infinite; }
.vivantes .v-paupiere { animation: v-paupiere 4.4s linear infinite; }
@keyframes v-cligne { 0%, 90% { transform: scaleY(1); opacity: 1; } 92% { transform: scaleY(.12); opacity: 1; }
                      92.2%, 94.4% { transform: scaleY(.12); opacity: 0; } 94.6% { transform: scaleY(.12); opacity: 1; }
                      97.5%, 100% { transform: scaleY(1); opacity: 1; } }
@keyframes v-paupiere { 0%, 92% { opacity: 0; } 92.2%, 94.4% { opacity: 1; } 94.6%, 100% { opacity: 0; } }
@keyframes v-regard { 0%, 14% { transform: translateX(0); } 26%, 40% { transform: translateX(calc(-2.4 * var(--u))); }
                      54%, 68% { transform: translateX(calc(2.4 * var(--u))); } 80%, 100% { transform: translateX(0); } }
/* La bulle. « v-bulle » gonfle (depuis sa pointe) ; « v-peau » eclate (depuis son milieu). */
.v-bulle { left: calc(13 * var(--u)); top: calc(2 * var(--u)); width: calc(30 * var(--u)); height: calc(26 * var(--u)); transform-origin: 27% 90%; }
.v-peau { position: absolute; inset: 0; transform-origin: 50% 40%; }
.v-peau svg, .v-points { left: 0; top: 0; width: 100%; height: 100%; }
.v-points { opacity: 0; }
.v-points i { position: absolute; top: calc(9.2 * var(--u)); width: calc(2.6 * var(--u)); height: calc(2.6 * var(--u)); border-radius: 50%; background: currentColor; }
.v-points i:nth-child(1) { left: calc(8.7 * var(--u)); }
.v-points i:nth-child(2) { left: calc(13.7 * var(--u)); }
.v-points i:nth-child(3) { left: calc(18.7 * var(--u)); }
.v-eclats { left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transform-origin: 50% 41.7%; }
.vivantes .v-bulle { animation: v-gonfle 5s linear infinite; }
.vivantes .v-peau { animation: v-eclate 5s linear infinite; }
.vivantes .v-points { animation: v-points 5s linear infinite; }
.vivantes .v-points i { animation: v-point .9s ease-in-out infinite; }
.vivantes .v-points i:nth-child(2) { animation-delay: .15s; }
.vivantes .v-points i:nth-child(3) { animation-delay: .3s; }
.vivantes .v-question { animation: v-question 5s linear infinite; }
.vivantes .v-eclats { animation: v-eclats 5s linear infinite; }
@keyframes v-gonfle { 0% { transform: scale(0); } 5% { transform: scale(1.16); } 8% { transform: scale(.95); } 11%, 100% { transform: scale(1); } }
@keyframes v-eclate { 0% { transform: scale(1); opacity: 0; } 1%, 85% { transform: scale(1); opacity: 1; }
                      87% { transform: scale(1.12); opacity: 1; } 90%, 100% { transform: scale(1.36); opacity: 0; } }
@keyframes v-points { 0%, 9% { opacity: 0; } 11%, 44% { opacity: 1; } 46%, 100% { opacity: 0; } }
@keyframes v-point { 0%, 55%, 100% { transform: translateY(0); } 28% { transform: translateY(calc(-2.4 * var(--u))); } }
@keyframes v-question { 0%, 46% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1.22); } 54%, 100% { opacity: 1; transform: scale(1); } }
@keyframes v-eclats { 0%, 86.5% { opacity: 0; transform: scale(.6); } 88% { opacity: 1; transform: scale(.86); } 94%, 100% { opacity: 0; transform: scale(1.22); } }
/* Le cerveau, et les notions qu'il absorbe : six petits dessins partent des bords, l'un apres l'autre, tournent un peu,
   rapetissent, et se perdent en lui. (--dx, --dy : d'ou part le dessin, en pixels de l'app.) */
.v-picto { left: calc(16 * var(--u)); top: calc(3 * var(--u)); width: calc(24 * var(--u)); height: calc(24 * var(--u)); background: currentColor;
           -webkit-mask: url(images/cerveau.png) center / contain no-repeat; mask: url(images/cerveau.png) center / contain no-repeat; }
.v-signe { left: 50%; top: 50%; width: calc(15 * var(--u)); height: calc(15 * var(--u)); margin: calc(-7.5 * var(--u)) 0 0 calc(-7.5 * var(--u)); opacity: 0; }
.v-scene svg.v-signe { stroke-width: 1; }
.v-scene svg.v-signe.fin { stroke-width: .8; }
.v-signe .plein { fill: currentColor; stroke: none; }
.v-signe.ecrit { width: calc(38 * var(--u)); height: calc(10 * var(--u)); margin: calc(-5 * var(--u)) 0 0 calc(-19 * var(--u)); text-align: center; white-space: nowrap;
                 font: italic 600 calc(8.5 * var(--u)) / calc(10 * var(--u)) Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.vivantes .v-signe { animation: v-absorbe 3.9s cubic-bezier(.55, 0, .9, .5) infinite; animation-delay: var(--retard, 0s); }
/* (« * .78 » : ils partent d'un peu moins loin que dans l'app, pour ne pas etre coupes par le bord de la pastille.) */
@keyframes v-absorbe { from { transform: translate(calc(var(--dx) * var(--u) * .78), calc(var(--dy) * var(--u) * .78)) rotate(var(--tour, 0deg)) scale(1); opacity: 0; }
                       12%, 62% { opacity: .92; }
                       to { transform: translate(0, 0) rotate(0deg) scale(.16); opacity: 0; } }
/* Le livre, et ses pages qui se tournent (de droite a gauche, autour du dos). Chaque page est faite de deux volets : l'un
   tenu au dos, l'autre a son bord, qui traine derriere le premier (la page se courbe), le rattrape, et le depasse d'un rien
   quand elle se couche. Les pages ont le fond de la vignette : rien ne change de ton quand l'une se pose. */
.v-livre, .v-feuillet { left: calc(14 * var(--u)); top: calc(1 * var(--u)); width: calc(28 * var(--u)); height: calc(28 * var(--u)); }
.v-scene svg.v-livre { fill: var(--pastille); }
.v-feuillet { opacity: 0; perspective: calc(90 * var(--u)); }
.v-volet { position: absolute; top: 0; height: calc(28 * var(--u)); transform-origin: 0 50%; transform-style: preserve-3d; }
.v-volet.a { left: calc(14 * var(--u)); width: calc(5.41 * var(--u)); }
.v-volet.b { left: calc(5.41 * var(--u)); width: calc(6.4 * var(--u)); }
.v-volet > span { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.v-volet.a > span { width: calc(5.9 * var(--u)); }
.v-volet > span svg { position: absolute; top: 0; width: calc(28 * var(--u)); height: calc(28 * var(--u)); fill: var(--pastille); }
.v-volet.a > span svg { left: calc(-14 * var(--u)); }
.v-volet.b > span svg { left: calc(-19.41 * var(--u)); }
.vivantes .v-feuillet { animation: v-feuillet 3.6s linear infinite; }
.vivantes .v-volet.a { animation: v-tourne 3.6s linear infinite; }
.vivantes .v-volet.b { animation: v-courbe 3.6s linear infinite; }
.vivantes .v-feuillet + .v-feuillet, .vivantes .v-feuillet + .v-feuillet .v-volet { animation-delay: -1.8s; }
@keyframes v-feuillet { 0% { opacity: 0; transform: translateY(0); }
                        6% { opacity: 1; transform: translateY(0); animation-timing-function: ease-out; }
                        30% { transform: translateY(calc(-2.2 * var(--u))); animation-timing-function: ease-in; }
                        56% { opacity: 1; transform: translateY(0); } 64% { opacity: 1; }
                        76%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes v-tourne { 0%, 6% { transform: rotateY(0deg); animation-timing-function: cubic-bezier(.45, 0, .2, 1); }
                      56%, 100% { transform: rotateY(-180deg); } }
@keyframes v-courbe { 0%, 6% { transform: rotateY(0deg); animation-timing-function: ease-out; }
                      22% { transform: rotateY(38deg); animation-timing-function: ease-in-out; }
                      42% { transform: rotateY(24deg); animation-timing-function: ease-in; }
                      56% { transform: rotateY(-12deg); animation-timing-function: ease-out; }
                      63% { transform: rotateY(5deg); animation-timing-function: ease-in-out; }
                      70%, 100% { transform: rotateY(0deg); } }
/* La routine : deux fleches en rond, qui tournent sans fin, a pas regulier. */
.v-ronde { left: calc(13 * var(--u)); top: 0; width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.v-scene svg.v-ronde { stroke-width: 1.5; }
.vivantes .v-ronde { animation: v-ronde 5.2s linear infinite; }
@keyframes v-ronde { to { transform: rotate(360deg); } }

/* La miniature de la video de presentation, sous le ciel : toujours la. Un clic ouvre le lecteur. */
.film { position: relative; z-index: 3; display: grid; justify-items: center; width: max-content; max-width: 100%; margin: -26px auto 0; padding: 0;
        border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.film-image { display: block; width: min(300px, 78vw); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px;
              box-shadow: 0 0 0 1px rgba(226, 182, 111, .4), 0 30px 60px -30px #000; transition: transform .6s var(--doux), box-shadow .4s ease; }
.film-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .4s ease; }
.film-lire { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin-top: -29px; border-radius: 50%;
             color: var(--sur-or); background: var(--dore); box-shadow: 0 0 0 5px rgba(10, 13, 18, .92), 0 12px 26px -8px rgba(226, 182, 111, .7);
             transition: transform .5s var(--ressort); }
.film-lire::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(237, 210, 166, .85);
                    animation: v-onde 2.8s ease-out infinite; }
@keyframes v-onde { from { transform: scale(1.08); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.film-lire svg { width: 24px; height: 24px; margin-left: 2px; fill: currentColor; }
.film-legende { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; }
.film-legende b { font: 400 21px/1.2 var(--titre); color: var(--encre); }
.film-legende small { font-size: 13.5px; color: var(--gris); }
.film:hover .film-image { transform: translateY(-4px);
                          box-shadow: 0 0 0 1px rgba(237, 210, 166, .85), 0 0 36px -6px rgba(226, 182, 111, .55), 0 34px 60px -30px #000; }
.film:hover .film-image img { filter: brightness(1.12); }
.film:hover .film-lire { transform: translateY(-4px) scale(1.1); }
.film:focus-visible { outline: none; }
.film:focus-visible .film-image { outline: 2px solid var(--or-clair); outline-offset: 4px; }

/* Le lecteur : la video (en hauteur, comme sur le telephone) au milieu de l'ecran, le site assombri derriere. */
.cinema { padding: 0; border: 0; background: transparent; overflow: visible; max-width: none; max-height: none; color: inherit; }
.cinema::backdrop { background: rgba(4, 6, 9, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cinema[open] { animation: v-ouvre .5s var(--doux); }
.cinema[open]::backdrop { animation: v-fond .4s ease; }
@keyframes v-ouvre { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes v-fond { from { opacity: 0; } }
.cinema video { display: block; width: min(100vw - 32px, min(88vh, 940px) * 1080 / 2034); height: auto; aspect-ratio: 1080 / 2034;
                border-radius: 22px; background: #05070a; box-shadow: 0 0 0 1px rgba(226, 182, 111, .42), 0 40px 90px -30px #000; }
.cinema-fermer { position: absolute; top: 0; right: -60px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
                 border-radius: 50%; border: 1px solid var(--filet-fort); background: rgba(18, 22, 30, .92); color: var(--encre); cursor: pointer;
                 transition: background .3s ease, color .3s ease, transform .4s var(--ressort); }
.cinema-fermer:hover { background: var(--or); color: var(--sur-or); transform: rotate(90deg); }
.cinema-fermer svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ─────────────────────────────── B-Coach apprend a vous connaitre ─────────────────────────────── */
/* Le meme bandeau que « Un seul temps de session ». A gauche : B-Coach, et trois notions avec leur maitrise (les couleurs
   de « Mes cours » : acquise, en progres, a retravailler). Les jauges se remplissent quand le bandeau arrive a l'ecran. */
.memoire { display: grid; justify-items: center; gap: 20px; width: min(250px, 100%); }
.memoire .bcoach { width: 92px; height: 92px; }
.memoire ul { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 14px; }
.memoire li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: baseline; text-align: left;
              font-size: 14px; color: var(--encre); }
.memoire li em { font: normal 12px var(--ui); color: var(--teinte); }
.memoire li i { grid-column: 1 / -1; height: 5px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.memoire li b { display: block; height: 100%; border-radius: inherit; background: var(--teinte); transform-origin: 0 50%; transform: scaleX(var(--part)); }
.js .memoire li b { transform: scaleX(0); }
.js .bande.vu .memoire li b { transform: scaleX(var(--part)); transition: transform 1.5s var(--doux) .55s; }
.js .bande.vu .memoire li:nth-child(2) b { transition-delay: .75s; }
.js .bande.vu .memoire li:nth-child(3) b { transition-delay: .95s; }
.m-acquise { --teinte: var(--vert); }
.m-encours { --teinte: var(--or); }
.m-revoir { --teinte: #e39a7c; }
.l-rate i { background: #e39a7c; }
.l-su i { background: var(--vert); }
.l-vous i { background: var(--or); }
#connait .legende b { font-size: 20px; }

/* ─────────────────────────────── Sur telephone ─────────────────────────────── */
.duo { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.vitrine { position: relative; display: grid; place-items: center; padding: 10px 0; }
.section { overflow-x: clip; }
.vitrine-halo { position: absolute; width: min(560px, 100%); aspect-ratio: 1; border-radius: 50%; filter: blur(14px);
                background: radial-gradient(closest-side, rgba(226, 182, 111, .22), transparent); animation: respire 7s ease-in-out infinite; }
.telephone { position: relative; width: min(316px, 76vw); padding: 9px; border-radius: 46px; background: #0e0e10; transform: rotate(-3.5deg);
             box-shadow: inset 0 0 0 1px #2e2e33, 0 50px 90px -34px rgba(0, 0, 0, .98), 0 0 100px -30px rgba(226, 182, 111, .4);
             transition: transform .9s var(--doux); }
.vitrine:hover .telephone { transform: rotate(0deg) translateY(-6px); }
.telephone-ecran { position: relative; aspect-ratio: 540 / 1109; border-radius: 37px; overflow: hidden; background: #06080c; }
.vue { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.05) translateY(10px);
       transition: opacity .7s var(--doux), transform 1s var(--doux); }
.vue.la { opacity: 1; transform: none; }
.duo-texte h2 { margin-top: 18px; font-size: clamp(28px, 3.5vw, 46px); }
.duo-texte .memes { margin-top: 16px; font-size: clamp(15.5px, 1.2vw, 17.5px); }
.onglets { margin-top: 30px; display: flex; flex-direction: column; }
.onglet { position: relative; display: block; width: 100%; padding: 15px 0 15px 24px; border: 0; border-bottom: 1px solid var(--filet);
          background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.onglet:last-child { border-bottom: 0; }
.onglet > i { position: absolute; left: 0; top: 13px; bottom: 13px; width: 2px; border-radius: 2px; background: var(--filet-fort); overflow: hidden; }
.onglet > i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--or-clair), var(--or)); transform: scaleY(0);
                     transform-origin: 50% 0; }
.onglet.la > i::after { animation: remplir 4.8s linear forwards; }
.onglets:not(.en-vue) .onglet.la > i::after, .onglets:hover .onglet.la > i::after { animation-play-state: paused; }
@keyframes remplir { to { transform: scaleY(1); } }
.onglet > b { display: block; font: 400 21.5px/1.25 var(--titre); color: var(--gris); transition: color .4s ease, translate .5s var(--doux); }
.onglet:hover > b { color: var(--texte); translate: 4px 0; }
.onglet.la > b { color: var(--encre); translate: 0 0; }
.onglet > span { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--doux), opacity .45s ease; }
.onglet > span > span { min-height: 0; overflow: hidden; font-size: 15px; line-height: 1.55; color: var(--gris); }
.onglet.la > span { grid-template-rows: 1fr; opacity: 1; }
.onglet.la > b { margin-bottom: 4px; }

/* ─────────────────────────────── Un seul temps de session ─────────────────────────────── */
.bande { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 60px; align-items: center; padding: 50px 60px; border-radius: 30px;
         overflow: hidden; background: linear-gradient(90deg, rgba(14, 17, 23, .97) 38%, rgba(14, 17, 23, .72)), url(images/nebuleuse-bande.jpg) 80% 30% / cover; }
.anneau { position: relative; width: 212px; height: 212px; }
.anneau svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.piste { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 9; }
.arc { fill: none; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 0 364.5; opacity: 0; }
.arc-pc { stroke: var(--or); filter: drop-shadow(0 0 6px rgba(226, 182, 111, .7)); }
.arc-tel { stroke: #f6ead0; stroke-dashoffset: -168; }
.vu .arc-pc { stroke-dasharray: 156 364.5; opacity: 1; transition: stroke-dasharray 1.7s var(--doux) .3s, opacity .2s linear .3s; }
.vu .arc-tel { stroke-dasharray: 70 364.5; opacity: 1; transition: stroke-dasharray 1.3s var(--doux) 1.5s, opacity .2s linear 1.5s; }
.anneau-centre { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.anneau-centre b { font: 400 50px/1 var(--titre); color: var(--encre); }
.anneau-centre span { margin-top: 4px; font-size: 13px; color: var(--gris); }
.bande-texte h3 { margin-top: 14px; font: 400 clamp(25px, 2.8vw, 36px)/1.14 var(--titre); color: var(--encre); text-wrap: balance; }
.bande-texte p { margin-top: 12px; max-width: 560px; font-size: 16px; line-height: 1.6; color: var(--texte); }
.legende { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.legende li { display: grid; grid-template-columns: auto auto; gap: 1px 9px; align-items: center; font-size: 13.5px; color: var(--gris); }
.legende i { width: 10px; height: 10px; border-radius: 50%; }
.legende b { grid-column: 2; font: 400 23px/1.1 var(--titre); color: var(--encre); }
.l-pc i { background: var(--or); } .l-tel i { background: #f6ead0; } .l-reste i { background: rgba(255, 255, 255, .16); }

/* ─────────────────────────────── Relier ─────────────────────────────── */
.relier { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.etape { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 22px 24px; border-radius: 18px;
         border: 1px solid transparent; cursor: pointer; overflow: hidden; transition: background .5s ease, border-color .5s ease; }
.etape:hover { background: rgba(255, 255, 255, .025); }
.etape.la { border-color: var(--filet); background: linear-gradient(180deg, rgba(22, 27, 36, .92), rgba(13, 16, 22, .92)); }
.num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font: 400 20px/1 var(--titre); color: var(--gris);
       box-shadow: inset 0 0 0 1px var(--filet-fort); transition: color .4s ease, background .4s ease, box-shadow .4s ease, transform .5s var(--ressort); }
.etape.la .num { color: var(--sur-or); background: var(--dore); box-shadow: 0 10px 22px -8px rgba(226, 182, 111, .85); transform: scale(1.08); }
.etape.faite .num { color: var(--or-clair); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .5); }
.etape h3 { margin: 7px 0 4px; font: 400 21.5px/1.2 var(--titre); color: var(--gris); transition: color .4s ease; }
.etape.la h3 { color: var(--encre); }
.etape p { font-size: 14.5px; line-height: 1.55; color: var(--gris); }
.jauge { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; transform: scaleX(0); transform-origin: 0 50%;
         background: linear-gradient(90deg, var(--or-sombre), var(--or-clair)); }
.etape.la .jauge { animation: avance var(--duree, 3s) linear forwards; }
@keyframes avance { to { transform: scaleX(1); } }

/* La demonstration : dessinee a 560 x 390, mise a l'echelle par site.js. */
.demo { position: relative; width: 100%; }
.demo-int { position: absolute; left: 0; top: 0; width: 560px; height: 390px; transform-origin: 0 0; transform: scale(var(--echelle, 1)); }
.d-tel { position: absolute; left: 4px; top: 20px; width: 174px; height: 352px; padding: 6px; border-radius: 31px; background: #0c0c0e;
         box-shadow: inset 0 0 0 1px #2c2c31, 0 34px 60px -24px rgba(0, 0, 0, .98), 0 0 70px -24px rgba(226, 182, 111, .4); }
.d-tel-ecran { position: relative; height: 100%; border-radius: 25px; overflow: hidden;
               background: #0a0d12 url(images/nebuleuse-bande.jpg) 62% 0 / auto 62% no-repeat; }
.d-tel-ecran::before { content: ""; position: absolute; inset: 0;
                       background: linear-gradient(180deg, rgba(10, 13, 18, .6), rgba(10, 13, 18, .82) 30%, #0a0d12 58%); }
.d-marque { position: relative; padding: 15px 14px 0; font: italic 700 15px/1 var(--nom); color: var(--encre); }
.d-marque i { display: inline-block; width: .8em; height: .78em; margin: 0 .03em 0 .09em; vertical-align: -.08em; background: var(--or-clair);
              -webkit-mask: url(images/cerveau.png) center / contain no-repeat; mask: url(images/cerveau.png) center / contain no-repeat; }
.d-bloc { position: absolute; left: 10px; right: 10px; top: 50px; bottom: 34px; display: flex; flex-direction: column; align-items: center;
          justify-content: center; text-align: center;
          transition: opacity .5s ease, transform .7s var(--doux); }
.d-bloc small { font-size: 7px; font-weight: 600; letter-spacing: .2em; color: var(--or); }
.d-bloc b { margin-top: 6px; font: 400 15.5px/1.2 var(--titre); color: var(--encre); }
.d-formule b { font-size: 30px; color: var(--or-clair); }
.d-formule > span { margin-top: 4px; font-size: 9.5px; color: var(--gris); }
.d-formule em { margin-top: 18px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px 6px 10px; border-radius: 999px;
                font: normal 600 10px var(--ui); color: var(--vert); background: rgba(143, 192, 139, .14); transform: scale(0);
                transition: transform .55s var(--ressort); }
.abonne .d-formule em { transform: scale(1); }
.d-bloc svg, .d-etat svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.d-code { opacity: 0; transform: translateY(16px); }
[data-etape="3"] .d-formule { opacity: 0; transform: translateY(-16px); }
[data-etape="3"] .d-code { opacity: 1; transform: none; }
.chiffres { display: flex; align-items: center; gap: 3px; margin-top: 18px; }
.chiffres i { width: 20px; height: 28px; display: grid; place-items: center; border-radius: 5px; font: normal 400 17px/1 var(--titre);
              color: var(--or-clair); background: rgba(226, 182, 111, .08); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .3);
              transition: box-shadow .25s ease, background .25s ease; }
.chiffres u { width: 5px; }
.chiffres i span { display: block; animation: pose .42s var(--ressort); }
@keyframes pose { from { transform: translateY(7px) scale(.5); opacity: 0; } }
.chiffres.grands { gap: 5px; margin-top: 2px; }
.chiffres.grands i { width: 31px; height: 41px; border-radius: 8px; font-size: 23px; color: var(--encre); background: rgba(255, 255, 255, .04);
                     box-shadow: inset 0 0 0 1px var(--filet-fort); }
.chiffres.grands i.saisie { background: rgba(226, 182, 111, .1); box-shadow: inset 0 0 0 1.5px rgba(226, 182, 111, .7); }
.chiffres.grands u { width: 7px; }
.d-etat { position: relative; width: 100%; height: 15px; margin-top: 13px; font-size: 8.8px; color: var(--gris); }
.d-etat > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px;
                 transition: opacity .4s ease, transform .5s var(--doux); }
.d-etat .fait { opacity: 0; transform: translateY(7px); font-weight: 600; color: var(--vert); }
.relie .d-etat .attente { opacity: 0; transform: translateY(-7px); }
.relie .d-etat .fait { opacity: 1; transform: none; }
.relie .chiffres i { background: rgba(143, 192, 139, .1); box-shadow: inset 0 0 0 1px rgba(143, 192, 139, .5); }
.d-eclair { position: absolute; left: 180px; top: 150px; width: 78px; height: 52px; overflow: visible; }
.d-eclair path { fill: none; stroke: #fff3d4; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
                 filter: drop-shadow(0 0 5px rgba(237, 210, 166, 1)); stroke-dasharray: 150; stroke-dashoffset: 150; }
.relie .d-eclair path { animation: trace .5s ease-out forwards, palpite 2.4s ease-in-out .6s infinite; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes palpite { 0%, 100% { opacity: 1; } 50% { opacity: .45; } 56% { opacity: 1; } 62% { opacity: .6; } }
.d-ordi { position: absolute; left: 258px; top: 74px; width: 298px; }
.d-ordi::before { content: ""; position: absolute; inset: 10% 6% -10%; z-index: -1; border-radius: 50%; filter: blur(26px); opacity: 0;
                  background: radial-gradient(closest-side, rgba(226, 182, 111, .34), transparent); transition: opacity .8s ease; }
[data-etape="3"] .d-ordi::before { opacity: 1; }
.d-ordi-ecran { position: relative; margin: 0 13px; height: 182px; border: 6px solid #0b0c10; border-radius: 12px 12px 3px 3px; overflow: hidden;
                background: radial-gradient(120% 90% at 50% 0%, #161b24, #0a0d12); box-shadow: 0 0 0 1px #2b2f38, 0 30px 50px -24px #000;
                transition: opacity .7s ease, filter .7s ease; }
[data-etape="1"] .d-ordi-ecran { opacity: .42; filter: saturate(.4); }
.d-ordi-socle { height: 10px; border-radius: 2px 2px 13px 13px; background: linear-gradient(#444a55, #1b1e24 70%); }
.d-vue { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
         padding: 0 16px; font-size: 10px; text-align: center; color: var(--gris); opacity: 0; transform: scale(.96);
         transition: opacity .5s ease, transform .7s var(--doux); }
.d-vue img { width: 46px; height: 46px; }
[data-etape="1"] .d-veille, [data-etape="2"] .d-installe, [data-etape="3"] .d-saisie { opacity: 1; transform: none; }
.d-barre { width: 150px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.d-barre i { display: block; height: 100%; background: var(--dore); transform: scaleX(0); transform-origin: 0 50%; }
[data-etape="2"] .d-barre i { animation: avance 2.5s var(--doux) .45s forwards; }
.d-saisie { gap: 7px; }
.d-saisie > b { max-width: 210px; font: 400 12.5px/1.25 var(--titre); color: var(--encre); }
.d-saisie .bcoach { width: 34px; height: 34px; }
.d-saisie .d-etat { margin-top: 2px; }

/* ─────────────────────────────── Les flashcards, hors de l'app ─────────────────────────────── */
/* Les quatre etapes a gauche (les memes blocs que « Relier »), le telephone a droite. Le telephone est DESSINE, a
   380 x 580, et mis a l'echelle par site.js : du texte et des traits, donc net a toutes les tailles. site.js joue les
   etapes en posant des classes sur .flash-int : fc-fichier, fc-nom, fc-presse (1) ; fc-pret (2) ; fc-ouvert, fc-posee,
   fc-retournee, fc-sue, fc-partie (3 et 4). */
.flash { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); }
.demo-flash { position: relative; width: 100%; }
.flash-int { position: absolute; left: 0; top: 0; width: 380px; height: 580px; transform-origin: 0 0; transform: scale(var(--echelle, 1)); }
.fc-halo { position: absolute; left: 0; top: 100px; width: 380px; height: 380px; border-radius: 50%;
           background: radial-gradient(closest-side, rgba(226, 182, 111, .2), transparent); animation: respire 7s ease-in-out infinite; }
.fc-tel { position: absolute; left: 55px; top: 10px; width: 270px; height: 560px; padding: 7px; border-radius: 42px; background: #0c0c0e;
          box-shadow: inset 0 0 0 1px #2c2c31, 0 40px 70px -28px rgba(0, 0, 0, .98), 0 0 80px -26px rgba(226, 182, 111, .42); }
.fc-ecran { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: #0a0d12; }
.fc-vue { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .7s var(--doux); }
[data-etape="1"] .fc-televerser, [data-etape="2"] .fc-redige { opacity: 1; transform: none; }

/* 1. La feuille « Flashcards d'un cours ». */
.fc-titre { margin: 24px 16px 0; font: 400 19px/1.2 var(--titre); color: var(--encre); }
.fc-note { margin: 8px 16px 0; font-size: 10px; line-height: 1.5; color: var(--gris); }
.fc-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 16px 0; }
.fc-choix span { padding: 11px 4px 10px; border-radius: 11px; border: 1px dashed rgba(226, 182, 111, .42); text-align: center;
                 font-size: 9.5px; font-weight: 600; color: var(--encre); transition: background .3s ease; }
.fc-choix svg { display: block; width: 17px; height: 17px; margin: 0 auto 6px; fill: none; stroke: var(--or); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fc-choix small { display: block; margin-top: 3px; font-size: 8px; font-weight: 400; color: var(--gris); }
.fc-fichier { display: flex; align-items: center; gap: 7px; margin: 12px 16px 0; padding: 9px 11px; border-radius: 10px; background: rgba(255, 255, 255, .045);
              font-size: 9.5px; color: var(--encre); opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .5s var(--doux); }
.fc-fichier svg { width: 11px; height: 11px; fill: none; stroke: var(--or); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fc-fichier b { font-weight: 600; }
.fc-fichier small { margin-left: auto; font-size: 8px; color: var(--gris); }
.fc-fichier-la .fc-fichier { opacity: 1; transform: none; }
.fc-champ { margin: 12px 16px 0; }
.fc-champ small { font-size: 8px; color: var(--gris); }
.fc-champ b { display: block; height: 31px; margin-top: 5px; padding: 0 11px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--filet-fort);
              font: 400 10.5px/31px var(--ui); color: var(--encre); }
.fc-champ b span { opacity: 0; transition: opacity .35s ease; }
.fc-nom .fc-champ b span { opacity: 1; }
.fc-bouton { position: absolute; left: 16px; right: 16px; bottom: 56px; height: 37px; display: grid; place-items: center; border-radius: 12px;
             font: 600 11px/1 var(--ui); color: var(--sur-or); background: var(--dore); opacity: .42;
             transition: opacity .4s ease, transform .25s ease, box-shadow .4s ease; }
.fc-nom .fc-bouton { opacity: 1; box-shadow: 0 12px 24px -12px rgba(226, 182, 111, .9); }
.fc-presse .fc-bouton { transform: scale(.95); }
.fc-onglets { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; justify-content: space-around;
              border-top: 1px solid var(--filet); font-size: 7.5px; color: var(--pale); }
.fc-onglets .la { color: var(--or); font-weight: 600; }

/* 2. B-Coach redige : les vingt cartes arrivent une a une. */
.fc-redige { text-align: center; }
.fc-redige .d-marque { text-align: left; }
.fc-redige .bcoach { display: block; width: 62px; height: 62px; margin: 26px auto 0; }
.fc-etat { display: grid; margin-top: 12px; font: 600 11.5px/1.3 var(--ui); color: var(--encre); }
.fc-etat span { grid-area: 1 / 1; transition: opacity .35s ease, transform .5s var(--doux); }
.fc-etat .fait { opacity: 0; transform: translateY(6px); color: var(--or-clair); }
.fc-pret .fc-etat .attente { opacity: 0; transform: translateY(-6px); }
.fc-pret .fc-etat .fait { opacity: 1; transform: none; }
.fc-paquet { display: grid; grid-template-columns: repeat(5, 30px); gap: 7px; justify-content: center; margin-top: 18px; }
.fc-paquet i { position: relative; height: 40px; border-radius: 5px; background: linear-gradient(165deg, #1c212b, #11151c);
               box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .42); opacity: 0; transform: translateY(10px) scale(.4);
               transition: opacity .25s ease, transform .45s var(--ressort), box-shadow .5s ease; }
.fc-paquet i::before { content: ""; position: absolute; left: 6px; right: 6px; top: 15px; height: 2px; border-radius: 2px; background: rgba(245, 242, 235, .5);
                       box-shadow: 0 6px 0 rgba(245, 242, 235, .22); }
.fc-paquet i.la { opacity: 1; transform: none; }
.fc-pret .fc-paquet i { box-shadow: inset 0 0 0 1px rgba(237, 210, 166, .9), 0 0 12px -3px rgba(226, 182, 111, .6); }
.fc-compte { margin-top: 14px; font-size: 10px; color: var(--gris); transition: opacity .3s ease; }
.fc-compte b { font: 400 17px/1 var(--titre); color: var(--or-clair); }
.fc-pret .fc-compte { opacity: 0; }

/* 3 et 4. Hors de l'app : l'ecran du telephone et ses applis ; par-dessus, a l'etape 3, l'ecran verrouille. */
.fc-applis, .fc-verrou, .fc-ouverte { background: #0a0d12 url(images/nebuleuse-bande.jpg) 46% 40% / auto 130% no-repeat; }
.fc-applis::before, .fc-verrou::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 14, .5), rgba(8, 10, 14, .78)); }
[data-etape="3"] .fc-applis, [data-etape="4"] .fc-applis { opacity: 1; transform: none; }
.fc-grille { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 20px; margin: 62px 18px 0; text-align: center;
             font-size: 8.5px; color: var(--encre); }
.fc-grille i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 14px; background: rgba(12, 15, 21, .72);
               box-shadow: inset 0 0 0 1px var(--filet-fort); transition: transform .25s ease, box-shadow .3s ease; }
.fc-grille svg { width: 22px; height: 22px; fill: none; stroke: var(--or-clair); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
[data-etape="4"].fc-ouvert #flash-appli i { transform: scale(.9); box-shadow: inset 0 0 0 1px var(--or); }
.fc-verrou { text-align: center; color: var(--encre); transition: opacity .5s ease, transform .7s var(--doux); }
[data-etape="3"] .fc-verrou { opacity: 1; transform: none; }
[data-etape="3"].fc-ouvert .fc-verrou { opacity: 0; transform: translateY(-46px); }
.fc-heure { position: relative; margin-top: 78px; font: 400 52px/1 var(--titre); letter-spacing: .01em; }
.fc-date { position: relative; margin-top: 8px; font-size: 10.5px; color: var(--texte); }
.fc-cadenas { position: absolute; left: 50%; bottom: 82px; width: 20px; height: 20px; margin-left: -10px; fill: none; stroke: var(--or-clair);
              stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fc-glisse { position: absolute; left: 0; right: 0; bottom: 54px; font-size: 9px; color: var(--gris); }
/* (A l'etape 4, une fois la carte passee : l'appli s'ouvre.) */
.fc-ouverte { display: grid; place-content: center; justify-items: center; gap: 10px; transform: scale(.94); }
.fc-ouverte::before { content: ""; position: absolute; inset: 0; background: rgba(8, 10, 14, .9); }
.fc-ouverte svg { position: relative; width: 46px; height: 46px; fill: none; stroke: var(--or-clair); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-ouverte b { position: relative; font: 400 17px/1 var(--titre); color: var(--encre); }
[data-etape="4"].fc-partie .fc-ouverte { opacity: 1; transform: none; }

/* La carte posee par-dessus : B-Coach, sa bulle, la carte (elle se retourne), « Plus tard ». */
.fc-pose { position: absolute; inset: 0; z-index: 3; text-align: center; background: rgba(6, 8, 12, .97); opacity: 0; transform: translateY(18px);
           transition: opacity .45s ease, transform .6s var(--doux); }
.fc-posee .fc-pose { opacity: 1; transform: none; }
.fc-partie .fc-pose { opacity: 0; transform: translateY(-22px); }
.fc-pose .bcoach { display: block; width: 40px; height: 40px; margin: 40px auto 0; }
.fc-bulle { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; font-size: 9.5px; color: var(--encre);
            background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--filet-fort); }
.fc-carte { position: absolute; left: 16px; right: 16px; top: 134px; height: 250px; perspective: 900px; }
.fc-carte-int { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.3, 1.25, .4, 1); }
.fc-retournee .fc-carte-int { transform: rotateY(180deg); }
.fc-face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 14px 15px; border-radius: 13px; text-align: left;
           -webkit-backface-visibility: hidden; backface-visibility: hidden; background: linear-gradient(180deg, #11151c, #0a0d12);
           border: 1px solid rgba(226, 182, 111, .45); box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .95), 0 0 46px -14px rgba(226, 182, 111, .4); }
.fc-verso { transform: rotateY(180deg); }
.fc-face small { padding-bottom: 8px; border-bottom: 1px solid var(--filet); font: italic 8.5px var(--titre); color: var(--gris); white-space: nowrap; overflow: hidden; }
.fc-face small b { font: normal 600 7.5px var(--ui); letter-spacing: .16em; color: var(--or); }
.fc-face p { margin: auto 0; text-align: center; font: italic 700 14.5px/1.32 var(--ui); color: var(--encre); text-wrap: balance; }
.fc-face em { text-align: center; font: italic 8.5px var(--titre); color: var(--pale); }
.fc-boutons { display: flex; gap: 8px; margin-top: 9px; }
.fc-boutons span { flex: 1; height: 31px; display: grid; place-items: center; border-radius: 9px; font: 600 10px/1 var(--ui);
                   transition: transform .2s ease, filter .2s ease; }
.fc-boutons span:first-child { color: #e39a7c; box-shadow: inset 0 0 0 1px rgba(227, 154, 124, .5); }
.fc-boutons span:last-child { color: var(--sur-or); background: var(--dore); }
.fc-sue #flash-savais { transform: scale(.93); filter: brightness(1.18); }
.fc-tard { position: absolute; left: 50%; bottom: 26px; width: 74px; margin-left: -37px; padding: 7px 0; border-radius: 999px; font-size: 9px; color: var(--texte);
           box-shadow: inset 0 0 0 1px var(--filet-fort); }
/* Le doigt : un rond qui se pose la ou l'on touche. */
.fc-doigt { position: absolute; left: var(--x, 50%); top: var(--y, 50%); z-index: 5; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%;
            background: rgba(237, 210, 166, .3); box-shadow: inset 0 0 0 1px rgba(237, 210, 166, .8); opacity: 0; pointer-events: none; }
.fc-doigt.tape { animation: fc-tape .75s ease-out; }
.fc-doigt.glisse { animation: fc-glisse .8s ease-in; }
@keyframes fc-tape { 0% { opacity: 0; transform: scale(1.7); } 28% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }
@keyframes fc-glisse { 0% { opacity: 0; transform: translateY(0) scale(1.5); } 20% { opacity: 1; transform: translateY(0) scale(1); }
                       100% { opacity: 0; transform: translateY(-150px) scale(1); } }

/* ─────────────────────────────── Les formules ─────────────────────────────── */
#formules::after { content: ""; position: absolute; left: 50%; top: 22%; width: min(900px, 90%); height: 520px; translate: -50% 0; pointer-events: none;
                   background: radial-gradient(closest-side, rgba(226, 182, 111, .09), transparent); }
.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; perspective: 1400px; }
.formule { display: flex; flex-direction: column; padding: 34px 30px 32px; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
           transition: transform .6s var(--doux), box-shadow .5s ease, border-color .5s ease; }
.formule:hover { transition-duration: .15s, .5s, .5s; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9); }
.formule.milieu { border-color: rgba(226, 182, 111, .45); background: linear-gradient(180deg, rgba(38, 32, 21, .92), rgba(15, 16, 20, .94));
                  box-shadow: 0 34px 80px -44px rgba(226, 182, 111, .7); }
.f-eclairs { display: flex; gap: 1px; height: 22px; color: var(--or); }
.f-eclairs svg { width: 20px; height: 22px; fill: currentColor; }
.formule:hover .f-eclairs svg { animation: etincelle 1.2s ease-in-out; }
.formule:hover .f-eclairs svg:nth-child(2) { animation-delay: .12s; }
.formule:hover .f-eclairs svg:nth-child(3) { animation-delay: .24s; }
.formule h3 { margin-top: 16px; font: 400 31px/1.1 var(--titre); color: var(--or-clair); }
.f-heures { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
/* « 2 Std. », « 2 h » : le chiffre et l'unite restent ensemble ; s'il manque de place, c'est la legende qui passe dessous. */
.f-heures b { font: 400 56px/1 var(--titre); color: var(--encre); white-space: nowrap; }
.f-heures span { font-size: 14px; color: var(--gris); }
.f-prix { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--filet); display: flex; align-items: baseline; gap: 8px; }
.f-prix b { font: 400 27px/1 var(--titre); color: var(--encre); }
.f-prix small { font-size: 13px; color: var(--gris); }
.formule ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; color: var(--texte); }
.formule li { position: relative; padding-left: 27px; }
.formule li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 12px; height: 6px; border-left: 2px solid var(--or);
                      border-bottom: 2px solid var(--or); transform: rotate(-45deg); }
.formule li em { font: italic 1.1em var(--titre); color: var(--or-clair); }
.essai { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px;
         padding: 20px 22px 20px 28px; border-radius: 20px; border: 1px dashed rgba(226, 182, 111, .38); background: rgba(226, 182, 111, .045); }
.essai p { font-size: 15.5px; color: var(--texte); }
.essai b { font-weight: 600; color: var(--encre); }
.mention { margin-top: 22px; text-align: center; font-size: 13px; color: var(--pale); }

/* ─────────────────────────────── Telecharger ─────────────────────────────── */
.final { position: relative; isolation: isolate; overflow: hidden; padding: 84px 32px 70px; border-radius: 36px; text-align: center;
         border: 1px solid rgba(226, 182, 111, .3); box-shadow: 0 50px 110px -70px rgba(226, 182, 111, .4); }
.final-ciel { position: absolute; inset: 0; z-index: -2; background: url(images/nebuleuse.jpg) 50% 38% / cover;
              animation: derive 38s ease-in-out infinite alternate; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1;
                background: radial-gradient(ellipse at 50% 36%, rgba(10, 13, 18, .42), rgba(10, 13, 18, .93) 78%); }
.final-coach.bcoach { width: 96px; height: 96px; margin-bottom: 12px; }
.final h2 { font-size: clamp(34px, 5.2vw, 64px); }
.final p { max-width: 520px; margin: 16px auto 0; font-size: 17px; line-height: 1.55; color: var(--texte); }
.final .actions { margin-top: 36px; }
.final small { display: block; margin-top: 20px; font-size: 13px; color: var(--gris); }

/* ─────────────────────────────── Questions ─────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.q { border: 1px solid var(--filet); border-radius: 17px; background: rgba(17, 21, 28, .78); transition: border-color .4s ease, background .4s ease; }
.q:hover { border-color: var(--filet-fort); }
.q.ouverte { border-color: rgba(226, 182, 111, .38); background: rgba(22, 27, 36, .94); }
.q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px 20px 26px; border: 0;
            background: none; color: var(--encre); font: 400 20.5px/1.3 var(--titre); text-align: left; cursor: pointer;
            -webkit-tap-highlight-color: transparent; }
.q button i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--filet-fort);
              transition: transform .6s var(--ressort), background .4s ease, box-shadow .4s ease; }
.q button i::before, .q button i::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.6px; margin-top: -.8px;
                                           border-radius: 2px; background: var(--or); transition: transform .45s var(--doux); }
.q button i::after { transform: rotate(90deg); }
.q.ouverte button i { transform: rotate(180deg); background: rgba(226, 182, 111, .14); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .5); }
.q.ouverte button i::after { transform: rotate(0deg); }
.r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--doux); }
.q.ouverte .r { grid-template-rows: 1fr; }
.r > div { min-height: 0; overflow: hidden; }
.r p { max-width: 660px; padding: 0 26px 24px; font-size: 15.5px; line-height: 1.62; color: var(--texte); opacity: 0; translate: 0 -6px;
       transition: opacity .4s ease, translate .5s var(--doux); }
.q.ouverte .r p { opacity: 1; translate: 0 0; transition-delay: .12s; }

/* ─────────────────────────────── Le pied ─────────────────────────────── */
.pied { position: relative; padding: 56px 0 40px; border-top: 1px solid var(--filet); background: linear-gradient(180deg, transparent, rgba(4, 5, 7, .85)); }
.pied-int { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px 40px; align-items: center; }
.pied-marque span { display: block; margin-top: 8px; font-size: 13px; color: var(--gris); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; }
.pied-liens a { color: var(--texte); text-decoration: none; background: linear-gradient(var(--or), var(--or)) no-repeat 0 100% / 0 1px;
                transition: color .3s ease, background-size .45s var(--doux); padding-bottom: 2px; }
.pied-liens a:hover { color: var(--or-clair); background-size: 100% 1px; }
.langues { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.langues span { padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--gris); box-shadow: inset 0 0 0 1px var(--filet);
                transition: color .3s ease, box-shadow .3s ease; }
.langues span:hover { color: var(--texte); box-shadow: inset 0 0 0 1px var(--filet-fort); }
.langues .la { color: var(--or-clair); background: rgba(226, 182, 111, .08); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .45); }
.pied-fin { grid-column: 1 / -1; font-size: 12.5px; color: var(--pale); }

/* Le fil de cote (grands ecrans) : les sections, comme les notions d'un cours dans « Mes cours ». */
.fil-cote { position: fixed; left: 30px; top: 50%; z-index: 30; translate: 0 -50%; display: none; flex-direction: column; gap: 22px; }
.fil-trait { position: absolute; left: 4px; top: 4px; bottom: 4px; width: 1px; background: var(--filet-fort); }
.fil-trait b { position: absolute; inset: 0; background: linear-gradient(var(--or-clair), var(--or)); transform: scaleY(0); transform-origin: 50% 0;
               transition: transform .7s var(--doux); }
.fil-cote a { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #2c313b; box-shadow: 0 0 0 3px var(--fond);
              transition: background .4s ease, transform .5s var(--ressort), box-shadow .4s ease; }
.fil-cote a::after { content: attr(data-nom); position: absolute; left: 22px; top: 50%; translate: -6px -50%; white-space: nowrap; font-size: 12.5px;
                     color: var(--gris); opacity: 0; pointer-events: none; transition: opacity .3s ease, translate .45s var(--doux); }
.fil-cote a:hover::after, .fil-cote a.la::after { opacity: 1; translate: 0 -50%; }
.fil-cote a.passe { background: var(--or-sombre); }
.fil-cote a.la { background: var(--or); transform: scale(1.4); box-shadow: 0 0 0 2px var(--fond), 0 0 14px rgba(226, 182, 111, .9); }
.fil-cote a.la::after { color: var(--or-clair); font-size: 9px; }
@media (min-width: 1500px) { .fil-cote { display: flex; } }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 14px;
         font-size: 14.5px; color: var(--encre); background: rgba(18, 22, 30, .97); border: 1px solid rgba(226, 182, 111, .38);
         box-shadow: 0 24px 50px -20px #000; opacity: 0; translate: -50% 30px; pointer-events: none;
         transition: opacity .35s ease, translate .55s var(--ressort); }
.toast.la { opacity: 1; translate: -50% 0; }

/* ─────────────────────────────── Ecrans etroits ─────────────────────────────── */
@media (max-width: 1080px) {
  /* Le menu des sections, sur une seconde ligne de l'en-tete : sous le nom et la langue, sur toute la largeur (sa demande
     du 16/11/2026). S'il ne tient pas, il defile de cote ; ses bords se fondent dans la marge de l'ecran. */
  html { scroll-padding-top: 116px; }
  .entete-int { --bord: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 74px auto;
                align-items: center; gap: 0 16px; height: auto; transition: grid-template-rows .45s var(--doux); }
  .entete.pose .entete-int { height: auto; grid-template-rows: 60px auto; }
  .marque { grid-area: 1 / 1; justify-self: start; }
  .entete-droite { grid-area: 1 / 2; }
  .nav { grid-area: 2 / 1 / 3 / 3; justify-self: stretch; margin: 0 calc(-1 * var(--bord)) 10px; padding: 0 var(--bord);
         gap: 2px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 0; background: none;
         box-shadow: none; -webkit-mask: linear-gradient(90deg, transparent, #000 var(--bord), #000 calc(100% - var(--bord)), transparent);
         mask: linear-gradient(90deg, transparent, #000 var(--bord), #000 calc(100% - var(--bord)), transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; padding: 8px 14px; font-size: 14px; -webkit-tap-highlight-color: transparent;
           transition: color .3s ease, background .3s ease, box-shadow .3s ease; }
  .nav a:first-of-type { margin-left: auto; }   /* centre s'il tient, colle au bord sinon */
  .nav a:last-child { margin-right: auto; }
  /* La section ou l'on est : son lien est cercle d'or (la pastille qui glisse ne suivrait pas une ligne qui defile seule). */
  .pouce { display: none; }
  .nav a.la { background: rgba(226, 182, 111, .14); box-shadow: inset 0 0 0 1px rgba(226, 182, 111, .3); }
  .accueil { padding-top: 160px; }
  .accueil-int { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .scene { max-width: 640px; margin-inline: auto; }
  .ciel::after { background: linear-gradient(180deg, rgba(10, 13, 18, .72), rgba(10, 13, 18, .5) 30%, rgba(10, 13, 18, .8) 74%, var(--fond) 98%); }
  /* Plus de place sur les cotes du ciel : trois vignettes au-dessus, deux en dessous, puis la miniature. */
  .orage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding-top: 0; }
  .cerveau { grid-area: 2 / 1 / 3 / 7; margin: -30px auto -34px; }
  .eclairs { display: none; }
  .atouts { display: contents; }
  .atout { position: relative; left: auto; top: auto; z-index: 3; width: auto; margin: 0; padding: 0 4px; }
  .a-observer { grid-area: 1 / 1 / 2 / 3; }
  .a-interroger { grid-area: 1 / 3 / 2 / 5; }
  .a-retenir { grid-area: 1 / 5 / 2 / 7; }
  .a-reviser { grid-area: 3 / 1 / 4 / 4; }
  .a-routine { grid-area: 3 / 4 / 4 / 7; }
  .film { grid-area: 4 / 1 / 5 / 7; margin-top: 52px; }
  .duo, .relier { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .demo { max-width: 560px; margin-inline: auto; }
  .demo-flash { max-width: 400px; margin-inline: auto; }
  .formules { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .essai { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 720px) {
  .section { padding: 86px 0; }
  .cadre { width: calc(100% - 32px); }
  .entete-int { --bord: 16px; width: calc(100% - 32px); grid-template-rows: 64px auto; }
  .marque { font-size: 25px; }
  .tete-section { margin-bottom: 44px; }
  .etiquette::before, .etiquette::after { width: 30px; }
  .etiquette { letter-spacing: .18em; font-size: 11px; }
  .accueil { padding: 146px 0 80px; }
  .accueil .actions .bouton { flex: 1 1 100%; }
  .cerveau { width: calc(100% + 32px); margin: -22px -16px -26px; aspect-ratio: 412 / 400; }
  .pastille { width: 80px; height: 64px; margin-bottom: 9px; border-radius: 19px; }
  .v-scene { --u: 1.25px; }
  .atout h3 { font-size: 18px; }
  .film { margin-top: 44px; }
  .cinema-fermer { top: 10px; right: 10px; }
  .entete-droite { gap: 8px; }
  .langue-nom, .langue-bouton .langue-fleche { display: none; }
  .langue-code { display: inline; }
  .langue-bouton { height: 40px; gap: 6px; padding: 0 11px; }
  .langue-liste { grid-template-columns: minmax(0, 1fr); min-width: 176px; }
  .bande { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 36px 24px; justify-items: center; text-align: center;
           background: linear-gradient(180deg, rgba(14, 17, 23, .97) 45%, rgba(14, 17, 23, .8)), url(images/nebuleuse-bande.jpg) 80% 30% / cover; }
  .bande .etiquette.gauche { justify-content: center; }
  .bande .etiquette.gauche::after { display: none; }
  .legende { justify-content: center; }
  /* Chaque point reste colle a son texte ; ceux du bandeau « Il vous connait », l'un sous l'autre, sur un meme bord. */
  .bande .legende li { text-align: left; }
  #connait .legende { display: grid; justify-content: center; }
  #connait .legende li { justify-content: start; }
  .etape { padding: 18px 16px; gap: 14px; }
  .final { padding: 60px 20px 52px; border-radius: 28px; }
  .final .actions .bouton { flex: 1 1 100%; }
  /* Un texte trop long pour une ligne (en allemand, sur les plus petits telephones) passe a la ligne dans son bouton
     au lieu d'etre coupe ou de toucher les bords. */
  .actions .bouton { height: auto; min-height: 54px; padding: 13px 22px; white-space: normal; line-height: 1.25; text-align: center; }
  .actions .bouton.grand { min-height: 62px; }
  .q button { font-size: 18.5px; padding: 18px 16px 18px 20px; }
  .r p { padding: 0 20px 20px; }
  .pied-int { grid-template-columns: minmax(0, 1fr); }
  .descendre { display: none; }
}
/* Les plus petits telephones : le bouton « Telecharger » de l'en-tete ne garde que sa fleche (le grand bouton de
   l'accueil est juste dessous), pour que le nom, la langue et lui tiennent sur une ligne dans toutes les langues. */
@media (max-width: 400px) {
  .entete .bouton.petit { width: 42px; padding: 0; gap: 0; font-size: 0; }
  .entete .bouton.petit svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .onglet.la > i::after, .etape.la .jauge { transform: none; }
}

/* ─────────────────────────────── B-Coach se clique ─────────────────────────────── */
/* Un clic sur lui : il est content trois secondes (site.js). Dans les dessins a plusieurs plans, seul le B-Coach du plan
   montre repond au clic ; les plans eux-memes ne retiennent pas le clic. */
.bcoach { cursor: pointer; }
.fc-vue, .fc-pose { pointer-events: none; }
.fc-redige .bcoach, .fc-pose .bcoach, .d-saisie .bcoach { pointer-events: none; }
[data-etape="2"] .fc-redige .bcoach, .fc-posee:not(.fc-partie) .fc-pose .bcoach, [data-etape="3"] .d-saisie .bcoach { pointer-events: auto; }

/* ─────────────────────────────── Les autres langues ─────────────────────────────── */
/* Le coreen, le chinois et le japonais n'ont pas d'italique (le navigateur pencherait les signes) ni de petites capitales
   espacees ; le coreen ne se coupe pas au milieu d'un mot. */
:lang(ko) :is(em, .face p, .fc-face p, .fc-face small, .fc-face em, .face small, .carte-tete, .carte-boutons span),
:lang(zh) :is(em, .face p, .fc-face p, .fc-face small, .fc-face em, .face small, .carte-tete, .carte-boutons span),
:lang(ja) :is(em, .face p, .fc-face p, .fc-face small, .fc-face em, .face small, .carte-tete, .carte-boutons span),
:lang(ko) .accueil h1 em, :lang(zh) .accueil h1 em, :lang(ja) .accueil h1 em { font-style: normal; }
:lang(ko) .etiquette, :lang(zh) .etiquette, :lang(ja) .etiquette { letter-spacing: .1em; }
:lang(ko) body { word-break: keep-all; }
:lang(ja) body, :lang(zh) body { line-break: strict; }
