/* =========================================================
   Karefully — centre d'aide
   Complète /style.css (charte « Brume ») : mêmes jetons, mêmes surfaces.
   Toutes les classes d'ici sont préfixées « hc- ».
   ========================================================= */

:root {
    --hc-side: 264px;
    --hc-toc: 216px;
    --hc-gap: 44px;
    --hc-maxw: 1360px;
    /* États de l'application (casse de phrase, ambre = surveiller, corail = agir) */
    --hc-warn-solid: #C9954A;
    --hc-danger-solid: #B8543F;
    --hc-info-solid: #5B7A99;
    --hc-control: #768A88;
    --hc-panel: rgba(255, 255, 255, .96);
}

html { scroll-padding-top: 104px; }

.hc-icon-14 { width: 14px; height: 14px; }
.hc-icon-15 { width: 15px; height: 15px; }
.hc-rot90 { transform: rotate(90deg); }

/* ---------------------------------------------------------
   1. Barre du centre d'aide
   --------------------------------------------------------- */
.hc-subnav { z-index: 70; }

/* Pages françaises : l'en-tête du site (fixe, site/assets/header.css) est au-dessus ; la barre du centre
   d'aide se place dessous, sans logo ni bouton d'application (ils sont dans l'en-tête du site). */
.hc--chrome { padding-top: var(--hdr-h); }
.hc--chrome .hc-subnav { top: calc(var(--hdr-h) + 10px); }
html:has(body.hc--chrome) { scroll-padding-top: calc(var(--hdr-h) + 104px); }
.hc-nav--bar .hc-nav__help { padding-left: 4px; }
.hc-nav--bar .hc-nav__help::before { display: none; }
.hc-nav__burger-label { display: none; }

.hc-nav {
    max-width: var(--hc-maxw);
    gap: 14px;
    padding: 8px 10px 8px 20px;
    /* Du texte défile dessous : la barre reste lisible sans flou (même règle que l'application). */
    background: rgba(255, 255, 255, .86);
}

.hc-nav__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
}
/* Cible tactile : le logo garde sa taille, sa zone cliquable monte à 44 px. */
.hc-nav__brand .brand { min-height: 44px; display: inline-flex; align-items: center; }

.hc-nav__help {
    position: relative;
    padding-left: 15px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-600);
    white-space: nowrap;
}

.hc-nav__help::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 20px;
    transform: translateY(-50%);
    background: rgba(22, 38, 42, .16);
}

.hc-nav__help:hover { color: var(--brand-700); }

.hc-nav__search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    max-width: 440px;
    min-height: 42px;
    margin: 0 auto;
    padding: 0 12px 0 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--hc-control);
    background: rgba(255, 255, 255, .75);
    color: var(--ink-500);
    font-size: 14.5px;
    cursor: text;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.hc-nav__search:hover {
    color: var(--ink-600);
    border-color: var(--brand-600);
}

.hc-nav__search .icon { width: 17px; height: 17px; color: var(--brand-600); }

.hc-nav__search-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hc-nav__search kbd,
.hc-searchbox__esc kbd {
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: var(--ink-500);
    padding: 4px 7px;
    border-radius: 7px;
    border: 1px solid rgba(22, 38, 42, .16);
    background: rgba(255, 255, 255, .8);
}

.hc-nav__end {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: none;
}

.hc-nav__lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 0 12px;
    border-radius: var(--r-pill);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-600);
}

.hc-nav__lang:hover { background: rgba(255, 255, 255, .7); color: var(--brand-700); }
.hc-nav__lang .icon { width: 16px; height: 16px; }

.hc-nav__app { gap: 7px; padding: 10px 16px 10px 18px; white-space: nowrap; }
.hc-nav__app .icon { width: 15px; height: 15px; }

.hc-nav__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--ink-900);
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .85);
}

/* ---------------------------------------------------------
   2. Structure : menu latéral | contenu | table des matières
   --------------------------------------------------------- */
.hc-shell { width: 100%; }

.hc--docs .hc-shell {
    display: grid;
    grid-template-columns: var(--hc-side) minmax(0, 1fr);
    gap: var(--hc-gap);
    max-width: var(--hc-maxw);
    margin: 0 auto;
    padding: 34px 24px 0;
    align-items: start;
}

.hc--docs main { min-width: 0; }

.hc-layout--article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--hc-toc);
    gap: var(--hc-gap);
    align-items: start;
}

/* width: 100 % — avec des marges automatiques, un élément de grille prendrait la largeur de son
   contenu (un tableau large ferait déborder la page sur téléphone). */
.hc-main { width: 100%; min-width: 0; max-width: 800px; }
.hc-layout--collection .hc-main { max-width: 860px; }

/* --- Menu latéral --- */
.hc-sidebar {
    position: sticky;
    top: 98px;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    padding: 6px 6px 18px 0;
    font-size: 14.5px;
    scrollbar-width: thin;
    scrollbar-color: #C3D2D0 transparent;
}

.hc-sidebar:focus { outline: none; }

body:not(.hc--docs) .hc-sidebar { display: none; }

.hc-sidebar__head { display: none; }
.hc-sidebar__foot { display: none; }

.hc-sidebar ul { list-style: none; margin: 0; padding: 0; }

.hc-side__top,
.hc-side__collections { display: flex; flex-direction: column; gap: 2px; }

.hc-side__top a,
.hc-side__collection > a,
.hc-sidebar__foot a,
.hc-sidebar__home {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 7px 12px;
    border-radius: 12px;
    color: var(--ink-600);
    font-weight: 500;
    line-height: 1.3;
}

.hc-side__top a .icon,
.hc-side__collection > a .icon,
.hc-sidebar__foot a .icon,
.hc-sidebar__home .icon { width: 17px; height: 17px; color: #3D6367; }

.hc-side__top a:hover,
.hc-side__collection > a:hover,
.hc-sidebar__foot a:hover { background: rgba(255, 255, 255, .6); color: var(--ink-900); }

.hc-side__top a[aria-current],
.hc-side__collection.is-current > a {
    background: rgba(47, 107, 112, .14);
    color: var(--brand-700);
    font-weight: 600;
}

.hc-side__collection.is-current > a .icon,
.hc-side__top a[aria-current] .icon { color: var(--brand-700); }

.hc-side__label {
    margin: 20px 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-700);
}

.hc-side__articles {
    margin: 4px 0 10px 20px !important;
    padding-left: 0;
    border-left: 1px solid rgba(23, 60, 64, .14);
}

.hc-side__articles a {
    display: block;
    margin-left: -1px;
    padding: 6px 10px 6px 16px;
    border-left: 2px solid transparent;
    color: var(--ink-600);
    font-size: 14px;
    line-height: 1.35;
}

.hc-side__articles a:hover { color: var(--ink-900); border-left-color: #C3D2D0; }

.hc-side__articles a[aria-current] {
    color: var(--brand-700);
    font-weight: 600;
    border-left-color: var(--brand-600);
}

.hc-scrim { display: none; }

/* --- Table des matières (colonne de droite) --- */
.hc-toc {
    position: sticky;
    top: 98px;
    max-height: calc(100vh - 118px);
    overflow-y: auto;
    padding-bottom: 12px;
    font-size: 13.5px;
}

.hc-toc__title {
    margin: 4px 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-700);
}

.hc-toc ol,
.hc-toc-inline ol {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid rgba(23, 60, 64, .14);
}

.hc-toc a,
.hc-toc-inline ol a {
    display: block;
    margin-left: -1px;
    padding: 5px 0 5px 14px;
    border-left: 2px solid transparent;
    color: var(--ink-600);
    line-height: 1.35;
}

.hc-toc__l3 a { padding-left: 26px; font-size: 13px; }
.hc-toc a:hover, .hc-toc-inline ol a:hover { color: var(--ink-900); }

.hc-toc a.is-active {
    color: var(--brand-700);
    font-weight: 600;
    border-left-color: var(--brand-600);
}

.hc-toc__top {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 16px !important;
    padding-left: 0 !important;
    border: 0 !important;
    font-weight: 600;
}

.hc-toc__top .icon { width: 14px; height: 14px; }

.hc-toc-inline { display: none; }

/* ---------------------------------------------------------
   3. En-têtes de page, fil d'Ariane, métadonnées
   --------------------------------------------------------- */
.hc-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    font-size: 13.5px;
    color: var(--ink-500);
}

.hc-breadcrumb li { display: inline-flex; align-items: center; }

.hc-breadcrumb li + li::before {
    content: '';
    width: 6px;
    height: 6px;
    margin: 0 10px 0 8px;
    border-top: 1.5px solid #8A9B96;
    border-right: 1.5px solid #8A9B96;
    transform: rotate(45deg);
}

.hc-breadcrumb a { color: var(--ink-600); font-weight: 500; }
.hc-breadcrumb a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.hc-breadcrumb [aria-current] { color: var(--ink-900); font-weight: 600; }

.page-header .hc-breadcrumb ol { justify-content: center; }

/* Contrastes mesurés sur le fond en dégradé : brand-600 tombe à 4,0:1 en petit corps, brand-700 tient 6,5:1. */
.hc .eyebrow:not(.eyebrow--on-dark) { color: var(--brand-700); }

.hc-kicker {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-700);
}

.hc-title {
    margin: 0 0 14px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.025em;
    color: var(--ink-900);
}

.hc-lead {
    margin: 0 0 18px;
    max-width: 680px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink-600);
}

.hc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin: 0;
    font-size: 13.5px;
    color: var(--ink-600);
}

.hc-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hc-meta .icon { width: 14px; height: 14px; }
.hc-meta--center { justify-content: center; }

.hc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: var(--brand-700);
    background: rgba(47, 107, 112, .13);
}

.hc-badge .icon { width: 13px; height: 13px; }
.hc-badge--patient { color: #2B4F6B; background: var(--info-tint); }
.hc-badge--all { color: var(--ink-600); background: rgba(22, 38, 42, .07); }

.hc-article-header { margin-bottom: 26px; }

.hc-collection-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.hc-collection-header .icon-tile { width: 52px; height: 52px; border-radius: 16px; margin-top: 2px; }
.hc-collection-header .icon-tile .icon { width: 24px; height: 24px; }
.hc-collection-header .hc-title { font-size: 36px; }

.hc-hero { max-width: 860px; padding-top: 56px; }
.hc-hero .lead { margin-bottom: 28px; }

.hc-page-header { padding-top: 44px; }
.hc-page-header__icon { margin: 0 auto 16px; width: 52px; height: 52px; border-radius: 16px; }
.hc-page-header__icon .icon { width: 24px; height: 24px; }
.hc-page-header .lead { margin-bottom: 16px; }
.hc-page-header--search { max-width: 760px; }

/* ---------------------------------------------------------
   4. Recherche
   --------------------------------------------------------- */
.hc-search { position: relative; text-align: left; }

.hc-searchbox {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hc-searchbox__icon {
    position: absolute;
    left: 22px;
    top: 30px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: var(--brand-600);
    pointer-events: none;
}

.hc-searchbox__input {
    flex: 1 1 100%;
    width: 100%;
    height: 60px;
    padding: 0 132px 0 54px;
    border-radius: var(--r-pill);
    border: 1px solid var(--hc-control);
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--sh-card);
    font: inherit;
    font-size: 17px;
    color: var(--ink-900);
    -webkit-appearance: none;
    appearance: none;
}

.hc-searchbox__input::placeholder { color: var(--ink-500); opacity: 1; }
.hc-searchbox__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.hc-searchbox__input:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(47, 107, 112, .22), var(--sh-card);
}

.hc-searchbox__submit {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 44px;
    padding: 0 22px;
    box-shadow: none;
}

.hc-search__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    flex: 1 1 100%;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
}

.hc-chip { position: relative; display: inline-flex; cursor: pointer; }

.hc-chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.hc-chip span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .6);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-600);
    transition: background-color .2s var(--ease), color .2s var(--ease);
}

.hc-chip input:checked + span {
    background: var(--brand-700);
    border-color: var(--brand-700);
    color: var(--on-brand);
}

.hc-chip input:focus-visible + span { outline: 2px solid var(--brand-600); outline-offset: 2px; }

.hc-search__panel {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: 68px;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    padding: 8px;
    border-radius: var(--r-lg);
    background: var(--hc-panel);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 30px 80px rgba(16, 42, 45, .28);
}

.hc-search__hint { display: none; }

.hc-result {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    color: inherit;
    text-align: left;
}

.hc-result:hover,
.hc-result.is-active { background: rgba(47, 107, 112, .10); color: inherit; }

.hc-result__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 3px;
}

.hc-result__title { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink-900); }
.hc-result__where { font-size: 12.5px; font-weight: 500; color: var(--ink-500); }

.hc-result__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-600);
}

.hc-result mark,
.hc-results mark {
    padding: 0 2px;
    border-radius: 4px;
    background: rgba(201, 149, 74, .30);
    color: inherit;
    font-weight: 600;
}

.hc-search__group {
    margin: 8px 14px 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-600);
}

.hc-search__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
    padding: 12px 14px;
    border-top: 1px solid var(--hairline);
    border-radius: 0 0 14px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-700);
}

.hc-search__all.is-active,
.hc-search__all:hover { background: rgba(47, 107, 112, .10); }

.hc-search__empty { padding: 16px 14px 14px; }
.hc-search__empty strong { display: block; margin-bottom: 8px; font-size: 16px; color: var(--ink-900); }
.hc-search__empty ul { margin: 0 0 12px; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-600); }
.hc-search__empty-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; }

.hc-hero__examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 14px;
    color: var(--ink-600);
}

.hc-example {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 13px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(255, 255, 255, .85);
    font-weight: 500;
    color: var(--ink-600);
}

.hc-example:hover { background: rgba(255, 255, 255, .85); color: var(--brand-700); }

/* Fenêtre de recherche (touche « / » ou clic dans la barre) */
.hc-search-dialog {
    width: min(700px, calc(100vw - 24px));
    max-height: calc(100vh - 12vh - 24px);
    margin: 12vh auto 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: var(--r-panel);
    background: var(--hc-panel);
    box-shadow: 0 30px 80px rgba(16, 42, 45, .35);
    color: var(--ink-900);
    overflow: visible;
}

.hc-search-dialog::backdrop {
    background: rgba(22, 38, 42, .38);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hc-search--dialog .hc-searchbox__input { height: 54px; padding-right: 70px; box-shadow: none; font-size: 16px; }
.hc-search--dialog .hc-searchbox__icon { top: 27px; }

.hc-searchbox__esc {
    position: absolute;
    right: 12px;
    top: 13px;
    padding: 4px;
    border: 0;
    background: none;
    cursor: pointer;
}

.hc-search--dialog .hc-search__filters { justify-content: flex-start; }

.hc-search--dialog .hc-search__panel {
    position: static;
    max-height: min(52vh, 460px);
    margin-top: 10px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
}

.hc-search--dialog .hc-search__hint {
    display: block;
    margin: 10px 4px 0;
    font-size: 12.5px;
    color: var(--ink-500);
}

/* Page de résultats */
.hc-results__count { margin: 0 0 16px; font-size: 15px; font-weight: 600; color: var(--ink-600); }

.hc-results__list {
    list-style: none;
    margin: 0 0 56px;
    padding: 8px;
    border-radius: var(--r-lg);
}

.hc-results__list .hc-result { padding: 16px 18px; }
.hc-results__list .hc-result__title { font-size: 18px; }
.hc-results__list li + li { border-top: 1px solid var(--hairline); }

.hc-results__none { margin-bottom: 48px; padding: 28px 30px; border-radius: var(--r-lg); }
.hc-results__none h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; }

.hc-index__grid {
    columns: 3 240px;
    column-gap: 36px;
    padding: 30px 34px;
    border-radius: var(--r-panel);
}

.hc-index__group { break-inside: avoid; margin-bottom: 22px; }
.hc-index__group h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.hc-index__group h3 a { color: var(--ink-900); }
.hc-index__group ul { list-style: none; margin: 0; padding: 0; }
.hc-index__group li { margin-bottom: 6px; font-size: 14px; line-height: 1.4; }
.hc-index__group li a { color: var(--ink-600); }
.hc-index__group a:hover { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }

/* ---------------------------------------------------------
   5. Sections, grilles et cartes (accueil, pages par profil)
   --------------------------------------------------------- */
.hc-section { margin-top: 84px; }
.hc-section--first { margin-top: 44px; }
.hc-h2 { font-size: 30px; margin-bottom: 26px; }
.hc-h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.hc-h3 .icon { color: var(--brand-600); }

.hc-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 28px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.hc-section-head .hc-h2 { margin-bottom: 8px; }
.hc-section-head > .hc-h2 { margin-bottom: 0; }
.hc-section-lead { margin: -14px 0 24px; }

.hc-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--brand-700);
    white-space: nowrap;
}

.hc-more .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.hc-more:hover .icon { transform: translateX(3px); }

.hc-group-title {
    margin: 34px 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-600);
}

.hc-h2 + .hc-group-title { margin-top: 0; }

.hc-grid { display: grid; gap: 16px; }
.hc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hc-collection,
.hc-guide-card,
.hc-door,
.hc-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: var(--r-lg);
    color: var(--ink-900);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.hc-collection:hover,
.hc-guide-card:hover,
.hc-door:hover,
.hc-card:hover {
    color: var(--ink-900);
    background: rgba(255, 255, 255, .72);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(23, 60, 64, .14);
}

.hc-collection .icon-tile,
.hc-guide-card .icon-tile,
.hc-door .icon-tile { margin-bottom: 8px; }

.hc-collection__title,
.hc-guide-card__title,
.hc-card__title { font-size: 17.5px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }

.hc-collection__text,
.hc-guide-card__text,
.hc-card__text { font-size: 14.5px; line-height: 1.55; color: var(--ink-600); }

.hc-collection__count,
.hc-guide-card__meta,
.hc-card__meta {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-500);
}

.hc-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hc-door { padding: 30px 32px; border-radius: 24px; }
.hc-door .icon-tile { width: 48px; height: 48px; border-radius: 15px; }
.hc-door .icon-tile .icon { width: 23px; height: 23px; }
.hc-door__title { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.hc-door__text { font-size: 15.5px; line-height: 1.6; color: var(--ink-600); }

.hc-door__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-700);
}

.hc-door__cta .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.hc-door:hover .hc-door__cta .icon { transform: translateX(4px); }

.hc-emergency {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 0;
    padding: 10px 18px;
    border-radius: 18px;
    background: rgba(184, 84, 63, .12);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink-900);
}

.hc-emergency .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--danger-600); }
.hc-main > .hc-emergency { margin: 0 0 22px; }
.hc-langnote { max-width: min(100%, 760px); margin-top: 10px; background: rgba(47, 107, 112, .10); font-weight: 500; }
.hc-langnote .icon { color: var(--brand-700); }
.hc-langnote a { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Listes d'articles */
.hc-rows {
    list-style: none;
    margin: 0;
    padding: 8px;
    border-radius: var(--r-lg);
}

.hc-rows--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }

.hc-row {
    position: relative;
    display: block;
    padding: 15px 44px 15px 18px;
    border-radius: 14px;
    color: var(--ink-900);
    transition: background-color .2s var(--ease);
}

.hc-rows:not(.hc-rows--2) li + li .hc-row::before {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    border-top: 1px solid var(--hairline);
}

.hc-row:hover { background: rgba(255, 255, 255, .7); color: var(--ink-900); }
.hc-row__title { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }

.hc-row__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-500);
}

.hc-row__chev {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    color: var(--brand-600);
    transition: transform .2s var(--ease);
}

.hc-row:hover .hc-row__chev { transform: translate(3px, -50%); }

/* Nouveautés */
.hc-news-list { list-style: none; margin: 0; padding: 10px 26px; border-radius: var(--r-lg); }

.hc-news-list li {
    display: flex;
    align-items: baseline;
    gap: 22px;
    padding: 14px 0;
    font-size: 15.5px;
}

.hc-news-list li + li { border-top: 1px solid var(--hairline); }
.hc-news-list time { flex: none; width: 150px; font-size: 13.5px; color: var(--ink-500); }
.hc-news-list a { font-weight: 600; color: var(--ink-900); }
.hc-news-list a:hover { color: var(--brand-700); }

.hc-news-wrap { display: flex; flex-direction: column; gap: 18px; }
.hc-news { padding: 30px 34px; border-radius: var(--r-panel); }
.hc-news__date { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 13.5px; color: var(--ink-500); }
.hc-news .hc-h3 { font-size: 22px; margin-bottom: 12px; }
.hc-news__related { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.7; color: var(--ink-600); }
.hc-news__related a { text-decoration: underline; text-underline-offset: 2px; }

/* Tutoriels vidéo */
.hc-video-card { display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: var(--r-lg); }
.hc-video-card h3 { margin: 14px 8px 6px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.hc-video-card p { margin: 0 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-600); }

.hc-video-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: auto !important;
    padding-top: 12px;
    font-size: 13.5px !important;
    color: var(--ink-500) !important;
}

.hc-video-card__meta .icon { width: 14px; height: 14px; }
.hc-video-card__meta a { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 600; }

.hc-video,
.hc-video-card__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    background: linear-gradient(150deg, #235458, #183C40);
}

.hc-video-card__placeholder { display: flex; align-items: center; justify-content: center; color: var(--brand-300); opacity: .92; }
.hc-video-card__placeholder .icon { width: 44px; height: 44px; stroke-width: 1.5; }
.hc-video-card.is-planned .hc-video-card__placeholder { background: rgba(47, 107, 112, .12); color: var(--brand-600); }

.hc-video-figure { margin: 0; }
.hc-video-figure figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-500); }
.hc-video-block { margin-top: 40px; }

/* Assistance (panneau sombre) */
.hc-support { padding: 52px 56px; }
.hc-support .h2 { margin-bottom: 30px; }
.hc-support__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.hc-support__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 28px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}

.hc-support__item h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 700; color: var(--on-dark); }
/* --on-dark-soft (84 %) descend à 4,06:1 sur la partie claire du dégradé : texte opaque ici. */
.hc-support__item p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.hc-support__item .btn { margin-top: auto; }
.hc-support__item .btn .icon { width: 17px; height: 17px; }

.hc-support__emergency {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0 0;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--on-dark);
}

.hc-support__emergency .icon { width: 18px; height: 18px; color: #F0B9AC; }

/* ---------------------------------------------------------
   6. Article
   --------------------------------------------------------- */
.hc-article { padding: 34px 44px 38px; border-radius: var(--r-panel); }

.hc-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 32px;
    margin: 0 0 30px;
    padding: 20px 24px;
    border-radius: var(--r-md);
}

.hc-facts dt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-600);
}

.hc-facts dt .icon { width: 15px; height: 15px; }
.hc-facts dd { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-600); }
.hc-facts dd strong { color: var(--ink-900); }

.hc-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }

.hc-chip-static {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 11px;
    border-radius: var(--r-pill);
    background: rgba(22, 38, 42, .07);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-600);
}

.hc-toc-inline {
    margin: 0 0 28px;
    border-radius: var(--r-sm);
    border: 1px solid var(--hairline);
    background: rgba(255, 255, 255, .5);
}

.hc-toc-inline summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-900);
    cursor: pointer;
    list-style: none;
}

.hc-toc-inline summary::-webkit-details-marker { display: none; }
.hc-toc-inline summary .icon { width: 17px; height: 17px; color: var(--brand-600); }
.hc-toc-inline__chev { margin-left: auto; transition: transform .2s var(--ease); }
.hc-toc-inline[open] .hc-toc-inline__chev { transform: rotate(180deg); }
.hc-toc-inline ol { margin: 0 16px 16px; font-size: 14.5px; }
.hc-toc-inline ol a { padding: 7px 0 7px 14px; }

/* --- Corps de l'article --- */
.hc-prose { color: var(--ink-600); font-size: 16.5px; line-height: 1.72; overflow-wrap: break-word; }
.hc-prose > :first-child { margin-top: 0; }
.hc-prose > :last-child { margin-bottom: 0; }
.hc-prose p { margin: 0 0 16px; }
.hc-prose strong { color: var(--ink-900); font-weight: 700; }
.hc-prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.hc-prose a:hover { text-decoration-thickness: 2px; }
/* Lien vers un article qui n'existe pas encore dans la langue de la page. */
.hc-prose a.hc-link-fallback::after { content: ' (' attr(data-hc-lang) ')'; font-size: .86em; color: var(--ink-600); }

.hc-prose h2 {
    position: relative;
    margin: 46px 0 16px;
    padding-top: 30px;
    border-top: 1px solid var(--hairline);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.02em;
    color: var(--ink-900);
}

.hc-prose h3 { margin: 30px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--ink-900); }
.hc-prose h4 { margin: 24px 0 8px; font-size: 16.5px; font-weight: 700; color: var(--ink-900); }

.hc-anchor {
    margin-left: 8px;
    font-weight: 500;
    color: #8A9B96;
    text-decoration: none !important;
    opacity: 0;
    transition: opacity .15s var(--ease);
}

.hc-prose h2:hover .hc-anchor,
.hc-prose h3:hover .hc-anchor,
.hc-anchor:focus-visible { opacity: 1; }

.hc-prose h2[data-section]::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    vertical-align: -3px;
    background-color: var(--brand-600);
    -webkit-mask: var(--hc-section-icon) center / contain no-repeat;
    mask: var(--hc-section-icon) center / contain no-repeat;
}

.hc-prose h2[data-section='prerequisites'] { --hc-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E"); }
.hc-prose h2[data-section='steps'] { --hc-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3Cpath d='M13 6h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 18h8'/%3E%3C/svg%3E"); }
.hc-prose h2[data-section='mobile'] { --hc-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2' ry='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E"); }
.hc-prose h2[data-section='good_to_know'] { --hc-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6'/%3E%3Cpath d='M10 22h4'/%3E%3C/svg%3E"); }
.hc-prose h2[data-section='troubleshooting'] { --hc-section-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }

.hc-prose ul { margin: 0 0 18px; padding-left: 22px; }
.hc-prose ul li { margin-bottom: 7px; }
.hc-prose ul li::marker { color: var(--brand-600); }
.hc-prose li > p { margin-bottom: 8px; }
.hc-prose li > ul, .hc-prose li > ol { margin-top: 8px; margin-bottom: 8px; }

/* Étapes numérotées */
.hc-prose ol { margin: 0 0 18px; padding-left: 24px; }
.hc-prose ol li { margin-bottom: 7px; }

.hc-prose ol.hc-steps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    counter-reset: hc-step;
}

.hc-prose ol.hc-steps > li {
    position: relative;
    min-height: 32px;
    margin: 0 0 14px;
    padding: 3px 0 0 48px;
    counter-increment: hc-step;
}

.hc-prose ol.hc-steps > li::before {
    content: counter(hc-step);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-700);
    color: var(--on-brand);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1;
}

.hc-prose ol.hc-steps > li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15.5px;
    top: 38px;
    bottom: -10px;
    width: 1px;
    background: rgba(23, 60, 64, .16);
}

/* Libellé exact de l'interface */
.hc-ui {
    padding: 1px 7px 2px;
    border-radius: 7px;
    background: rgba(47, 107, 112, .11);
    color: var(--ink-900);
    font-weight: 600;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hc-prose code {
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(22, 38, 42, .07);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
    color: var(--ink-900);
}

/* Encadrés */
.hc-callout {
    margin: 22px 0;
    padding: 16px 20px 16px 20px;
    border-radius: var(--r-sm);
    border-left: 3px solid var(--brand-600);
    background: rgba(47, 107, 112, .08);
}

.hc-callout > :last-child { margin-bottom: 0; }
.hc-callout p, .hc-callout li { font-size: 15.5px; line-height: 1.65; }

.hc-callout__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px !important;
    font-size: 14px !important;
    font-weight: 700;
    color: var(--brand-700);
}

.hc-callout__title .icon { width: 17px; height: 17px; }
.hc-callout--important { border-left-color: var(--hc-info-solid); background: rgba(91, 122, 153, .12); }
.hc-callout--important .hc-callout__title { color: var(--info-700); }
.hc-callout--warning { border-left-color: var(--hc-warn-solid); background: rgba(201, 149, 74, .14); }
.hc-callout--warning .hc-callout__title { color: #6B5220; }
.hc-callout--caution { border-left-color: var(--hc-danger-solid); background: rgba(184, 84, 63, .11); }
.hc-callout--caution .hc-callout__title { color: #963B2B; }

/* Tableaux */
.hc-table-wrap { margin: 0 0 22px; overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--hairline); background: rgba(255, 255, 255, .5); }
.hc-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.hc-prose th, .hc-prose td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hairline); }
.hc-prose th { font-weight: 700; color: var(--ink-900); background: rgba(47, 107, 112, .07); white-space: nowrap; }
.hc-prose tr:last-child td { border-bottom: 0; }

.hc-prose blockquote {
    margin: 0 0 18px;
    padding: 4px 0 4px 18px;
    border-left: 3px solid #C3D2D0;
    color: var(--ink-600);
    font-style: italic;
}

.hc-prose hr { margin: 34px 0; border: 0; border-top: 1px solid var(--hairline); }

/* Captures */
.hc-figure { margin: 26px 0; }

.hc-figure__zoom {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(22, 38, 42, .10);
    box-shadow: var(--sh-inline-img);
    background: #fff;
    cursor: zoom-in;
}

.hc-figure img { display: block; width: 100%; }

.hc-figure__zoom-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(22, 38, 42, .72);
    color: #fff;
    opacity: 0;
    transition: opacity .2s var(--ease);
}

.hc-figure__zoom-icon .icon { width: 17px; height: 17px; }

.hc-figure__zoom:hover .hc-figure__zoom-icon,
.hc-figure__zoom:focus-visible .hc-figure__zoom-icon { opacity: 1; }

.hc-figure figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--ink-500); text-align: center; }
.hc-figure--mobile { max-width: 300px; margin-left: auto; margin-right: auto; }
.hc-figure--mobile .hc-figure__zoom { border-radius: 26px; border: 5px solid #16262A; box-shadow: var(--sh-phone); }
.hc-figure--tablet { max-width: 560px; margin-left: auto; margin-right: auto; }
.hc-figure--tablet .hc-figure__zoom { border-radius: 20px; border: 6px solid #16262A; }

.hc-figure-group { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px; margin: 26px 0; }
.hc-figure-group .hc-figure { flex: 1 1 240px; margin: 0; }
.hc-figure-group .hc-figure--mobile { flex: 0 1 250px; }
.hc-steps .hc-figure { margin: 14px 0 6px; }

.hc-lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 56px 16px 20px;
    border: 0;
    background: rgba(16, 30, 33, .9);
    overflow: auto;
}

.hc-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.hc-lightbox::backdrop { background: rgba(16, 30, 33, .6); }
.hc-lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #fff; cursor: zoom-out; }

.hc-lightbox__close {
    position: fixed;
    top: 12px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
}

.hc-lightbox__close:focus-visible { outline-color: #fff; }

/* Informations de vérification */
.hc-verify {
    margin-top: 44px;
    padding: 20px 24px;
    border-radius: var(--r-md);
    border: 1px solid var(--hairline);
    background: rgba(255, 255, 255, .45);
    font-size: 13.5px;
    color: var(--ink-500);
}

.hc-verify__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: var(--ink-900); }
.hc-verify__title .icon { width: 16px; height: 16px; color: var(--brand-600); }
.hc-verify dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 0 0 12px; }
.hc-verify dt { font-weight: 600; color: var(--ink-600); }
.hc-verify dd { margin: 1px 0 0; }
.hc-verify code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink-900); }
.hc-verify p { margin: 6px 0 0; line-height: 1.55; }

/* Retour sur l'article */
.hc-feedback { margin-top: 22px; padding: 22px 26px; border-radius: var(--r-lg); }
.hc-feedback__form { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hc-feedback__title { margin: 0; font-size: 17px; font-weight: 700; }
.hc-feedback__choices { display: flex; gap: 8px; }
.hc-feedback__choices .btn { gap: 8px; min-height: 44px; }
.hc-feedback__choices .icon { width: 16px; height: 16px; }
.hc-feedback__choices .btn[aria-pressed='true'] { background: var(--brand-700); border-color: var(--brand-700); color: var(--on-brand); }
.hc-feedback__more { flex: 1 1 100%; }
.hc-feedback__more label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink-900); }

.hc-feedback__more textarea {
    display: block;
    width: 100%;
    min-height: 84px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid var(--hc-control);
    background: rgba(255, 255, 255, .8);
    font: inherit;
    font-size: 15px;
    color: var(--ink-900);
    resize: vertical;
}

.hc-feedback__more textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(47, 107, 112, .18); }
.hc-feedback__more .note { margin: 8px 0 14px; }
.hc-feedback__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hc-feedback__status {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-700);
}

.hc-feedback__status .icon { width: 18px; height: 18px; }
.hc-feedback__status:target, .hc-feedback.is-sent .hc-feedback__status { display: flex; }
.hc-feedback.is-sent .hc-feedback__form { display: none; }
.hc-feedback.is-error .hc-feedback__status { display: flex; color: var(--danger-600); }
.hc-feedback.is-error .hc-feedback__status .icon { display: none; } /* pas de coche à côté d'un échec */

.hc-related { margin-top: 40px; }

.hc-prevnext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }

.hc-prevnext__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    color: var(--ink-900);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color .2s var(--ease);
}

.hc-prevnext__link:hover { background: rgba(255, 255, 255, .75); color: var(--ink-900); }
.hc-prevnext__link small { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 600; color: var(--brand-600); }
.hc-prevnext__link .icon { width: 18px; height: 18px; color: var(--brand-600); }
.hc-prevnext__link--next { justify-content: flex-end; text-align: right; }

.hc-backlink { margin: 26px 0 0; font-size: 14.5px; font-weight: 600; }
.hc-backlink a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-600); }
.hc-backlink a:hover { color: var(--brand-700); }
.hc-backlink .icon { width: 16px; height: 16px; }
.hc-backlink--split { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Guides */
.hc-guide-intro { margin-bottom: 18px; padding: 26px 30px; border-radius: var(--r-lg); }
.hc-guide-step h3 a { color: var(--ink-900); }
.hc-guide-step h3 a:hover { color: var(--brand-700); }
.hc-guide-step .hc-more { margin-top: 2px; }
.hc-guide-steps { padding: 0; }

.hc-footer { max-width: var(--hc-maxw); }
body:not(.hc--docs) .hc-nav,
body:not(.hc--docs) .hc-footer { max-width: var(--maxw); }
.hc-footer__pilot { background: rgba(22, 38, 42, .06); color: var(--ink-600); }

/* ---------------------------------------------------------
   7. Adaptation aux écrans
   --------------------------------------------------------- */
@media (max-width: 1279px) {
    .hc-layout--article { grid-template-columns: minmax(0, 1fr); }
    .hc-toc { display: none; }
    .hc-toc-inline { display: block; }
    .hc-main { max-width: 820px; }
}

@media (max-width: 1099px) {
    .hc--docs .hc-shell { display: block; padding-top: 26px; }
    .hc-main { margin: 0 auto; }
    .hc-nav__burger { display: flex; }
    .hc-nav__app { display: none; }
    .hc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    /* Sans JavaScript : le menu est un bloc en bas de page, atteint par l'ancre du bouton. */
    .hc-sidebar,
    body:not(.hc--docs) .hc-sidebar {
        display: block;
        position: static;
        max-height: none;
        max-width: 820px;
        margin: 56px auto 0;
        padding: 20px 24px;
    }

    /* Avec JavaScript : tiroir qui glisse depuis la droite. */
    .js .hc-sidebar,
    .js body:not(.hc--docs) .hc-sidebar {
        position: fixed;
        z-index: 90;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(340px, 88vw);
        max-width: none;
        margin: 0;
        padding: 14px 14px 24px;
        overflow-y: auto;
        background: rgba(255, 255, 255, .97);
        box-shadow: -20px 0 60px rgba(16, 42, 45, .22);
        transform: translateX(104%);
        visibility: hidden;
        transition: transform .3s var(--ease), visibility 0s linear .3s;
    }

    .js .hc-sidebar.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }

    .js .hc-sidebar__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--hairline);
    }

    .hc-sidebar__home { font-weight: 600; color: var(--ink-900); }

    .hc-sidebar__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 0;
        background: rgba(22, 38, 42, .06);
        color: var(--ink-900);
        cursor: pointer;
    }

    .hc-sidebar__foot {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid var(--hairline);
    }

    .hc-side__top a, .hc-side__collection > a, .hc-sidebar__foot a { min-height: 44px; }
    .hc-side__articles a { padding-top: 9px; padding-bottom: 9px; }

    .js .hc-scrim {
        display: block;
        position: fixed;
        z-index: 85;
        inset: 0;
        background: rgba(22, 38, 42, .32);
        opacity: 0;
        transition: opacity .3s var(--ease);
    }

    .js .hc-scrim[hidden] { display: none; }
    .js .hc-scrim.is-open { opacity: 1; }
}

@media (max-width: 900px) {
    .hc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-title { font-size: 34px; }
    .hc-support { padding: 40px 32px; }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 88px; }
    .hc-nav { gap: 8px; padding: 7px 8px 7px 14px; }
    .hc-nav__brand { gap: 10px; }
    .hc-nav__help { padding-left: 11px; font-size: 14px; }
    .hc-nav__search { flex: none; width: 44px; min-height: 44px; margin: 0 0 0 auto; padding: 0; justify-content: center; border-color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .6); cursor: pointer; }
    .hc-nav__search .icon { width: 19px; height: 19px; color: var(--ink-900); }
    .hc-nav__search-label, .hc-nav__search kbd { display: none; }
    .hc-nav__lang { padding: 0 8px; }
    .hc-nav__lang .icon { display: none; }

    .hc--docs .hc-shell { padding: 20px 16px 0; }
    .hc-hero { padding-top: 36px; }
    .hc-page-header { padding-top: 30px; }
    .hc-section { margin-top: 60px; }
    .hc-section--first { margin-top: 32px; }
    .hc-h2 { font-size: 25px; margin-bottom: 20px; }
    .hc-title { font-size: 29px; }
    .hc-collection-header .hc-title { font-size: 28px; }
    .hc-collection-header { gap: 14px; }
    .hc-collection-header .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
    .hc-lead { font-size: 16.5px; }

    .hc-searchbox__input { height: 54px; padding: 0 18px 0 48px; font-size: 16px; }
    .hc-searchbox__icon { left: 18px; top: 27px; }
    .hc-searchbox__submit { display: none; }
    .hc-search__panel { top: 62px; }
    .hc-search-dialog { margin-top: 12px; max-height: calc(100vh - 24px); padding: 10px; }
    .hc-search--dialog .hc-search__hint { display: none; }

    .hc-doors, .hc-grid--2, .hc-grid--3, .hc-grid--4, .hc-rows--2, .hc-support__grid, .hc-prevnext { grid-template-columns: minmax(0, 1fr); }
    .hc-door { padding: 24px; }
    .hc-door__title { font-size: 20px; }
    .hc-collection, .hc-guide-card, .hc-card { padding: 20px; }
    .hc-support { padding: 32px 22px; }
    .hc-support__item { padding: 22px; }
    .hc-news-list { padding: 6px 18px; }
    .hc-news-list li { flex-direction: column; gap: 2px; }
    .hc-news-list time { width: auto; }
    .hc-news { padding: 24px 22px; }

    .hc-article { padding: 22px 18px 26px; border-radius: var(--r-lg); }
    .hc-facts, .hc-verify dl { grid-template-columns: minmax(0, 1fr); }
    .hc-facts { padding: 16px 18px; }
    .hc-prose { font-size: 16px; }
    .hc-prose h2 { margin-top: 38px; padding-top: 26px; font-size: 22px; }
    .hc-prose h3 { font-size: 18px; }
    .hc-prose ol.hc-steps > li { padding-left: 42px; }
    .hc-prose ol.hc-steps > li::before { width: 28px; height: 28px; font-size: 13.5px; }
    .hc-prose ol.hc-steps > li:not(:last-child)::after { left: 13.5px; top: 34px; }
    .hc-anchor { display: none; }
    .hc-feedback { padding: 20px 18px; }
    .hc-index__grid { padding: 22px 20px; }
    .hc-prevnext__link--next { justify-content: space-between; }
    .hc-row { padding: 14px 40px 14px 14px; }
    .hc-rows--2 li + li .hc-row::before { content: ''; position: absolute; left: 14px; right: 14px; top: 0; border-top: 1px solid var(--hairline); }
}

@media (max-width: 420px) {
    .hc-nav__help { display: none; }
    .hc-feedback__form { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------
   8. Replis : transparence réduite, mouvement réduit, impression
   --------------------------------------------------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .hc-nav { background: rgba(255, 255, 255, .96); }
}

@media (prefers-reduced-transparency: reduce) {
    .hc-nav, .hc-search__panel, .hc-search-dialog { background: #fff; }
    .hc-facts, .hc-verify, .hc-toc-inline, .hc-table-wrap { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    .hc-collection:hover, .hc-guide-card:hover, .hc-door:hover, .hc-card:hover,
    .hc-more:hover .icon, .hc-door:hover .hc-door__cta .icon, .hc-row:hover .hc-row__chev { transform: none; }
    .hc-row:hover .hc-row__chev { transform: translateY(-50%); }
}

@media print {
    body { background: #fff; }
    .hc-subnav, .hc-sidebar, .hc-toc, .hc-toc-inline, .hc-feedback, .hc-prevnext, .hc-backlink, .hc-footer, .ftr, .consent, .hc-scrim, .hc-search-dialog, .hc-anchor, .hc-figure__zoom-icon { display: none !important; }
    .hc--docs .hc-shell { display: block; padding: 0; }
    .hc-article, .glass-card { background: #fff; box-shadow: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
    .hc-main { max-width: none; }
    .hc-prose a { text-decoration: none; color: inherit; }
    .hc-figure, .hc-callout, .hc-prose ol.hc-steps > li { break-inside: avoid; }
}

/* Collections pas encore traduites (pages d'accueil par public, en anglais) */
.hc-untranslated { margin-top: 28px; }
.hc-untranslated ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.hc-untranslated a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .7); border: 1px solid var(--hairline); color: var(--ink-900); font-size: 14px; font-weight: 500; }
.hc-untranslated a:hover { border-color: var(--brand-600); color: var(--brand-700); }

/* ---------------------------------------------------------
   En-tête commun avec le site (pages françaises, body.hc--chrome)
   --------------------------------------------------------- */
@media (min-width: 1100px) {
    .hc--chrome .hc-sidebar, .hc--chrome .hc-toc { top: calc(var(--hdr-h) + 98px); max-height: calc(100vh - var(--hdr-h) - 118px); }
}
@media (max-width: 1099px) {
    /* Le tiroir des rubriques et son voile passent au-dessus de l'en-tête fixe du site. */
    .js .hc--chrome .hc-sidebar { z-index: 110; }
    .js .hc--chrome .hc-scrim { z-index: 105; }
    /* Bouton des rubriques : libellé visible, pour ne pas le confondre avec le menu du site. */
    .hc-nav--bar .hc-nav__burger { width: auto; gap: 8px; padding: 0 16px 0 12px; border-radius: 999px; font-size: 15px; font-weight: 600; }
    .hc-nav--bar .hc-nav__burger-label { display: inline; }
}
/* Barre du centre d'aide (pages françaises) : sans logo, son libellé reste visible sur les petits écrans. */
@media (max-width: 1099px) { .hc--chrome .hc-nav--bar .hc-nav__help { display: inline-flex; align-items: center; min-height: 44px; padding-left: 6px; font-size: 15px; } }

/* ==========================================================================
   En-tête et menu mobile communs au site et au centre d'aide — source unique.
   - Balisage : site/partials/header.html et menu.html (le centre d'aide les lit aussi,
     help-center/src/templates.mjs).
   - Styles : ce fichier. site/build.mjs l'insère dans site.css à l'emplacement du marqueur
     « @inclure header.css » ; le générateur du centre d'aide l'ajoute à help.css.
   - Comportement : site/assets/header.js (même principe).
   Autonome : le centre d'aide charge /style.css et non site.css. Les couleurs (mêmes valeurs que
   site.css :root), les remises à zéro et les classes génériques sont redéfinies ici, sous .hdr et .night.
   ========================================================================== */
.hdr, .night {
    --mist: #EAF1F0; --paper: #F3F7F6; --mint: #A9D4CE; --mint-hi: #C2E5E0; --brand: #2F6B70;
    --deep: #163E43; --deep-2: #0F2F33; --deep-hi: #306466;
    --ink: #16262A; --ink-2: #3D5458; --ink-3: #56706F;
    --on-deep: #EEF5F4; --on-deep-2: rgba(238, 245, 244, .8);
    --line: rgba(22, 38, 42, .10); --line-deep: rgba(238, 245, 244, .14);
    --pill: 999px; --ease: cubic-bezier(.2,.7,.1,1);
    font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55;
}
:root { --hdr-h: 76px; }
@media (max-width: 760px) { :root { --hdr-h: 64px; } }
/* Remises à zéro et classes génériques : spécificité minimale (:where), pour que les règles de l'en-tête,
   plus bas, l'emportent toujours, comme dans site.css. */
:where(.hdr, .night) *, :where(.hdr, .night) *::before, :where(.hdr, .night) *::after { box-sizing: border-box; }
:where(.hdr, .night) p, :where(.hdr, .night) ul { margin: 0; }
:where(.hdr, .night) ul { padding: 0; list-style: none; }
:where(.hdr, .night) a { color: inherit; }
:where(.hdr, .night) button { font: inherit; color: inherit; }
:where(.hdr, .night) img, :where(.hdr, .night) svg { display: block; max-width: 100%; }
:where(.hdr, .night) img { height: auto; }
:where(.hdr, .night) [hidden] { display: none !important; }
:where(.hdr, .night) .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(.hdr, .night) :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.hdr--deep :focus-visible, .night :focus-visible { outline-color: var(--mint); }
:where(.hdr, .night) .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(.hdr, .night) .icon--solid { fill: currentColor; stroke: none; }
:where(.hdr, .night) .brand, :where(.hdr, .night) .brand:hover { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
:where(.hdr, .night) .brand svg { width: 30px; height: 30px; }
:where(.hdr, .night) .brand__name { font-weight: 600; font-size: 21px; letter-spacing: -.035em; }
:where(.hdr, .night) .logo-k { color: var(--brand); }
.hdr--deep .logo-k, .night .logo-k { color: var(--mint); }
.hdr--deep .brand, .night .brand { color: var(--on-deep); }
/* Boutons de l'en-tête et du menu (mêmes valeurs que .btn de site.css) */
:where(.hdr, .night) .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: var(--pill); border: 1px solid transparent; font-weight: 600; font-size: 15px; letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease), background-color .25s, border-color .25s, color .25s; }
:where(.hdr, .night) .btn .icon { width: 17px; height: 17px; }
:where(.hdr, .night) .btn:hover { transform: translateY(-1px); }
:where(.hdr) .btn--cta { background: var(--deep); color: #fff; }
.hdr--deep:not(.is-scrolled) .btn--cta { background: #fff; color: var(--deep); }
:where(.hdr) .btn--sm { height: 44px; padding: 0 18px; font-size: 15px; }
:where(.night) .btn--mint { background: var(--mint); color: var(--deep); }
:where(.night) .btn--mint:hover { background: var(--mint-hi); }
:where(.night) .btn--block { width: 100%; }

/* ---------- 7. En-tête ---------- */
.hdr { position: fixed; z-index: 100; top: 0; left: 0; right: 0; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s; }
.hdr__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--hdr-h); padding-inline: clamp(16px, 3vw, 40px); max-width: 1440px; margin-inline: auto; }
.hdr__nav { display: flex; align-items: center; gap: 2px; }
.hdr__nav > a, .hdr__nav > button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: var(--pill); border: 0; background: none; cursor: pointer; text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s, background-color .2s; }
.hdr__nav .icon { width: 14px; height: 14px; }
.hdr__nav > button .icon { transition: transform .3s var(--ease); }
.hdr__nav > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.hdr__films .icon { width: 11px; height: 11px; }
.hdr__end { display: flex; align-items: center; gap: 8px; }
.hdr__login { display: inline-flex; align-items: center; height: 40px; font-size: 15px; font-weight: 500; text-decoration: none; padding: 0 10px; border-radius: var(--pill); }
.hdr__burger { display: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; place-items: center; }
/* Variante sombre : transparente sur l'ouverture, verre sombre au défilement */
.hdr--deep { color: var(--on-deep); }
.hdr--deep .hdr__nav > a, .hdr--deep .hdr__nav > button, .hdr--deep .hdr__login { color: rgba(238,245,244,.82); }
.hdr--deep .hdr__nav > a:hover, .hdr--deep .hdr__nav > button:hover, .hdr--deep .hdr__nav > button[aria-expanded="true"], .hdr--deep .hdr__nav > a[aria-current="page"], .hdr--deep .hdr__login:hover { color: #fff; background: rgba(255,255,255,.08); }
.hdr--deep .hdr__films { box-shadow: inset 0 0 0 1px rgba(169,212,206,.45); color: #fff !important; }
.hdr--deep .hdr__films .icon { color: var(--mint); }
.hdr--deep .hdr__burger { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; }
.hdr--deep.is-scrolled, .hdr--deep:has([aria-expanded="true"]) { background: rgba(12, 38, 41, .86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
/* Variante claire : pages éditoriales */
.hdr--light { background: rgba(243, 247, 246, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid transparent; }
.hdr--light.is-scrolled, .hdr--light:has([aria-expanded="true"]) { background: rgba(255,255,255,.94); border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(16,42,45,.06); }
.hdr--light .hdr__nav > a, .hdr--light .hdr__nav > button, .hdr--light .hdr__login { color: var(--ink-2); }
.hdr--light .hdr__nav > a:hover, .hdr--light .hdr__nav > button:hover, .hdr--light .hdr__nav > button[aria-expanded="true"], .hdr--light .hdr__nav > a[aria-current="page"], .hdr--light .hdr__login:hover { color: var(--ink); background: rgba(22,38,42,.05); }
.hdr--light .hdr__films { box-shadow: inset 0 0 0 1px rgba(47,107,112,.35); }
.hdr--light .hdr__films .icon { color: var(--brand); }
.hdr--light .hdr__burger { border: 1px solid var(--line); background: #fff; color: var(--ink); }

/* Méga-menus */
.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 26px clamp(16px, 3vw, 40px) 30px; animation: megaIn .3s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.hdr--deep .mega { background: rgba(12, 38, 41, .985); border-top: 1px solid var(--line-deep); box-shadow: 0 40px 80px rgba(0,0,0,.35); color: var(--on-deep); }
.hdr--light .mega { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(16,42,45,.12); }
.mega__inner { max-width: 1360px; margin-inline: auto; }
.mega__inner--produit { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.mega__inner--cols { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
.mega__label { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.hdr--deep .mega__label, .hdr--deep .mega__tag { color: var(--mint); }
.hdr--light .mega__label, .hdr--light .mega__tag { color: var(--brand); }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 12px; }
.strip a { display: flex; flex-direction: column; gap: 1px; text-decoration: none; font-size: 13px; }
.strip img { aspect-ratio: 16/9; object-fit: cover; object-position: top left; border-radius: 10px; margin-bottom: 8px; transition: transform .4s var(--ease), border-color .3s; }
.hdr--deep .strip img { border: 1px solid var(--line-deep); }
.hdr--light .strip img { border: 1px solid var(--line); }
.strip a:hover img { transform: translateY(-3px); border-color: var(--mint); }
.strip strong { font-size: 15px; font-weight: 600; }
.hdr--deep .strip span { color: var(--on-deep-2); }
.hdr--light .strip span { color: var(--ink-3); }
.mega__side { display: flex; flex-direction: column; gap: 4px; }
.mega__side a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; transition: background-color .2s; }
.hdr--deep .mega__side a:hover { background: rgba(255,255,255,.06); }
.hdr--light .mega__side a:hover { background: var(--paper); }
.mega__side .icon { width: 36px; height: 36px; padding: 9px; border-radius: 11px; }
.hdr--deep .mega__side .icon { background: rgba(169,212,206,.12); color: var(--mint); }
.hdr--light .mega__side .icon { background: var(--mist); color: var(--brand); }
.mega__side span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; }
.hdr--deep .mega__side span { color: var(--on-deep-2); }
.hdr--light .mega__side span { color: var(--ink-3); }
.mega__side strong { font-size: 15px; font-weight: 600; }
.hdr--deep .mega__side strong { color: #fff; }
.hdr--light .mega__side strong { color: var(--ink); }
.mega__sol { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; text-decoration: none; font-size: 14px; line-height: 1.5; transition: background-color .2s, border-color .2s; }
.hdr--deep .mega__sol { background: rgba(255,255,255,.05); border: 1px solid var(--line-deep); color: var(--on-deep-2); }
.hdr--deep .mega__sol:hover { border-color: rgba(169,212,206,.5); }
.hdr--light .mega__sol { background: var(--paper); border: 1px solid var(--line); color: var(--ink-3); }
.hdr--light .mega__sol:hover { border-color: var(--brand); }
.mega__sol strong { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
.hdr--deep .mega__sol strong { color: #fff; }
.hdr--light .mega__sol strong { color: var(--ink); }
.mega__tag { font-size: 12px; font-weight: 600; letter-spacing: .02em; }

/* Menu mobile « salle obscure » */
.night { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; padding: 14px 18px 22px; overflow-y: auto; color: var(--on-deep);
    background: radial-gradient(600px 420px at 0% 0%, var(--deep-hi), transparent 70%), linear-gradient(180deg, var(--deep), var(--deep-2));
    visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.night.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.menu-open, .menu-open body { overflow: hidden; }
.night__head { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.night__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.night__nav { margin-top: 16px; display: flex; flex-direction: column; }
.night__nav > a, .night__nav > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line-deep); background: none; color: #fff; font-size: 28px; font-weight: 500; letter-spacing: -.035em; text-decoration: none; cursor: pointer; text-align: left; }
.night__nav .icon { width: 18px; height: 18px; color: var(--mint); transition: transform .3s var(--ease); }
.night__nav [aria-expanded="true"] .icon { transform: rotate(180deg); }
.night__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 6px 0 12px; border-bottom: 1px solid var(--line-deep); }
.night__sub a { display: block; padding: 8px 0; color: var(--on-deep-2); font-size: 16px; text-decoration: none; }
.night__label { margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--mint); }
.night__films { display: flex; gap: 10px; overflow-x: auto; margin: 12px -18px 0; padding: 0 18px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; scrollbar-width: none; }
.night__films li { flex: none; width: 68%; scroll-snap-align: start; }
.night__films button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left; }
.night__films img { border-radius: 14px; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line-deep); }
.night__films span { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; }
.night__films em { font-style: normal; font-weight: 500; color: var(--on-deep-2); }
.night__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.night__login { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--on-deep-2); text-decoration: none; font-size: 15px; }
.night__login .icon { width: 16px; height: 16px; }
.night__films a { display: block; color: inherit; text-decoration: none; }

@media (max-width: 1240px) { .hdr__login { display: none; } }
@media (max-width: 1080px) {
    .hdr__nav { display: none; }
    .hdr__burger { display: grid; }
}
@media (min-width: 1081px) { .night { display: none; } }
@media (max-width: 760px) {
    .hdr__end .btn--cta { display: none; }
    .mega { display: none !important; }
}
@media print { .hdr, .night { display: none !important; } }

/* ==========================================================================
   Pied de page commun au site et au centre d'aide — source unique.
   - Balisage : site/partials/footer.html (le centre d'aide le lit aussi, help-center/src/templates.mjs).
   - Styles : ce fichier, ajouté à la fin de site.css par site/build.mjs et à la fin de help.css par
     help-center/src/build.mjs.
   Autonome : le centre d'aide charge /style.css et non site.css. Couleurs, remises à zéro et classes
   génériques (.container, .brand, .icon…) sont donc redéfinies ici, sous .ftr.
   ========================================================================== */
.ftr {
    --ftr-bg: #0B2427; --ftr-text: rgba(238, 245, 244, .8); --ftr-strong: #EEF5F4; --ftr-mint: #A9D4CE;
    --ftr-line: rgba(238, 245, 244, .14);
    padding: 72px 0 32px; background: var(--ftr-bg); color: var(--ftr-text);
    font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.55;
}
.ftr *, .ftr *::before, .ftr *::after { box-sizing: border-box; }
.ftr p, .ftr ul { margin: 0; }
.ftr ul { padding: 0; list-style: none; }
.ftr svg { display: block; max-width: 100%; }
.ftr input { font: inherit; }
.ftr :focus-visible { outline: 3px solid var(--ftr-mint); outline-offset: 3px; border-radius: 6px; }
.ftr .container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.ftr .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ftr .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ftr .brand, .ftr .brand:hover { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ftr-strong); }
.ftr .brand svg { width: 30px; height: 30px; }
.ftr .brand__name { font-weight: 600; font-size: 21px; letter-spacing: -.035em; }
.ftr .logo-k { color: var(--ftr-mint); }

.ftr__top { display: grid; grid-template-columns: 1fr 2.1fr; gap: 48px; }
.ftr__tag { margin-top: 16px; font-size: 22px; font-weight: 500; letter-spacing: -.03em; color: var(--ftr-strong); }
.ftr__sub { margin-top: 8px; max-width: 320px; font-size: 14px; }
.ftr__search { margin-top: 22px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ftr-line); background: rgba(255,255,255,.04); max-width: 340px; }
.ftr__search .icon { width: 17px; height: 17px; color: var(--ftr-mint); }
.ftr__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font-size: 15px; outline: none; }
.ftr__search input::placeholder { color: rgba(238,245,244,.62); }
.ftr__search:focus-within { outline: 3px solid var(--ftr-mint); outline-offset: 2px; }
.ftr__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ftr__cols p { font-size: 13px; font-weight: 600; color: var(--ftr-mint); margin-bottom: 14px; }
.ftr__cols ul { display: grid; gap: 10px; }
.ftr__cols a { color: var(--ftr-text); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.ftr__cols a:hover { color: #fff; text-decoration: underline; }
.ftr__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--ftr-line); display: grid; gap: 14px; font-size: 13px; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.ftr__legal a { color: inherit; text-decoration: none; }
.ftr__legal a:hover { color: #fff; text-decoration: underline; }
.ftr__made { margin-left: auto; }
.ftr__legal .ftr__made a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1080px) {
    .ftr__top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .ftr__cols { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Assistant de support (sans IA) — styles communs au site et au centre d'aide.
   site/build.mjs l'insère dans site.css à l'emplacement du marqueur « @inclure assistant.css » ;
   le générateur du centre d'aide l'ajoute à help.css quand assistant.help_center est activé.
   Autonome : couleurs (mêmes valeurs que site.css :root) et classes génériques redéfinies sous .kfa.
   ========================================================================== */
.kfa {
    --mist: #EAF1F0; --paper: #F3F7F6; --mint: #A9D4CE; --brand: #2F6B70; --brand-700: #1E4B4F;
    --deep: #163E43; --deep-hi: #306466; --ink: #16262A; --ink-2: #3D5458; --ink-3: #56706F;
    --on-deep: #EEF5F4; --on-deep-2: rgba(238, 245, 244, .8); --line: rgba(22, 38, 42, .10); --line-deep: rgba(238, 245, 244, .14);
    --warn-tint: #F7E9E5; --pill: 999px; --ease: cubic-bezier(.2,.7,.1,1);
    font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5;
}
:where(.kfa) *, :where(.kfa) *::before, :where(.kfa) *::after { box-sizing: border-box; }
:where(.kfa) p { margin: 0; }
:where(.kfa) button, :where(.kfa) input { font: inherit; }
:where(.kfa) svg { display: block; }
:where(.kfa) .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(.kfa) .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:where(.kfa) [hidden] { display: none !important; }
:where(.kfa) :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.kfa { position: fixed; z-index: 180; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.kfa__launch { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.2); background: var(--deep); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 16px 40px rgba(16,42,45,.3); }
/* Tant que le bandeau de consentement est affiché, il prime : le bouton de l'assistant réapparaît après le choix. */
body:has(#consentBanner:not([hidden])) .kfa__launch { visibility: hidden; }
.kfa__launch .icon { width: 20px; height: 20px; color: var(--mint); }
.kfa[data-state="open"] .kfa__launch span { display: none; }
.kfa[data-state="open"] .kfa__launch { padding: 0 16px; }
.kfa__panel { width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100vh - 110px)); display: flex; flex-direction: column; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(16,42,45,.28); overflow: hidden; animation: kfaIn .3s var(--ease); }
@keyframes kfaIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.kfa__head { display: flex; justify-content: space-between; gap: 12px; padding: 16px 16px 14px 20px; color: var(--on-deep); background: radial-gradient(400px 200px at 0% 0%, var(--deep-hi), transparent 70%), var(--deep); }
.kfa__title { font-weight: 600; font-size: 16px; color: #fff; }
.kfa__sub { font-size: 13px; color: var(--on-deep-2); margin-top: 2px; }
.kfa__close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-deep); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.kfa__close .icon { width: 16px; height: 16px; }
.kfa__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.kfa__msg { max-width: 92%; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; }
.kfa__msg p { margin: 0; }
.kfa__msg--bot { align-self: flex-start; padding: 12px 14px; border-radius: 16px 16px 16px 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.kfa__msg--user { align-self: flex-end; padding: 10px 14px; border-radius: 16px 16px 6px 16px; background: var(--deep); color: #fff; }
.kfa__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kfa__chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border-radius: 12px; border: 1px solid rgba(47,107,112,.35); background: #fff; color: var(--brand-700); font-size: 13px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.kfa__chip:hover { background: var(--mist); }
.kfa__card { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.kfa__card:hover { border-color: rgba(47,107,112,.5); }
.kfa__card strong { font-size: 14px; }
.kfa__card-c { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--brand); }
.kfa__card-d { font-size: 13px; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kfa__safety { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--warn-tint); color: #7E2E22; }
.kfa__safety .icon { width: 18px; height: 18px; margin-top: 2px; }
.kfa__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.kfa__form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(22,38,42,.18); background: var(--paper); font-size: 15px; }
.kfa__form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; background: #fff; }
.kfa__send { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--deep); color: #fff; cursor: pointer; display: grid; place-items: center; }
.kfa__send .icon { width: 17px; height: 17px; }
.kfa__privacy { padding: 0 14px 12px; font-size: 11.5px; color: var(--ink-3); background: #fff; }
@media (max-width: 560px) { .kfa { right: 12px; bottom: 12px; left: 12px; align-items: stretch; } .kfa__launch { align-self: flex-end; } .kfa__panel { width: 100%; height: calc(100vh - 96px); } }

/* V2.1 : zones sûres iOS, hauteur visible réelle (dvh, clavier virtuel), états de chargement et d'urgence */
.kfa { right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.kfa__panel { height: min(620px, calc(100vh - 110px)); height: min(620px, calc(100dvh - 110px)); }
.kfa__head :focus-visible, .kfa__launch:focus-visible { outline-color: var(--mint); }
.kfa__hint { font-size: 12.5px; color: var(--ink-3); }
.kfa__loading { color: var(--ink-3); }
.kfa__loading::after { content: ''; display: inline-block; width: 1.2em; text-align: left; animation: kfaDots 1.2s steps(4) infinite; }
@keyframes kfaDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.kfa__safety--urgent { border: 1px solid rgba(164, 67, 50, .35); }
.kfa__chip--call { border-color: #A44332; color: #7E2E22; background: #fff; }
.kfa__log:focus-visible { outline-offset: -3px; }
/* Menu mobile ouvert : l'assistant s'efface (le menu est une fenêtre modale). Idem pour le tiroir des rubriques
   et la fenêtre de recherche du centre d'aide. */
.menu-open .kfa, body:has(.hc-sidebar.is-open) .kfa, body:has(#hcSearchDialog[open]) .kfa { display: none; }
/* Le bouton ne doit pas masquer la fin du pied de page. */
.has-kfa .ftr__bottom { padding-bottom: 76px; }
@media (max-width: 560px) {
    .kfa { right: calc(12px + env(safe-area-inset-right, 0px)); left: calc(12px + env(safe-area-inset-left, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px) + var(--kfa-kb, 0px)); }
    .kfa__panel { height: calc(100vh - 96px); height: calc(var(--kfa-vh, 100dvh) - 96px - env(safe-area-inset-bottom, 0px)); }
    /* Clavier ouvert : le panneau occupe la zone visible, le bouton d'ouverture s'efface (la croix ferme). */
    .kfa[data-keyboard="open"] .kfa__launch { display: none; }
    .kfa[data-keyboard="open"] { bottom: calc(8px + var(--kfa-kb, 0px)); }
    .kfa[data-keyboard="open"] .kfa__panel { height: calc(var(--kfa-vh, 100dvh) - 16px); }
}
/* Écran bas (téléphone en paysage) */
@media (max-height: 520px) {
    .kfa__panel { height: calc(var(--kfa-vh, 100dvh) - 84px); }
    .kfa__head { padding-top: 10px; padding-bottom: 8px; }
    .kfa__sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .kfa__panel { animation: none !important; }
    .kfa__loading::after { animation: none; content: '…'; }
}
@media print { .kfa { display: none !important; } }
