/* 13/11/2026 (/design) : Saira chargée ici. Les @font-face Saira d'espace.html pointent vers des fichiers absents (restes d'une page enregistrée) : les titres tombaient sur la police système. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Saira:wdth,wght@75..110,500..700&display=swap');
/* Harmonie des onglets du Détour Hub : REGISTRE SOMBRE (12/11/2026, soir).
   Gabriel, sur une capture de la base en version sombre : « je préfère ce design pour l'interface mais pour toute l'app ».
   Référence : la base Marchés et Catégories (thème sombre de l'app) : dégradé marine, tuiles translucides à bord fin de
   14 px, titres Saira blancs, texte Inter clair, barre du haut blanche avec son bouton orange.
   Remplace le registre clair du 12/11 à 19h (sauvegarde old/css_harmonie.css.bak.20261112_avant_sombre).
   Portée : html.hub-accueil (espace.html), html.hub-membre (formation, banque de documents) et html.edb-on (diagnostic vu
   par un membre, classe posée par js/barre.js). La page de vente, le diagnostic public et l'impression du diagnostic ne
   sont pas touchés. La barre du haut (js/barre.js et .nav de espace.html) reste blanche. */

/* ---------- Socle commun ---------- */
html.hub-accueil,html.hub-membre{color-scheme:dark;
  --navy:#fff;--gray-50:rgba(255,255,255,.04);--gray-100:rgba(255,255,255,.1);--gray-200:rgba(255,255,255,.14);
  --gray-500:#9aa3c4;--gray-700:#c5cbe3;--blue-dark:#b3c0ff;--blue-light:rgba(82,113,255,.22);
  --orange-light:rgba(255,145,77,.16);--orange-dark:#ffb380;
  --radius-pill:8px;--radius-card:14px;--shadow-card:none;--shadow-card-hover:none;--shadow-btn:none;
  --hs-fond:#1a1a2e;--hs-tuile:rgba(255,255,255,.06);--hs-bord:rgba(255,255,255,.14);--hs-texte:#e8ecf6;
  --hs-doux:#c5cbe3;--hs-sourd:#9aa3c4;--hs-lien:#93a6ff}
html.hub-accueil body,html.hub-membre body{background:#1a1a2e linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%) fixed;color:var(--hs-texte)}
html.hub-accueil :is(header,section,main,aside,footer) a:not([class]),html.hub-membre :is(header,section,main,aside,footer) a:not([class]){color:var(--hs-lien)}
html.hub-accueil :is(header,section,main,aside) a:not([class]):hover,html.hub-membre :is(header,section,main,aside) a:not([class]):hover{color:#fff}
html.hub-accueil :focus-visible,html.hub-membre :focus-visible{outline:2px solid #ff914d;outline-offset:2px}

/* ---------- Accueil membre (espace.html) ---------- */
/* la barre du haut reste blanche : elle garde les couleurs claires */
html.hub-accueil .nav{--navy:#1a1a2e;--gray-200:#e2e5ef;--gray-500:#5b6075;--gray-700:#374151}
/* icônes des trois entrées (12/11/2026, Gabriel après les visuels peints : « je voulais quelque chose de bcp plus
   minimaliste, plus des icônes ») : trait orange dans une petite tuile, comme les icônes des catégories de la base */
/* 13/11/2026 (/impeccable) : la tuile autour de l'icône est retirée (gabarit « carte IA » repéré par le détecteur), l'icône reste seule, en trait orange */
html.hub-accueil .ck-icone{display:block;width:auto;height:auto;margin:0 0 18px;color:#ff914d;transition:color .2s}
html.hub-accueil .ck-icone svg{display:block;width:34px;height:34px}
html.hub-accueil .ck-entree:hover .ck-icone{color:#ffb380}
html.hub-accueil .ck-entree p{color:var(--hs-doux)}
html.hub-accueil .ck-entree h2 svg{color:var(--hs-lien)}
html.hub-accueil .ck-entree:hover h2{color:var(--hs-lien)}
html.hub-accueil .ck-act{background:rgba(255,255,255,.035);border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
html.hub-accueil .ck-col h3{color:var(--hs-sourd)}
html.hub-accueil .ck-col-g small,html.hub-accueil .ck-col-s,html.hub-accueil .ck-aide,html.hub-accueil .ck-act .pro-chiffre span{color:var(--hs-doux)}
html.hub-accueil .ck-barre{background:rgba(255,255,255,.14)}
/* 13/11/2026 (/impeccable) : bleu foncé d'un cran pour que le texte blanc se lise (5:1 au lieu de 4,1:1) */
/* 13/11/2026 (/design) : l'action principale passe en orange (charte : bleu = structure, orange = action), texte marine pour le contraste */
html.hub-accueil .ck-bouton{background:#ff914d;color:#1a1a2e}
html.hub-accueil .ck-bouton:hover{background:#ffa268;color:#1a1a2e}
html.hub-accueil .ck-act .pro-actions a,html.hub-accueil .ck-act .pro-actions button,html.hub-accueil .ck-jalons summary,html.hub-accueil .ck-tous{color:var(--hs-lien)}
html.hub-accueil .ck-act .pro-actions a:hover,html.hub-accueil .ck-act .pro-actions button:hover,html.hub-accueil .ck-jalons summary:hover,html.hub-accueil .ck-tous:hover{color:#fff}
html.hub-accueil .ck-jalons .chk-row span:first-child:empty{background:transparent !important;border-color:rgba(255,255,255,.34) !important}
html.hub-accueil .ck-liens a:hover{color:var(--hs-lien)}
html.hub-accueil .ck-liens span{color:var(--hs-sourd)}
html.hub-accueil .ck-pays button{border:1px solid var(--hs-bord);border-radius:14px;background:var(--hs-tuile);color:#fff}
html.hub-accueil .ck-pays button:hover,html.hub-accueil .ck-pays button.on{border-color:#7f95ff;background:rgba(255,255,255,.1);box-shadow:none}
html.hub-accueil .ck-pays .nm{color:#fff}
html.hub-accueil .ck-pays b{color:var(--hs-sourd)}
html.hub-accueil .ck-pays .fl img{box-shadow:0 0 0 1px rgba(255,255,255,.28)}
html.hub-accueil #marches,html.hub-accueil #base-cadre{background:transparent !important}
html.hub-accueil .card{border-radius:14px;box-shadow:none}
html.hub-accueil .btn-diagnostic{border-radius:8px;box-shadow:none}

/* ---------- Formation et banque de documents ---------- */
html.hub-membre{--white:#23254a}
html.hub-membre body{background-color:#1a1a2e}
html.hub-membre h1{font-weight:700;letter-spacing:-.02em}
html.hub-membre h2,html.hub-membre h3{letter-spacing:-.01em}
html.hub-membre .section-label{font:600 .9rem var(--font-head);letter-spacing:0;text-transform:none;color:var(--hs-sourd)}
html.hub-membre .chip{padding:0 !important;background:none !important;border:0;color:var(--hs-sourd) !important;font:600 .9rem var(--font-head);letter-spacing:0;text-transform:none}
html.hub-membre .card{background:var(--hs-tuile);border:1px solid var(--hs-bord);box-shadow:none}
html.hub-membre .card:hover{transform:none;box-shadow:none;border-color:#7f95ff}
html.hub-membre .btn{border-radius:8px;box-shadow:none}
html.hub-membre .btn-outline{border:1px solid rgba(255,255,255,.26);color:#fff;background:transparent}
html.hub-membre .btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.06);color:#fff;transform:none}
/* 13/11/2026 (/design) : action principale en orange, texte marine (charte : orange = action) */
html.hub-membre .btn-primary,html.hub-membre .btn-diagnostic{background:#ff914d;color:#1a1a2e;border-radius:8px;box-shadow:none}
html.hub-membre .btn-primary:hover,html.hub-membre .btn-diagnostic:hover{background:#ffa268;color:#1a1a2e}
/* banque de documents */
html.hub-membre body>header{background:transparent !important;border-bottom:0 !important;padding:56px 0 8px !important}
html.hub-membre body>header .section-label{display:none}
html.hub-membre .doc-row{gap:18px !important;padding:18px 20px !important;background:var(--hs-tuile) !important;border-color:var(--hs-bord) !important;transition:border-color .15s,background .15s !important}
html.hub-membre .doc-row:hover{transform:none;box-shadow:none;border-color:#7f95ff !important;background:rgba(255,255,255,.1) !important}
html.hub-membre .doc-row:hover .doc-title{color:#fff}
html.hub-membre .doc-row>span:first-child{width:26px !important;font-size:.9rem !important;font-weight:600 !important;color:var(--hs-sourd) !important;text-align:left !important}
html.hub-membre .doc-row .doc-title{font-size:1.05rem !important}
html.hub-membre .doc-row>span:nth-child(2)>span{margin-top:6px !important;font-size:.84rem !important;font-weight:500 !important;letter-spacing:0 !important;text-transform:none !important}
html.hub-membre .doc-row .doc-arrow{width:24px !important;height:24px !important;border-radius:0 !important;background:none !important;color:var(--hs-lien) !important}
/* formation */
html.hub-membre .sidebar{background:rgba(255,255,255,.035)}
html.hub-membre #progBar{background:var(--blue) !important}
html.hub-membre #toOver,html.hub-membre .chap:hover .ctitle,html.hub-membre .chap.active .ctitle{color:var(--hs-lien) !important}
html.hub-membre .chap .node{background:transparent}
html.hub-membre .chap.active .node{background:var(--blue-light);color:#fff;border-color:#7f95ff}
html.hub-membre .chap.done .node{background:var(--blue)}
html.hub-membre .qcard{background:var(--hs-tuile);box-shadow:none}
html.hub-membre .opt{border-radius:8px}
html.hub-membre .opt.correct{border-color:#3ecf8e;background:rgba(62,207,142,.14)}
html.hub-membre .opt.wrong{border-color:#f0706f;background:rgba(240,112,111,.14)}
html.hub-membre #videobox{background:#0b0c1a !important}
html.hub-membre #overList>button,html.hub-membre #modDocs>a{background:var(--hs-tuile) !important}
html.hub-membre .scorebox{background:var(--hs-tuile) !important;border:1px solid var(--hs-bord)}
html.hub-membre #done,html.hub-membre #quizSubmit{border-radius:8px !important;box-shadow:none !important}
html.hub-membre #done{color:#1a1a2e !important}

/* ---------- Diagnostic, vu par un membre (écran seulement : le PDF imprimé reste blanc) ---------- */
@media screen{
html.edb-on{color-scheme:dark;
  --color-bg:#1a1a2e;--color-white:#262850;--color-surface:#262850;--color-primary-bg:rgba(82,113,255,.2);
  --color-border:rgba(255,255,255,.14);--color-text:#e8ecf6;--color-text-secondary:#b4bcd9;
  --color-fort:#3ecf8e;--color-fort-bg:rgba(62,207,142,.14);--color-fort-border:rgba(62,207,142,.4);
  --color-moyen:#f5b544;--color-moyen-bg:rgba(245,181,68,.14);--color-moyen-border:rgba(245,181,68,.4);
  --color-faible:#f0706f;--color-faible-bg:rgba(240,112,111,.14);--color-faible-border:rgba(240,112,111,.4);
  --radius-sm:8px;--radius-md:14px;--radius-lg:14px;--radius-xl:14px;--radius-pill:8px;
  --shadow-sm:none;--shadow-md:none;--shadow-lg:0 22px 50px -24px rgba(0,0,0,.6);
  --font:'Inter',system-ui,-apple-system,sans-serif}
html.edb-on body{background:#1a1a2e linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%) fixed;color:#e8ecf6}
html.edb-on .btn-start,html.edb-on .btn-primary,html.edb-on .btn-rdv,html.edb-on .lead-header,html.edb-on .results-header,html.edb-on .toast{color:#fff}
html.edb-on .start-headline{font-weight:700;letter-spacing:-.02em;color:#fff}
html.edb-on .start-headline span{color:inherit;background:none;-webkit-text-fill-color:currentColor}
html.edb-on .stat-pill{padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#e8ecf6;font-weight:600}
html.edb-on .stat-pill-icon{display:none}
html.edb-on .start-stats{gap:6px 22px}
html.edb-on .start-flags-label{font:600 .9rem var(--font-heading);letter-spacing:0;text-transform:none;color:#9aa3c4}
html.edb-on .flag-chip{width:30px;height:30px;padding:0;border:0;border-radius:50%;background-color:#262850;background-position:center;background-size:cover;box-shadow:0 0 0 1px rgba(255,255,255,.28);font-size:0;overflow:hidden}
html.edb-on .flag-chip[title="Belgique"]{background-image:url(../img/drapeaux/be.svg)}
html.edb-on .flag-chip[title="Luxembourg"]{background-image:url(../img/drapeaux/lu.svg)}
html.edb-on .flag-chip[title="Espagne"]{background-image:url(../img/drapeaux/es.png)}
html.edb-on .flag-chip[title="Suisse"]{background-image:url(../img/drapeaux/ch.svg)}
html.edb-on .flag-chip[title="Norvège"]{background-image:url(../img/drapeaux/no.svg)}
html.edb-on .flag-chip[title="Finlande"]{background-image:url(../img/drapeaux/fi.svg)}
html.edb-on .flag-chip[title="Danemark"]{background-image:url(../img/drapeaux/dk.svg)}
html.edb-on .flag-chip[title="Suède"]{background-image:url(../img/drapeaux/se.svg)}
html.edb-on .flag-chip[title="Canada"]{background-image:url(../img/drapeaux/ca.svg)}
html.edb-on .btn-start,html.edb-on .btn-primary{border-radius:8px;background:#ff914d;background-image:none;box-shadow:none;color:#1a1a2e}
html.edb-on .btn-start:hover,html.edb-on .btn-primary:hover{background:#ffa268;transform:none;box-shadow:none;color:#1a1a2e}
html.edb-on .btn-primary:disabled{background:rgba(255,255,255,.14);color:rgba(255,255,255,.5)}
html.edb-on .top3-card:nth-child(1){background:rgba(82,113,255,.2)}
html.edb-on .option-check::after{background:#fff}
/* le logo sombre (texte noir) laisse la place au logo blanc sur les écrans à fond marine */
html.edb-on img.app-logo[src$="assets/logo.png"]{content:url(../diagnostic/assets/logo-white.png)}
}

/* ---------- 13/11/2026 (/impeccable, onglets membres) ---------- */
/* numéros des étapes de la formation : texte éclairci (4,2:1 -> 6,5:1 sur la pastille) */
html.hub-membre #overList>button>span:first-child{color:#c5cbe3 !important}
/* plus de mot seul en fin de paragraphe dans les descriptions */
html.hub-membre p,html.hub-accueil p,html.edb-on p{text-wrap:pretty}
/* boutons orange de la formation (« Commencer », « Terminé ») : texte marine, le blanc était à 2,2:1 */
html.hub-membre #overGo,html.hub-membre #done{color:#1a1a2e !important}

/* ---------- 13/11/2026 (/impeccable2, contrôles Taste Skill) ---------- */
/* un élément qui reçoit le focus n'est plus caché sous la barre collante */
html.hub-accueil,html.hub-membre,html.edb-on{scroll-padding-top:84px}
/* formation : « Quitter » et « Vue d'ensemble » à 44 px de haut (cible tactile) */
html.hub-membre aside.sidebar>a,html.hub-membre #toOver{display:inline-flex;align-items:center;min-height:44px}
/* banque : le titre de page reste plus grand que ses rubriques, aussi sur téléphone */
html.hub-membre body>header h1{font-size:clamp(1.8rem,3.4vw,2.6rem)}
/* accueil : « Commencez par la vidéo de bienvenue » ne dépasse plus le titre de sa rubrique */
html.hub-accueil .ck-debut h3{font-size:1.2rem}
/* accueil : « Se déconnecter » ne passe plus sur deux lignes entre 896 et 1024 px */
html.hub-accueil #edLogout{white-space:nowrap}
/* pied de l'accueil : les liens passent à la ligne au lieu de sortir de l'écran à 320 px, et font 44 px de haut sur téléphone */
html.hub-accueil .footer-links{display:flex;flex-wrap:wrap;gap:0 20px}
@media(max-width:640px){html.hub-accueil .footer-links a{display:inline-flex;align-items:center;min-height:44px}}

/* ==================== REFONTE (13/11/2026 soir, /impeccable2), version SANS TICS D'IA ====================
   Gabriel : « enlève tout ce qui fait Claude Code ». Retirés : pastilles au-dessus des titres, icônes dans un rond,
   cartes égales en dégradé, barre bleu vers orange, numéros en pastille. Gardés : la photo du bandeau, les grands
   titres Saira étroits, l'orange pour l'action. Ancienne version : old/css_harmonie.css.bak.*_avant_sansclaude. */
@keyframes hr-entre{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
/* accueil : bandeau (photo d'origine) */
html.hub-accueil body .ck-hero h1{font-size:clamp(2.6rem,5.4vw,4.6rem);font-stretch:80%;line-height:1;max-width:13ch;animation:hr-entre .8s cubic-bezier(.2,.7,.2,1) both}
html.hub-accueil body .ck-go{background:#ff914d;color:#1a1a2e}
/* accueil : une entrée principale, deux secondaires ; icône à côté du titre, fond uni, simple filet */
html.hub-accueil body .ck-trois{grid-template-columns:1.6fr 1fr 1fr;gap:20px;align-items:stretch}
html.hub-accueil body .ck-entree{display:flex;align-items:flex-end;gap:14px;min-height:150px;padding:26px 26px 28px;border-radius:12px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.12);transition:border-color .2s,background .2s}
html.hub-accueil body .ck-entree:hover{border-color:rgba(255,145,77,.7);background:rgba(255,255,255,.05)}
html.hub-accueil body .ck-entree:first-child{min-height:190px}
html.hub-accueil body .ck-entree:first-child h2{font-size:clamp(1.9rem,2.8vw,2.5rem);font-stretch:82%}
html.hub-accueil body .ck-icone{display:block !important;flex:0 0 auto;margin:0 0 4px;color:#ff914d !important}
html.hub-accueil body .ck-icone svg{width:26px;height:26px}
html.hub-accueil body .ck-entree h2{margin:0}
@media(max-width:860px){html.hub-accueil body .ck-trois{grid-template-columns:1fr}html.hub-accueil body .ck-entree,html.hub-accueil body .ck-entree:first-child{min-height:0}}
/* accueil : votre activité, chiffres en grand, barre orange unie */
html.hub-accueil body .ck-col-g,html.hub-accueil body #chk-count,html.hub-accueil body .ck-act .pro-chiffre b{font-size:3rem;font-stretch:78%;line-height:1;color:#fff}
html.hub-accueil body .ck-barre{height:6px;border-radius:3px}
html.hub-accueil body #hp-bar{background:#ff914d}
/* formation, documents : titres en grand ; cartes à fond uni ; numéros en chiffres orange, sans rond */
html.hub-membre h1{font-stretch:80%}
html.hub-membre body>header h1{font-size:clamp(2.4rem,4.8vw,3.9rem) !important;line-height:1}
html.hub-membre #modTitle{font-size:clamp(2.2rem,4.4vw,3.4rem) !important;line-height:1.02}
html.hub-membre .card:hover,html.hub-membre #overList>button:hover{border-color:rgba(255,145,77,.7) !important}
html.hub-membre .doc-row>span:first-child{color:#ff914d !important;font:700 1.05rem var(--font-head) !important}
/* diagnostic vu par un membre : titre en grand, « potentiel export » en orange plein */
html.edb-on .start-headline{font-stretch:80%;font-size:clamp(2.4rem,5vw,3.8rem);line-height:1}
html.edb-on .start-headline span{color:#ff914d !important;background:none !important;-webkit-text-fill-color:#ff914d !important}
@media (prefers-reduced-motion:reduce){html.hub-accueil body .ck-hero h1{animation:none}}

/* ==== VISUELS (14/11/2026, Gabriel : « améliorer le visu, de belles photos ou visuels pour diagnostic, formation et
   documents, et de belles icônes pour les documents ») : ses illustrations de l'accueil, rien de neuf. ==== */
/* Documents : l'illustration de la rue des boutiques à droite du titre */
html.hub-membre .bq-tete-grille{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:center}
html.hub-membre .bq-visuel{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:60% 55%;border-radius:14px;border:1px solid rgba(255,255,255,.08);box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
html.hub-membre .bq-compte{margin:22px 0 0;font-family:var(--font-head);font-size:.95rem;color:#aeb6d3}
html.hub-membre .bq-compte b{color:#ff914d;font-size:1.25rem;font-weight:700;margin-right:2px}
html.hub-membre .bq-compte span{margin:0 8px;color:#5b6075}
@media(max-width:900px){html.hub-membre .bq-tete-grille{grid-template-columns:1fr;gap:28px}html.hub-membre .bq-visuel{aspect-ratio:16/8}}
/* Documents : l'icône de fichier (feuille claire, pictogramme du sujet, bandeau du format) */
html.hub-membre .bq-fichier{position:relative;display:block;width:48px;height:60px;flex-shrink:0;transition:transform .3s cubic-bezier(.2,.7,.2,1)}
html.hub-membre .bq-feuille{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 6px 10px rgba(0,0,0,.35))}
html.hub-membre .bq-feuille path{fill:#eef1fa}
html.hub-membre .bq-feuille .bq-coin{fill:#c9d0e6}
html.hub-membre .bq-glyphe{position:absolute;left:12px;top:15px;width:24px;height:24px;color:#3c5ae6}
html.hub-membre .bq-xl .bq-glyphe{color:#c25a1c}
html.hub-membre .bq-format{position:absolute;left:-5px;bottom:7px;padding:2px 6px;border-radius:3px;background:#d93f3f;color:#fff;font:700 .6rem/1.2 var(--font-head);letter-spacing:.06em}
html.hub-membre .bq-xl .bq-format{background:#1d8a4e}
html.hub-membre .doc-row:hover .bq-fichier{transform:translateY(-3px)}
html.hub-membre .doc-row .doc-arrow{background:none !important;color:#8fa2ff}
html.hub-membre .doc-row:hover .doc-arrow{color:#ff914d}

/* Formation : l'illustration de la table aux fusées en tête de la vue d'ensemble */
html.hub-membre .fo-visuel{position:relative;margin:0 0 28px;border-radius:14px;overflow:hidden;border:1px solid rgba(255,255,255,.08);aspect-ratio:21/8}
html.hub-membre .fo-visuel img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;display:block}
html.hub-membre .fo-visuel::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(22,27,52,.55))}
@media(max-width:640px){html.hub-membre .fo-visuel{aspect-ratio:16/9}}

/* Diagnostic (vue membre) : le texte à gauche, l'Europe éclairée à droite ; sur téléphone l'image passe au-dessus */
html.edb-on .start-brand{display:none}
html.edb-on .start-screen::before{content:"";display:block;aspect-ratio:16/9;margin:0 0 28px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:url(../img/entree-marches.jpg) 50% 60%/cover}
@media(min-width:1100px){
  html.edb-on .start-screen{max-width:1240px;display:grid;grid-template-columns:minmax(0,480px) minmax(0,1fr);column-gap:64px;align-content:center}
  html.edb-on .start-screen>*{grid-column:1}
  html.edb-on .start-screen::before{grid-column:2;grid-row:1/span 6;align-self:center;aspect-ratio:4/5;margin:0;background-position:62% 60%;box-shadow:0 30px 60px -30px rgba(0,0,0,.7)}
}
html.hub-membre .doc-row>span.bq-fichier{width:48px !important}
@media(min-width:1100px){html.edb-on .start-screen::before{aspect-ratio:auto;height:min(72vh,620px)}}

/* 14/11/2026 (Gabriel : « images plus subtilement intégrées, comme dans l'accueil ») : même geste que le bandeau de
   l'accueil (espace.html .ck-photo) : l'image en fond plein cadre, fondue dans le navy par la gauche, sans cadre. */
html.hub-membre .bq-tete{position:relative;isolation:isolate;background:#10122b url(../img/entree-distributeurs.jpg) 75% 55%/cover no-repeat !important;border:0 !important;padding:72px 0 76px !important}
html.hub-membre .bq-tete::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(16,18,43,.95) 0%,rgba(16,18,43,.86) 32%,rgba(16,18,43,.4) 64%,rgba(16,18,43,.12) 100%),linear-gradient(180deg,transparent 70%,rgba(22,27,52,.9))}
html.hub-membre .bq-tete-grille{display:block}
html.hub-membre .bq-tete-grille>div{max-width:640px}
html.hub-membre .bq-visuel{display:none}
@media(max-width:900px){html.hub-membre .bq-tete::before{background:linear-gradient(90deg,rgba(16,18,43,.92),rgba(16,18,43,.7))}}

html.hub-membre .fo-visuel{border:0;border-radius:0;aspect-ratio:21/7;-webkit-mask-image:linear-gradient(180deg,#000 35%,transparent 100%),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(180deg,#000 35%,transparent 100%),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-composite:intersect;margin-bottom:8px}
html.hub-membre .fo-visuel::after{display:none}

html.edb-on .start-screen::before{border:0;border-radius:0;box-shadow:none;-webkit-mask-image:linear-gradient(180deg,#000 45%,transparent);mask-image:linear-gradient(180deg,#000 45%,transparent);margin:-24px -24px 0}
@media(min-width:1100px){
  html.edb-on body:has(.start-screen){background:linear-gradient(90deg,#161a33 0%,rgba(22,26,51,.9) 34%,rgba(22,26,51,.45) 62%,rgba(22,26,51,.15) 100%),#10122b url(../img/entree-marches.jpg) 70% 62%/cover no-repeat fixed}
  html.edb-on .start-screen::before{display:none}
  html.edb-on .start-screen{display:flex;max-width:1240px}
  html.edb-on .start-screen>*{max-width:480px}
}
/* 14/11/2026 (validé par Gabriel) : Formation, l'illustration passe en fond derrière « Vue d'ensemble », fondue par la
   gauche et vers le bas, comme Documents et Diagnostic ; Diagnostic, le texte remonte en haut de l'écran. */
html.hub-membre .main{position:relative;isolation:isolate}
html.hub-membre .fo-visuel{position:absolute;top:0;left:0;right:0;height:340px;margin:0;z-index:-1;aspect-ratio:auto;opacity:.75;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 30%,#000 60%),linear-gradient(180deg,#000 40%,transparent 100%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.35) 30%,#000 60%),linear-gradient(180deg,#000 40%,transparent 100%);mask-composite:intersect}
html.hub-membre .fo-visuel img{object-position:70% 55%}
@media(max-width:640px){html.hub-membre .fo-visuel{height:260px;opacity:.5}}
@media(min-width:1100px){html.edb-on .start-screen{justify-content:flex-start;padding-top:max(80px,11vh)}}

/* 14/11/2026 (Gabriel : « le sous-titre et l'annonce du nombre sont cata » ; « problème d'agencement » des trois entrées de
   l'accueil, boîtes vides avec le titre en bas, tailles et lignes de base différentes). */
html.hub-membre .bq-chapo{margin:18px 0 0;max-width:44ch;font:500 clamp(1.1rem,1.6vw,1.3rem)/1.45 var(--font-body);color:rgba(255,255,255,.88)}
/* Accueil : trois entrées égales, chacune avec l'illustration de sa destination, fondue vers le bas sous le titre */
html.hub-accueil body .ck-trois{grid-template-columns:repeat(3,minmax(0,1fr))}
html.hub-accueil body .ck-entree,html.hub-accueil body .ck-entree:first-child{position:relative;isolation:isolate;overflow:hidden;min-height:230px;padding:24px 26px;align-items:flex-end;background:#10122b;border-color:rgba(255,255,255,.1)}
html.hub-accueil body .ck-entree::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--ck-img) 50% 40%/cover no-repeat;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
html.hub-accueil body .ck-entree::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(16,18,43,.05) 0%,rgba(16,18,43,.35) 45%,rgba(16,18,43,.94) 100%)}
html.hub-accueil body .ck-entree:hover::before{transform:scale(1.03)}
html.hub-accueil body .ck-entree:nth-child(1){--ck-img:url(../img/entree-marches.jpg)}
html.hub-accueil body .ck-entree:nth-child(2){--ck-img:url(../img/entree-distributeurs.jpg)}
html.hub-accueil body .ck-entree:nth-child(3){--ck-img:url(../img/entree-formation.jpg)}
html.hub-accueil body .ck-entree .ck-icone{display:none !important}
html.hub-accueil body .ck-entree h2,html.hub-accueil body .ck-entree:first-child h2{font-size:clamp(1.3rem,1.9vw,1.6rem);font-stretch:85%;color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.5)}
@media(max-width:860px){html.hub-accueil body .ck-trois{grid-template-columns:1fr}html.hub-accueil body .ck-entree,html.hub-accueil body .ck-entree:first-child{min-height:160px}}
/* 14/11/2026 (Gabriel : « non, pas l'illustration de sa destination, juste les icônes mais mieux agencé » ; sous-titre de la
   banque « plus léger, plus subtil ») : entrées égales, icône en haut, titre en bas, rien d'autre. */
html.hub-accueil body .ck-entree::before,html.hub-accueil body .ck-entree::after{display:none}
html.hub-accueil body .ck-entree,html.hub-accueil body .ck-entree:first-child{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:28px;min-height:170px;padding:26px 28px;background:rgba(255,255,255,.035)}
html.hub-accueil body .ck-entree:hover{background:rgba(255,255,255,.06)}
html.hub-accueil body .ck-entree .ck-icone{display:block !important;margin:0}
html.hub-accueil body .ck-entree .ck-icone svg{width:30px;height:30px}
html.hub-accueil body .ck-entree h2,html.hub-accueil body .ck-entree:first-child h2{text-shadow:none}
@media(max-width:860px){html.hub-accueil body .ck-entree,html.hub-accueil body .ck-entree:first-child{min-height:0;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px}}
html.hub-membre .bq-chapo{margin:14px 0 0;max-width:52ch;font:400 1.02rem/1.6 var(--font-body);color:rgba(255,255,255,.66)}
/* 14/11/2026 (Gabriel : « régénère le visuel Codex de la partie documents ») : illustration dédiée, faite pour le bandeau
   (moitié gauche vide et sombre sous le titre, sujet dans le tiers droit). */
html.hub-membre .bq-tete{background:#12142e url(../img/banque-documents.jpg) 100% 50%/cover no-repeat !important}
html.hub-membre .bq-tete::before{background:linear-gradient(90deg,rgba(16,18,43,.6) 0%,rgba(16,18,43,.25) 45%,transparent 70%),linear-gradient(180deg,transparent 70%,rgba(22,27,52,.85))}
@media(max-width:900px){html.hub-membre .bq-tete{background-position:85% 50% !important}html.hub-membre .bq-tete::before{background:linear-gradient(90deg,rgba(16,18,43,.9),rgba(16,18,43,.55))}}
html.hub-membre .bq-tete{padding:104px 0 108px !important}@media(max-width:900px){html.hub-membre .bq-tete{padding:64px 0 68px !important}}
