/* Charte contenu public — alignée sur l'accueil.
   Chargée après kolirys-homepage / fonctionnalites / tools / formation. */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Inter:wght@400;500;600;700&display=swap");

:is(
    body.kl-public-site,
    body.page-public,
    body.page-tools-article,
    body.page-feature-detail,
    body.page-formation-logiciel,
    body.page-tools-metier,
    body.page-autoentrepreneur
) {
    background: #fff;
}

:is(
    body.kl-public-site,
    body.page-public,
    body.page-tools-article,
    body.page-feature-detail,
    body.page-formation-logiciel,
    body.page-tools-metier,
    body.page-autoentrepreneur
) .kl-wrap,
.kl-wrap {
    --kl-action: #246baf;
    --kl-action-hover: #18558f;
    --kl-accent: #226b9c;
    --kl-ink: #112b43;
    --kl-title: #102e47;
    --kl-muted: #52687d;
    --kl-muted-soft: #607488;
    --kl-navy: #153d60;
    --kl-canvas: #f3f7fb;
    --kl-success: #11986d;
    --kl-success-text: #168263;
    --kl-success-soft: #e5f3ed;
    --kl-line: #dbe5ed;
    color: var(--kl-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #fff;
}

/* ── Titres : le CSS global force h1 (couleur, taille, graisse) ── */
:is(body.kl-public-site, body.page-public, body.page-tools-article, body.page-feature-detail, body.page-formation-logiciel, body.page-tools-metier, body.page-autoentrepreneur) .kl-wrap :is(h1, h2, h3, .kl-h1, .kl-h2),
.kl-wrap :is(h1, h2, h3, .kl-h1, .kl-h2) {
    font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 760 !important;
    color: #112b43 !important;
    text-shadow: none !important;
    letter-spacing: -0.04em;
}

:is(body.kl-public-site, body.page-public, body.page-tools-article, body.page-feature-detail, body.page-formation-logiciel, body.page-tools-metier, body.page-autoentrepreneur) .kl-wrap :is(h1, .kl-h1),
.kl-wrap :is(h1, .kl-h1) {
    font-size: clamp(2.05rem, 4.2vw, 3.15rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em;
    color: #102e47 !important;
}

:is(body.kl-public-site, body.page-public, body.page-tools-article, body.page-feature-detail, body.page-formation-logiciel, body.page-tools-metier, body.page-autoentrepreneur) .kl-wrap :is(h2, .kl-h2),
.kl-wrap :is(h2, .kl-h2) {
    font-size: clamp(1.55rem, 3vw, 2.15rem) !important;
    line-height: 1.16 !important;
}

:is(body.kl-public-site, body.page-public, body.page-tools-article, body.page-feature-detail, body.page-formation-logiciel, body.page-tools-metier, body.page-autoentrepreneur) .kl-wrap .kl-formation-prose :is(h2, h3),
.kl-wrap .kl-formation-prose :is(h2, h3),
.kl-wrap .kl-prose-block :is(h2, h3) {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
    border-bottom-color: #dbe5ed;
}

.kl-wrap .kl-formation-prose .questions-frequentes h2 {
    border-color: #dbe5ed;
}

/* ── Hero clair, plus de bandeau bleu ── */
.kl-wrap .kl-hero {
    background: #fff;
    background-image: none;
}

.kl-wrap .kl-hero::before {
    content: none;
}

.kl-wrap .kl-lead,
.kl-wrap .kl-hero__note,
.kl-wrap .kl-hero__note strong {
    color: #52687d;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.kl-wrap .kl-hero__accent,
.kl-wrap .kl-eyebrow {
    color: #226b9c !important;
}

.kl-wrap .kl-hero__pill {
    background: #eaf3fa;
    border-color: transparent;
    color: #226b9c;
    border-radius: 100px;
    box-shadow: none;
}

.kl-wrap .kl-hero__pill-dot {
    background: #11986d;
    box-shadow: 0 0 0 3px #e5f3ed;
}

.kl-wrap .kl-feat-crumb,
.kl-wrap .kl-feat-crumb__sep {
    color: #607488;
}

.kl-wrap .kl-feat-crumb a {
    color: #246baf;
}

.kl-wrap .kl-feat-crumb a:hover {
    color: #18558f;
}

/* ── Boutons pilule ── */
.kl-wrap :is(.kl-btn, a.kl-btn, button.kl-btn) {
    border-radius: 100px !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    box-shadow: none;
    text-decoration: none;
}

.kl-wrap :is(.kl-btn--cta, .kl-btn--primary, .kl-cta-final .kl-btn--white),
.kl-wrap :is(a.kl-btn--cta, a.kl-btn--primary, a.kl-cta-final .kl-btn--white),
.kl-wrap :is(a.kl-btn.kl-btn--cta, a.kl-btn.kl-btn--primary) {
    background: #246baf;
    color: #fff;
    border-color: transparent;
}

.kl-wrap :is(.kl-btn--cta, .kl-btn--primary, .kl-cta-final .kl-btn--white):hover,
.kl-wrap :is(a.kl-btn--cta, a.kl-btn--primary, .kl-cta-final .kl-btn--white):hover,
.kl-wrap :is(a.kl-btn.kl-btn--cta, a.kl-btn.kl-btn--primary):hover,
.kl-wrap :is(a.kl-btn.kl-btn--cta, a.kl-btn.kl-btn--primary):focus,
.kl-wrap :is(a.kl-btn.kl-btn--cta, a.kl-btn.kl-btn--primary):visited {
    background: #18558f;
    color: #fff;
}

.kl-wrap :is(.kl-btn--ghost, a.kl-btn--ghost, a.kl-btn.kl-btn--ghost) {
    background: #fff;
    color: #173b57;
    border: 1px solid #dbe5ed;
}

.kl-wrap .kl-hero :is(.kl-btn--ghost, a.kl-btn--ghost):hover {
    background: #f3f7fb;
    color: #112b43;
    border-color: #246baf;
}

.kl-wrap .kl-trial-note {
    margin: 12px 0 0;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.4;
    color: #52687d;
}

/* ── Sections et CTA navy ── */
.kl-wrap .kl-section--body,
.kl-wrap .kl-bg-muted {
    background: #f3f7fb;
}

.kl-wrap .kl-cta-final {
    background: #153d60;
    background-image: none;
    border-radius: 22px;
    color: #fff;
    box-shadow: none;
}

.kl-wrap .kl-cta-final :is(h2, .kl-h2) {
    color: #fff !important;
}

.kl-wrap .kl-cta-final p {
    color: #d6e5f2;
}

.kl-wrap .kl-cta-final .kl-trial-note {
    color: #e0eaf4;
    text-align: center;
}

.kl-wrap .kl-trust,
.kl-wrap .kl-feat-trust {
    background: #fff;
    border-color: #e1e9f1;
    color: #52687d;
}

.kl-wrap .kl-trust__item,
.kl-wrap .kl-trust__item strong,
.kl-wrap .kl-feat-trust__item,
.kl-wrap .kl-feat-trust__item strong {
    color: #112b43;
}

.kl-wrap .kl-feat-trust__item .fa,
.kl-wrap .kl-hero__chip-icon--brand {
    color: #246baf;
}

.kl-wrap .kl-hero__chip-icon--success {
    background: #e5f3ed;
    color: #168263;
}

/* ── Liens du contenu ── */
.kl-wrap :is(.kl-formation-prose, .kl-tools-article, .kl-public-body, .kl-prose-block, .kl-prose-wrap) a:not(.kl-btn) {
    color: #246baf;
}

.kl-wrap :is(.kl-formation-prose, .kl-tools-article, .kl-public-body, .kl-prose-block, .kl-prose-wrap) a:not(.kl-btn):hover {
    color: #18558f;
}

.kl-wrap .kl-formation-prose :is(p, li),
.kl-wrap .kl-prose-block :is(p, li),
.kl-wrap .kl-tools-article :is(p, li) {
    color: #52687d;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.kl-wrap .kl-formation-prose .text-success,
.kl-wrap .text-success {
    color: #168263 !important;
}

.kl-wrap .kl-formation-prose .alert-success {
    background: #e5f3ed;
    color: #168263;
    border-color: #b7e4d2;
}

.kl-wrap .kl-formation-prose input[type="checkbox"] {
    accent-color: #246baf;
}

.kl-wrap .kl-formation-prose .thead-dark th {
    background: #153d60 !important;
    color: #fff !important;
}

.kl-wrap .kl-formation-prose table thead th {
    background: #f3f7fb;
    color: #112b43;
}

/* ── Cartes ── */
.kl-wrap :is(
    .kl-prose-block,
    .kl-feat-card,
    .kl-feat-point,
    .kl-feat-step,
    .kl-feat-contact,
    .kl-feat-highlight__frame,
    .kl-formation-link,
    .kl-formation-intro,
    .kl-feat-related__item
) {
    background: #fff;
    border-color: #dbe5ed;
}

.kl-wrap :is(.kl-feat-point__icon, .kl-formation-link__icon, .kl-feat-related__icon, .kl-feat-contact__icon) {
    background: #eaf3fa;
    color: #246baf;
}

.kl-wrap .kl-feat-step::before {
    background: #246baf;
    color: #fff;
}

.kl-wrap .kl-feat-point__text,
.kl-wrap .kl-feat-step__text,
.kl-wrap .kl-feat-card__text,
.kl-wrap .kl-feat-contact__text {
    color: #52687d;
}

.kl-wrap .kl-feat-point__text strong,
.kl-wrap .kl-feat-step__title,
.kl-wrap .kl-feat-card__title,
.kl-wrap .kl-feat-contact__title,
.kl-wrap .kl-feat-related__label,
.kl-wrap .kl-formation-link__label {
    color: #112b43;
    font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
}

.kl-wrap .kl-feat-card__link,
.kl-wrap .kl-feat-contact__action,
.kl-wrap .kl-spotlight__list .fa-check {
    color: #246baf;
}

.kl-wrap .kl-spotlight__list .fa-check {
    color: #11986d;
}

.kl-wrap .kl-feat-tip {
    background: #153d60;
    background-image: none;
}

.kl-wrap .kl-feat-tip__title,
.kl-wrap .kl-feat-tip p {
    color: #fff;
}

.kl-wrap .kl-feat-tip p {
    color: #d6e5f2;
}

.kl-wrap .kl-hero__chip {
    background: #fff;
    border-color: #dbe5ed;
    color: #52687d;
    border-radius: 100px;
}

.kl-advice { padding-top: 8px; }
.kl-advice__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}
.kl-advice__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 140px;
    padding: 18px;
    background: #fff;
    border: 1px solid #dbe5ed;
    border-radius: 18px;
    color: #112b43;
    text-decoration: none;
}
.kl-advice__card span {
    color: #226b9c;
    font-size: 12px;
    font-weight: 750;
}
.kl-advice__card strong {
    font-family: "Bricolage Grotesque", ui-sans-serif, sans-serif;
    font-size: 1.15rem;
    font-weight: 740;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #102e47;
}
.kl-advice__card:hover { border-color: #246baf; }
@media (max-width: 800px) {
    .kl-advice__grid { grid-template-columns: 1fr; }
}

.kl-conseil-group + .kl-conseil-group { margin-top: 34px; }
.kl-conseil-group h2 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}
.kl-conseil-group ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.kl-conseil-group a {
    color: #153d60;
    font-weight: 650;
    text-decoration: none;
}
.kl-conseil-group a:hover { color: #246baf; }
@media (max-width: 760px) {
    .kl-conseil-group ul { grid-template-columns: 1fr; }
}
