/**
 * Charte des pages publiques (accueil) — chargé uniquement par les vues concernées.
 * Recouvre les jetons et le CSS global (h1, h2, .btn, champs).
 */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500..800&family=Inter:wght@400..700&display=swap");

body:has(.kl-public-charter),
body.page-public {
    background: #ffffff;
}

:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) {
    --k-brand-primary: #153d60;
    --k-brand-secondary: #246baf;
    --k-brand-deep: #102e47;
    --k-brand-light: #226b9c;
    --k-brand-gradient: #153d60;
    --k-brand-gradient-soft: #ffffff;
    --k-brand-glow: radial-gradient(ellipse 80% 60% at 70% 0%, rgba(36, 107, 175, 0.12) 0%, transparent 70%);
    --k-surface-page: #ffffff;
    --k-surface-app: #f3f7fb;
    --k-surface-card: #ffffff;
    --k-surface-elevated: #f3f7fb;
    --k-surface-muted: #f3f7fb;
    --k-surface-dark: #153d60;
    --k-surface-dark-soft: #173b57;
    --k-text-primary: #112b43;
    --k-text-secondary: #52687d;
    --k-text-muted: #607488;
    --k-text-on-brand: #ffffff;
    --k-text-accent-on-brand: #d6e5f2;
    --k-success: #11986d;
    --k-success-soft: #e5f3ed;
    --k-success-border: #b7e4d4;
    --k-danger: #a12735;
    --k-info: #226b9c;
    --k-info-soft: #eaf3fa;
    --k-accent-highlight: #226b9c;
    --k-border-subtle: #e1e9f1;
    --k-border-default: #dbe5ed;
    --k-border-strong: #c9ddec;
    --k-btn-primary-bg: #246baf;
    --k-btn-primary-hover: #18558f;
    --k-btn-cta-bg: #246baf;
    --k-btn-cta-hover: #18558f;
    --k-font-family: Inter, "Segoe UI", Arial, sans-serif;
    --k-font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --k-radius-sm: 10px;
    --k-radius-md: 10px;
    --k-radius-lg: 18px;
    --k-radius-xl: 22px;
    --k-radius-2xl: 22px;
    --k-radius-pill: 100px;
    color: #112b43;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

:is(.kl-public-charter, body.page-public .kl-wrap) h1,
:is(.kl-public-charter, body.page-public .kl-wrap) .kl-h1 {
    font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 760 !important;
    font-size: clamp(40px, 4.6vw, 60px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.05em !important;
    color: #112b43 !important;
    text-shadow: none !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .kl-hero__accent {
    color: #226b9c !important;
    font-style: normal !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) h2,
:is(.kl-public-charter, body.page-public .kl-wrap) h3 {
    font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 760 !important;
    color: #112b43;
    text-shadow: none;
}

:is(.kl-public-charter, body.page-public .kl-wrap) :is(.kl-cta-final, .kl-einvoice, .kl-panel--dark, .kl-efacture-banner, .kl-contact-phone) :is(h1, h2, h3, .kl-h1, .kl-h2) {
    color: #ffffff !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .kl-efacture-banner {
    background: #153d60;
    box-shadow: none;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .kl-cta-final,
:is(.kl-public-charter, body.page-public .kl-wrap) .kl-einvoice {
    background: #153d60;
    box-shadow: none;
    border-radius: 22px;
}

:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn {
    border-radius: 100px !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px;
    letter-spacing: -0.15px;
    text-transform: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn--cta,
:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn--primary {
    background: #246baf !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn--cta:hover,
:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn--primary:hover {
    background: #18558f !important;
    color: #ffffff !important;
}

:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn--white {
    background: #ffffff !important;
    color: #173b57 !important;
    border-color: transparent !important;
}

:is(.kl-public-charter, .kl-lp-sticky, body.page-public .kl-wrap) .kl-btn--white:hover {
    color: #246baf !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .kl-btn--ghost {
    border-radius: 100px !important;
    box-shadow: none !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]) {
    border-radius: 10px !important;
    border-color: #c9ddec;
    color: #112b43;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

:is(.kl-public-charter, body.page-public .kl-wrap) :is(input, textarea, select):focus {
    border-color: #246baf !important;
    box-shadow: 0 0 0 3px #246baf17 !important;
    outline: none;
}

:is(.kl-public-charter, body.page-public .kl-wrap) label,
:is(.kl-public-charter, body.page-public .kl-wrap) .kl-contact-field__label {
    color: #112b43 !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) input[type="checkbox"],
:is(.kl-public-charter, body.page-public .kl-wrap) input[type="radio"] {
    accent-color: #246baf;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .kl-contact-alert--success {
    background: #e5f3ed;
    color: #168263;
    border-color: transparent;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .kl-contact-alert--error {
    background: transparent;
    color: #a12735;
    border-color: transparent;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .text-success {
    color: #11986d !important;
}

:is(.kl-public-charter, body.page-public .kl-wrap) .text-primary {
    color: #246baf !important;
}

.kl-trial-note {
    display: block;
    flex-basis: 100%;
    margin-top: 10px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    color: #168263;
}

:is(.kl-cta-final, .kl-einvoice, .kl-efacture-banner, .kl-lp-sticky) .kl-trial-note {
    color: #d6e5f2;
    text-align: center;
}

.kl-price-promo .kl-trial-note {
    margin-top: 6px;
}
