/* ============================================================
   Astrale Informatique — pages de contenu (services, villes, conseils)
   S'appuie sur les variables et composants de style.css.
   ============================================================ */

.page main { padding-top: 104px; overflow-x: clip; }
.page .nav__inner { background: rgba(8, 12, 24, 0.72); }

/* ---------- Fil d'Ariane ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0; font-size: 0.84rem; color: var(--dim); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: rgba(148, 163, 184, 0.35); }
.crumbs a { color: var(--muted); transition: color 0.25s; }
.crumbs a:hover { color: var(--blue); }
.crumbs li[aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* ---------- En-tête de page ---------- */
.phero { position: relative; padding: 40px 0 64px; isolation: isolate; }
.phero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: -140px; right: -10%; width: min(720px, 90vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.13), rgba(129, 140, 248, 0.06) 55%, transparent);
}
.phero__orbit {
  position: absolute; z-index: -1; right: 0; top: 0;
  width: clamp(180px, 26vw, 360px); height: auto; opacity: 0.16;
  animation: phero-spin 90s linear infinite;
}
@keyframes phero-spin { to { transform: rotate(360deg); } }
.phero__icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 26px;
  border-radius: 17px; color: var(--blue);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.16), rgba(129, 140, 248, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.28);
}
.phero__icon .i { width: 26px; height: 26px; }
.phero__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.phero__pills li {
  font-size: 0.82rem; font-weight: 500; color: #BAE6FD; padding: 6px 12px; border-radius: 999px;
  background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.2);
}
.phero h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.03em;
  max-width: 17em; text-wrap: balance;
}
.phero__lead { margin-top: 22px; max-width: 40em; font-size: clamp(1.04rem, 1.3vw, 1.18rem); color: var(--text); line-height: 1.7; }
.phero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.phero__date { margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
.nw { white-space: nowrap; }
.phero + .layout { margin-top: 8px; }

/* ---------- Service en bref ---------- */
.svc-top {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px;
}
.svc-top__list, .svc-top__facts {
  padding: 30px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(17, 25, 46, 0.78), rgba(10, 15, 28, 0.78));
  border: 1px solid var(--line-soft);
}
.svc-top__list h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; }
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; padding: 0; }
.checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.96rem; color: var(--text); line-height: 1.55; }
.checklist .i { width: 18px; height: 18px; margin-top: 3px; color: var(--ok); }
.svc-top__facts { display: grid; align-content: center; gap: 0; margin: 0; }
.svc-top__facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.svc-top__facts > div:first-child { padding-top: 0; }
.svc-top__facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-top__facts dt { font-size: 0.82rem; color: var(--muted); }
.svc-top__facts dd { font-size: 1.06rem; font-weight: 600; color: var(--white); }

/* ---------- Mise en page article + colonne ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); margin-top: 72px; align-items: start; }
.aside { position: sticky; top: 104px; display: grid; gap: 18px; }
.toc { padding: 22px 22px 18px; border-radius: var(--r-lg); background: rgba(10, 15, 28, 0.6); border: 1px solid var(--line-soft); }
.toc__title { font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: block; padding: 6px 0 6px 14px; border-left: 2px solid rgba(148, 163, 184, 0.14);
  font-size: 0.88rem; line-height: 1.45; color: var(--muted); transition: color 0.25s, border-color 0.25s;
}
.toc a:hover { color: var(--white); }
.toc a.is-active { color: var(--white); border-left-color: var(--blue); }
.aside-card {
  display: grid; gap: 12px; padding: 24px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.1), rgba(129, 140, 248, 0.06) 60%, rgba(10, 15, 28, 0.6));
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.aside-card__title { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; }
.aside-card p { font-size: 0.9rem; color: var(--text); line-height: 1.55; }
.aside-card .btn { width: 100%; }
.toc-mobile { display: none; }

/* ---------- Texte long ---------- */
.rich { max-width: 72ch; color: var(--text); font-size: 1.06rem; line-height: 1.78; }
.rich--narrow { max-width: 760px; }
.rich > *:first-child { margin-top: 0; }
.rich h2 {
  font-family: var(--f-display); font-weight: 700; color: var(--white);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.15; letter-spacing: -0.02em;
  margin: 2.1em 0 0.6em; scroll-margin-top: 110px; text-wrap: balance;
}
.rich h2:first-of-type { margin-top: 0; }
.rich h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin: 1.8em 0 0.5em; }
.rich p { margin: 0 0 1.05em; }
.rich ul, .rich ol { margin: 0 0 1.2em; padding: 0; list-style: none; display: grid; gap: 10px; }
.rich ul li { position: relative; padding-left: 22px; }
.rich ul li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--grad); }
.rich ol { counter-reset: step; }
.rich ol li { position: relative; padding-left: 40px; counter-increment: step; }
.rich ol li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1em;
  display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px;
  font-family: var(--f-mono); font-size: 0.8rem; color: var(--blue);
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.24);
}
.rich strong { color: var(--white); font-weight: 600; }
.rich a { color: #7DD3FC; text-decoration: underline; text-decoration-color: rgba(125, 211, 252, 0.35); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.rich a:hover { color: var(--white); text-decoration-color: var(--blue); }
.rich code { font-family: var(--f-mono); font-size: 0.86em; color: #BAE6FD; background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.14); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
.rich pre { margin: 0 0 1.3em; padding: 18px 20px; border-radius: var(--r-md); background: #070B16; border: 1px solid var(--line); overflow-x: auto; }
.rich pre code { display: block; padding: 0; border: 0; background: none; font-size: 0.88rem; line-height: 1.8; color: #E0F2FE; overflow-wrap: normal; white-space: pre; }
.rich kbd { font-family: var(--f-mono); font-size: 0.8em; color: var(--white); padding: 2px 7px; border-radius: 6px; background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.28); border-bottom-width: 2px; white-space: nowrap; }
.callout { margin: 1.4em 0; padding: 18px 22px; border-radius: var(--r-md); background: rgba(56, 189, 248, 0.06); border: 1px solid rgba(56, 189, 248, 0.2); border-left: 3px solid var(--blue); }
.callout p { margin: 0; font-size: 0.98rem; }
.callout--warn { background: rgba(251, 191, 36, 0.05); border-color: rgba(251, 191, 36, 0.22); border-left-color: var(--warn); }
.table-wrap { margin: 0 0 1.4em; overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line-soft); }
.rich table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; }
.rich th, .rich td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.rich th { font-size: 0.82rem; font-weight: 600; color: var(--muted); background: rgba(15, 23, 42, 0.6); }
.rich tr:last-child td { border-bottom: 0; }
.rich td:first-child code { white-space: nowrap; overflow-wrap: normal; }
.rich--legal h2 { font-size: 1.3rem; margin-top: 1.8em; }

/* ---------- Blocs ---------- */
.block { margin-top: 96px; }
.block__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 28px; text-wrap: balance; }
.block__title--sm { font-family: var(--f-body); font-size: 1.05rem; letter-spacing: 0; margin-bottom: 16px; }
.block--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lcard {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px;
  border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(17, 25, 46, 0.72), rgba(10, 15, 28, 0.72));
  border: 1px solid var(--line-soft);
  transition: border-color 0.35s, transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.lcard:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateY(-3px); box-shadow: 0 26px 60px -38px rgba(56, 189, 248, 0.55); }
.lcard:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.lcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); }
.tag { font-size: 0.76rem; font-weight: 600; color: #BAE6FD; padding: 3px 9px; border-radius: 999px; background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.2); }
.lcard h3 { font-size: 1.16rem; font-weight: 700; line-height: 1.3; color: var(--white); text-wrap: balance; }
.lcard p { font-size: 0.93rem; line-height: 1.6; color: var(--muted); flex: 1; }
.lcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 0.9rem; font-weight: 600; color: var(--blue); }
.lcard__more .i { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.lcard:hover .lcard__more .i { transform: translateX(4px); }
.lcard__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: var(--blue); background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.22); }
.lcard__icon .i { width: 22px; height: 22px; }

.chiplinks, .chiplist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chiplinks a, .chiplist li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  font-size: 0.9rem; color: var(--text); background: rgba(15, 23, 42, 0.55); border: 1px solid var(--line-soft);
}
.chiplinks a { transition: color 0.25s, border-color 0.25s; }
.chiplinks a:hover { color: var(--white); border-color: rgba(56, 189, 248, 0.45); }
.chiplist li { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--line-soft); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0;
  font-size: 1.06rem; font-weight: 600; color: var(--white); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--blue); transition: transform 0.35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: #E0F2FE; }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.faq details p { padding: 0 0 22px; max-width: 70ch; color: var(--text); font-size: 0.98rem; line-height: 1.7; }

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center;
  margin-top: 104px; margin-bottom: 24px; padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(129, 140, 248, 0.18), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(56, 189, 248, 0.14), transparent 60%),
    rgba(10, 15, 28, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.cta-band h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; }
.cta-band p { margin-top: 12px; max-width: 46em; color: var(--text); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.center-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- Pied de page (liens au lieu de boutons) ---------- */
.footer__title a { color: inherit; transition: color 0.25s; }
.footer__title a:hover { color: var(--blue); }
.footer__legal a { color: var(--muted); transition: color 0.25s; }
.footer__legal a:hover { color: var(--white); }
.page .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .aside { display: none; }
  .toc-mobile { display: block; }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toc-mobile {
    margin: 0 0 32px; border-radius: var(--r-md); background: rgba(10, 15, 28, 0.6); border: 1px solid var(--line-soft);
  }
  .toc-mobile summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    min-height: 52px; padding: 0 18px; font-size: 0.95rem; font-weight: 600; color: var(--white);
  }
  .toc-mobile summary::-webkit-details-marker { display: none; }
  .toc-mobile summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform 0.3s; }
  .toc-mobile[open] summary::after { transform: rotate(225deg) translateY(-2px); }
  .toc-mobile ol { list-style: none; margin: 0; padding: 0 18px 14px; display: grid; gap: 0; counter-reset: none; }
  .toc-mobile li { padding: 0 !important; }
  .toc-mobile li::before { content: none !important; }
  .toc-mobile a { display: block; padding: 10px 0; font-size: 0.93rem; color: var(--text); text-decoration: none; border-top: 1px solid var(--line-soft); }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .page main { padding-top: 84px; }
  .crumbs ol { font-size: 0.8rem; flex-wrap: nowrap; overflow: hidden; }
  .crumbs li { flex-shrink: 0; }
  .crumbs li[aria-current] { flex-shrink: 1; max-width: none; }
  .crumbs li + li::before { margin: 0 8px; }

  .phero { padding: 26px 0 40px; }
  .phero::before { top: -60px; right: -40%; width: 120vw; }
  .phero__orbit { width: 150px; right: -36px; top: -18px; opacity: 0.12; }
  .phero__icon { width: 50px; height: 50px; margin-bottom: 20px; border-radius: 15px; }
  .phero__pills { margin-bottom: 18px; }
  .phero__pills li { font-size: 0.78rem; padding: 5px 10px; }
  .phero h1 { font-size: clamp(1.95rem, 8.6vw, 2.5rem); line-height: 1.08; }
  .phero__lead { margin-top: 16px; font-size: 1rem; line-height: 1.65; }
  .phero__ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 26px; }
  .phero__ctas .btn { width: 100%; height: 54px; }

  .svc-top { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .svc-top__list, .svc-top__facts { padding: 22px 20px; }
  .checklist { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .checklist li { font-size: 0.94rem; }
  .svc-top__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: start; }
  .svc-top__facts > div, .svc-top__facts > div:first-child, .svc-top__facts > div:last-child { padding: 0; border: 0; align-content: start; }
  .svc-top__facts dt { font-size: 0.74rem; line-height: 1.3; }
  .svc-top__facts dd { font-size: 0.88rem; line-height: 1.35; }

  .layout { margin-top: 44px; }
  .phero + .layout { margin-top: 0; }
  .rich { font-size: 1rem; line-height: 1.72; }
  .rich h2 { font-size: clamp(1.35rem, 6vw, 1.6rem); margin-top: 1.8em; scroll-margin-top: 90px; }
  .rich ul li { padding-left: 20px; }
  .rich ol li { padding-left: 38px; }
  .rich pre { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; padding: 16px var(--gutter); }
  .rich pre code { font-size: 0.8rem; }
  .callout { padding: 16px 18px; }
  .callout p { font-size: 0.94rem; }
  .table-wrap { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-inline: 0; }
  .rich table { font-size: 0.86rem; }
  .rich th, .rich td { padding: 10px 12px; }
  .rich th:first-child, .rich td:first-child { padding-left: var(--gutter); }

  .block { margin-top: 64px; }
  .block__title { font-size: clamp(1.45rem, 6.4vw, 1.8rem); margin-bottom: 20px; }
  .block__title--sm { font-size: 1rem; margin-bottom: 12px; }
  .block--split { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  /* Listes secondaires en carrousel horizontal (comme l'accueil) : page plus courte */
  .block:not(.block--list) .cards {
    display: flex; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .block:not(.block--list) .cards::-webkit-scrollbar { display: none; }
  .block:not(.block--list) .cards > .lcard { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; }
  .cards--3, .block--list .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lcard { padding: 22px 20px; gap: 10px; }
  .lcard:hover { transform: none; }
  .lcard h3 { font-size: 1.08rem; }
  .lcard p { font-size: 0.9rem; }

  .faq summary { padding: 18px 40px 18px 0; font-size: 1rem; }
  .faq details p { font-size: 0.95rem; padding-bottom: 18px; }

  .chiplinks a, .chiplist li { font-size: 0.86rem; min-height: 40px; padding: 8px 12px; }

  .cta-band { grid-template-columns: minmax(0, 1fr); margin-top: 72px; padding: 26px 20px; border-radius: var(--r-lg); }
  .cta-band h2 { font-size: clamp(1.4rem, 6.2vw, 1.75rem); }
  .cta-band p { font-size: 0.95rem; }
  .cta-band__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); justify-content: stretch; }
  .cta-band__actions .btn { width: 100%; height: 52px; padding: 0 14px; font-size: 0.93rem; }
  .cta-band__actions .btn:first-child { grid-column: 1 / -1; }

  .page .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .page .footer nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .page .footer nav[aria-labelledby="ft-zone"] ul a { font-size: 0.88rem; }
  .footer__legal a { padding: 10px 0; }
}

@media (hover: none) and (pointer: coarse) {
  .lcard:active, .chiplinks a:active { transform: scale(0.98); transition-duration: 0.1s; }
  .lcard, .chiplinks a, .faq summary, .toc-mobile summary { -webkit-tap-highlight-color: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .phero__orbit { animation: none; }
  .lcard, .lcard__more .i, .faq summary::after { transition: none; }
  .lcard:hover { transform: none; }
}

/* ---------- Articles : introduction, l'essentiel, sommaire, FAQ ---------- */
.rich .intro p { font-size: 1.1rem; line-height: 1.75; color: var(--text); }
.keybox {
  margin: 1.6em 0; padding: 22px 26px; border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(56, 189, 248, 0.09), rgba(129, 140, 248, 0.05));
  border: 1px solid rgba(56, 189, 248, 0.24);
}
.rich .keybox__title { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; color: var(--white); margin: 0 0 12px; }
.rich .keybox ul { margin: 0; gap: 9px; }
.rich .keybox li { font-size: 0.98rem; line-height: 1.6; }
.toc-inline { margin: 0 0 2.6em; padding: 20px 24px 12px; border-radius: var(--r-md); background: rgba(10, 15, 28, 0.6); border: 1px solid var(--line-soft); }
.rich .toc-inline__title { font-size: 0.92rem; font-weight: 600; color: var(--white); margin: 0 0 12px; }
.rich .toc-inline ol { display: block; columns: 2; column-gap: 30px; margin: 0; }
.rich .toc-inline li { break-inside: avoid; padding: 0 0 9px 32px; font-size: 0.92rem; line-height: 1.45; }
.rich .toc-inline li::before { width: 22px; height: 22px; top: 0; font-size: 0.7rem; border-radius: 6px; }
.rich .toc-inline a { color: var(--text); text-decoration: none; }
.rich .toc-inline a:hover { color: var(--blue); }
.rich .faq--inline { margin-top: 0.4em; }
.rich .faq--inline details p { margin: 0; }
@media (max-width: 760px) {
  .rich .intro p { font-size: 1.03rem; }
  .keybox { padding: 18px 18px; }
  .rich .keybox li { font-size: 0.94rem; }
  .toc-inline { padding: 16px 16px 8px; }
  .rich .toc-inline ol { columns: 1; }
  .rich .toc-inline li { font-size: 0.9rem; padding-bottom: 8px; }
}
/* Colonne latérale : jamais plus haute que l'écran (sommaires longs) */
.aside { max-height: calc(100vh - 124px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.aside::-webkit-scrollbar { display: none; }
.toc a { padding: 5px 0 5px 14px; font-size: 0.85rem; line-height: 1.4; }
