/* Qualiombe v3.7 — thématiques, publics, menu Fonctionnalités, centre de sécurité public */

/* ---------- En-tête : panneau « Fonctionnalités » ---------- */
.hd-menu.is-cat { min-width: 0; width: min(920px, calc(100vw - 32px)); align-items: stretch; }
.hd-cat { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .5rem; padding: .35rem .35rem .2rem; }
.hd-cat-cols { columns: 3; column-gap: .6rem; }
.hd-cat-col { break-inside: avoid; display: grid; gap: 1px; margin-bottom: .7rem; }
.hd-cat-t { display: block; padding: .2rem .55rem .35rem; font-size: .76rem; font-weight: 700; letter-spacing: .02em; color: var(--soft-2); }
.hd-cat-a { display: flex; align-items: center; gap: .6rem; padding: .42rem .55rem; border-radius: 11px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.25; transition: background .2s, color .2s; }
.hd-cat-a .bi { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #EEF2FE; color: var(--signal); font-size: .95rem; transition: background .25s, color .25s, transform .3s var(--ease); }
.hd-cat-a:hover, .hd-cat-a:focus-visible { background: #F2F5FC; color: var(--ink); }
.hd-cat-a:hover .bi { background: var(--signal); color: #fff; transform: rotate(-6deg); }
.hd-cat-foot { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem .3rem .2rem; border-top: 1px solid var(--line); }
.hd-cat-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: .85rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: border-color .2s, background .2s; }
.hd-cat-pill:hover { background: #fff; border-color: rgba(46, 91, 255, .35); color: var(--signal-2); }
.hd-cat-pill.is-main { background: var(--ink); color: #fff; }
.hd-cat-pill.is-main:hover { background: var(--signal); color: #fff; }
.hd-menu.is-cat .hd-promo { width: 230px; }
.hd-promo.is-book .hd-promo-badge { color: #FFD27A; background: rgba(242, 179, 61, .12); box-shadow: inset 0 0 0 1px rgba(242, 179, 61, .35), 0 0 30px rgba(242, 179, 61, .3); }
.hd-promo.is-book { background: radial-gradient(90% 70% at 80% 0%, rgba(46, 91, 255, .55), transparent 60%), linear-gradient(160deg, #13295A, #0A1730); }
@media (max-width: 1199.98px) { .hd-menu.is-cat .hd-promo { display: none; } }
.mm-grp { display: block; margin: .7rem 0 .15rem .6rem; font-size: .76rem; font-weight: 700; color: var(--soft-2); }

/* ---------- Barre des thématiques ---------- */
.th-rail { position: sticky; top: 74px; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.th-rail-in { display: flex; gap: .35rem; overflow-x: auto; padding: .6rem 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.th-rail-in::-webkit-scrollbar { display: none; }
.th-rail-a, .th-rail-all { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--soft); text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.th-rail-a:hover, .th-rail-all:hover { color: var(--ink); background: var(--paper); }
.th-rail-a.is-on { color: var(--ink); background: #EEF2FE; border-color: rgba(46, 91, 255, .3); }
.th-rail-a.is-on .bi { color: var(--signal); }
.th-rail-all { color: var(--ink); border-color: var(--line); }

/* ---------- Gains ---------- */
.th-gains-sec { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.th-gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.th-gain { position: relative; padding: 1.6rem 1.5rem; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.th-gain-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1rem; font-size: 1.3rem; color: var(--seal); background: var(--seal-soft); }
.th-gain h2 { font-family: var(--f-display); font-weight: 700; color: var(--ink); margin-bottom: .45rem; }
.th-gain p { color: var(--soft); margin: 0; }

/* ---------- Écran réel ---------- */
.th-shot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.th-shot-cap h2 { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.th-shot-cap > p { color: var(--soft); font-size: 1.05rem; }
.th-eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 650; color: var(--signal-2); margin-bottom: .6rem; }
.th-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 1.4rem; }
.th-more .tour-thumb { width: 100%; }

/* ---------- Blocs ---------- */
.th-blocs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.th-bloc { padding: 1.8rem 1.7rem 1.2rem; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.th-bloc::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--signal), var(--seal)); opacity: .0; transition: opacity .3s; }
.th-bloc:hover::before { opacity: 1; }
.th-bloc header { display: flex; align-items: center; gap: .85rem; margin-bottom: .7rem; }
.th-bloc-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 1.2rem; color: #fff; background: linear-gradient(140deg, var(--ink-3), var(--ink)); box-shadow: 0 10px 22px -12px rgba(15, 35, 64, .8); }
.th-bloc h3 { font-family: var(--f-display); font-size: 1.22rem; font-weight: 700; color: var(--ink); margin: 0; }
.th-bloc > p { color: var(--soft); margin-bottom: .2rem; }
.th-bloc .checks { margin: 1rem 0 .4rem; gap: .5rem; }
.th-bloc .checks li { font-size: .97rem; }

/* ---------- Preuves Qualiopi : sceaux ---------- */
.th-proof-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.th-proof-head h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.th-proof-head p { color: #B9C7E2; font-size: 1.05rem; }
.th-seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0; }
.th-seal { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: 18px; color: #DCE5F6; text-decoration: none; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); transition: background .25s, border-color .25s, transform .3s var(--ease); height: 100%; }
a.th-seal:hover { background: rgba(255, 255, 255, .08); border-color: rgba(123, 224, 190, .45); color: #fff; transform: translateY(-2px); }
.th-seal b { position: relative; flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; color: #7BE0BE;
    background: radial-gradient(circle, rgba(22, 147, 111, .35), rgba(22, 147, 111, .08) 70%); box-shadow: inset 0 0 0 1.5px rgba(123, 224, 190, .55); }
.th-seal b::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px dashed rgba(123, 224, 190, .35); animation: thSpin 26s linear infinite; }
.th-seal span { font-size: .9rem; line-height: 1.35; }
.th-seal small { display: block; font-weight: 700; color: #7BE0BE; font-size: .78rem; margin-bottom: .1rem; }
@keyframes thSpin { to { transform: rotate(360deg); } }

/* ---------- Publics ---------- */
.th-aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.th-aud-c { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s; }
.th-aud-c:hover { transform: translateY(-3px); border-color: rgba(46, 91, 255, .35); color: var(--text); }
.th-aud-ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; font-size: 1.3rem; background: #FFF4DC; color: #B77308; }
.th-aud-c b { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.08rem; }
.th-aud-c small { display: block; color: var(--soft); font-size: .88rem; }
.th-go { margin-left: auto; color: var(--signal); transition: transform .3s var(--ease); }
.th-aud-c:hover .th-go { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.th-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.th-faq h2 { font-family: var(--f-display); font-weight: 700; color: var(--ink); }

/* ---------- Thématiques liées ---------- */
.th-lies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.th-lie { display: flex; flex-direction: column; gap: .2rem; padding: 1.4rem 1.4rem 1.2rem; border-radius: 20px; background: var(--paper); text-decoration: none; color: var(--soft); border: 1px solid transparent; transition: background .25s, border-color .25s, transform .3s var(--ease); }
.th-lie:hover { background: #fff; border-color: var(--line); transform: translateY(-3px); color: var(--soft); box-shadow: var(--shadow); }
.th-lie-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; color: var(--signal); font-size: 1.1rem; margin-bottom: .6rem; box-shadow: var(--shadow); }
.th-lie small { font-size: .78rem; font-weight: 700; color: var(--soft-2); }
.th-lie b { font-family: var(--f-display); color: var(--ink); font-size: 1.12rem; }
.th-lie > span:not(.th-lie-ic):not(.th-lie-go) { font-size: .92rem; }
.th-lie-go { margin-top: .7rem; font-weight: 700; font-size: .9rem; color: var(--signal); display: inline-flex; gap: .35rem; align-items: center; }

/* ---------- Page Fonctionnalités : catalogue et publics ---------- */
.ft-cat-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.4rem; }
.ft-cat-g { display: flex; flex-direction: column; }
.ft-cat-gt { display: flex; align-items: baseline; gap: .5rem; font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: .7rem; padding-bottom: .55rem; border-bottom: 2px solid var(--ink); }
.ft-cat-gt small { font-family: var(--f-text); font-size: .8rem; font-weight: 700; color: var(--soft-2); }
.ft-cat-list { display: grid; gap: .55rem; margin: 0; }
.ft-cat-a { position: relative; display: flex; align-items: center; gap: .85rem; padding: .85rem .95rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.ft-cat-a:hover { border-color: rgba(46, 91, 255, .4); transform: translateX(3px); box-shadow: var(--shadow); color: var(--text); }
.ft-cat-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #EEF2FE; color: var(--signal); font-size: 1.1rem; }
.ft-cat-t { min-width: 0; }
.ft-cat-t b { display: block; color: var(--ink); font-size: .98rem; line-height: 1.25; }
.ft-cat-t small { display: block; color: var(--soft); font-size: .84rem; line-height: 1.35; margin-top: .1rem; }
.ft-cat-n { margin-left: auto; flex: none; font-size: .74rem; font-weight: 700; color: var(--seal); background: var(--seal-soft); padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; }
.ft-cat-a.is-ia { background: linear-gradient(135deg, #0F2340, #1E3D6E); border-color: transparent; }
.ft-cat-a.is-ia b { color: #fff; } .ft-cat-a.is-ia small { color: #B9C7E2; }
.ft-cat-a.is-ia .ft-cat-ic { background: rgba(242, 179, 61, .16); color: var(--gold); }
.ft-cat-a.is-ia .ft-cat-n { background: rgba(242, 179, 61, .16); color: var(--gold); }
.ft-pub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.ft-pub-c { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.8rem 1.7rem 1.5rem; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--soft); box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .3s; }
.ft-pub-c:hover { transform: translateY(-4px); border-color: rgba(46, 91, 255, .35); color: var(--soft); }
.ft-pub-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 17px; font-size: 1.5rem; margin-bottom: .4rem; color: #fff; background: linear-gradient(140deg, var(--signal), #5B83FF); box-shadow: 0 14px 28px -14px rgba(46, 91, 255, .9); }
.ft-pub-c b { font-family: var(--f-display); font-size: 1.35rem; color: var(--ink); }
.ft-pub-c > span:not(.ft-pub-ic):not(.ft-pub-go) { font-size: .96rem; line-height: 1.55; }
.ft-pub-go { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--signal); display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Pages par public ---------- */
.au-defis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.au-defi { padding: 1.6rem 1.5rem; border-radius: var(--radius-l); background: #FFF8EC; border: 1px solid #F6E3BD; }
.au-defi-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; color: #B77308; font-size: 1.25rem; margin-bottom: .9rem; box-shadow: 0 6px 16px -10px rgba(183, 115, 8, .6); }
.au-defi h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.au-defi p { color: #5C5446; margin: 0; }
.au-reps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.au-rep { position: relative; display: flex; align-items: flex-start; gap: 1rem; padding: 1.3rem 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--soft); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.au-rep:hover { border-color: rgba(46, 91, 255, .4); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--soft); }
.au-rep-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; font-size: 1.2rem; background: linear-gradient(140deg, var(--ink-3), var(--ink)); }
.au-rep-t b { display: block; font-family: var(--f-display); color: var(--ink); font-size: 1.08rem; margin-bottom: .2rem; }
.au-rep-t span { font-size: .96rem; line-height: 1.5; }
.au-rep-go { margin-left: auto; flex: none; color: var(--soft-2); transition: color .2s, transform .3s var(--ease); }
.au-rep:hover .au-rep-go { color: var(--signal); transform: translate(2px, -2px); }
.au-steps { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 1rem; margin: 0; counter-reset: s; }
.au-steps::before { content: ''; position: absolute; top: 27px; left: calc(100% / var(--n) / 2); right: calc(100% / var(--n) / 2); height: 2px; background: repeating-linear-gradient(90deg, var(--signal) 0 8px, transparent 8px 14px); opacity: .5; }
.au-step { position: relative; text-align: center; padding: 0 .3rem; }
.au-step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto .9rem; border-radius: 50%; background: #fff; border: 2px solid var(--signal); font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; color: var(--signal-2); box-shadow: 0 0 0 6px #fff; }
.au-step-ic { display: none; }
.au-step h3 { font-family: var(--f-display); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.au-step p { color: var(--soft); font-size: .92rem; margin: 0; }
.au-focus-in { display: flex; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: flex-start; max-width: 980px; }
.au-focus-ic { flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; font-size: 2.2rem; color: var(--gold); background: rgba(242, 179, 61, .1); box-shadow: inset 0 0 0 1px rgba(242, 179, 61, .35), 0 0 60px rgba(242, 179, 61, .2); }
.au-focus h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.au-focus p { color: #C5D2EA; font-size: 1.08rem; line-height: 1.65; }
.au-demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.au-demo-side h2 { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.au-demo-side > p { color: var(--soft); font-size: 1.08rem; }
.au-bk { margin-top: 1.2rem; }
.au-bk .bk-promo-go { font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .ft-cat-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .au-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
    .au-steps::before { display: none; }
}
@media (max-width: 991.98px) {
    .th-shot, .th-proof-grid, .th-faq, .au-demo-grid { grid-template-columns: 1fr; }
    .th-gains, .th-aud, .th-lies, .au-defis, .ft-pub-grid { grid-template-columns: 1fr; }
    .th-blocs, .au-reps { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .ft-cat-groups { grid-template-columns: 1fr; }
    .th-seals { grid-template-columns: 1fr; }
    .au-steps { grid-template-columns: 1fr; text-align: left; }
    .au-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; text-align: left; }
    .au-step-n { grid-row: span 2; margin: 0; }
    .au-focus-in { flex-direction: column; }
    .th-more { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .th-seal b::after { animation: none; } }
.hd-menu::after { margin-left: calc(-6px + var(--arrow-dx, 0px)); }

/* v3.7 : en-tête avec « Solutions » — tout tient sur une ligne de 1200 à 1920 px */
@media (min-width: 1200px) and (max-width: 1679.98px) { .hd-nav > .hd-item:nth-child(2) { display: none; } }
@media (min-width: 1200px) and (max-width: 1599.98px) { .nl-long { display: none; } .nl-short { display: inline; } .hd-link { padding: 0 .58rem; font-size: .93rem; } }
@media (min-width: 1200px) and (max-width: 1365.98px) { .hd-link { padding: 0 .45rem; font-size: .9rem; } .hd .hd-chev { display: none; } .brand-word { font-size: 1.05rem; } }

/* v3.7 : pied de page à cinq colonnes (Solutions ajoutée) */
.ft-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .ft-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v3.7.1 : aucun texte ne sort de sa carte, quelle que soit la largeur d'écran */
.th-shot > *, .th-proof-grid > *, .th-faq > *, .au-demo-grid > *, .th-blocs > *, .th-gains > *, .au-reps > *, .au-defis > *, .th-lies > *, .th-aud > *, .au-focus-in > * { min-width: 0; }
.th-gain, .th-bloc, .au-rep, .au-defi, .au-step, .th-lie, .th-aud-c, .th-seal, .ft-cat, .ft-pub, .card, .vt-shot-card, .plan, .form-card { overflow-wrap: anywhere; hyphens: auto; }
.btn { overflow-wrap: normal; hyphens: none; }
@media (max-width: 991.98px) {
    .th-shot, .th-proof-grid, .th-faq, .au-demo-grid { grid-template-columns: minmax(0, 1fr); }
}
.h35-chrome span { min-width: 0; max-width: calc(100% - 52px); }
.h35-chrome span em { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h35-chrome span .bi { flex: none; }
.show-tab { min-width: 0; }
@media (min-width: 576px) and (max-width: 1399.98px) {
    .show-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow-x: visible; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .show-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 576px) and (max-width: 1399.98px) {
    .show-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}
.gain-hyp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 575.98px) { .gain-hyp-grid { grid-template-columns: minmax(0, 1fr); } }

/* v3.7.1 : vidéothèque, barre de filtres qui reste visible et filtrage instantané */
.vt-filter-sec { padding: 1.4rem 0 .4rem; position: sticky; top: 74px; z-index: 20; background: color-mix(in srgb, var(--bg, #fff) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.vt-filter-sec .vt-toolbar { margin-bottom: .6rem; padding-bottom: 0; border-bottom: 0; }
.vt-results { margin: 0 0 .6rem; font-size: .9rem; font-weight: 650; color: var(--soft); }
[data-vt-item][hidden], [data-vt-empty][hidden] { display: none !important; }
.vt-empty { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: center; padding: 1.6rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-l, 18px); color: var(--soft); text-align: center; }
@media (max-width: 767.98px) { .vt-filter-sec { position: static; } }
/* v3.7.1 : la description de chaque capture s'affiche en entier (plus de texte coupé en fin de carte) */
.vt-shot-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.vt-shot-body p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.vt-shot-body h3, .vt-shot-body p { overflow-wrap: anywhere; }
/* v3.7.1 : page partenaires et vidéothèque, textes longs (noms, adresses web, descriptions) contenus dans leurs cartes */
.pcard, .ptype, .ptile, .vt-card, .vt-body, .vt-feature-txt, .pcard .prose, .ptype-cta > * { min-width: 0; overflow-wrap: anywhere; }
.pcard-grid > *, .ptype-grid > *, .vt-grid > *, .vt-shot-grid > * { min-width: 0; }
.pcard-top { min-width: 0; flex-wrap: wrap; }
.pcard-kind { display: inline-block; max-width: 100%; padding: .2rem .6rem; border-radius: 999px; line-height: 1.35; }
.pcard-link { max-width: 100%; }
.pcard .carousel, .pcard img { max-width: 100%; }
.vt-body h2, .vt-shot-body h3 { overflow-wrap: anywhere; hyphens: auto; }

/* ═════════ v3.8 : documents légaux ═════════ */
.legal-sec { padding-top: clamp(2rem, 4vw, 3.5rem); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: start; }
.legal-side { position: sticky; top: 96px; display: grid; gap: 1rem; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; padding-right: .2rem; }
.legal-side-t { display: flex; align-items: center; gap: .45rem; margin: 0 0 .6rem; font-weight: 750; font-size: .78rem; letter-spacing: .02em; color: var(--soft); }
.legal-toc, .legal-docs { padding: 1.1rem 1.1rem 1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.legal-toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: .15rem; }
.legal-toc li { counter-increment: t; }
.legal-toc summary { cursor: pointer; list-style: none; } .legal-toc summary::-webkit-details-marker { display: none; }
.legal-toc summary small { margin-left: auto; font-weight: 600; color: var(--soft-2, #7686A0); }
.legal-toc a { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .2rem; padding: .32rem .45rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.legal-toc a::before { content: counter(t); color: var(--soft); font-variant-numeric: tabular-nums; font-size: .8rem; padding-top: .08rem; }
.legal-toc a:hover, .legal-toc a.is-on { background: var(--paper); color: var(--signal); }
.legal-docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.legal-docs a { display: flex; align-items: center; gap: .55rem; padding: .42rem .55rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.legal-docs a .bi { color: var(--signal); }
.legal-docs a:hover { background: var(--paper); }
.legal-docs a.is-on { background: var(--ink); color: #fff; } .legal-docs a.is-on .bi { color: var(--gold, #F2B33D); }
.legal-doc { min-width: 0; max-width: 820px; padding: clamp(1.4rem, 3.5vw, 2.8rem); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 30px 70px -50px rgba(15, 35, 64, .45); }
.legal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; padding-bottom: 1.2rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.legal-meta > span:nth-child(2) { display: grid; flex: 1 1 220px; min-width: 0; } .legal-meta small { color: var(--soft); }
.legal-meta-ic, .legal-prefs-ic, .legal-host-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--signal), #5B83FF); color: #fff; font-size: 1.2rem; }
.legal-prose { max-width: none; }
.legal-prose h2 { scroll-margin-top: 100px; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: clamp(1.2rem, 2vw, 1.45rem); }
.legal-prose > h2:first-of-type { margin-top: 1.6rem; }
.legal-prose .lead { font-size: 1.08rem; color: var(--ink); }
.legal-prose p, .legal-prose li { overflow-wrap: break-word; }
.legal-prose td { overflow-wrap: break-word; hyphens: auto; }
.legal-prose td:first-child { font-weight: 600; color: var(--ink); }
.legal-table { width: 100%; overflow-x: auto; margin: 1rem 0 1.4rem; border-radius: 14px; border: 1px solid var(--line); }
.legal-prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; margin: 0; }
.legal-prose table tr > *:first-child { border-left: 0; } .legal-prose table tr > *:last-child { border-right: 0; }
.legal-prose table thead th { border-top: 0; } .legal-prose table tbody tr:last-child td { border-bottom: 0; }
.legal-prose th { text-align: left; background: var(--paper); font-size: .82rem; color: var(--soft); }
.legal-prose th, .legal-prose td { padding: .65rem .75rem; border: 1px solid var(--line); vertical-align: top; }
.legal-prose .encadre { padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); margin: 1rem 0; }
.legal-prose .encadre p:last-child { margin-bottom: 0; }
.legal-dl { list-style: none; margin: 1rem 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.legal-dl li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 1rem; padding: .7rem 1rem; border-top: 1px solid var(--line); }
.legal-dl li:first-child { border-top: 0; }
.legal-dl strong { color: var(--soft); font-weight: 650; font-size: .9rem; }
.legal-dl span { min-width: 0; overflow-wrap: anywhere; }
.legal-hosts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0; }
.legal-host { display: flex; gap: .9rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); min-width: 0; }
.legal-host > div { min-width: 0; } .legal-host p { margin: .3rem 0 0; font-size: .92rem; overflow-wrap: anywhere; }
.legal-host:nth-child(2) .legal-host-ic { background: linear-gradient(135deg, #1FB386, var(--seal)); }
.legal-prefs { padding: 1.3rem; margin-bottom: 1.8rem; border-radius: 20px; background: linear-gradient(160deg, rgba(46, 91, 255, .07), rgba(22, 147, 111, .05)); border: 1px solid rgba(46, 91, 255, .2); scroll-margin-top: 100px; }
.legal-prefs-head { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1rem; } .legal-prefs-head p { color: var(--soft); font-size: .92rem; }
.legal-prefs-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.legal-prefs-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .55rem .8rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.legal-prefs-list b { font-size: .85rem; padding: .1rem .6rem; border-radius: 99px; background: var(--paper); color: var(--soft); }
.legal-prefs-list b.is-on { background: rgba(22, 147, 111, .12); color: var(--seal); } .legal-prefs-list b.is-off { background: rgba(220, 53, 69, .1); color: #B4232F; }
.legal-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--soft); font-size: .92rem; }
.legal-foot p { margin: 0; min-width: 0; overflow-wrap: anywhere; } .legal-top { font-weight: 650; text-decoration: none; }
@media (max-width: 991.98px) {
    .legal-grid { display: flex; flex-direction: column; gap: 1rem; }
    .legal-side { display: contents; }
    .legal-toc { order: 1; } .legal-doc { order: 2; max-width: none; } .legal-docs { order: 3; }
    .legal-toc:not([open]) { padding-bottom: 1.1rem; } .legal-toc:not([open]) .legal-side-t { margin-bottom: 0; }
    .legal-docs ul { display: flex; flex-wrap: wrap; gap: .35rem; } .legal-docs a { border: 1px solid var(--line); }
}
@media (max-width: 767.98px) {
    .legal-table { border: 0; overflow: visible; border-radius: 0; }
    .legal-prose table, .legal-prose tbody, .legal-prose tr, .legal-prose td { display: block; width: 100%; min-width: 0; }
    .legal-prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .legal-prose tr { margin-bottom: .8rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
    .legal-prose td { border: 0; border-top: 1px solid var(--line); padding: .55rem .8rem; }
    .legal-prose td:first-child { border-top: 0; background: var(--paper); }
    .legal-prose td[data-label]::before { content: attr(data-label); display: block; font-size: .74rem; font-weight: 700; color: var(--soft); margin-bottom: .1rem; }
    .legal-prose td:first-child[data-label]::before { display: none; }
}
@media (max-width: 767.98px) { .legal-side { grid-template-columns: minmax(0, 1fr); } .legal-hosts { grid-template-columns: minmax(0, 1fr); } .legal-dl li { grid-template-columns: minmax(0, 1fr); gap: .15rem; } }
@media print {
    .site-header, header.hd, .ft, footer.site-footer, .legal-side, .legal-print, .legal-top, .legal-prefs, .cookie-banner, .page-hero .hero-sky, .page-hero .hero-grain, .sticky-cta, [data-sticky-cta] { display: none !important; }
    .page-hero { background: none !important; color: #000 !important; padding: 0 !important; }
    .page-hero h1, .page-hero p, .page-hero a { color: #000 !important; }
    .legal-grid { display: block; } .legal-doc { border: 0; box-shadow: none; padding: 0; max-width: none; }
    .legal-table { overflow: visible; } .legal-prose a::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ═════════ v3.9 : formations à la plateforme ═════════ */
.acd-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.acd-mode { display: flex; gap: .9rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; min-width: 0; }
.acd-mode h3 { font-size: 1.08rem; margin: 0 0 .25rem; } .acd-mode p { margin: 0; color: var(--soft); font-size: .95rem; }
.acd-mode-ic, .acd-info-ic, .acd-link-ic, .doc-group-ic, .doc-cta-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--signal), #5B83FF); color: #fff; font-size: 1.2rem; }
.acd-mode-ic.is-seal, .acd-link-ic.is-seal { background: linear-gradient(135deg, #1FB386, var(--seal)); } .acd-mode-ic.is-gold, .acd-link-ic.is-gold { background: linear-gradient(135deg, var(--gold, #F2B33D), #F7C25A); color: var(--ink); }
.acd-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 1.4rem 0 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.acd-figures li { background: #fff; padding: 1rem 1.2rem; min-width: 0; } .acd-figures b { display: block; font-family: var(--f-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--signal); line-height: 1.1; } .acd-figures span { color: var(--soft); font-size: .9rem; }
.acd-paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.acd-path { display: flex; flex-direction: column; gap: .55rem; padding: 1.4rem; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; min-width: 0; transition: transform .3s var(--ease), border-color .3s; }
.acd-path:hover { transform: translateY(-4px); border-color: var(--gold, #F2B33D); color: #fff; }
.acd-path b { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.25; } .acd-path-sum { color: #C3D1EC; font-size: .95rem; flex: 1; }
.acd-path-top, .acd-path-foot, .acd-card-top, .acd-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.acd-path-foot { padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .12); font-weight: 650; font-size: .92rem; } .acd-path .acd-go { color: var(--gold, #F2B33D); }
.acd-dur { font-size: .85rem; color: #C3D1EC; }
.acd-lvl { display: inline-block; padding: .15rem .6rem; border-radius: 99px; font-size: .74rem; font-weight: 750; background: rgba(46, 91, 255, .12); color: var(--signal); }
.acd-lvl.is-avance { background: rgba(22, 147, 111, .13); color: var(--seal); } .acd-lvl.is-expert { background: rgba(242, 179, 61, .2); color: #8A5A00; }
.section-ink .acd-lvl { background: rgba(255, 255, 255, .12); color: #fff; } .section-ink .acd-lvl.is-expert { background: var(--gold, #F2B33D); color: var(--ink); }
.acd-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.acd-filters .filter-chips { min-width: 0; }
.acd-aud { display: flex; align-items: center; gap: .5rem; font-weight: 650; font-size: .9rem; color: var(--soft); } .acd-aud .form-select { min-width: 210px; }
.acd-count { font-weight: 650; color: var(--soft); font-size: .9rem; margin: 0 0 1rem; }
.acd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.1rem; }
.acd-grid.is-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.acd-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; min-width: 0; overflow-wrap: break-word; transition: border-color .3s, box-shadow .3s; }
.acd-card[hidden] { display: none !important; }
.acd-card:hover { border-color: rgba(46, 91, 255, .4); box-shadow: 0 24px 50px -36px rgba(46, 91, 255, .7); }
.acd-cat { font-size: .78rem; font-weight: 700; color: var(--seal); }
.acd-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; } .acd-card h3 a { color: var(--ink); text-decoration: none; } .acd-card h3 a:hover { color: var(--signal); }
.acd-card > p { color: var(--soft); font-size: .94rem; margin: 0; flex: 1; }
.acd-meta { display: grid; gap: .25rem; margin: 0; font-size: .88rem; color: var(--soft); } .acd-meta li { display: flex; gap: .45rem; min-width: 0; } .acd-meta .bi { color: var(--signal); flex: none; margin-top: .1rem; } .acd-meta .is-date { color: var(--seal); font-weight: 650; }
.acd-card-foot { padding-top: .75rem; border-top: 1px solid var(--line); }
.acd-price { font-weight: 750; color: var(--ink); } .acd-price small { font-weight: 600; color: var(--soft); font-size: .78rem; }
.acd-more { font-weight: 700; text-decoration: none; font-size: .92rem; }
.acd-empty, .acd-note { margin-top: 1rem; color: var(--soft); } .acd-empty { padding: 1.4rem; border: 1px dashed var(--line); border-radius: 16px; text-align: center; }
.acd-dates { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: .7rem; margin: 0; }
.acd-date { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); min-width: 0; }
.acd-date-d { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: #fff; line-height: 1; } .acd-date-d b { font-size: 1.3rem; font-family: var(--f-display); } .acd-date-d small { font-size: .72rem; color: #C3D1EC; }
.acd-date-t { flex: 1; min-width: 0; display: grid; } .acd-date-t small { color: var(--soft); } .acd-date .acd-go { color: var(--signal); }
.acd-infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.acd-info { padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; min-width: 0; }
.acd-info h3 { font-size: 1rem; margin: .7rem 0 .3rem; } .acd-info p { margin: 0; color: var(--soft); font-size: .92rem; }
.acd-infos.is-compact .acd-info { background: var(--paper); } .acd-infos.is-compact .acd-info-ic { width: 38px; height: 38px; font-size: 1rem; border-radius: 12px; }
.acd-legal { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 14px; background: var(--paper); color: var(--soft); font-size: .9rem; }
.acd-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }
.acd-main { display: grid; gap: 1.2rem; min-width: 0; }
.acd-block { padding: clamp(1.2rem, 3vw, 1.8rem); border: 1px solid var(--line); border-radius: 22px; background: #fff; min-width: 0; }
.acd-block h2 { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: .8rem; } .acd-block h2 .bi { color: var(--signal); }
.acd-prog { display: grid; gap: .2rem; margin: 0; counter-reset: none; }
.acd-prog li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); } .acd-prog li:first-child { border-top: 0; }
.acd-prog-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); color: var(--signal); font-weight: 800; }
.acd-prog p { margin: .15rem 0 0; color: var(--soft); font-size: .94rem; }
.acd-dl { display: grid; gap: .5rem; margin: 0; } .acd-dl > div { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); } .acd-dl > div:first-child { border-top: 0; }
.acd-dl dt { color: var(--soft); font-weight: 650; font-size: .92rem; } .acd-dl dd { margin: 0; min-width: 0; }
.acd-side { position: sticky; top: 96px; min-width: 0; }
.acd-buy { padding: 1.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -50px rgba(15, 35, 64, .5); }
.acd-buy-t { display: flex; align-items: center; gap: .45rem; font-weight: 750; font-size: .85rem; color: var(--soft); margin: 0 0 .6rem; }
.acd-prices, .acd-facts, .acd-mini-dates { display: grid; gap: .45rem; margin: 0; }
.acd-prices li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem; padding: .6rem .8rem; border-radius: 12px; background: var(--paper); }
.acd-prices span { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; } .acd-prices span .bi { color: var(--signal); }
.acd-prices b { font-family: var(--f-display); font-size: 1.15rem; } .acd-prices b small { font-family: inherit; font-size: .74rem; font-weight: 600; color: var(--soft); }
.acd-facts { margin-top: .8rem; font-size: .9rem; color: var(--soft); } .acd-facts li { display: flex; gap: .45rem; } .acd-facts .bi { color: var(--seal); }
.acd-mini-dates li { display: grid; padding: .5rem .7rem; border-left: 3px solid var(--seal); background: var(--paper); border-radius: 0 10px 10px 0; } .acd-mini-dates small { color: var(--soft); }
.acd-links, .doc-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .7rem; }
.acd-link { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; min-width: 0; }
.acd-link > span:nth-child(2) { display: grid; flex: 1; min-width: 0; } .acd-link small { color: var(--soft); font-size: .78rem; } .acd-link b { overflow-wrap: break-word; }
.acd-link:hover { border-color: var(--signal); } .acd-link .acd-go { color: var(--signal); flex: none; }
.acd-link-ic { width: 40px; height: 40px; font-size: 1.05rem; border-radius: 12px; }
@media (max-width: 991.98px) { .acd-detail { grid-template-columns: minmax(0, 1fr); } .acd-side { position: static; order: -1; } .acd-modes { grid-template-columns: minmax(0, 1fr); } .acd-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .acd-aud { width: 100%; } .acd-aud .form-select { min-width: 0; flex: 1; } .acd-dl > div { grid-template-columns: minmax(0, 1fr); gap: .1rem; } }

/* ═════════ v3.9 : documentation ═════════ */
.doc-hub { padding-top: clamp(2rem, 4vw, 3rem); }
.doc-search { position: relative; max-width: 760px; margin: 0 auto 1rem; }
.doc-search-ic { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--soft); font-size: 1.15rem; z-index: 2; pointer-events: none; }
.doc-search input { height: 60px; padding-left: 3rem; border-radius: 18px; font-size: 1.05rem; box-shadow: 0 20px 50px -40px rgba(15, 35, 64, .6); }
.doc-results { position: absolute; left: 0; right: 0; top: calc(100% + .4rem); z-index: 30; display: grid; gap: .1rem; padding: .4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(15, 35, 64, .45); max-height: 60vh; overflow-y: auto; }
.doc-results a { display: grid; padding: .6rem .8rem; border-radius: 12px; color: var(--ink); text-decoration: none; min-width: 0; } .doc-results a:hover, .doc-results a:focus { background: var(--paper); }
.doc-results small { color: var(--seal); font-weight: 700; font-size: .74rem; } .doc-results span { color: var(--soft); font-size: .88rem; } .doc-noresult { margin: 0; padding: .8rem; color: var(--soft); }
.doc-roles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-bottom: 2rem; }
.doc-roles > span { font-weight: 650; color: var(--soft); margin-right: .3rem; }
.doc-roles button { padding: .4rem .9rem; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 650; font-size: .9rem; color: var(--ink); }
.doc-roles button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc-start { padding: 1.4rem; border-radius: 22px; background: linear-gradient(160deg, rgba(46, 91, 255, .07), rgba(22, 147, 111, .05)); border: 1px solid rgba(46, 91, 255, .18); margin-bottom: 2rem; }
.doc-start h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.doc-start-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: .7rem; margin: 0; }
.doc-start-list a { display: flex; gap: .8rem; padding: .9rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; min-width: 0; height: 100%; }
.doc-start-list a > span:last-child { display: grid; min-width: 0; } .doc-start-list small { color: var(--soft); font-size: .88rem; }
.doc-start-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--signal); color: #fff; font-weight: 800; }
.doc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 1.1rem; align-items: start; }
.doc-group { padding: 1.3rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; min-width: 0; scroll-margin-top: 100px; }
.doc-group[hidden], .doc-group li[hidden] { display: none !important; }
.doc-group header { display: flex; gap: .8rem; margin-bottom: .8rem; } .doc-group h2 { font-size: 1.15rem; margin: 0 0 .15rem; } .doc-group header p { margin: 0; color: var(--soft); font-size: .9rem; }
.doc-group ul { display: grid; gap: .1rem; margin: 0; }
.doc-group li a { display: flex; gap: .65rem; padding: .55rem .6rem; border-radius: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.doc-group li a:hover { background: var(--paper); } .doc-group li a > .bi { color: var(--signal); flex: none; margin-top: .2rem; }
.doc-group li a > span { display: grid; min-width: 0; } .doc-group li small { color: var(--soft); font-size: .86rem; }
.doc-cta-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; } .doc-cta-in > div { flex: 1 1 320px; min-width: 0; } .doc-cta-in p { color: #C3D1EC; margin: 0; }
.doc-cta-ic { background: var(--gold, #F2B33D); color: var(--ink); }
.doc-sec { padding-top: clamp(2rem, 4vw, 3rem); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr) minmax(0, 220px); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.doc-nav { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; min-width: 0; }
.doc-nav summary { cursor: pointer; list-style: none; } .doc-nav summary::-webkit-details-marker { display: none; }
.doc-nav-g { display: flex; align-items: center; gap: .4rem; margin: .9rem 0 .3rem; font-size: .76rem; font-weight: 750; color: var(--soft); }
.doc-nav ul { margin: 0; display: grid; gap: .05rem; }
.doc-nav a { display: block; padding: .3rem .5rem; border-radius: 8px; font-size: .88rem; color: var(--ink); text-decoration: none; line-height: 1.35; overflow-wrap: break-word; }
.doc-nav a:hover { background: var(--paper); } .doc-nav a.is-on { background: var(--ink); color: #fff; }
.doc-article { min-width: 0; padding: clamp(1.3rem, 3.5vw, 2.6rem); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 30px 70px -50px rgba(15, 35, 64, .45); }
.doc-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem; padding-bottom: 1.1rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.doc-where { display: flex; align-items: center; gap: .6rem; min-width: 0; flex: 1 1 260px; } .doc-where > .bi { color: var(--signal); font-size: 1.2rem; flex: none; }
.doc-where > span { display: grid; min-width: 0; font-weight: 650; overflow-wrap: break-word; } .doc-where small { color: var(--soft); font-weight: 600; font-size: .76rem; }
.doc-for { display: flex; flex-wrap: wrap; gap: .3rem; }
.doc-role { padding: .15rem .6rem; border-radius: 99px; font-size: .76rem; font-weight: 700; background: var(--paper); color: var(--soft); }
.doc-role.is-admin { background: rgba(46, 91, 255, .1); color: var(--signal); } .doc-role.is-formateur { background: rgba(22, 147, 111, .12); color: var(--seal); } .doc-role.is-apprenant { background: rgba(242, 179, 61, .2); color: #8A5A00; } .doc-role.is-entreprise { background: rgba(122, 92, 255, .12); color: #5A3FD6; }
.doc-prose h2 { scroll-margin-top: 100px; } .doc-prose code { font-size: .86em; padding: .05rem .3rem; border-radius: 6px; background: var(--paper); color: var(--ink); overflow-wrap: anywhere; }
.doc-prose ol li, .doc-prose ul li { margin-bottom: .3rem; }
.doc-related { margin-top: 2rem; }
.doc-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-top: 2rem; }
.doc-pn-a { display: grid; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; min-width: 0; } .doc-pn-a:hover { border-color: var(--signal); }
.doc-pn-a small { color: var(--soft); font-weight: 650; } .doc-pn-a b { overflow-wrap: break-word; } .doc-pn-a.is-next { text-align: right; grid-column: 2; }
.doc-help { margin: 1.6rem 0 0; color: var(--soft); font-size: .92rem; }
.doc-toc { position: sticky; top: 96px; }
@media (max-width: 1199.98px) { .doc-layout { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); } .doc-toc { display: none; } }
@media (max-width: 991.98px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-nav { position: static; max-height: none; } .doc-nav:not(:has(details[open])) { padding-bottom: 1rem; } }
@media (max-width: 575.98px) { .doc-pn { grid-template-columns: minmax(0, 1fr); } .doc-pn-a.is-next { grid-column: auto; } }
.acd-paths-sec .section-head p, .doc-cta .section-head p { color: #C3D1EC; }
.doc-prose > h2:first-child, .legal-prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 1.2rem; }
.doc-start h2 { font-weight: 700; }
