/* Trust Co. Academy — page Parcours : en-tête et bandes de niveau lisibles (17/11/2026) */
.ac-parcours{--pa-t:#14202c;--pa-t2:#556474;--pa-f:#fff;--pa-b:#e3e9ef}
html[data-theme="dark"] .ac-parcours{--pa-t:#eef3f7;--pa-t2:#a7b4c1;--pa-f:#16212c;--pa-b:#263544}
/* ---------- En-tête ---------- */
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sec--top{padding:clamp(48px,7vw,84px) 0 clamp(28px,4vw,44px)!important;
  background:radial-gradient(900px 320px at 50% -60px,color-mix(in srgb,#0891b2 12%,transparent),transparent 70%)}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-tete{max-width:760px;margin:0 auto 36px}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-kick{padding:6px 14px;border-radius:999px;font-size:.76rem;letter-spacing:.14em;
  background:color-mix(in srgb,#0891b2 10%,var(--pa-f));border:1px solid color-mix(in srgb,#0891b2 25%,var(--pa-b));color:#0e7490}
html[data-theme="dark"]:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-kick{color:#67e8f9}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-h{margin:16px 0 12px!important;font-size:clamp(2rem,4.4vw,3rem)!important;line-height:1.1;letter-spacing:-.02em;color:var(--pa-t)!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-tete p{font-size:1.05rem;line-height:1.7;color:var(--pa-t2)!important}

/* ---------- Raccourcis vers les 4 niveaux ---------- */
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;position:static!important;transform:none!important;width:auto!important;max-width:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;overflow:visible!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts a{display:grid!important;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:14px;align-items:center;
  padding:16px 18px!important;border-radius:16px!important;background:var(--pa-f)!important;border:1px solid var(--pa-b)!important;border-top:1px solid var(--pa-b)!important;
  box-shadow:0 1px 2px rgba(16,24,40,.04),0 10px 26px -20px rgba(16,24,40,.3);color:var(--pa-t)!important;text-decoration:none!important;transition:transform .2s,box-shadow .2s,border-color .2s}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts a::after{display:none!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts a:hover{transform:translateY(-2px);border-color:var(--acf)!important;box-shadow:0 18px 36px -22px color-mix(in srgb,var(--acf) 70%,#000)}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts i{grid-row:1/4;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--acf);color:#fff;font-style:normal;font-weight:800;font-size:1.15rem}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts span{font-size:.72rem!important;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--pa-t2)!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts b{font-size:1.06rem;font-weight:700;color:var(--pa-t);line-height:1.25}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts small{font-size:.8rem;color:var(--pa-t2)}

/* ---------- Bandes de niveau : fond plein, texte blanc bien contrasté ---------- */
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niveau{padding:clamp(32px,4vw,48px) 0!important;background:transparent!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h{display:grid!important;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:20px;
  margin:0 0 18px!important;padding:24px 28px!important;border:0!important;border-radius:20px;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--acf),color-mix(in srgb,var(--acf) 72%,#0b1622))!important;color:#fff;
  box-shadow:0 20px 44px -30px color-mix(in srgb,var(--acf) 80%,#000)}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h::before,html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h::after{display:none!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-num{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.28);font-size:1.9rem;font-weight:800;color:#fff}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h .ac-nv-t{display:inline-block;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.18);color:#fff!important;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h h2{margin:8px 0 4px!important;font-size:clamp(1.45rem,2.6vw,1.85rem)!important;font-weight:800;color:#fff!important;line-height:1.15}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h p{margin:0!important;font-size:.95rem;line-height:1.6;color:rgba(255,255,255,.92)!important}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-meta{list-style:none;margin:0;padding:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-meta li{padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:.8rem;font-weight:600;white-space:nowrap}

/* Numéros et flèches des chapitres : couleur foncée du niveau pour la lisibilité */
html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-chaps a{--ac:var(--acf)}
html[data-theme="dark"]:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-chaps a{--ac:color-mix(in srgb,var(--acf) 55%,#fff)}

/* ---------- Tablette / mobile ---------- */
@media (max-width:900px){
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts{grid-template-columns:repeat(2,minmax(0,1fr))}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h{grid-template-columns:52px minmax(0,1fr);padding:20px!important;gap:16px}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-num{width:52px;height:52px;font-size:1.5rem;border-radius:14px}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-meta{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;align-items:center}
}
@media (max-width:480px){
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts{gap:10px}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts a{grid-template-columns:minmax(0,1fr);padding:14px!important;row-gap:2px}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-sauts i{grid-row:auto;width:34px;height:34px;font-size:1rem;border-radius:10px;margin-bottom:6px}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-h{grid-template-columns:minmax(0,1fr)}
  html:not(#pa1):not(#pa2):not(#pa3) body .ac-parcours .ac-niv-num{display:none}
}
