/* ===================================================================
   KREAFINITY — Sections partagées des pages publiques (design system v2)
   Offres, réalisations, étapes, Kap Numérik, témoignages, FAQ, bandeau
   final : utilisées par l'accueil et les pages intérieures.
   =================================================================== */
/* ── Offres ────────────────────────────────────────────────────── */
.offers { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 900px) { .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.offer {
    position: relative; display: flex; flex-direction: column; gap: 0.75rem;
    background: var(--kf-surface); border: 1px solid var(--kf-border); border-radius: var(--kf-radius-xl);
    padding: 2rem 1.5rem 1.5rem; box-shadow: var(--kf-shadow-xs);
}
.offer--featured { border: 2px solid var(--kf-brand); box-shadow: var(--kf-shadow-lg); }
@media (min-width: 900px) { .offer--featured { transform: translateY(-12px); } }
.offer__ribbon {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--kf-gradient-brand); color: #fff; white-space: nowrap;
    font: 700 var(--kf-text-xs)/1 var(--kf-font-body); letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.45rem 0.95rem; border-radius: var(--kf-radius-pill);
}
.offer__name { font-size: 1.375rem; }
.offer__tagline { color: var(--kf-text-muted); font-size: var(--kf-text-sm); margin-top: -0.4rem; }
.offer__price { margin: 0.25rem 0 0; display: flex; align-items: baseline; gap: 0.2rem; }
.offer__price strong { font: 800 2.75rem/1 var(--kf-font-display); color: var(--kf-text-strong); letter-spacing: -0.03em; }
.offer__price span { color: var(--kf-text-muted); font-weight: 500; }
.offer__fast { align-self: flex-start; }
.offer__features { list-style: none; margin: 0.5rem 0 1rem; padding: 0; display: grid; gap: 0.6rem; flex-grow: 1; align-content: start; }
.offer__features li { display: flex; gap: 0.55rem; font-size: var(--kf-text-sm); line-height: 1.45; }
.offer__features i { color: var(--kf-success); font-size: 1.1rem; }
[data-theme="dark"] .offer__features i { color: #5FD3A6; }
.offers__guarantees { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.75rem; font-weight: 600; font-size: var(--kf-text-sm); color: var(--kf-text-strong); }
.offers__guarantees li { display: inline-flex; align-items: center; gap: 0.45rem; }
.offers__guarantees i { color: var(--kf-brand-text); font-size: 1.2rem; }
.offers__more { text-align: center; margin-top: 1.5rem; }

/* ── Réalisations ──────────────────────────────────────────────── */
.work { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--kf-surface-2); border-bottom: 1px solid var(--kf-border); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 500ms var(--kf-ease); }
.work-card:hover .work-card__media img { transform: scale(1.03); }
.work-card__body { padding: 1.25rem 1.5rem 1.5rem; display: grid; gap: 0.65rem; align-content: start; }
.work-card__body .kf-badge { justify-self: start; }
.work-models {
    display: flex; flex-direction: column; justify-content: center; gap: 0.7rem; min-height: 300px;
    padding: 2rem; border-radius: var(--kf-radius-xl); text-decoration: none;
    background: var(--kf-gradient-brand); color: #fff;
    box-shadow: var(--kf-shadow-md); transition: transform var(--kf-dur) var(--kf-ease), box-shadow var(--kf-dur) var(--kf-ease);
}
.work-models:hover { transform: translateY(-3px); box-shadow: var(--kf-shadow-lg); color: #fff; }
.work-models strong { font: 750 1.5rem/1.2 var(--kf-font-display); color: #fff; }
.work-models .kf-link-arrow { color: #fff; margin-top: 0.4rem; }
.work-models__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ── Étapes ────────────────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; counter-increment: step; background: var(--kf-surface); border: 1px solid var(--kf-border); border-radius: var(--kf-radius-xl); padding: 1.75rem 1.5rem; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; top: 1.25rem; right: 1.5rem; font: 800 2.5rem/1 var(--kf-font-display); color: var(--kf-ink-100); }
[data-theme="dark"] .step::before { color: #2E2847; }
.step__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--kf-gradient-brand); margin-bottom: 1rem; box-shadow: 0 8px 20px rgba(91, 52, 201, 0.25); }
.step__tag { margin-bottom: 0.6rem; }
.step h3 { margin-bottom: 0.45rem; }
.steps__cta { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 2.5rem; }
.steps__note { font-size: var(--kf-text-xs); }

/* ── Kap Numérik ───────────────────────────────────────────────── */
.kap {
    background:
        radial-gradient(36rem 24rem at 0% 0%, rgba(91, 52, 201, 0.4), transparent 70%),
        radial-gradient(30rem 20rem at 100% 100%, rgba(17, 132, 91, 0.28), transparent 70%),
        var(--kf-ink-950);
    color: #C9C4DD; overflow: hidden;
}
.kap__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .kap__grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.kap h2 { color: #fff; margin: 1rem 0; }
.kap__copy > p { font-size: var(--kf-text-lg); line-height: 1.6; }
.kap__points { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 0.6rem; }
.kap__points li { display: flex; gap: 0.6rem; color: #E9E6F5; font-weight: 500; }
.kap__points i { color: #5FD3A6; font-size: 1.2rem; }
.kap-sim { background: var(--kf-surface); color: var(--kf-text); border-radius: var(--kf-radius-2xl); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
.kap-sim h3 { margin-bottom: 1.25rem; }
.kap-sim__fields { display: grid; gap: 1rem; }
@media (min-width: 520px) { .kap-sim__fields { grid-template-columns: 1.5fr 1fr; } }
.kap-sim__out { margin: 1.5rem 0 1rem; border: 1px solid var(--kf-border); border-radius: var(--kf-radius-lg); overflow: hidden; }
.kap-sim__out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--kf-border); }
.kap-sim__out > div:last-child { border-bottom: 0; }
.kap-sim__out dt { color: var(--kf-text-muted); font-size: var(--kf-text-sm); }
.kap-sim__out dd { margin: 0; font-weight: 700; color: var(--kf-text-strong); text-align: right; font-variant-numeric: tabular-nums; }
.kap-sim__out [data-kap="aid"] { color: var(--kf-success); }
[data-theme="dark"] .kap-sim__out [data-kap="aid"] { color: #5FD3A6; }
.kap-sim__rest { background: var(--kf-brand-soft); align-items: center !important; }
.kap-sim__rest dt { color: var(--kf-text-strong); font-weight: 650; }
.kap-sim__rest strong { display: block; font: 800 1.75rem/1 var(--kf-font-display); color: var(--kf-brand-text); }
[data-theme="dark"] .kap-sim__rest strong { color: var(--kf-violet-300); }
.kap-sim__rest small { display: block; font-weight: 500; color: var(--kf-text-muted); font-size: var(--kf-text-xs); margin-top: 0.35rem; }
.kap-sim__note { font-size: var(--kf-text-xs); color: var(--kf-text-muted); line-height: 1.5; }

/* ── Témoignages ───────────────────────────────────────────────── */
.testi { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.testi__stars { color: #E5A100; display: flex; gap: 0.15rem; }
.testi blockquote { margin: 0; flex-grow: 1; color: var(--kf-text); }
.testi figcaption { display: flex; align-items: center; gap: 0.75rem; font-size: var(--kf-text-sm); color: var(--kf-text-muted); }
.testi figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi figcaption strong { display: block; color: var(--kf-text-strong); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq { display: grid; gap: 2rem; }
@media (min-width: 960px) {
    .faq { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
    .faq__head { position: sticky; top: calc(var(--kf-header-h) + 2rem); }
}
.faq__head h2 { margin: 0.75rem 0 1rem; }
.faq__list { border-top: 1px solid var(--kf-border); }

/* ── CTA final ─────────────────────────────────────────────────── */
.final-cta { padding: 0 0 var(--kf-section-y); }
.final-cta__inner {
    text-align: center; border-radius: var(--kf-radius-2xl);
    padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.25rem, 1rem + 3vw, 4rem);
    background:
        radial-gradient(28rem 18rem at 15% 0%, rgba(47, 134, 214, 0.38), transparent 70%),
        radial-gradient(26rem 18rem at 92% 100%, rgba(229, 83, 44, 0.32), transparent 70%),
        var(--kf-ink-950);
    color: #C9C4DD;
}
.final-cta h2 { color: #fff; max-width: 22ch; margin: 0 auto 1rem; }
.final-cta p { font-size: var(--kf-text-lg); max-width: 46ch; margin: 0 auto 2rem; }
.final-cta__actions { justify-content: center; }
@media (max-width: 480px) { .final-cta__actions .kf-btn { width: 100%; } }

/* ── Hero des pages intérieures ────────────────────────────────── */
.kf-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: calc(var(--kf-header-h) + clamp(2rem, 1.25rem + 3vw, 4rem)) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
    background: radial-gradient(40rem 20rem at 0% 0%, rgba(91, 52, 201, 0.09), transparent 70%), var(--kf-bg);
}
.kf-hero--dark { background: var(--kf-ink-950); color: #C9C4DD; }
.kf-hero__glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(36rem 22rem at 6% 10%, rgba(91, 52, 201, 0.4), transparent 70%),
        radial-gradient(30rem 20rem at 95% 40%, rgba(47, 134, 214, 0.26), transparent 70%);
}
.kf-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .kf-hero__grid--split { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.kf-hero__copy { max-width: 760px; }
.kf-hero h1 { margin: 1rem 0; }
.kf-hero--dark h1 { color: #fff; }
.kf-hero__lead { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); line-height: 1.6; color: var(--kf-text-muted); max-width: 40rem; }
.kf-hero--dark .kf-hero__lead { color: #C9C4DD; }
.kf-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.kf-hero__proof { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: var(--kf-text-sm); font-weight: 500; }
.kf-hero__proof li { display: inline-flex; align-items: center; gap: 0.4rem; }
.kf-hero__proof i { color: var(--kf-success); font-size: 1.1rem; }
.kf-hero--dark .kf-hero__proof { color: #E9E6F5; }
.kf-hero--dark .kf-hero__proof i { color: #5FD3A6; }
@media (max-width: 480px) { .kf-hero__ctas .kf-btn { width: 100%; } }

/* Fil d'Ariane */
.kf-crumbs ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; font-size: var(--kf-text-sm); color: var(--kf-text-muted); }
.kf-crumbs li + li::before { content: '/'; margin-right: 0.35rem; opacity: 0.6; }
.kf-crumbs a { color: inherit; text-decoration: none; }
.kf-crumbs a:hover { color: var(--kf-brand-text); text-decoration: underline; }
.kf-hero--dark .kf-crumbs ol { color: #ABA6C0; }

.kf-section__head--left { text-align: left; margin-left: 0; }

/* ── Bandeau Kap Numérik compact ───────────────────────────────── */
.kap-band {
    display: grid; grid-template-columns: auto 1fr; gap: 1rem 1.25rem; align-items: center;
    padding: 1.25rem 1.5rem; border-radius: var(--kf-radius-xl);
    background: linear-gradient(120deg, rgba(17, 132, 91, 0.1), rgba(91, 52, 201, 0.08)); border: 1px solid var(--kf-border);
}
.kap-band__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: var(--kf-success-bg); color: #0E7552; }
[data-theme="dark"] .kap-band__icon { color: #5FD3A6; }
.kap-band strong { font: 700 1.15rem/1.3 var(--kf-font-display); color: var(--kf-text-strong); }
.kap-band p { margin: 0.2rem 0 0; color: var(--kf-text-muted); font-size: var(--kf-text-sm); }
.kap-band .kf-btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 768px) { .kap-band { grid-template-columns: auto 1fr auto; } .kap-band .kf-btn { grid-column: auto; } }

/* ── Texte long (pages légales, articles) ──────────────────────── */
.kf-prose { max-width: 72ch; color: var(--kf-text); font-size: var(--kf-text-md); line-height: 1.75; }
.kf-prose > * + * { margin-top: 1.1em; }
.kf-prose h2 { font: 700 1.6rem/1.25 var(--kf-font-display); color: var(--kf-text-strong); margin-top: 2em; letter-spacing: -0.02em; }
.kf-prose h3 { font: 700 1.25rem/1.3 var(--kf-font-display); color: var(--kf-text-strong); margin-top: 1.6em; }
.kf-prose ul, .kf-prose ol { padding-left: 1.4em; }
.kf-prose li + li { margin-top: 0.4em; }
.kf-prose a { color: var(--kf-link); text-decoration: underline; text-underline-offset: 3px; }
.kf-prose img { border-radius: var(--kf-radius-lg); margin: 1.5em 0; }
.kf-prose blockquote { margin: 1.5em 0; padding: 0.5em 0 0.5em 1.2em; border-left: 3px solid var(--kf-brand); color: var(--kf-text-muted); font-style: italic; }
.kf-prose table { width: 100%; border-collapse: collapse; font-size: var(--kf-text-sm); }
.kf-prose th, .kf-prose td { border: 1px solid var(--kf-border); padding: 0.5rem 0.75rem; text-align: left; }
.kf-prose code { background: var(--kf-surface-2); padding: 0.1em 0.35em; border-radius: 5px; font-size: 0.9em; }

/* ── Puces de filtre (réalisations, blog) ──────────────────────── */
.kf-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.kf-filter {
    display: inline-flex; align-items: center; gap: 0.35rem; min-height: 40px; padding: 0.45rem 0.95rem;
    border-radius: var(--kf-radius-pill); border: 1px solid var(--kf-border-strong); background: var(--kf-surface);
    font: 600 var(--kf-text-sm)/1 var(--kf-font-body); color: var(--kf-text); cursor: pointer; text-decoration: none;
    transition: background-color var(--kf-dur-fast) ease, border-color var(--kf-dur-fast) ease, color var(--kf-dur-fast) ease;
}
.kf-filter:hover { border-color: var(--kf-brand); color: var(--kf-brand-text); }
.kf-filter[aria-pressed="true"], .kf-filter[aria-current="page"] { background: var(--kf-brand); border-color: var(--kf-brand); color: #fff; }
.kf-filter small { font-weight: 500; opacity: 0.8; }

/* ── Tableau comparatif (tarifs) ───────────────────────────────── */
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--kf-surface); border: 1px solid var(--kf-border); border-radius: var(--kf-radius-xl); overflow: hidden; font-size: var(--kf-text-sm); }
.compare-table th, .compare-table td { padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--kf-border); text-align: center; vertical-align: middle; }
.compare-table thead th { background: var(--kf-surface-2); font: 700 1rem/1.3 var(--kf-font-display); color: var(--kf-text-strong); }
.compare-table thead th.is-featured { background: var(--kf-brand); color: #fff; }
.compare-table thead th small { display: block; font: 500 var(--kf-text-xs)/1.3 var(--kf-font-body); opacity: 0.85; margin-top: 0.2rem; }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--kf-text-strong); width: 34%; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table td.is-featured { background: color-mix(in srgb, var(--kf-brand) 6%, transparent); }
.compare-table .yes { color: var(--kf-success); font-size: 1.3rem; }
[data-theme="dark"] .compare-table .yes { color: #5FD3A6; }
.compare-table .no { color: var(--kf-text-muted); }
/* Sur mobile, le tableau laisse place à une carte par formule (mêmes données) */
.compare-cards { display: none; }
@media (max-width: 767px) {
    .compare-table-wrap { display: none; }
    .compare-cards { display: grid; gap: 1rem; }
}
.compare-card { background: var(--kf-surface); border: 1px solid var(--kf-border); border-radius: var(--kf-radius-xl); overflow: hidden; }
.compare-card h3 { padding: 1rem 1.25rem; background: var(--kf-surface-2); font-size: 1.15rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.compare-card h3 span { font: 600 var(--kf-text-sm)/1 var(--kf-font-body); }
.compare-card.is-featured h3 { background: var(--kf-brand); color: #fff; }
.compare-card dl { margin: 0; }
.compare-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; border-top: 1px solid var(--kf-border); font-size: var(--kf-text-sm); }
.compare-card dt { color: var(--kf-text-muted); }
.compare-card dd { margin: 0; font-weight: 650; color: var(--kf-text-strong); text-align: right; }
.compare-card .yes { color: var(--kf-success); }
[data-theme="dark"] .compare-card .yes { color: #5FD3A6; }

/* ── Cartes à icône, listes cochées, colonnes texte + visuel ───── */
.feature-card h3 { margin: 1rem 0 0.4rem; }
.feature-card p { color: var(--kf-text-muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.55rem; align-items: flex-start; }
.check-list i { color: var(--kf-success); font-size: 1.15rem; margin-top: 0.1rem; flex-shrink: 0; }
[data-theme="dark"] .check-list i { color: #5FD3A6; }
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split--reverse > :first-child { order: 2; } }
.split__media img { border-radius: var(--kf-radius-xl); box-shadow: var(--kf-shadow-lg); }
.split h2 { margin: 0.75rem 0 1rem; }
.split p + .check-list, .split p + p { margin-top: 1rem; }
.split .kf-cluster { margin-top: 1.75rem; }

/* ── Offres : bouton de détail et fenêtre large ────────────────── */
.offer__details { align-self: center; margin-top: -0.25rem; }
.kf-modal--wide { width: min(720px, calc(100vw - 2rem)); }
.kf-modal--wide .kf-modal__body { max-height: 60vh; overflow-y: auto; }

/* ── Modules à la carte (tarifs) ───────────────────────────────── */
.modules { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.modules__group h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.modules__group h3 i { color: var(--kf-brand-text); }
.modules__group ul { list-style: none; margin: 0; padding: 0; }
.modules__group li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: 0.7rem 0; border-top: 1px solid var(--kf-border); font-size: var(--kf-text-sm); }
.modules__name { color: var(--kf-text-strong); font-weight: 600; }
.modules__price { text-align: right; color: var(--kf-text-muted); white-space: nowrap; }
.modules__price strong { color: var(--kf-text-strong); }
.modules__price small { display: block; font-size: var(--kf-text-xs); }

/* ── Modèles de sites (démos) ──────────────────────────────────── */
.demo-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.demo-card { border-radius: var(--kf-radius-lg); overflow: hidden; background: var(--kf-surface); border: 1px solid var(--kf-border); transition: transform var(--kf-dur) var(--kf-ease), box-shadow var(--kf-dur) var(--kf-ease); }
.demo-card:hover { transform: translateY(-3px); box-shadow: var(--kf-shadow-md); }
.demo-card[hidden] { display: none; }
.demo-card__link { display: block; text-decoration: none; color: inherit; }
.demo-card__media { display: block; aspect-ratio: 16 / 10; background: var(--kf-surface-2); overflow: hidden; }
.demo-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo-card__body { display: grid; gap: 0.45rem; padding: 0.9rem 1rem 1rem; }
.demo-card__body .kf-badge { justify-self: start; }
.demo-card__body strong { font: 650 1rem/1.3 var(--kf-font-display); color: var(--kf-text-strong); }
.demo-card__body .kf-link-arrow { font-size: var(--kf-text-sm); }

/* À propos : citation et cartes de services cliquables */
.about-quote { margin: 0; padding: 2rem; position: relative; }
.about-quote > i { font-size: 2.5rem; color: var(--kf-brand-text); opacity: 0.35; }
.about-quote blockquote { margin: 0.5rem 0 1.25rem; font: 600 1.25rem/1.5 var(--kf-font-display); color: var(--kf-text-strong); }
.about-quote figcaption { color: var(--kf-text-muted); font-size: var(--kf-text-sm); }
.about-quote figcaption strong { display: block; color: var(--kf-text-strong); }
.about-service { text-decoration: none; color: inherit; display: block; }
.about-service .kf-link-arrow { margin-top: 0.75rem; }

/* Critères d'éligibilité (Kap Numérik) */
.elig { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.elig li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; }
.elig i { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--kf-brand-soft); color: var(--kf-brand-text); font-size: 1.3rem; }
.elig strong { display: block; color: var(--kf-text-strong); font-family: var(--kf-font-display); font-size: 1.05rem; margin-bottom: 0.15rem; }
.elig span { color: var(--kf-text-muted); font-size: var(--kf-text-sm); }
/* Simulateur posé dans un hero clair : ombre plus discrète */
.kf-hero:not(.kf-hero--dark) .kap-sim { box-shadow: var(--kf-shadow-lg); border: 1px solid var(--kf-border); }

/* Étapes en 4 colonnes (méthode automatisation) */
@media (min-width: 900px) { .steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps--4 .step::before { font-size: 2rem; } }

/* Flux d'automatisation dans un hero sombre */
.auto-hero__visual { display: grid; place-items: center; padding: 1.5rem; border-radius: var(--kf-radius-2xl); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.flow--hero { width: min(360px, 100%); }

/* Nuage d'outils connectés */
.tool-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.tool-cloud li { padding: 0.6rem 1rem; border-radius: var(--kf-radius-pill); background: var(--kf-surface); border: 1px solid var(--kf-border); font-weight: 600; font-size: var(--kf-text-sm); color: var(--kf-text-strong); box-shadow: var(--kf-shadow-xs); }

/* ── Présentation d'un site : navigateur + téléphone (fiche projet) ── */
.showcase { position: relative; margin: 0; padding: 0 6% 2rem 0; }
.showcase__browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--kf-shadow-lg); border: 1px solid var(--kf-border); }
.showcase__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F1EFF5; border-bottom: 1px solid #E2DEEA; }
.showcase__bar span { width: 10px; height: 10px; border-radius: 50%; background: #DCD8E4; }
.showcase__bar span:first-child { background: #F2734F; }
.showcase__url { margin-left: 8px; flex: 1; max-width: 240px; height: 20px; border-radius: 999px; background: #fff; display: flex; align-items: center; gap: 4px; padding: 0 10px; font: 500 11px/1 var(--kf-font-body); color: #625C77; }
.showcase__url i { color: #11845B; }
.showcase__browser img { width: 100%; height: auto; display: block; }
.showcase__phone { position: absolute; right: 0; bottom: 0; width: 26%; aspect-ratio: 9 / 19.5; padding: 5px; border-radius: 22px; background: #0B0818; overflow: hidden; box-shadow: var(--kf-shadow-lg); }
.showcase__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }

/* ── Fiche projet ──────────────────────────────────────────────── */
.case { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .case { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; } .case__facts { position: sticky; top: calc(var(--kf-header-h) + 1.5rem); } }
.case__body h2:first-child { margin-top: 0; }
.case__facts dl { margin: 0 0 1.25rem; }
.case__facts dl > div { padding: 0.75rem 0; border-bottom: 1px solid var(--kf-border); }
.case__facts dt { font-size: var(--kf-text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--kf-text-muted); font-weight: 650; }
.case__facts dd { margin: 0.2rem 0 0; color: var(--kf-text-strong); font-weight: 600; }

/* Réalisations clientes mises en avant (2 colonnes larges) */
.work--featured { grid-template-columns: 1fr; }
@media (min-width: 900px) { .work--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Petit flux d'automatisation animé */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; width: min(320px, 100%); }
.flow li {
    position: relative; display: flex; align-items: center; gap: 0.65rem;
    padding: 0.6rem 0.85rem; border-radius: 12px;
    background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E9E6F5; font: 600 var(--kf-text-sm)/1.2 var(--kf-font-body);
}
.flow li i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(155, 133, 245, 0.2); color: #C9B8FF; font-size: 1rem; }
.flow li + li::before { content: ''; position: absolute; left: 1.75rem; top: -0.65rem; width: 2px; height: 0.6rem; background: rgba(155, 133, 245, 0.55); }
.flow li.is-win { background: rgba(17, 132, 91, 0.2); border-color: rgba(95, 211, 166, 0.4); }
.flow li.is-win i { background: rgba(95, 211, 166, 0.2); color: #5FD3A6; }
@media (prefers-reduced-motion: no-preference) {
    .flow li { animation: kf-flow-step 6s ease-in-out infinite; }
    .flow li:nth-child(2) { animation-delay: 1.5s; }
    .flow li:nth-child(3) { animation-delay: 3s; }
    .flow li:nth-child(4) { animation-delay: 4.5s; }
}
@keyframes kf-flow-step {
    0%, 30%, 100% { box-shadow: none; transform: none; }
    10% { box-shadow: 0 0 0 3px rgba(155, 133, 245, 0.45); transform: translateX(4px); }
}
