/* =========================================================================
   BMS EXPERT — Navigation et pages Solutions / Institut (oct. 2026)
   Couleurs par univers : ERP sarcelle, CRM bleu ciel, Institut orange,
   Conseil indigo. Les variables de base viennent de site.css.
   ========================================================================= */

:root {
  --crm: #2F7FE0;
  --crm-deep: #1D5FB4;
  --crm-soft: #E3EEFC;
  --inst: #C8700F;
  --inst-soft: #FFF1DC;
  --night: #121735;
}

/* ---------- Logo réduit dans la barre principale ---------- */
.mainnav .navbar { padding: .35rem 0; }
.mainnav .bms-logo { gap: .55rem; }
.mainnav .bms-logo img { height: 36px; }
.mainnav .bms-logo .bl-name { font-size: 1.2rem; }
.mainnav .bms-logo .bl-tag { font-size: .62rem; }
@media (max-width: 575.98px) { .mainnav .bms-logo img { height: 32px; } .mainnav .bms-logo .bl-name { font-size: 1.08rem; } }

/* ---------- Méga-menus ---------- */
@media (min-width: 1200px) {
  .mainnav .container { position: relative; }
  .mainnav .nav-item.mega-host { position: static; }
  .mainnav .mega.wide {
    width: auto; left: 12px; right: 12px; top: calc(100% - 6px);
    padding: 0; overflow: hidden; border-radius: 18px;
  }
  .mx-grid { display: grid; }
  .mx-2col { grid-template-columns: 1fr 1fr; }
  .mx-3col { grid-template-columns: 1.25fr 1fr 1fr; }
  .mx-grid > section + section { border-inline-start: 1px solid var(--line); }
}
.mega.wide { padding: 0; }
.mx-grid > section { padding: 1.4rem 1.5rem 1.2rem; }
.mx-prod { background: linear-gradient(180deg, color-mix(in srgb, var(--p) 6%, #fff) 0%, #fff 70%); }
.mx-head { display: flex; gap: .9rem; align-items: flex-start; text-decoration: none; color: var(--text); padding-bottom: 1rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.mx-head strong { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.mx-head small { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; margin-top: .15rem; max-width: 38ch; }
.mx-head:hover strong { color: var(--p, var(--indigo)); }
.mx-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--p, var(--indigo)); font-size: 1.05rem; }
.mx-grid h6 { font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--muted); margin: 0 0 .45rem; }
.mx-links { display: grid; gap: .1rem; }
.mx-links.two { grid-template-columns: 1fr 1fr; column-gap: .75rem; }
.mx-links a { display: flex; align-items: center; gap: .55rem; padding: .42rem .55rem; margin-inline: -.55rem; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .96rem; line-height: 1.3; }
.mx-links a:hover, .mx-links a:focus-visible { background: var(--bg); color: var(--indigo); }
.mx-links a i { width: 18px; color: var(--indigo); opacity: .7; }
.mx-links a.all { font-weight: 700; color: var(--indigo); margin-top: .25rem; }
.mx-more { display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem; font-weight: 700; font-size: .93rem; color: var(--p, var(--indigo)); text-decoration: none; }
.mx-more:hover { text-decoration: underline; }
.mx-band { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.5rem; background: var(--night); color: rgba(255,255,255,.75); text-decoration: none; }
.mx-band strong { display: block; color: #fff; font-family: var(--font-head); }
.mx-band small { font-size: .9rem; }
.mx-band:hover { color: #fff; }
.mx-small .dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .5rem 1rem; }
.mx-small .dropdown-item i { width: 18px; color: var(--indigo); opacity: .75; }
.mainnav .nav-link.active { color: var(--indigo) !important; }
@media (max-width: 1199.98px) {
  .mainnav .mega.wide { box-shadow: none; border: 1px solid var(--line); margin: .25rem 0 .75rem !important; }
  .mx-grid > section { padding: 1rem; }
  .mx-grid > section + section { border-top: 1px solid var(--line); }
  .mx-links.two { grid-template-columns: 1fr; }
  .mx-band { flex-direction: column; align-items: flex-start; padding: 1rem; }
}

/* ---------- Éléments communs des nouvelles pages ---------- */
.v3 h1, .v3 h2, .v3 h3 { letter-spacing: -.02em; }
.v3-wrap { width: 100%; margin-inline: auto; padding-inline: 12px; }
@media (min-width: 576px) { .v3-wrap { max-width: 540px; } }
@media (min-width: 768px) { .v3-wrap { max-width: 720px; } }
@media (min-width: 992px) { .v3-wrap { max-width: 960px; } }
@media (min-width: 1200px) { .v3-wrap { max-width: 1140px; } }
@media (min-width: 1400px) { .v3-wrap { max-width: 1320px; } }
.v3-lead { font-size: 1.2rem; line-height: 1.55; max-width: 58ch; }
.v3-h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); font-weight: 800; line-height: 1.08; margin-bottom: 1rem; max-width: 22ch; }
.v3-sub { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-bottom: 0; }
.v3-sec { padding: 104px 0; }
.v3-sec.alt { background: var(--surface); }
.v3-sec.night { background: var(--night); color: rgba(255,255,255,.78); }
.v3-sec.night h2, .v3-sec.night h3, .v3-sec.night h4 { color: #fff; }
.v3-sec.night .v3-sub { color: rgba(255,255,255,.66); }
.v3-head { margin-bottom: 3.25rem; }
.v3-ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.v3-ticks li { display: flex; gap: .65rem; align-items: baseline; }
.v3-ticks li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; background: var(--accent, var(--indigo)); transform: translateY(-2px); }
@media (max-width: 767.98px) { .v3-sec { padding: 72px 0; } }

/* ---------- Héros CRM ---------- */
.crm-hero { background: var(--night); color: rgba(255,255,255,.8); padding: 72px 0 0; overflow: hidden; position: relative; }
.crm-hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(700px 380px at 85% 10%, rgba(47,127,224,.28), transparent 70%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 44px; pointer-events: none; }
.crm-hero .v3-wrap { position: relative; }
.crm-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; }
.crm-hero .crumbs a { color: rgba(255,255,255,.7); }
.crm-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; max-width: 15ch; margin-bottom: 1.4rem; }
.crm-hero .v3-lead { color: rgba(255,255,255,.75); }
.crm-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.crm-hero .note { font-size: .92rem; color: rgba(255,255,255,.55); margin-top: 1rem; }
.crm-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: end; }
@media (max-width: 991.98px) { .crm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }

/* Maquette de l'application */
.app-mock { background: #fff; color: var(--text); border-radius: 16px 16px 0 0; box-shadow: 0 -10px 60px rgba(0,0,0,.35); display: grid; grid-template-columns: 186px 1fr; min-height: 470px; font-size: 13.5px; overflow: hidden; }
.am-nav { background: #F3F4FA; border-inline-end: 1px solid var(--line); padding: 14px 10px; }
.am-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 800; color: var(--ink); padding: 2px 6px 14px; }
.am-brand span { width: 26px; height: 26px; border-radius: 7px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-size: 12px; }
.am-group { font-size: 11px; color: var(--muted); font-weight: 700; margin: 10px 8px 4px; }
.am-item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--text); }
.am-item i { width: 15px; color: var(--muted); font-size: 12px; }
.am-item b { margin-inline-start: auto; background: var(--orange); color: #1E1500; font-size: 10.5px; padding: 0 6px; border-radius: 9px; }
.am-item.on { background: #fff; box-shadow: 0 1px 2px rgba(23,20,63,.08); font-weight: 600; color: var(--indigo); }
.am-item.on i { color: var(--indigo); }
.am-main { padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 12px; min-width: 0; }
.am-row > div { min-width: 0; }
.am-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.am-top h4 { font-family: var(--font-head); font-size: 17px; margin: 0; color: var(--ink); }
.am-search { flex: 1 1 auto; min-width: 0; max-width: 220px; overflow: hidden; height: 30px; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; gap: 6px; padding: 0 9px; color: var(--muted); font-size: 12px; }
.am-filters { display: flex; gap: 6px; flex-wrap: nowrap; min-width: 0; overflow: hidden; }
.am-filters span { flex: 0 0 auto; }
.am-filters span { border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; font-size: 12px; color: var(--muted); }
.am-filters span.on { border-color: var(--crm); color: var(--crm-deep); background: var(--crm-soft); }
.am-list { display: grid; gap: 6px; align-content: start; }
.am-row { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.am-row .src { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 13px; }
.am-row strong { display: block; color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-row small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.am-tag.new { background: var(--orange-soft); color: var(--orange-2); }
.am-tag.ok { background: #E1F4E8; color: #1E7F43; }
.am-tag.task { background: var(--crm-soft); color: var(--crm-deep); }
.am-row.fresh { border-color: var(--crm); box-shadow: 0 0 0 3px rgba(47,127,224,.15); }
.am-trail { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.am-trail span { font-size: 11.5px; display: inline-flex; align-items: center; gap: 5px; color: var(--crm-deep); background: var(--crm-soft); border-radius: 6px; padding: 2px 7px; }

/* Le moment animé : une demande arrive, puis la tâche est créée */
@media (prefers-reduced-motion: no-preference) {
  .app-mock .am-row.fresh { animation: am-in .7s cubic-bezier(.2,.8,.2,1) 1.1s both; }
  .app-mock .am-row.fresh .am-trail span { animation: am-pop .4s ease both; }
  .app-mock .am-row.fresh .am-trail span:nth-child(1) { animation-delay: 2.1s; }
  .app-mock .am-row.fresh .am-trail span:nth-child(2) { animation-delay: 2.6s; }
  .app-mock .am-row.fresh .am-trail span:nth-child(3) { animation-delay: 3.1s; }
  .app-mock .am-count { animation: am-pop .35s ease 1.4s both; }
}
@keyframes am-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes am-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (max-width: 575.98px) {
  .app-mock { grid-template-columns: minmax(0, 1fr); }
  .am-nav { display: none; }
}

/* ---------- Parcours d'une demande (séquence réelle) ---------- */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.journey::before { content: ""; position: absolute; top: 23px; inset-inline: 10% 10%; height: 2px; background: linear-gradient(90deg, var(--crm), var(--teal)); opacity: .35; }
.jstep { padding-inline: 1rem; position: relative; }
.jstep .n { counter-increment: step; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--crm); color: var(--crm-deep); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; margin-bottom: 1.1rem; position: relative; }
.jstep .n::after { content: counter(step); }
.jstep h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: .4rem; }
.jstep p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 991.98px) {
  .journey { grid-template-columns: 1fr; gap: 1.6rem; }
  .journey::before { top: 0; bottom: 0; inset-inline: 23px auto; width: 2px; height: auto; }
  .jstep { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding: 0; }
  .jstep .n { grid-row: span 2; margin: 0; }
}

/* ---------- Modules : index collant + panneaux ---------- */
.mod-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3.5rem; align-items: start; }
.mod-index { position: sticky; top: 100px; display: grid; gap: .15rem; }
.mod-index a { display: flex; align-items: center; gap: .7rem; padding: .6rem .8rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; border-inline-start: 3px solid transparent; }
.mod-index a i { width: 18px; color: var(--muted); }
.mod-index a:hover, .mod-index a.on { background: var(--surface); color: var(--crm-deep); border-inline-start-color: var(--crm); }
.mod-index a.on i { color: var(--crm); }
.mod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2.5rem; align-items: center; padding: 3rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.mod:first-child { border-top: 0; padding-top: 0; }
.mod h3 { font-size: 1.65rem; font-weight: 800; margin-bottom: .6rem; }
.mod p { color: var(--muted); font-size: 1.05rem; }
.mod .v3-ticks { --accent: var(--crm); }
@media (max-width: 1199.98px) { .mod-layout { grid-template-columns: minmax(0, 1fr); } .mod-index { display: none; } }
@media (max-width: 767.98px) { .mod { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* Vignettes d'écran */
.vig { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgba(23,20,63,.05), 0 18px 40px -18px rgba(23,20,63,.22); font-size: 13px; }
.vig-title { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 12px; font-size: 14px; }
.vig-title small { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(104px, 1fr)); gap: 8px; overflow-x: auto; }
.kanban .col-k { background: var(--bg); border-radius: 9px; padding: 8px; min-height: 150px; }
.kanban .col-k > b { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.kanban .card-k { background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 6px 7px; margin-bottom: 6px; font-size: 12px; line-height: 1.3; }
.kanban .card-k i { display: block; font-style: normal; color: var(--muted); font-size: 11px; }
.kanban .card-k.won { border-color: #9BD3B1; background: #F1FAF4; }
.gantt { display: grid; gap: 7px; }
.gantt .g { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; }
.gantt .g span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.gantt .bar { height: 14px; border-radius: 4px; background: var(--crm-soft); position: relative; }
.gantt .bar i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--crm); }
.gantt .bar i.t { background: var(--teal); }
.gantt .bar i.o { background: var(--orange); }
.gantt .scale { display: grid; grid-template-columns: 120px repeat(4, 1fr); gap: 0 10px; font-size: 11px; color: var(--muted); margin-bottom: 2px; }
.thread { display: grid; gap: 8px; }
.thread .msg { padding: 9px 11px; border-radius: 10px; background: var(--bg); max-width: 88%; }
.thread .msg.me { background: var(--crm-soft); margin-inline-start: auto; }
.thread .msg small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.sla { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.sla span { font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: var(--bg); color: var(--muted); }
.sla span.hot { background: var(--rose-soft); color: var(--rose); font-weight: 700; }
.mail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.mail-stats div { background: var(--bg); border-radius: 8px; padding: 8px 10px; }
.mail-stats b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); }
.mail-stats small { color: var(--muted); font-size: 11px; }
.mail-tpl { border: 1px dashed var(--line); border-radius: 9px; padding: 10px; line-height: 1.5; }
.mail-tpl code { color: var(--crm-deep); background: var(--crm-soft); padding: 0 4px; border-radius: 4px; font-size: 12px; }
.chan { display: grid; gap: 7px; }
.chan div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; }
.chan i { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: 12px; }
.chan em { margin-inline-start: auto; font-style: normal; font-size: 11.5px; color: #1E7F43; font-weight: 700; }
.pp { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.pp .av { width: 52px; height: 52px; border-radius: 14px; background: var(--indigo); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; }
.pp strong { display: block; color: var(--ink); font-size: 15px; }
.pp-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.pp-tags span { font-size: 11px; padding: 1px 7px; border-radius: 5px; background: var(--bg); color: var(--muted); }
.pp-rows { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; font-size: 12.5px; }
.pp-rows dt { color: var(--muted); font-weight: 400; }
.pp-rows dd { margin: 0; color: var(--text); }

/* ---------- Bande « Afrique » ---------- */
.africa-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.africa-band > div { padding: 2rem 1.5rem 0 0; }
.africa-band > div + div { padding-inline-start: 1.5rem; border-inline-start: 1px solid rgba(255,255,255,.12); }
.africa-band i { color: var(--orange); font-size: 1.3rem; margin-bottom: .9rem; display: block; }
.africa-band h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .45rem; }
.africa-band p { font-size: .98rem; margin: 0; color: rgba(255,255,255,.66); }
@media (max-width: 991.98px) { .africa-band { grid-template-columns: 1fr 1fr; } .africa-band > div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; } }
@media (max-width: 575.98px) { .africa-band { grid-template-columns: 1fr; } .africa-band > div + div { border-inline-start: 0; padding-inline-start: 0; } }

/* ---------- Droits et visibilité ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.roles > div { padding: 1.8rem 1.6rem; }
.roles > div + div { border-inline-start: 1px solid var(--line); }
.roles .who { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.roles .who i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--crm-soft); color: var(--crm-deep); }
.roles h3 { font-size: 1.15rem; font-weight: 800; margin: 0; }
.roles p { color: var(--muted); margin: 0; }
@media (max-width: 991.98px) { .roles { grid-template-columns: 1fr; } .roles > div + div { border-inline-start: 0; border-top: 1px solid var(--line); } }

/* ---------- FAQ ---------- */
.faq-v3 { max-width: 860px; }
.faq-v3 details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq-v3 summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.faq-v3 summary::-webkit-details-marker { display: none; }
.faq-v3 summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--crm); transition: transform .2s; }
.faq-v3 details[open] summary::after { transform: rotate(45deg); }
.faq-v3 details p { color: var(--muted); margin: .7rem 0 0; max-width: 70ch; }

/* ---------- Appel final ---------- */
.final-cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; background: var(--night); color: rgba(255,255,255,.75); border-radius: 24px; padding: 3.2rem; position: relative; overflow: hidden; }
.final-cta::after { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid var(--c, var(--crm)); opacity: .18; }
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; margin-bottom: .6rem; }
.final-cta p { margin: 0; }
.final-cta .acts { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 991.98px) { .final-cta { grid-template-columns: 1fr; padding: 2.2rem; } .final-cta .acts { justify-content: flex-start; } }

/* ---------- Institut ---------- */
.inst-hero { background: #FBF6EE; padding: 72px 0 80px; position: relative; overflow: hidden; border-bottom: 1px solid #F0E3CF; }
.inst-hero .crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; }
.inst-hero h1 { font-size: clamp(2.3rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 900; line-height: 1.04; letter-spacing: -.03em; color: var(--night); max-width: 17ch; margin-bottom: 1.3rem; }
.inst-hero .v3-lead { color: #4E4A66; }
.inst-hero .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.inst-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3.5rem; align-items: center; }
@media (max-width: 991.98px) { .inst-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 575.98px) { .skillmap .track { white-space: normal; min-width: 120px; } }

/* Carte des compétences : filières x niveaux */
.skillmap { background: #fff; border-radius: 18px; border: 1px solid #F0E3CF; box-shadow: 0 30px 60px -30px rgba(120,70,0,.35); padding: 1.3rem; overflow-x: auto; }
.skillmap table { width: 100%; border-collapse: separate; border-spacing: 6px; min-width: 520px; }
.skillmap th { font-family: var(--font-head); font-size: .82rem; color: var(--muted); font-weight: 700; text-align: start; padding: 0 .3rem .2rem; }
.skillmap .track { font-family: var(--font-body); font-weight: 700; color: var(--ink); white-space: nowrap; padding-inline-end: .6rem; font-size: .92rem; }
.skillmap .track i { color: var(--c); width: 20px; }
.skillmap td.lv { height: 42px; border-radius: 9px; background: color-mix(in srgb, var(--c) calc(var(--d) * 1%), #fff); border: 1px solid color-mix(in srgb, var(--c) 22%, #fff); font-size: .8rem; color: var(--ink); padding: .3rem .55rem; line-height: 1.2; }
.skillmap td.lv.strong { color: #fff; }
.skillmap caption { caption-side: bottom; font-size: .85rem; color: var(--muted); padding-top: .6rem; }

.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.track-c { padding: 2rem 1.6rem 2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); display: block; }
.tracks .track-c:not(:nth-child(3n+1)) { padding-inline-start: 1.6rem; border-inline-start: 1px solid var(--line); }
.track-c .ti { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); margin-bottom: 1rem; }
.track-c h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .4rem; }
.track-c p { color: var(--muted); margin: 0 0 .8rem; }
.track-c .go { font-weight: 700; color: var(--c); font-size: .95rem; }
.track-c:hover h3 { color: var(--c); }
@media (max-width: 991.98px) {
  .tracks { grid-template-columns: 1fr 1fr; }
  .tracks .track-c { padding: 1.6rem 1.2rem !important; border-inline-start: 0 !important; }
  .tracks .track-c:nth-child(2n) { border-inline-start: 1px solid var(--line) !important; }
}
@media (max-width: 575.98px) { .tracks { grid-template-columns: 1fr; } .tracks .track-c:nth-child(2n) { border-inline-start: 0 !important; } }

.prog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: start; padding: 3.2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prog:first-of-type { border-top: 0; padding-top: 0; }
.prog .tag { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--inst); background: var(--inst-soft); padding: .2rem .7rem; border-radius: 6px; margin-bottom: .9rem; }
.prog h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; line-height: 1.12; margin-bottom: .8rem; }
.prog > div > p { color: var(--muted); font-size: 1.05rem; }
.prog .v3-ticks { --accent: var(--inst); }
.prog-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); }
.prog-facts > div { padding: 1.1rem 1.25rem; background: #fff; }
.prog-facts small { display: block; color: var(--muted); font-size: .85rem; }
.prog-facts b { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.prog-facts .wide { grid-column: 1 / -1; }
@media (max-width: 991.98px) { .prog { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }

.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: m; }
.method > div { border-top: 3px solid var(--inst); padding-top: 1.2rem; }
.method > div::before { counter-increment: m; content: counter(m); font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; color: color-mix(in srgb, var(--inst) 30%, #fff); line-height: 1; display: block; margin-bottom: .6rem; }
.method h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .4rem; }
.method p { color: var(--muted); margin: 0; }
.v3-sec.night .method p { color: rgba(255,255,255,.66); }
@media (max-width: 991.98px) { .method { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .method { grid-template-columns: 1fr; } }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.formats > div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; }
.formats h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .5rem; }
.formats p { color: var(--muted); margin: 0; }
.formats .who { font-size: .9rem; color: var(--inst); font-weight: 700; margin-top: .9rem; display: block; }
@media (max-width: 991.98px) { .formats { grid-template-columns: 1fr; } }

.tools-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tool-c { display: grid; grid-template-columns: 54px 1fr; gap: 1.1rem; align-items: start; padding: 1.7rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.tool-c .ti { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; color: #fff; background: var(--c); }
.tool-c h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .35rem; }
.tool-c p { color: var(--muted); margin: 0 0 .6rem; }
.tool-c .go { font-weight: 700; color: var(--c); }
.tool-c:hover { border-color: var(--c); }
@media (max-width: 767.98px) { .tools-row { grid-template-columns: 1fr; } }

/* ---------- Page d'essai ---------- */
.trial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 4rem; align-items: start; }
.trial-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; counter-reset: t; }
.trial-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; }
.trial-steps li::before { counter-increment: t; content: counter(t); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--crm-soft); color: var(--crm-deep); font-family: var(--font-head); font-weight: 800; }
.trial-steps b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.05rem; }
.trial-steps span { color: var(--muted); }
.trial-incl { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trial-incl h3 { font-size: 1.05rem; font-weight: 800; }
.trial-incl .v3-ticks { --accent: var(--crm); grid-template-columns: 1fr 1fr; }
@media (max-width: 575.98px) { .trial-incl .v3-ticks { grid-template-columns: 1fr; } }
.trial-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2.2rem; box-shadow: 0 30px 70px -40px rgba(23,20,63,.45); }
.trial-form h2 { font-size: 1.55rem; font-weight: 800; margin-bottom: .3rem; }
.trial-form > p { color: var(--muted); margin-bottom: 1.5rem; }
.trial-form .form-label { font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .3rem; }
.trial-form .form-control, .trial-form .form-select { border-radius: 10px; padding: .65rem .85rem; border-color: #D6D5E6; }
.trial-form .form-control:focus, .trial-form .form-select:focus { border-color: var(--crm); box-shadow: 0 0 0 3px rgba(47,127,224,.18); }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.uses label { display: flex; align-items: center; gap: .55rem; border: 1px solid #D6D5E6; border-radius: 10px; padding: .55rem .75rem; cursor: pointer; font-size: .95rem; }
.uses input { accent-color: var(--crm); }
.uses label:has(input:checked) { border-color: var(--crm); background: var(--crm-soft); }
.trial-form .legal { font-size: .85rem; color: var(--muted); margin: 1rem 0 0; }
.trial-done { text-align: center; padding: 1rem 0; }
.trial-done i { font-size: 2.6rem; color: #1E7F43; margin-bottom: 1rem; }
@media (max-width: 991.98px) { .trial { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } }
@media (max-width: 575.98px) { .uses { grid-template-columns: 1fr; } .trial-form { padding: 1.5rem; } }

/* Accueil : trois univers */
.worlds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.world { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 2rem 1.8rem 1.8rem; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); overflow: hidden; }
.world::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--c); }
.world .wi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 1.25rem; margin-bottom: 1.2rem; }
.world h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: .2rem; }
.world .what { color: var(--c); font-weight: 700; font-size: .95rem; margin-bottom: .8rem; }
.world p { color: var(--muted); }
.world ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .35rem; font-size: .97rem; }
.world ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 2px; background: var(--c); margin-inline-end: .6rem; transform: translateY(-2px); }
.world .go { margin-top: auto; font-weight: 700; color: var(--c); }
.world:hover { border-color: var(--c); color: var(--text); }
@media (max-width: 991.98px) { .worlds { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid rgba(47,127,224,.55); outline-offset: 2px; }

/* Garde-fou : aucune page ne défile en largeur sur téléphone */
html:has(body.public-mode), body.site-v2.public-mode { overflow-x: clip; }

/* ---------- Questions fréquentes en conversation ---------- */
.faq-chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem; align-items: start; }
.faq-chat-layout .v3-head { position: sticky; top: 100px; }
@media (max-width: 991.98px) { .faq-chat-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .faq-chat-layout .v3-head { position: static; } }
.chat-win { background: #EEF1F8; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(23,20,63,.45); }
.chat-top { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line); }
.chat-av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; flex: 0 0 auto; }
.chat-top strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.2; }
.chat-top small { color: var(--muted); font-size: .85rem; display: inline-flex; align-items: center; gap: .35rem; }
.chat-top small i { color: #2E9E5B; font-size: .5rem; }
.chat-log { list-style: none; margin: 0; padding: 1.2rem 1.1rem .6rem; display: flex; flex-direction: column; gap: .5rem; }
.chat-log li { max-width: 82%; padding: .65rem .9rem; line-height: 1.45; font-size: .98rem; position: relative; }
.chat-log .msg-q { align-self: flex-end; background: var(--crm); color: #fff; border-radius: 16px 16px 4px 16px; font-weight: 600; margin-top: .6rem; }
.chat-log .msg-q:first-child { margin-top: 0; }
.chat-log .msg-a { align-self: flex-start; background: #fff; color: var(--text); border-radius: 16px 16px 16px 4px; box-shadow: 0 1px 1px rgba(23,20,63,.06); }
html[dir="rtl"] .chat-log .msg-q { border-radius: 16px 16px 16px 4px; }
html[dir="rtl"] .chat-log .msg-a { border-radius: 16px 16px 4px 16px; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: .6rem 1.1rem 1.1rem; padding: .55rem .6rem .55rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none; }
.chat-input i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--crm); color: #fff; font-size: .9rem; }
.chat-input:hover { border-color: var(--crm); color: var(--crm-deep); }
@media (max-width: 575.98px) { .chat-log li { max-width: 92%; } }

/* ---------- Choix de la langue : la liste passe au-dessus de la barre de navigation ---------- */
.topbar { position: relative; z-index: 1035; }
.topbar .dropdown-menu { z-index: 1050; }

/* ---------- Échelle d'affichage plus compacte (sites publics) ----------
   Équivaut à peu près à un zoom de 80 % du navigateur : textes, champs et espacements. */
html:has(body.public-mode) { font-size: 13.5px; }
body.site-v2.public-mode { font-size: 14.5px; }
body.public-mode .sec { padding: 64px 0; }
body.public-mode .sec.tight { padding: 48px 0; }
body.public-mode .v3-sec { padding: 72px 0; }
body.public-mode .v3-head { margin-bottom: 2.4rem; }
body.public-mode .crm-hero, body.public-mode .inst-hero { padding-top: 52px; }
body.public-mode .inst-hero { padding-bottom: 60px; }
body.public-mode .mainnav .nav-link { font-size: .98rem; padding-inline: .7rem; }
body.public-mode .topbar .container { min-height: 34px; }
@media (max-width: 767.98px) { body.public-mode .sec, body.public-mode .v3-sec { padding: 52px 0; } }

/* Champs de saisie plus compacts sur tout le site public */
body.public-mode .form-control, body.public-mode .form-select { font-size: .95rem; padding: .42rem .7rem; min-height: 0; border-radius: 8px; }
body.public-mode .form-select { padding-inline-end: 2rem; }
body.public-mode textarea.form-control { min-height: 0; }
body.public-mode .form-label { font-size: .9rem; margin-bottom: .25rem; }
body.public-mode .form-v2 .form-control, body.public-mode .form-v2 .form-select,
body.public-mode .trial-form .form-control, body.public-mode .trial-form .form-select { padding: .42rem .7rem; border-radius: 8px; }
body.public-mode .trial-form { padding: 1.6rem; }
body.public-mode .trial-form .row { --bs-gutter-y: .8rem; --bs-gutter-x: .9rem; }
body.public-mode .uses label { padding: .35rem .6rem; font-size: .92rem; }
body.public-mode .btn-v2 { padding: .62rem 1.15rem; font-size: .95rem; }
body.public-mode .btn-v2.sm { padding: .42rem .85rem; font-size: .88rem; }
.app-mock { min-height: 420px; }
.topbar .dropdown-menu { min-width: 11rem; padding: .35rem; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l); }
.topbar .dropdown-menu .dropdown-item { color: var(--text); border-radius: 8px; padding: .45rem .7rem; display: flex; align-items: center; }
.topbar .dropdown-menu .dropdown-item:hover, .topbar .dropdown-menu .dropdown-item:focus { background: var(--bg); color: var(--indigo); }
.topbar .dropdown-menu .dropdown-item.active { background: var(--indigo-soft); color: var(--indigo); font-weight: 700; }

/* ---------- Espace emploi ---------- */
.emploi-hero { background: var(--night); color: rgba(255,255,255,.75); padding: 40px 0 34px; position: relative; overflow: hidden; }
.emploi-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 260px at 90% 0, rgba(242,145,38,.22), transparent 70%); }
.emploi-hero .v3-wrap { position: relative; }
.emploi-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.emploi-hero .crumbs a { color: rgba(255,255,255,.75); }
.emploi-hero-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.emploi-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; margin-bottom: .6rem; max-width: 20ch; }
.emploi-hero p { margin: 0; max-width: 56ch; font-size: 1.08rem; }
.emploi-count { display: flex; gap: .7rem; }
.emploi-count a { display: grid; padding: .8rem 1.1rem; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; text-decoration: none; color: rgba(255,255,255,.7); min-width: 140px; background: rgba(255,255,255,.04); }
.emploi-count a:hover { border-color: var(--orange); color: #fff; }
.emploi-count b { font-family: var(--font-head); font-size: 1.9rem; color: #fff; line-height: 1; }
.emploi-count span { font-size: .9rem; }

.emploi-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 2rem; align-items: start; }
.emploi-side { position: sticky; top: 84px; }
@media (max-width: 991.98px) { .emploi-grid { grid-template-columns: minmax(0, 1fr); } .emploi-side { position: static; } }

.ann-acc { --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: 16px; --bs-accordion-inner-border-radius: 15px; --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(42,55,133,.15); --bs-accordion-active-bg: #fff; --bs-accordion-active-color: var(--ink); background: #fff; border-radius: 16px; box-shadow: 0 24px 50px -36px rgba(23,20,63,.45); }
.ann-acc .accordion-button { gap: .8rem; padding: .95rem 1rem; align-items: center; }
.ann-acc .accordion-button strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.ann-acc .accordion-button small { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.ann-acc .accordion-button:not(.collapsed) { box-shadow: inset 0 -1px 0 var(--line); }
.acc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.acc-offre { background: var(--indigo); } .acc-demande { background: var(--orange-2); } .acc-regles { background: var(--teal); }
.ann-acc .accordion-body { padding: 1rem; background: #FCFCFE; }
.ann-form .form-label { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.ann-form .form-control, .ann-form .form-select { font-size: .9rem; padding: .38rem .6rem; border-radius: 8px; border-color: #D6D8E6; background-color: #fff; }
.ann-form .form-control:focus, .ann-form .form-select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(42,55,133,.13); }
.ann-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ann-accord { display: flex; gap: .5rem; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.ann-accord input { margin-top: .15rem; accent-color: var(--indigo); }
.ann-rules ul { padding-inline-start: 1.1rem; margin: 0 0 .7rem; display: grid; gap: .35rem; font-size: .92rem; }
.ann-mod { display: inline-block; margin: .9rem 0 0 .4rem; font-size: .75rem; color: #A3A7BC; text-decoration: none; }
.ann-mod:hover { color: var(--muted); text-decoration: underline; }

.ann-filters { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .7rem; display: grid; gap: .6rem; margin-bottom: 1rem; position: sticky; top: 76px; z-index: 5; box-shadow: 0 10px 24px -20px rgba(23,20,63,.4); }
.ann-tabs { display: flex; gap: .3rem; flex-wrap: wrap; }
.ann-tabs button { border: 0; background: transparent; padding: .38rem .8rem; border-radius: 999px; font-weight: 700; color: var(--muted); font-size: .92rem; }
.ann-tabs button span { font-weight: 600; font-size: .78rem; background: var(--bg); color: var(--muted); padding: 0 .45rem; border-radius: 999px; margin-inline-start: .2rem; }
.ann-tabs button[aria-selected="true"] { background: var(--indigo-soft); color: var(--indigo); }
.ann-tabs button[aria-selected="true"] span { background: var(--indigo); color: #fff; }
.ann-search { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.ann-q { position: relative; }
.ann-q i { position: absolute; inset-inline-start: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.ann-q input { padding-inline-start: 2rem !important; }
.ann-search .form-control, .ann-search .form-select { font-size: .9rem; padding-top: .38rem; padding-bottom: .38rem; border-radius: 9px; }
@media (max-width: 767.98px) { .ann-search { grid-template-columns: 1fr 1fr; } .ann-q { grid-column: 1 / -1; } .ann-filters { position: static; } }

.ann-list, .ann-bms { display: grid; gap: .75rem; }
.ann-bms { margin-bottom: 1.2rem; }
.ann-bms h2 { font-size: .85rem; font-weight: 800; color: var(--orange-2); text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.ann-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; transition: border-color .2s, box-shadow .2s; scroll-margin-top: 150px; }
.ann-card:hover { border-color: #C9CDE3; box-shadow: 0 16px 32px -26px rgba(23,20,63,.45); }
.ann-card.bms { border-color: #F3D3A8; background: linear-gradient(180deg, #FFF8EE, #fff 60%); }
.ann-card.fresh { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22,160,133,.15); }
.ann-top { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: .55rem; }
.ann-type { font-size: .74rem; font-weight: 800; padding: .15rem .55rem; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.ann-type.offre { background: var(--indigo); color: #fff; } .ann-type.demande { background: var(--orange-2); color: #fff; }
.ann-chip { font-size: .8rem; padding: .12rem .55rem; border-radius: 6px; background: var(--bg); color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; }
.ann-card h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .1rem; }
.ann-org { color: var(--indigo); font-weight: 600; margin: 0 0 .5rem; font-size: .95rem; }
.ann-desc summary { list-style: none; cursor: pointer; color: var(--text); }
.ann-desc summary::-webkit-details-marker { display: none; }
.ann-excerpt { display: block; color: var(--muted); font-size: .95rem; }
.ann-more { display: inline-block; margin-top: .3rem; font-weight: 700; font-size: .88rem; color: var(--indigo); }
.ann-desc[open] .ann-excerpt, .ann-desc[open] .ann-more { display: none; }
.ann-full { font-size: .95rem; line-height: 1.6; color: var(--text); }
.ann-desc-p { color: var(--muted); font-size: .95rem; }
.ann-foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.ann-foot small { color: var(--muted); }
.ann-contact { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.ann-contact a { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; background: var(--indigo-soft); color: var(--indigo); font-weight: 600; text-decoration: none; font-size: .9rem; }
.ann-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed #CFD2E3; border-radius: 16px; color: var(--muted); background: #fff; }
.ann-empty i { font-size: 2rem; margin-bottom: .7rem; color: #B9BDD3; }
.ann-msg { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1.2rem; }
.ann-msg i { font-size: 1.2rem; margin-top: .1rem; }
.ann-msg.ok { background: #E6F5EC; color: #165E33; } .ann-msg.ko { background: #FBE9EC; color: #8E1F33; }
.ann-lien { display: flex; gap: .5rem; margin-top: .6rem; }
.ann-lien input { flex: 1; min-width: 0; font-size: .85rem; padding: .35rem .6rem; border: 1px solid #B9DFC8; border-radius: 8px; background: #fff; }

/* ---------- Base de connaissances ---------- */
.kb-hero { background: linear-gradient(180deg, #EAF6F3 0%, #F7F7FC 100%); padding: 44px 0 36px; border-bottom: 1px solid var(--line); }
.kb-hero .crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.kb-hero h1 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); font-weight: 900; letter-spacing: -.03em; color: var(--night); margin-bottom: .6rem; }
.kb-hero .v3-lead { color: #4E4A66; }
.kb-search { position: relative; max-width: 640px; margin-top: 1.4rem; }
.kb-search i { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.kb-search input { width: 100%; padding: .8rem 1rem .8rem 2.6rem; border-radius: 999px; border: 1px solid #CFD2E3; font-size: 1rem; background: #fff; box-shadow: 0 14px 30px -24px rgba(23,20,63,.5); }
.kb-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(22,160,133,.15); }
.kb-quick { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.kb-quick a { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--text); text-decoration: none; }
.kb-quick a i { color: var(--c); }
.kb-quick a:hover { border-color: var(--c); }
.kb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.kb-head .v3-sub { max-width: 52ch; }
.kb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1199.98px) { .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .kb-grid { grid-template-columns: minmax(0, 1fr); } }
.kb-theme { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; display: flex; flex-direction: column; scroll-margin-top: 100px; position: relative; overflow: hidden; }
.kb-theme::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.kb-th-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.kb-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); }
.kb-state { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: .12rem .5rem; border-radius: 999px; }
.kb-theme h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .3rem; }
.kb-theme > p { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.kb-theme ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: .4rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.kb-item { display: grid; gap: .1rem; font-size: .9rem; line-height: 1.35; }
.kb-item a { font-weight: 700; color: var(--ink); }
.kb-kind { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--c, var(--teal)); }
.kb-live { font-size: .72rem; font-weight: 700; color: #1E7F43; }
.kb-none { text-align: center; color: var(--muted); padding: 2rem 0 0; }
.kb-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 767.98px) { .kb-articles { grid-template-columns: minmax(0, 1fr); } }
.kb-art { background: #fff; border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 100px; }
.kb-art summary { list-style: none; cursor: pointer; padding: 1.1rem 1.2rem; display: grid; gap: .35rem; }
.kb-art summary::-webkit-details-marker { display: none; }
.kb-art-meta { display: flex; justify-content: space-between; gap: .5rem; font-size: .82rem; color: var(--muted); }
.kb-art strong { font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); line-height: 1.25; }
.kb-art-sum { color: var(--muted); font-size: .93rem; }
.kb-art-more { font-weight: 700; color: var(--teal-2, #12806A); font-size: .88rem; }
.kb-art details[open] .kb-art-more { display: none; }
.kb-art-body { padding: 0 1.2rem 1.1rem; font-size: .95rem; line-height: 1.65; }

/* Méga-menu structuré par groupes */
.mx-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem 1.2rem; }
.mx-groups.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mx-groups h6 { margin-bottom: .3rem; color: var(--p, var(--indigo)); }
.mx-groups .mx-links a { font-size: .92rem; padding: .32rem .5rem; }
@media (max-width: 1199.98px) { .mx-groups, .mx-groups.two { grid-template-columns: 1fr; } }

/* ---------- Catalogue de formations compact ---------- */
.cat-bar { position: sticky; top: 70px; z-index: 5; background: rgba(247,247,252,.96); backdrop-filter: blur(6px); padding: .7rem 0 .8rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.cat-search { position: relative; max-width: 460px; margin-bottom: .6rem; }
.cat-search i { position: absolute; inset-inline-start: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; }
.cat-search input { padding-inline-start: 2.1rem !important; border-radius: 999px !important; }
.cat-chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.cat-chips button { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: .28rem .7rem; font-size: .84rem; font-weight: 600; }
.cat-chips button i { color: var(--c, var(--indigo)); font-size: .8rem; }
.cat-chips button span { font-size: .72rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 0 .4rem; }
.cat-chips button:hover { border-color: var(--c, var(--indigo)); }
.cat-chips button[aria-pressed="true"] { background: var(--c, var(--indigo)); border-color: var(--c, var(--indigo)); color: #fff; }
.cat-chips button[aria-pressed="true"] i { color: #fff; }
.cat-chips button[aria-pressed="true"] span { background: rgba(255,255,255,.22); color: #fff; }
.cat-group { margin-top: 1.4rem; scroll-margin-top: 170px; }
.cat-gtitle { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 800; margin-bottom: .6rem; color: var(--ink); }
.cat-gtitle i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-size: .85rem; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 1199.98px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cat-bar { position: static; } }
@media (max-width: 575.98px) { .cat-grid { grid-template-columns: minmax(0, 1fr); } }
.crs { background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--c); border-radius: 10px; padding: .7rem .8rem; display: flex; flex-direction: column; gap: .3rem; transition: box-shadow .15s, transform .15s; }
.crs:hover { box-shadow: 0 10px 22px -16px rgba(23,20,63,.45); transform: translateY(-1px); }
.crs h4 { font-size: .93rem; font-weight: 800; line-height: 1.25; margin: 0; color: var(--ink); }
.crs p { font-size: .84rem; color: var(--muted); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.crs-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; margin-top: auto; padding-top: .35rem; }
.crs-meta { display: grid; gap: .15rem; min-width: 0; }
.crs-meta .pub { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crs-meta .pub i { margin-inline-end: .3rem; opacity: .7; }
.lvl { justify-self: start; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .05rem .4rem; border-radius: 4px; background: var(--bg); color: var(--muted); }
.lvl-fon { background: #E6F5EC; color: #1E7F43; } .lvl-pra { background: #E3EEFC; color: #1D5FB4; } .lvl-exp { background: #F1E8FC; color: #6236B5; }
.crs-go { flex: 0 0 auto; font-size: .8rem; font-weight: 700; color: var(--c); text-decoration: none; white-space: nowrap; }
.crs-go:hover { text-decoration: underline; }
.cat-none { text-align: center; color: var(--muted); padding: 2rem 0; }

/* Accueil : fonctionnalités du CRM et domaines de formation, en petites cartes */
.crm-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; margin-top: 1.2rem; }
.crm-feat { display: flex; align-items: center; gap: .55rem; padding: .5rem .65rem; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 600; font-size: .84rem; line-height: 1.25; }
.crm-feat i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(47,127,224,.25); color: #8DBBF5; flex: 0 0 auto; font-size: .8rem; }
.crm-feat:hover { border-color: #5E9BEA; background: rgba(47,127,224,.12); color: #fff; }
@media (max-width: 991.98px) { .crm-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dom-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45rem; }
.dom-tile { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: .5rem; padding: .45rem .6rem; border-radius: 10px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .8rem; line-height: 1.2; }
.dom-tile i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); font-size: .78rem; }
.dom-tile small { font-size: .68rem; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 0 .4rem; }
.dom-tile:hover { border-color: var(--c); color: var(--ink); }
@media (max-width: 1199.98px) { .dom-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .dom-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Catalogue sur téléphone : filtres défilants et cartes resserrées */
@media (max-width: 767.98px) {
  .cat-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; scrollbar-width: thin; }
  .cat-chips button { flex: 0 0 auto; white-space: nowrap; }
  .crs { padding: .55rem .7rem; }
  .crs p { -webkit-line-clamp: 1; }
  .cat-group { margin-top: 1rem; }
}

/* Mot du dirigeant : vision et mission */
.ceo blockquote.vm { display: grid; gap: .9rem; }
.ceo blockquote.vm p { margin: 0; }
.ceo blockquote.vm strong { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-2); margin-bottom: .2rem; font-style: normal; }
.ceo blockquote.vm::before { content: none; }
.ceo blockquote.ceo-p { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.55; font-weight: 500; max-width: 62ch; }

/* ---------- Formulaire de demande intégré ---------- */
.dem-box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; box-shadow: 0 24px 50px -38px rgba(23,20,63,.45); scroll-margin-top: 100px; }
.trial-form .dem-box, .side-card .dem-box { border: 0; box-shadow: none; padding: 0; background: transparent; }
.dem-box h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .3rem; }
.dem-txt { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.dem-form .form-label { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .2rem; }
.dem-form .form-control, .dem-form .form-select { font-size: .9rem; padding: .42rem .65rem; border-radius: 8px; border-color: #D6D8E6; }
.dem-form .form-control:focus, .dem-form .form-select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(42,55,133,.13); }
.dem-ok { display: flex; gap: .8rem; align-items: flex-start; background: #E6F5EC; color: #165E33; border-radius: 12px; padding: 1rem; }
.dem-ok i { font-size: 1.4rem; }
.dem-ko { background: #FBE9EC; color: #8E1F33; border-radius: 10px; padding: .6rem .8rem; margin-bottom: .8rem; font-size: .92rem; }
.side-card .dem-form .col-sm-6 { width: 100%; }

/* ---------- Page d'une expertise ---------- */
.xp-hero { background: var(--night); color: rgba(255,255,255,.78); padding: 44px 0 40px; position: relative; overflow: hidden; }
.xp-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(560px 280px at 88% 10%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%); }
.xp-hero .v3-wrap { position: relative; }
.xp-hero .crumbs { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 1.1rem; }
.xp-hero .crumbs a { color: rgba(255,255,255,.75); }
.xp-group { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.1); padding: .25rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.xp-hero h1 { color: #fff; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: .7rem; max-width: 22ch; }
.xp-hero .v3-lead { color: rgba(255,255,255,.75); margin-bottom: 1.4rem; }
.xp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.4rem; align-items: start; }
.xp-side { position: sticky; top: 90px; }
@media (max-width: 991.98px) { .xp-grid { grid-template-columns: minmax(0, 1fr); } .xp-side { position: static; } }
.xp-block { margin-bottom: 2rem; }
.xp-block h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: .6rem; }
.xp-block p { color: var(--muted); }
.xp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; counter-reset: s; }
.xp-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 12px; padding: .9rem; display: grid; gap: .25rem; }
.xp-steps li::before { content: counter(s); font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--c); line-height: 1; }
.xp-steps strong { color: var(--ink); }
.xp-steps span { color: var(--muted); font-size: .9rem; }
@media (max-width: 767.98px) { .xp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.xp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 767.98px) { .xp-two { grid-template-columns: 1fr; } }
.xp-links { display: grid; gap: .3rem; }
.xp-links a { font-weight: 700; color: var(--indigo); text-decoration: none; font-size: .95rem; }
.xp-links a:hover { text-decoration: underline; }
.xp-call { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .8rem; }
.xp-others { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.xp-others h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: .8rem; }
.xp-other-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.xp-other-grid a { display: flex; align-items: center; gap: .55rem; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .85rem; line-height: 1.25; }
.xp-other-grid a i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); flex: 0 0 auto; font-size: .8rem; }
.xp-other-grid a:hover { border-color: var(--c); }
@media (max-width: 991.98px) { .xp-other-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Page Expertises : cartes des offres */
.xp-gtitle { font-size: 1rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 1.6rem 0 .7rem; }
.xp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.xp-card { display: grid; gap: .35rem; align-content: start; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--text); }
.xp-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }
.xp-card strong { color: var(--ink); font-family: var(--font-head); font-size: 1rem; line-height: 1.25; }
.xp-card small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.xp-card:hover { border-color: var(--c); color: var(--text); }
@media (max-width: 991.98px) { .xp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .xp-cards { grid-template-columns: 1fr; } }
/* Démonstration : choix du produit */
.demo-switch { display: inline-flex; gap: .3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .25rem; margin-bottom: 1.2rem; }
.demo-switch a { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 700; font-size: .9rem; }
.demo-switch a[aria-selected="true"] { background: var(--c); color: #fff; }
