/* Style « moderne » de l'espace (18/10/2026, Rudy : « un peu vieillot… plus moderne et dynamique avec des icônes comme sur mon iPhone »).
   Chargé APRÈS style-clair.css : il ne fait que surcharger. Pour revenir en arrière, retirer son <link> dans head_html (index.php).
   1. icônes en carrés arrondis colorés, glyphe blanc (comme les applis iPhone) ; 2. barre du bas « iOS » : icône + libellé ;
   3. bandeaux plus lumineux, titres en Manrope gras (plus actuels que le serif) ; 4. cartes et boutons plus doux. */

:root,:root:not(#x){
  --bg:#f2f4f8;--line:#e4e8ef;--soft:#eef2f8;--ink:#141b2b;--muted:#667085;
  --blue:#2563eb;--blue-soft:#e8efff;
  --grad:linear-gradient(135deg,#14284d 0%,#1f4d9a 55%,#3b7be6 100%);
  --ic1:linear-gradient(160deg,#4f9dff,#1d64f2);   /* bleu */
  --ic2:linear-gradient(160deg,#5fe08a,#20b45a);   /* vert */
  --ic3:linear-gradient(160deg,#ffbe4d,#ff8a00);   /* orange */
  --ic4:linear-gradient(160deg,#c78bff,#8e44f0);   /* violet */
  --ic5:linear-gradient(160deg,#ff7a9a,#f0335e);   /* rose */
  --ic6:linear-gradient(160deg,#5fd8f0,#1aa4c8);   /* turquoise */
  --ic7:linear-gradient(160deg,#8f8cff,#5552e6);   /* indigo */
  --ic8:linear-gradient(160deg,#ecd08f,#c99a3c);   /* or Verateam */
}
@media (prefers-color-scheme:dark){:root{--bg:#f2f4f8;--line:#e4e8ef;--soft:#eef2f8;--ink:#141b2b}}

/* Titres : sans serif, gras, serrés (le logo « Groupe Verateam » garde son serif) */
h1,h2,h3{font-family:Manrope,system-ui,-apple-system,sans-serif;font-weight:800;letter-spacing:-.02em}
h2{font-size:clamp(20px,2.4vw,24px)}
.hero h1{font-size:clamp(26px,3.6vw,36px);line-height:1.1}

/* Icônes « appli iPhone » */
.ico{width:42px;height:42px;border-radius:12px;background:var(--ic1);color:#fff;box-shadow:0 3px 8px rgba(20,40,80,.18),inset 0 1px 0 rgba(255,255,255,.35)}
.ico svg{width:22px;height:22px;stroke-width:2}
.mod:nth-child(8n+1) .ico,.step:nth-child(8n+1) .ico,.mj>*:nth-child(8n+1) .ico{background:var(--ic1)}
.mod:nth-child(8n+2) .ico,.step:nth-child(8n+2) .ico,.mj>*:nth-child(8n+2) .ico{background:var(--ic3)}
.mod:nth-child(8n+3) .ico,.step:nth-child(8n+3) .ico,.mj>*:nth-child(8n+3) .ico{background:var(--ic2)}
.mod:nth-child(8n+4) .ico,.step:nth-child(8n+4) .ico,.mj>*:nth-child(8n+4) .ico{background:var(--ic4)}
.mod:nth-child(8n+5) .ico,.step:nth-child(8n+5) .ico{background:var(--ic6)}
.mod:nth-child(8n+6) .ico,.step:nth-child(8n+6) .ico{background:var(--ic5)}
.mod:nth-child(8n+7) .ico,.step:nth-child(8n+7) .ico{background:var(--ic7)}
.mod:nth-child(8n) .ico,.step:nth-child(8n) .ico{background:var(--ic8)}
.mod[aria-current="page"] .ico{color:#fff;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--blue),0 4px 10px rgba(20,40,80,.25)}
.mod.lock .ico{filter:grayscale(1);opacity:.7}
.step.ok .ico{background:var(--ic2)}

/* Colonne de gauche (ordinateur) */
aside{background:#fff}
.side-title{color:var(--muted);letter-spacing:.12em}
.mod{border-radius:14px;font-weight:700}
a.mod:hover{background:var(--soft)}
.mod[aria-current="page"]{background:var(--blue-soft);box-shadow:none;color:var(--ink)}
.mod .n{color:var(--muted);font-weight:600}

/* Barre du haut */
.top{background:var(--grad);border-bottom:0;box-shadow:0 2px 12px rgba(20,40,80,.18)}
.tabs a{display:inline-flex;align-items:center;gap:7px;border-radius:999px}
.tabs .ti{display:inline-grid;place-items:center;width:18px;height:18px}.tabs .ti svg{width:18px;height:18px;stroke-width:2}
.tabs a.on{background:#fff;color:#14284d}
.lg b{background:#fff;color:#14284d}

/* Bandeaux */
.hero,.key,.ret{background:var(--grad);border-radius:26px;position:relative;overflow:hidden;box-shadow:0 14px 34px rgba(31,77,154,.25)}
.hero::before{content:"";position:absolute;right:-90px;top:-110px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0) 70%);pointer-events:none}
.hero::after{content:"";position:absolute;left:-60px;bottom:-140px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(91,160,255,.35),rgba(91,160,255,0) 70%);pointer-events:none}
.hero>*{position:relative;z-index:1}
.hero .eb{color:#ffd88a;letter-spacing:.14em}
.hero p{color:#e3ebf8}
.art{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:28px;color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.hero .chip{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.28);font-weight:700}

/* Cartes, tuiles, boutons */
.card,.step,.doc,.choice{border:0;border-radius:20px;box-shadow:0 1px 2px rgba(16,24,40,.05),0 6px 18px rgba(16,24,40,.06)}
.step{transition:transform .15s ease,box-shadow .15s ease}
a.step:active,a.card:active,a.mod:active{transform:scale(.98)}
.btn{border-radius:999px;font-weight:800}
.btn.dark{background:var(--grad);box-shadow:0 6px 16px rgba(31,77,154,.28)}
.chip{border-radius:999px}
input.in,select.in,textarea.in,.search .f{border-radius:14px}
th{background:#14284d}

/* Téléphone : barre d'onglets du bas comme une appli iPhone (verre dépoli, icône au-dessus du libellé) */
@media (max-width:820px){
  .top{box-shadow:none}
  .tabs{background:rgba(255,255,255,.88);-webkit-backdrop-filter:saturate(1.6) blur(18px);backdrop-filter:saturate(1.6) blur(18px);border-top:.5px solid rgba(0,0,0,.12);padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));gap:0}
  .tabs a{flex-direction:column;gap:3px;background:none!important;color:#8a8f99;font-size:10px;font-weight:700;line-height:1.15;padding:4px 2px;min-height:50px;border-radius:12px;position:relative;text-align:center}
  .tabs a .ti{width:26px;height:26px}.tabs a .ti svg{width:25px;height:25px;stroke-width:1.9}
  .tabs a.on{color:var(--blue)}
  .tabs a.on .ti svg{stroke-width:2.4}
  .tabs .dot{position:absolute;top:3px;left:calc(50% + 8px);margin:0}
  .tl{display:block;max-width:100%}
  /* Bande des rubriques en haut (Mes informations, Mes CC…) : icônes d'appli et libellé dessous */
  aside{background:#fff;gap:2px;box-shadow:0 1px 0 var(--line)}
  .mod{width:108px;padding:6px 3px;border-radius:16px;font-size:10.5px;font-weight:700;line-height:1.2}
  .mod .t{overflow-wrap:normal;word-break:normal;hyphens:manual;max-width:100%}
  .mod .ico{width:52px;height:52px;border-radius:14px}.mod .ico svg{width:26px;height:26px}
  .mod .n{display:block;font-size:9px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:2px}
  .mod[aria-current="page"]{background:none;box-shadow:none}
  .mod[aria-current="page"] .t{color:var(--blue)}
  .hero{border-radius:24px}
}
/* Ordinateur : onglets plus compacts pour que tout tienne sur une ligne */
@media (min-width:821px){.tabs{gap:2px}.tabs a{padding:8px 11px;font-size:13.5px;gap:6px}.top{flex-wrap:nowrap}.out{font-size:12.5px}}
@media (min-width:821px) and (max-width:1180px){.tabs .ti{display:none}}

/* Pages qui ont leur propre style (Objectif Manager, Ma lignée, Mes prospects, Mon site, Présenter…) : même look moderne.
   Leurs <style> sont écrits dans la page, après ce fichier : d'où « html body » pour passer devant. */
html body .m6-hero{background:var(--grad);border-radius:26px;position:relative;overflow:hidden;box-shadow:0 14px 34px rgba(31,77,154,.25)}
html body .m6-hero::before{content:"";position:absolute;right:-90px;top:-110px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0) 70%);pointer-events:none}
html body .m6-hero>*{position:relative;z-index:1}
html body .m6-pill.on,html body .prs .sub a.on,html body .prs .ty button.on,html body .ob-sw a.on,html body .te-nav a.on{background:var(--grad);border-color:transparent;color:#fff}
html body .lg-st b,html body .lg-pci>b,html body .cq-fs b,html body .visual .nm{font-family:Manrope,system-ui,-apple-system,sans-serif;font-weight:800;letter-spacing:-.02em}
html body .te-s h2{font-family:Manrope,system-ui,-apple-system,sans-serif;font-weight:800;letter-spacing:-.025em}
html body .vcard.main .vico{background:var(--ic1);color:#fff}
html body .m6-acts input,html body .m6-engage .ck input,html body .prs .chk input,html body .wk-a input{accent-color:var(--blue)}
html body .lg-av.g1,html body .lgd-c.g1{background:#1f4d9a}
/* mot du glossaire : reste collé à la ponctuation qui suit */
.gl{display:inline;white-space:normal}
html body .m6-why,html body .pk h4,html body .key b,html body .ret p{font-family:Manrope,system-ui,-apple-system,sans-serif;font-weight:700;letter-spacing:-.01em}
html body .key b{font-weight:800}
/* Mes outils : tuiles illustrées (18/10/2026, Rudy : « illustre les catégories pour qu'on voit mieux ») */
html body .ob-l{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:10px;overflow-x:auto;padding:2px 2px 8px}
html body .ob-l a{display:flex;flex-direction:column;align-items:flex-start;gap:10px;white-space:normal;padding:14px;border-radius:20px;border:0;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.05),0 6px 18px rgba(16,24,40,.07);color:var(--ink);min-height:132px;transition:transform .15s ease,box-shadow .15s ease}
html body .ob-l a:hover{transform:translateY(-2px);box-shadow:0 4px 10px rgba(16,24,40,.08),0 12px 26px rgba(16,24,40,.1)}
html body .ob-l a.on{background:#fff;color:var(--ink);box-shadow:0 0 0 2.5px var(--blue),0 8px 22px rgba(37,99,235,.18)}
html body .ob-l .obi{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--ic1);color:#fff;box-shadow:0 3px 8px rgba(20,40,80,.18),inset 0 1px 0 rgba(255,255,255,.35)}
html body .ob-l .obi svg{width:24px;height:24px;color:#fff;stroke-width:2}
html body .ob-l a[data-c="2"] .obi{background:var(--ic3)}html body .ob-l a[data-c="3"] .obi{background:var(--ic2)}html body .ob-l a[data-c="4"] .obi{background:var(--ic4)}
html body .ob-l a[data-c="5"] .obi{background:var(--ic6)}html body .ob-l a[data-c="6"] .obi{background:var(--ic5)}html body .ob-l a[data-c="7"] .obi{background:var(--ic7)}html body .ob-l a[data-c="8"] .obi{background:var(--ic8)}
html body .ob-l .obt b{display:block;font:800 14.5px/1.25 Manrope,system-ui,sans-serif;letter-spacing:-.01em}
html body .ob-l .obt small{display:block;margin-top:3px;font-size:12.5px;line-height:1.35;color:var(--muted);font-weight:500}
@media (min-width:821px){html body .ob-l{grid-auto-flow:row;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));overflow:visible}}
@media (max-width:820px){html body .ob-l{grid-auto-columns:138px}html body .ob-l a{min-height:122px;padding:12px}html body .ob-l .obt small{font-size:12px}}
/* Mes outils : barre compacte (19/10/2026, Rudy : « ça prend trop de place », noms sur deux lignes) — boutons arrondis, pastille d'icône, sans description */
html body .ob{margin:0 0 14px}
html body .ob-sw{padding:3px;margin:0 0 8px}html body .ob-sw a{padding:8px 6px;font-size:14px}
html body .ob-l{display:flex!important;gap:8px;overflow-x:auto;padding:2px 2px 6px}
html body .ob-l a{flex:none;flex-direction:row!important;align-items:center;gap:8px;min-height:0!important;padding:6px 14px 6px 6px!important;border-radius:18px!important;box-shadow:0 1px 2px rgba(16,24,40,.06),0 2px 8px rgba(16,24,40,.06)!important}
html body .ob-l a.on{box-shadow:0 0 0 2px var(--blue),0 4px 12px rgba(37,99,235,.15)!important}
html body .ob-l .obi{flex:none;width:30px!important;height:30px!important;border-radius:50%!important;box-shadow:none!important}html body .ob-l .obi svg{width:17px!important;height:17px!important}
html body .ob-l .obt b{font-size:13.5px!important;line-height:1.2!important;max-width:98px;white-space:normal;text-wrap:balance}html body .ob-l a{padding-right:12px!important}html body .ob-l .obt small{display:none!important}
@media (min-width:821px){html body .ob-l{flex-wrap:wrap}}

/* 21/10/2026 (Rudy) : bande des rubriques du haut sur téléphone. 2 lignes maximum (surtitre + titre, case plus large au besoin) ;
   « Ma formation » seule : 3 lignes (surtitre + titre sur 2 lignes) */
@media (max-width:820px){
  aside .mod{width:auto;min-width:108px;max-width:240px}
  aside .mod .n,aside .mod .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:224px}
  aside.sd-f .mod{width:136px;min-width:136px;max-width:136px;grid-template-columns:minmax(0,1fr)}aside.sd-f .mod>span{min-width:0;max-width:100%}
  aside.sd-f .mod .t{white-space:normal;display:-webkit-box!important;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%}
}

/* 22/10/2026 (Rudy, simplification n° 26) : sélecteur des familles de Mes outils, « Communication » en entier à 390 px (colonne plus large pour le mot le plus long) */
html body .ob-sw{grid-template-columns:minmax(0,1.3fr) minmax(0,1.05fr) minmax(0,.85fr)}
@media (max-width:520px){html body .ob-sw a{font-size:13.5px;padding:8px 2px;letter-spacing:-.01em}}
/* 22/10/2026 (simplification n° 25) : 5 onglets en bas, libellés un peu plus grands */
@media (max-width:820px){.tabs a{font-size:10.5px}}
