/* =====================================================================================================
   Kisimax — design v2 « minimaliste + motion » (refonte du 26/10/2026)
   Chargé uniquement par les pages qui déclarent « theme: v2 » dans leur en-tête (voir scripts/lib/site.mjs).
   Tout est préfixé « k- » et limité à body.theme-v2 pour ne rien changer aux autres pages pendant la migration.
   Couleurs : charte Kisimax (branding/CHARTE_GRAPHIQUE.md). Jamais de texte blanc sur le vert.
   Animations : toutes coupées si l'utilisateur limite les animations ; sans JavaScript, tout reste visible.
   ===================================================================================================== */
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.theme-v2 {
  --k-font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font: var(--k-font); --mono: var(--k-font);
  --k-bg: #FAFBFC; --k-panel: #F1F4F7; --k-panel-2: #E9EEF2; --k-card: #FFFFFF;
  --k-ink: #0F1B2D; --k-muted: #4A5A66; --k-line: #E3E9EE;
  --k-navy: #0F2A4A; --k-green: #10B981; --k-green-2: #34D399; --k-green-ink: #067647; --k-green-soft: #E6F6EF;
  --k-orange: #B54708; --k-orange-soft: #FEF0C7; --k-red: #B42318; --k-red-soft: #FDE2E1; --k-ok: #067647; --k-ok-soft: #DCFAE6;
  --k-r-xl: 36px; --k-r-lg: 24px; --k-r-md: 16px; --k-pill: 999px;
  --k-shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 12px 32px -12px rgba(15, 27, 45, .14);
  --k-ease: cubic-bezier(.22, 1, .36, 1); --k-ease-io: cubic-bezier(.65, 0, .35, 1);
  --k-mono: var(--k-font);
  font-family: var(--k-font);
  background: var(--k-bg);
  color: var(--k-ink);
}
.theme-v2 button, .theme-v2 input, .theme-v2 select, .theme-v2 textarea { font-family: inherit; }
.k-price, .k-kpi b, .k-num { font-variant-numeric: tabular-nums; }
.theme-v2 main { overflow-x: clip; }
.k-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ------------------------------------------------------------------ En-tête (version épurée) */
.theme-v2 .site-header { background: color-mix(in srgb, var(--k-bg) 84%, transparent); border-bottom: 1px solid transparent; box-shadow: none; transition: border-color .3s; }
.theme-v2 .site-header.k-scrolled { border-bottom-color: var(--k-line); }
@media (min-width: 1000px) {
  .theme-v2 .nav li a { background: none; color: var(--k-muted); position: relative; }
  .theme-v2 .nav li a:hover { background: none; color: var(--k-ink); }
  .theme-v2 .nav li a[aria-current="page"] { background: none; color: var(--k-ink); }
}

/* ------------------------------------------------------------------ Boutons */
.k-btn { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: var(--k-pill); font-weight: 550; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1px solid transparent; transition: transform .35s var(--k-ease), background-color .25s, box-shadow .35s var(--k-ease); }
.k-btn-green { background: var(--k-green); color: var(--k-ink); box-shadow: 0 10px 24px -10px rgba(16, 185, 129, .7); }
.k-btn-green:hover { background: var(--k-green-2); color: var(--k-ink); }
.k-btn-dark { background: var(--k-ink); color: #fff; }
.k-btn-dark:hover { color: #fff; }
.k-btn-white { background: #fff; color: var(--k-ink); border-color: var(--k-line); }
.k-btn .k-arr { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 27, 45, .12); transition: transform .4s var(--k-ease); }
.k-btn-dark .k-arr { background: rgba(255, 255, 255, .16); }
.k-btn:hover .k-arr { transform: rotate(-45deg); }
.k-arr svg { width: 14px; height: 14px; }
.k-link { color: var(--k-ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ------------------------------------------------------------------ Héros */
.k-hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.k-grid-lines { position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), var(--k-line) calc(8.333% - 1px) 8.333%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.k-tick { position: absolute; width: 2px; border-radius: 2px; pointer-events: none; }
.k-tick-1 { left: 14%; top: 44%; height: 28px; background: var(--k-navy); }
.k-tick-2 { left: 22%; top: 66%; height: 40px; background: var(--k-green); }
.k-tick-3 { right: 16%; top: 30%; height: 22px; background: var(--k-green); }
.k-tick-4 { right: 28%; top: 62%; height: 18px; background: var(--k-navy); }
.k-hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.k-kicker { font-family: var(--k-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--k-muted); margin: 0; }
.k-kicker::before { content: ""; display: inline-block; vertical-align: .1em; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--k-green); box-shadow: 0 0 0 4px var(--k-green-soft); }
.theme-v2 .k-title { max-width: 100%; margin: 22px 0 0; font-weight: 500; letter-spacing: -.055em; line-height: .96; color: var(--k-ink); text-transform: none; }
.k-title .k-l1, .k-title .k-l3 { display: block; font-size: clamp(30px, 4.6vw, 56px); letter-spacing: -.035em; }
.k-title .k-l2 { display: flex; align-items: center; justify-content: center; font-size: clamp(54px, 11.5vw, 150px); letter-spacing: -.06em; line-height: 1; margin: .02em 0 .06em; }
.k-title .k-l3 { color: var(--k-muted); font-weight: 500; }
.k-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.k-word > span { display: inline-block; }
.k-motion .k-word > span { transform: translateY(105%); transition: transform 1s var(--k-ease); }
.k-motion .k-ready .k-word > span { transform: none; }
.k-motion .k-ready .k-l1 .k-word:nth-child(2) > span { transition-delay: .06s; }
.k-motion .k-ready .k-l2 .k-word > span { transition-delay: .12s; }
.k-motion .k-ready .k-l3 .k-word > span { transition-delay: .22s; }

/* Interrupteur dans « c◯mmande » : gris = désordre, vert = rangé */
.k-switch { font-size: inherit; padding: 0; position: relative; display: inline-block; flex: none; width: 1.02em; height: .54em; margin: 0 .03em; border: 0; border-radius: var(--k-pill); background: var(--k-panel-2); box-shadow: inset 0 2px 6px rgba(15, 27, 45, .12); cursor: pointer; vertical-align: middle; transition: background .6s var(--k-ease), box-shadow .6s var(--k-ease); }
.k-switch .k-knob { position: absolute; top: .05em; left: .05em; width: .44em; height: .44em; border-radius: 50%; background: #fff; box-shadow: 0 4px 10px rgba(15, 27, 45, .25), inset 0 -2px 4px rgba(15, 27, 45, .06); transition: transform .7s var(--k-ease); }
.k-switch[aria-checked="true"] { background: linear-gradient(90deg, var(--k-green-2), var(--k-green)); box-shadow: inset 0 2px 6px rgba(6, 118, 71, .35), 0 14px 30px -12px rgba(16, 185, 129, .8); }
.k-switch[aria-checked="true"] .k-knob { transform: translateX(.48em); }
.k-switch:focus-visible { outline: 3px solid var(--k-navy); outline-offset: 4px; }
.k-switch-hint { font-family: var(--k-mono); font-size: .75rem; color: var(--k-muted); margin: 8px 0 0; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 8px; align-items: center; }
.k-switch-hint b { color: var(--k-green-ink); font-weight: 600; }
.k-lead { max-width: 560px; margin: 26px auto 0; color: var(--k-muted); font-size: 1.125rem; }
.k-actions { margin-top: 30px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* Cartes flottantes (exemples fictifs) et flèches dessinées */
.k-float { position: absolute; background: var(--k-card); border: 1px solid var(--k-line); border-radius: var(--k-r-md); box-shadow: var(--k-shadow); padding: 14px 16px; font-size: .85rem; text-align: left; animation: k-bob 6s var(--k-ease-io) infinite; }
.k-float .k-t { font-size: .72rem; color: var(--k-muted); font-family: var(--k-mono); letter-spacing: .04em; text-transform: uppercase; }
.k-float .k-v { font-size: 1.375rem; font-weight: 550; letter-spacing: -.03em; margin-top: 2px; }
.k-float .k-v-sm { font-size: 1rem; margin: 4px 0 6px; }
.k-f1 { left: 0; top: 150px; animation-delay: -1s; }
.k-f2 { right: 0; top: 120px; animation-delay: -3s; }
.k-f3 { left: 1%; top: 480px; animation-delay: -4.5s; }
.k-curve { position: absolute; pointer-events: none; fill: none; stroke: var(--k-ink); stroke-width: 1.6; stroke-linecap: round; }
.k-curve path { stroke-dasharray: 180; stroke-dashoffset: 0; }
.k-motion .k-curve path { stroke-dashoffset: 180; transition: stroke-dashoffset 1.4s var(--k-ease) .9s; }
.k-motion .k-ready .k-curve path { stroke-dashoffset: 0; }
.k-cv1 { left: 9%; top: 250px; width: 90px; }
.k-cv2 { right: 12%; top: 40px; width: 110px; }
@keyframes k-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.k-chip { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border-radius: var(--k-pill); padding: 3px 10px; font-size: .75rem; font-weight: 650; }
.k-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.k-ok { background: var(--k-ok-soft); color: var(--k-ok); }
.k-warn { background: var(--k-orange-soft); color: var(--k-orange); }
.k-bad { background: var(--k-red-soft); color: var(--k-red); }

/* Badge rotatif */
.k-badge { position: absolute; right: 2%; bottom: 6px; width: 118px; height: 118px; display: grid; place-items: center; text-decoration: none; color: var(--k-ink); }
.k-badge .k-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: k-spin 18s linear infinite; }
.k-badge text { font-family: var(--k-mono); font-size: 11px; fill: var(--k-ink); text-transform: uppercase; }
.k-badge .k-mid { width: 44px; height: 44px; border-radius: 50%; background: var(--k-ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--k-ease); }
.k-badge .k-mid svg { width: 18px; height: 18px; }
.k-badge:hover .k-mid { transform: scale(1.12); }
@keyframes k-spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ Sections */
.k-section { padding: 56px 0; }
.k-panel { background: var(--k-panel); border-radius: var(--k-r-xl); padding: clamp(28px, 5vw, 64px); }
.k-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; margin-bottom: 36px; }
.k-head-tight { margin-bottom: 28px; }
.k-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-pill); padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--k-ink); }
.k-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--k-ink); }
.theme-v2 .k-h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -.05em; line-height: 1; font-weight: 500; max-width: 780px; margin: 0; color: var(--k-ink); text-transform: none; }
.k-soft { color: var(--k-muted); }
.k-head p { color: var(--k-muted); max-width: 560px; margin: 0; }
.k-motion [data-k-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--k-ease), transform .9s var(--k-ease); }
.k-motion [data-k-reveal].k-in { opacity: 1; transform: none; }
.k-motion .k-d1 { transition-delay: .1s; } .k-motion .k-d2 { transition-delay: .2s; } .k-motion .k-d3 { transition-delay: .35s; }
.k-motion .k-d5 { transition-delay: .5s; } .k-motion .k-d6 { transition-delay: .65s; }

/* ------------------------------------------------------------------ Avant / Après : le rangement */
.k-sort-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.k-seg { display: inline-flex; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-pill); padding: 4px; position: relative; }
.k-seg button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 650; padding: 8px 18px; border-radius: var(--k-pill); cursor: pointer; color: var(--k-muted); transition: color .4s; }
.k-seg button[aria-pressed="true"] { color: var(--k-ink); }
.k-seg .k-pill-bg { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--k-pill); background: var(--k-green-soft); border: 1px solid #bfe9d6; transition: transform .6s var(--k-ease); }
.k-seg.k-right .k-pill-bg { transform: translateX(100%); }
.k-note { font-family: var(--k-mono); font-size: .75rem; color: var(--k-muted); }

.k-stage { --cols: 64px 1.1fr 1.4fr 1.2fr 1fr; position: relative; height: 500px; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); overflow: hidden; }
.k-stage .k-thead, .k-stage .k-sum { position: absolute; left: 20px; right: 20px; opacity: 0; transition: opacity .6s var(--k-ease); }
.k-stage .k-thead { top: 18px; display: grid; grid-template-columns: var(--cols); gap: 12px; font-family: var(--k-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--k-muted); padding: 0 16px; }
.k-stage .k-sum { bottom: 18px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--k-line); padding: 14px 16px 0; font-size: .95rem; }
.k-stage .k-sum b { font-size: 1.375rem; letter-spacing: -.02em; }
.k-stage.k-ordered .k-thead, .k-stage.k-ordered .k-sum { opacity: 1; transition-delay: .55s; }
.k-item { --dl: 0s; position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: rotate(var(--rot)); min-height: 56px; border-radius: 18px 18px 18px 4px; background: var(--k-panel); border: 1px solid var(--k-line); padding: 12px 14px; box-shadow: 0 8px 20px -14px rgba(15, 27, 45, .4);
  transition: left .9s var(--k-ease) var(--dl), top .9s var(--k-ease) var(--dl), width .9s var(--k-ease) var(--dl), transform .9s var(--k-ease) var(--dl), border-radius .9s var(--k-ease) var(--dl), background-color .6s var(--dl), box-shadow .6s; }
.k-item.k-me { background: var(--k-green-soft); border-color: #c9eedc; }
.k-item .k-bubble { font-size: .875rem; line-height: 1.35; transition: opacity .35s var(--k-ease) calc(var(--dl) + .1s); }
.k-item .k-bubble small { display: block; font-family: var(--k-mono); font-size: .66rem; color: var(--k-muted); margin-bottom: 3px; }
.k-item .k-row { position: absolute; inset: 0; display: grid; grid-template-columns: var(--cols); gap: 12px; align-items: center; padding: 0 16px; font-size: .875rem; opacity: 0; transition: opacity .35s var(--k-ease); }
.k-item .k-num { font-family: var(--k-mono); font-size: .78rem; color: var(--k-muted); }
.k-item .k-art { color: var(--k-muted); }
.k-stage.k-ordered .k-item { left: 20px; top: calc(48px + var(--i) * 62px); width: calc(100% - 40px); transform: rotate(0deg); border-radius: 12px; background: #fff; box-shadow: none; }
.k-stage.k-ordered .k-item .k-bubble { opacity: 0; transition-delay: var(--dl); }
.k-stage.k-ordered .k-item .k-row { opacity: 1; transition-delay: calc(var(--dl) + .55s); }
.k-i1 { --x: 4%;  --y: 8%;  --w: 42%; --rot: -4deg;  --dl: 0s;   --i: 0; }
.k-i2 { --x: 52%; --y: 5%;  --w: 36%; --rot: 3deg;   --dl: .08s; --i: 1; }
.k-i3 { --x: 10%; --y: 40%; --w: 32%; --rot: 2.5deg; --dl: .16s; --i: 2; }
.k-i4 { --x: 47%; --y: 36%; --w: 40%; --rot: -2deg;  --dl: .24s; --i: 3; }
.k-i5 { --x: 22%; --y: 70%; --w: 38%; --rot: -3deg;  --dl: .32s; --i: 4; }
.k-i6 { --x: 66%; --y: 68%; --w: 28%; --rot: 4deg;   --dl: .4s;  --i: 5; }

/* ------------------------------------------------------------------ Le parcours en pilules */
.k-flow { display: grid; grid-template-columns: 1fr 1fr auto 1fr 1fr; gap: 12px; align-items: stretch; }
.k-flow .k-p { border-radius: var(--k-pill); min-height: 104px; display: grid; place-items: center; font-size: clamp(18px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.04em; background: var(--k-panel); color: #6B7884; transition: background .6s var(--k-ease), color .6s var(--k-ease); }
.k-flow .k-p.k-on { background: var(--k-navy); color: #fff; }
.k-flow .k-p.k-on.k-last { background: linear-gradient(120deg, var(--k-green-2), var(--k-green)); color: var(--k-ink); }
.k-flow .k-arrow { border-radius: var(--k-pill); background: var(--k-ink); color: #fff; display: grid; place-items: center; padding: 0 34px; }
.k-flow .k-arrow svg { width: 46px; transition: transform .6s var(--k-ease); }
.k-flow:hover .k-arrow svg { transform: translateX(6px); }
.k-flow-cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--k-muted); font-size: .95rem; flex-wrap: wrap; }

/* ------------------------------------------------------------------ L'escalier des offres */
.k-stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.k-offer { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--k-ease), box-shadow .5s var(--k-ease); }
.k-offer:hover { transform: translateY(-6px); box-shadow: var(--k-shadow); }
.k-h-1 { min-height: 300px; } .k-h-2 { min-height: 340px; } .k-h-3 { min-height: 380px; } .k-h-4 { min-height: 420px; }
.k-offer .k-lvl { font-family: var(--k-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--k-muted); }
.theme-v2 .k-offer h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.2; margin: 0; color: inherit; text-transform: none; font-weight: 550; }
.k-offer p { color: var(--k-muted); font-size: .95rem; margin: 0; }
.k-offer .k-price { margin-top: auto; font-size: 2.1rem; font-weight: 500; letter-spacing: -.04em; }
.k-offer .k-price small { font-size: .875rem; font-weight: 600; color: var(--k-muted); letter-spacing: 0; }
.k-offer a { color: inherit; font-weight: 650; font-size: .95rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.k-offer a span { transition: transform .35s var(--k-ease); }
.k-offer a:hover span { transform: translateX(4px); }
.k-offer.k-dark { background: var(--k-navy); border-color: var(--k-navy); color: #fff; }
.k-offer.k-dark p, .k-offer.k-dark .k-lvl, .k-offer.k-dark .k-price small { color: #C9D6E4; }
.k-offer .k-new { align-self: flex-start; background: var(--k-green); color: var(--k-ink); font-size: .75rem; font-weight: 700; border-radius: var(--k-pill); padding: 3px 10px; }
.k-motion .k-stairs .k-offer { transform: translateY(60px); opacity: 0; transition: transform 1s var(--k-ease), opacity .8s var(--k-ease), box-shadow .5s; }
.k-motion .k-stairs .k-offer:nth-child(2) { transition-delay: .12s; }
.k-motion .k-stairs .k-offer:nth-child(3) { transition-delay: .24s; }
.k-motion .k-stairs .k-offer:nth-child(4) { transition-delay: .36s; }
.k-motion .k-stairs.k-in .k-offer { transform: none; opacity: 1; }
.k-motion .k-stairs.k-in .k-offer:hover { transform: translateY(-6px); transition-delay: 0s; }
.k-stairs-foot { margin: 18px 0 0; text-align: center; color: var(--k-muted); font-size: .95rem; }

/* ------------------------------------------------------------------ Principes */
.k-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--k-line); padding-top: 32px; }
.k-trio .k-n { font-family: var(--k-mono); font-size: .75rem; color: var(--k-muted); }
.theme-v2 .k-trio h3 { font-size: 1.25rem; margin: 8px 0 6px; letter-spacing: -.03em; color: var(--k-ink); text-transform: none; font-weight: 550; }
.k-trio p { color: var(--k-muted); font-size: .97rem; margin: 0; }

/* ------------------------------------------------------------------ Appel final */
.k-final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; background: #fff; border: 1px solid var(--k-line); }
.k-final .k-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--k-panel); display: grid; place-items: center; }
.k-final .k-icon svg { width: 34px; height: 34px; }
.k-final p { color: var(--k-muted); max-width: 520px; margin: 0; }
.k-final .k-acts { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------ Téléphone et tablette */
@media (max-width: 900px) {
  .k-float, .k-curve, .k-tick { display: none; }
  .k-hero { padding-top: 44px; }
  .k-kicker { font-size: .7rem; letter-spacing: .08em; }
  .k-badge { position: relative; right: auto; bottom: auto; margin: 28px auto 0; width: 104px; height: 104px; }
  .k-stage { --cols: 52px 1fr auto; height: 580px; }
  .k-stage .k-thead span:nth-child(3), .k-stage .k-thead span:nth-child(4), .k-item .k-art, .k-item .k-pay { display: none; }
  .k-stage.k-ordered .k-item { top: calc(48px + var(--i) * 70px); min-height: 60px; }
  .k-i1 { --x: 5%;  --y: 4%;  --w: 78%; } .k-i2 { --x: 18%; --y: 19%; --w: 76%; } .k-i3 { --x: 4%;  --y: 35%; --w: 70%; }
  .k-i4 { --x: 22%; --y: 51%; --w: 74%; } .k-i5 { --x: 6%;  --y: 67%; --w: 72%; } .k-i6 { --x: 30%; --y: 83%; --w: 62%; }
  .k-flow { grid-template-columns: 1fr 1fr; }
  .k-flow .k-arrow { grid-column: 1 / -1; min-height: 64px; order: 2; }
  .k-flow .k-p:nth-child(4), .k-flow .k-p:nth-child(5) { order: 3; }
  .k-flow .k-p { min-height: 80px; }
  .k-stairs { grid-template-columns: 1fr 1fr; }
  .k-h-1, .k-h-2, .k-h-3, .k-h-4 { min-height: 0; }
  .k-trio { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .k-stairs { grid-template-columns: 1fr; }
  .k-lead { font-size: 1.03rem; }
}

/* ------------------------------------------------------------------ Animations réduites */
@media (prefers-reduced-motion: reduce) {
  .theme-v2 *, .theme-v2 *::before, .theme-v2 *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================================================
   PASSERELLE : composants des pages existantes (kit, installation, FAQ, contact, questionnaire, cadeau, pages légales…)
   restylés en v2 sans changer leur HTML — titres pleins en minuscules, panneaux gris arrondis, cartes blanches fines,
   étiquettes en pilule, aucune grille ni halo lumineux.
   ===================================================================================================== */
.theme-v2 .fx-grid, .theme-v2 .fx-halo, .theme-v2 .fx-reticle, .theme-v2 .fx-wave, .theme-v2 .page-head::after { display: none; }

/* Titres */
.theme-v2 main h1, .theme-v2 main h2 { color: var(--k-ink); }
.theme-v2 .display, .theme-v2 .display-2, .theme-v2 .display-3, .theme-v2 .page-head h1 {
  font-weight: 500; text-transform: none; letter-spacing: -.05em; line-height: 1; color: var(--k-ink);
}
.theme-v2 .display, .theme-v2 .page-head h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); }
.theme-v2 .display-2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.theme-v2 .hero-grid .display-2 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); }
.theme-v2 .display-3 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.theme-v2 .hl, .theme-v2 .display .hl, .theme-v2 .display-2 .hl,
.theme-v2 .outline { color: var(--k-muted); background: none; -webkit-text-fill-color: var(--k-muted); -webkit-text-stroke: 0; }
.theme-v2 .cta-band .display-2, .theme-v2 .cta-band .display-3, .theme-v2 .cta-band h2 { color: #fff; }
.theme-v2 .cta-band .hl, .theme-v2 .cta-band .outline { color: #C9D6E4; -webkit-text-fill-color: #C9D6E4; }

/* Étiquettes : pilule blanche (« 01 · Le problème ») */
.theme-v2 .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; width: auto; max-width: 100%;
  font-family: inherit; font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.3;
  color: var(--k-ink); background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-pill); padding: 6px 14px; margin: 0 0 18px;
}
.theme-v2 .eyebrow::before { width: 6px; height: 6px; border-radius: 50%; margin: 0; background: var(--k-ink); box-shadow: none; vertical-align: 0; flex: none; }
.theme-v2 .eyebrow .idx { color: var(--k-muted); }
.theme-v2 .eyebrow .idx::after { content: " ·"; color: var(--k-muted); }
.theme-v2 .cta-band .eyebrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.theme-v2 .cta-band .eyebrow::before { background: var(--k-green); }
.theme-v2 .mono-label { font-family: var(--k-mono); color: var(--k-muted); letter-spacing: .08em; }
.theme-v2 .lead, .theme-v2 .section-intro, .theme-v2 .section-head .section-aside { color: var(--k-muted); }

/* En-têtes de page : grille verticale fine, comme l'accueil */
.theme-v2 .page-head { border-bottom: 0; padding: 72px 0 40px; }
.theme-v2 .page-head::before {
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), var(--k-line) calc(8.333% - 1px) 8.333%);
  background-size: auto; opacity: .7;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.theme-v2 .hero { padding: 56px 0 56px; }
.theme-v2 .hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(8.333% - 1px), var(--k-line) calc(8.333% - 1px) 8.333%);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent);
}
.theme-v2 .hero-facts li { background: #fff; border: 1px solid var(--k-line); box-shadow: none; }
.theme-v2 .hero-media img { box-shadow: var(--k-shadow); border-color: var(--k-line); border-radius: var(--k-r-lg); }

/* Sections : les sections « alt » deviennent de grands panneaux gris arrondis */
.theme-v2 .section { padding: 56px 0; }
@media (min-width: 900px) { .theme-v2 .section { padding: 80px 0; } }
.theme-v2 .section-alt { background: none; border: 0; }
.theme-v2 .section-alt > .container { background: var(--k-panel); border-radius: var(--k-r-xl); padding: clamp(28px, 5vw, 64px); width: min(1180px, 100% - 32px); max-width: none; }
.theme-v2 .section-alt > .container.narrow { width: min(820px, 100% - 32px); }

/* Cartes, tuiles, notes, tableaux */
.theme-v2 .card, .theme-v2 .facts > div, .theme-v2 .note, .theme-v2 .panel, .theme-v2 .table-scroll, .theme-v2 .install-steps li {
  background: #fff; border: 1px solid var(--k-line); box-shadow: none; border-radius: var(--k-r-lg);
}
.theme-v2 .card { transition: transform .5s var(--k-ease), box-shadow .5s var(--k-ease); }
@media (hover: hover) { .theme-v2 .card:hover { transform: translateY(-6px); box-shadow: var(--k-shadow); border-color: var(--k-line); } }
.theme-v2 .pains .card::before { display: none; }
.theme-v2 .card-index { color: var(--k-muted); letter-spacing: .08em; }
.theme-v2 .icon-tile { background: var(--k-panel); color: var(--k-ink); box-shadow: none; border-radius: 14px; }
.theme-v2 .icon-tile.is-emerald { background: var(--k-green-soft); color: var(--k-green-ink); box-shadow: none; }
.theme-v2 .icon-tile.is-light { background: var(--k-panel); color: var(--k-ink); }
.theme-v2 .note { border-left: 3px solid var(--k-ink); border-radius: var(--k-r-md); }
.theme-v2 .note-info { background: #fff; border-left-color: var(--k-green); }
.theme-v2 .facts > div:nth-child(4) { background: var(--k-navy); border-color: var(--k-navy); box-shadow: none; }
.theme-v2 .compare thead th { background: var(--k-ink); }
.theme-v2 .compare tbody tr:hover td, .theme-v2 .compare tbody tr:hover th { background: var(--k-panel); }
.theme-v2 .install-steps::before { background: var(--k-line); }
.theme-v2 .install-steps li::before { box-shadow: none; }
.theme-v2 .checks li::before { box-shadow: none; }

/* Formules et prix */
.theme-v2 .price-card { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: none; transition: transform .5s var(--k-ease), box-shadow .5s var(--k-ease); }
@media (hover: hover) { .theme-v2 .price-card:hover { transform: translateY(-6px); box-shadow: var(--k-shadow); } }
.theme-v2 .price-card.is-featured { background: var(--k-navy); border-color: var(--k-navy); box-shadow: 0 30px 60px -30px rgba(15, 42, 74, .6); }
.theme-v2 .price-card h3 { font-family: var(--k-mono); letter-spacing: .1em; color: var(--k-muted); }
.theme-v2 .price-card.is-featured h3 { color: #C9D6E4; }
.theme-v2 .price-amount .amount { font-weight: 500; letter-spacing: -.05em; font-size: 3.6rem; }
.theme-v2 .price-flag { background: var(--k-green); color: var(--k-ink); border-radius: var(--k-pill); box-shadow: none; }

/* Boutons : pilules, verte pour l'action principale */
.theme-v2 .btn { border-radius: var(--k-pill); font-weight: 550; box-shadow: none; transition: transform .35s var(--k-ease), background-color .25s, box-shadow .35s var(--k-ease), border-color .25s; }
.theme-v2 .btn-primary { background: var(--k-green); color: var(--k-ink); box-shadow: 0 10px 24px -10px rgba(16, 185, 129, .7); }
.theme-v2 .btn-primary:hover { background: var(--k-green-2); color: var(--k-ink); }
.theme-v2 .btn-secondary, .theme-v2 .btn-dark { background: var(--k-ink); color: #fff; }
.theme-v2 .btn-ghost { background: #fff; color: var(--k-ink); border-color: var(--k-line); }
.theme-v2 .btn-ghost:hover { border-color: var(--k-ink); }
.theme-v2 .btn .ico { transition: transform .4s var(--k-ease); }
.theme-v2 .btn:hover .ico { transform: rotate(-45deg); }

/* Bandeau d'appel final : panneau bleu marine arrondi, sans grille */
.theme-v2 .cta-band { width: min(1180px, 100% - 32px); margin: 24px auto; border-radius: var(--k-r-xl); background: var(--k-navy); }
.theme-v2 .cta-band::before { display: none; }

/* FAQ : lignes fines plutôt que cartes */
.theme-v2 .faq details { background: none; border: 0; border-bottom: 1px solid var(--k-line); border-radius: 0; box-shadow: none; margin: 0; }
.theme-v2 .faq details[open] { border-color: var(--k-line); box-shadow: none; }
.theme-v2 .faq summary { padding: 20px 56px 20px 0; color: var(--k-ink); font-size: 1.05rem; }
.theme-v2 .faq summary::after { right: 0; background: var(--k-panel); color: var(--k-ink); transition: transform .4s var(--k-ease), background-color .3s; }
.theme-v2 .faq details[open] summary::after { background: var(--k-green); color: var(--k-ink); }
.theme-v2 .faq details > p { padding: 0 0 20px; color: var(--k-muted); }

/* Formulaires */
.theme-v2 .field input, .theme-v2 .field select, .theme-v2 .field textarea { border: 1px solid var(--k-line); border-radius: 14px; background: #fff; }
.theme-v2 .field input:focus, .theme-v2 .field select:focus, .theme-v2 .field textarea:focus { border-color: var(--k-ink); box-shadow: 0 0 0 4px rgba(15, 27, 45, .08); }
.theme-v2 .choice { border-radius: 14px; }
.theme-v2 .card-dark h2, .theme-v2 .card-dark h3, .theme-v2 .side-card h2 { color: #fff; }
.theme-v2 .card-dark, .theme-v2 .side-card { background: var(--k-navy); border-color: var(--k-navy); box-shadow: none; border-radius: var(--k-r-lg); }

/* Apparition au défilement des pages existantes (gérée par main.js) : mouvement plus doux et plus long */
.theme-v2.js-reveal [data-reveal], .js-reveal .theme-v2 [data-reveal] { transition: opacity .9s var(--k-ease), transform .9s var(--k-ease); }

/* =====================================================================================================
   Page « Système de gestion Notion » et composants v2 réutilisables
   ===================================================================================================== */
.k-hero-page { padding-bottom: 24px; }
.theme-v2 .k-title-page .k-l1, .theme-v2 .k-title-page .k-l3 { font-size: clamp(40px, 7vw, 88px); letter-spacing: -.05em; }
.k-narrow { width: min(820px, 100% - 32px); }

/* Fenêtre d'application animée (maquette) */
.k-app { position: relative; width: 100%; max-width: 980px; margin-top: 48px; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: 0 40px 80px -40px rgba(15, 27, 45, .35); text-align: left; overflow: hidden; }
.k-app-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--k-line); font-size: .8rem; color: var(--k-muted); }
.k-app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--k-panel-2); }
.k-app-bar span { margin-left: 10px; font-family: var(--k-mono); }
.k-app-body { display: grid; grid-template-columns: 190px 1fr; min-height: 300px; }
.k-app-side { list-style: none; margin: 0; padding: 16px 10px; border-right: 1px solid var(--k-line); background: var(--k-bg); font-size: .9rem; }
.k-app-side li { padding: 8px 12px; border-radius: 10px; color: var(--k-muted); transition: background-color .5s var(--k-ease), color .5s; }
.k-app-side li.k-active { background: var(--k-green-soft); color: var(--k-ink); font-weight: 650; }
.k-app-main { padding: 18px; display: grid; gap: 16px; align-content: start; }
.k-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.k-kpi { border: 1px solid var(--k-line); border-radius: var(--k-r-md); padding: 14px; }
.k-kpi > span { display: block; font-size: .78rem; color: var(--k-muted); }
.k-kpi b { font-size: 1.35rem; letter-spacing: -.02em; }
.k-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.k-col { background: var(--k-bg); border-radius: var(--k-r-md); padding: 10px; display: grid; gap: 8px; align-content: start; }
.k-col p { margin: 0 0 2px; font-family: var(--k-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--k-muted); }
.k-tile { background: #fff; border: 1px solid var(--k-line); border-radius: 10px; padding: 9px 10px; font-size: .84rem; }
.k-tile-ok { border-left: 3px solid var(--k-green); }
.k-motion .k-app.k-in .k-tile { animation: k-pop .7s var(--k-ease) both; }
.k-motion .k-app.k-in .k-col:nth-child(2) .k-tile { animation-delay: .25s; }
.k-motion .k-app.k-in .k-col:nth-child(3) .k-tile { animation-delay: .45s; }
@keyframes k-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.k-app-note { position: absolute; right: 14px; bottom: 10px; margin: 0; font-family: var(--k-mono); font-size: .7rem; color: var(--k-muted); }

/* Grille de 6 cartes */
.k-cards6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.k-mini { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); padding: 24px; transition: transform .5s var(--k-ease), box-shadow .5s var(--k-ease); }
.k-mini:hover { transform: translateY(-6px); box-shadow: var(--k-shadow); }
.k-mini .k-n { font-family: var(--k-mono); font-size: .75rem; color: var(--k-muted); }
.theme-v2 .k-mini h3 { font-size: 1.25rem; margin: 10px 0 6px; letter-spacing: -.02em; color: var(--k-ink); text-transform: none; }
.k-mini p { margin: 0; color: var(--k-muted); font-size: .95rem; }

/* Tableau comparatif dans un panneau */
.theme-v2 .k-compare { min-width: 560px; }
.theme-v2 .k-compare thead th:last-child { color: var(--k-green-2); }

/* Étapes numérotées en grille */
.k-steps { list-style: none; margin: 0; padding: 0; counter-reset: k; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.k-steps li { counter-increment: k; position: relative; background: var(--k-panel); border-radius: var(--k-r-lg); padding: 64px 24px 24px; display: grid; gap: 6px; }
.k-steps li::before { content: counter(k, decimal-leading-zero); position: absolute; left: 24px; top: 20px; width: 34px; height: 34px; border-radius: 50%; background: var(--k-ink); color: #fff; display: grid; place-items: center; font-family: var(--k-mono); font-size: .75rem; }
.k-steps li:first-child::before { background: var(--k-green); color: var(--k-ink); }
.k-steps b { font-size: 1.15rem; letter-spacing: -.01em; }
.k-steps span { color: var(--k-muted); font-size: .95rem; }

/* Deux offres côte à côte */
.k-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.k-duo .k-offer { min-height: 320px; }
.k-duo-3 { grid-template-columns: repeat(3, 1fr); max-width: 1180px; }
.k-offer .k-offer-note { font-size: .82rem; border-top: 1px dashed var(--k-line); padding-top: 10px; }
@media (max-width: 1100px) { .k-duo-3 { grid-template-columns: 1fr 1fr; } .k-duo-3 > :first-child { grid-column: 1 / -1; } }
.k-legal-note { margin: 28px 0 0; font-size: .8rem; color: var(--k-muted); }

@media (max-width: 900px) {
  .k-app-body { grid-template-columns: 1fr; }
  .k-app-side { display: flex; gap: 6px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--k-line); padding: 10px; white-space: nowrap; }
  .k-kpis, .k-board { grid-template-columns: 1fr; }
  .k-board .k-col:nth-child(n + 2) { display: none; }
  .k-cards6, .k-steps { grid-template-columns: 1fr 1fr; }
  .k-duo, .k-duo-3 { grid-template-columns: 1fr; }
  .k-duo-3 > :first-child { grid-column: auto; }
}
@media (max-width: 560px) {
  .k-cards6, .k-steps { grid-template-columns: 1fr; }
}

/* =====================================================================================================
   Héros des pages Kit et Installation (v2) : titre centré, puis visuel encadré avec cartes flottantes
   ===================================================================================================== */
.k-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.k-facts li { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-pill); padding: 6px 14px; font-size: .85rem; color: var(--k-muted); }
.k-facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--k-green); margin-right: 8px; vertical-align: .15em; }
.k-small { margin: 16px auto 0; max-width: 620px; font-size: .9rem; color: var(--k-muted); }
.k-media { position: relative; width: 100%; max-width: 940px; margin: 44px auto 0; }
.k-media img { display: block; width: 100%; height: auto; border-radius: var(--k-r-lg); border: 1px solid var(--k-line); box-shadow: 0 40px 80px -40px rgba(15, 27, 45, .35); background: #fff; }
.k-media .k-float { display: block; }
.k-mf1 { left: -28px; top: 18%; animation-delay: -2s; }
.k-mf2 { right: -28px; bottom: 16%; animation-delay: -4s; }
.k-progress { position: absolute; right: -24px; top: 12%; width: 300px; background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-md); box-shadow: var(--k-shadow); padding: 18px 20px; text-align: left; animation: k-bob 6s var(--k-ease-io) infinite; }
.k-progress .k-t { font-family: var(--k-mono); font-size: .72rem; color: var(--k-muted); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 10px; }
.k-progress ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.k-progress li { position: relative; padding-left: 26px; color: var(--k-muted); transition: color .4s; }
.k-progress li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--k-line); background: #fff; transition: background-color .4s, border-color .4s; }
.k-progress li.k-done { color: var(--k-ink); }
.k-progress li.k-done::before { background: var(--k-green); border-color: var(--k-green); box-shadow: inset 0 0 0 3px #fff; }
.k-progress li.k-now { color: var(--k-ink); font-weight: 650; }
.k-progress li.k-now::before { border-color: var(--k-green); }
.k-bar { margin-top: 14px; height: 6px; border-radius: 6px; background: var(--k-panel-2); overflow: hidden; }
.k-bar span { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--k-green-2), var(--k-green)); border-radius: 6px; transition: width .6s var(--k-ease); }
/* Sans animation : trois premières étapes faites */
.k-progress li:nth-child(-n + 2) { color: var(--k-ink); }
@media (max-width: 1000px) {
  .k-mf1, .k-mf2 { display: none !important; }
  .k-progress { position: relative; right: auto; top: auto; width: auto; margin: -40px 16px 0; animation: none; }
}
.k-float .k-t, .k-float .k-v { display: block; }


/* ------------------------------------------------------------------ Pied de page v2 (carte sombre + grand mot en dégradé) */
.theme-v2 .k-footer { background: none; padding: 48px 0 12px; overflow: visible; font-size: .95rem; color: #C9D6E4; }
.theme-v2 .k-footer::before { display: none; }
.k-foot-card {
  position: relative; overflow: hidden; width: min(1280px, 100% - 24px); margin-inline: auto; border-radius: var(--k-r-xl);
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4.5vw, 64px) 0;
  background: radial-gradient(circle at 92% 0%, rgba(16, 185, 129, .20), rgba(16, 185, 129, 0) 42%), linear-gradient(180deg, #0F2A4A 0%, #0A1B30 100%);
}
.k-foot-top { display: grid; gap: 28px; align-items: end; padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.k-foot-intro img { height: 30px; width: auto; margin-bottom: 26px; }
.k-foot-statement { margin: 0; max-width: 760px; color: #fff; font-size: clamp(26px, 3.4vw, 44px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.k-foot-statement span { color: #8FA3B8; display: block; margin-top: 14px; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: -.01em; line-height: 1.45; max-width: 560px; }
.k-foot-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.k-foot-grid { display: grid; gap: 32px; padding-top: clamp(28px, 4vw, 44px); }
.k-footer .footer-title { font-family: var(--k-font); font-size: .8rem; font-weight: 500; letter-spacing: .02em; text-transform: none; color: #8FA3B8; margin: 0 0 14px; }
.k-footer ul { list-style: none; padding: 0; margin: 0; }
.k-footer li { margin-bottom: 9px; }
.k-footer a { color: #fff; text-decoration: none; transition: opacity .25s; }
.k-footer a:hover { color: #fff; opacity: .65; }
.k-footer .btn { color: inherit; }
.k-footer .btn-primary { color: var(--k-ink); }
.k-footer .btn:hover { opacity: 1; }
.k-footer p { color: #C9D6E4; }
.k-foot-legal { border-top: 0; margin-top: clamp(28px, 4vw, 44px); padding-top: 0; font-size: .82rem; color: #8FA3B8; max-width: 760px; }
.k-foot-legal p { margin: 0 0 6px; color: #8FA3B8; }
.k-foot-mark {
  margin: clamp(12px, 2.5vw, 36px) 0 0; padding: 0; text-align: center; white-space: nowrap; user-select: none;
  font-size: clamp(56px, 18.5vw, 280px); font-weight: 600; letter-spacing: -.065em; line-height: .8; text-transform: uppercase;
  color: transparent; background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .5) 42%, rgba(255, 255, 255, 0) 92%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.k-footer .k-foot-mark { color: transparent; }
@media (min-width: 900px) {
  .k-foot-top { grid-template-columns: 1.5fr 1fr; }
  .k-foot-acts { justify-content: flex-end; }
  .k-foot-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}


/* ------------------------------------------------------------------ Fond vidéo du héros (accueil) */
.k-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.k-bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Voile : centre très clair (titre lisible), bords laissés à la vidéo, bas fondu dans la page */
.k-bg-veil { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 64% at 50% 47%, rgba(250, 251, 252, .96) 0%, rgba(250, 251, 252, .88) 48%, rgba(250, 251, 252, 0) 100%),
    linear-gradient(180deg, rgba(250, 251, 252, .55) 0%, rgba(250, 251, 252, 0) 18%, rgba(250, 251, 252, 0) 72%, var(--k-bg) 100%); }
@media (max-width: 699px) { .k-bg-veil { background: linear-gradient(180deg, rgba(250, 251, 252, .78) 0%, rgba(250, 251, 252, .9) 55%, var(--k-bg) 100%); } }

/* Autres en-têtes (pages internes) : la vidéo remplace la grille ; voile plus couvrant car le texte est à gauche ou sur des cartes */
.theme-v2 .page-head::before { display: none; }
.theme-v2 .page-head > .container { position: relative; }
.theme-v2 .hero::before { display: none; }
.theme-v2 .hero { position: relative; overflow: hidden; }
.theme-v2 .hero > .container { position: relative; }
.k-hero-page .k-bg-veil, .page-head .k-bg-veil, .hero .k-bg-veil {
  background:
    radial-gradient(ellipse 80% 90% at 40% 45%, rgba(250, 251, 252, .97) 0%, rgba(250, 251, 252, .88) 55%, rgba(250, 251, 252, .4) 100%),
    linear-gradient(180deg, rgba(250, 251, 252, .5) 0%, rgba(250, 251, 252, 0) 20%, rgba(250, 251, 252, 0) 70%, var(--k-bg) 100%);
}
@media (max-width: 699px) { .k-hero-page .k-bg-veil, .page-head .k-bg-veil, .hero .k-bg-veil { background: linear-gradient(180deg, rgba(250, 251, 252, .8) 0%, rgba(250, 251, 252, .92) 60%, var(--k-bg) 100%); } }

/* Illustration détourée du Tableau gratuit : pas de cadre ni d'ombre de capture */
.k-media-gift { max-width: 560px; }
.k-media-gift img { border: 0; box-shadow: none; background: none; border-radius: 0; filter: drop-shadow(0 30px 40px rgba(15, 42, 74, .18)); }

/* ------------------------------------------------------------------ Pages internes (FAQ, contact, questionnaire, merci, espace client) */
.theme-v2 .k-title-sm .k-l1, .theme-v2 .k-title-sm .k-l3 { font-size: clamp(32px, 5.4vw, 64px); }
.theme-v2 .k-title-page .k-l1, .theme-v2 .k-title-page .k-l3 { display: block; }

/* Rubriques de la FAQ : numéro discret vert, titre léger */
.theme-v2 .faq-page h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 500; letter-spacing: -.04em; color: var(--k-ink); margin-top: 8px; }
.theme-v2 .faq-page h2::before { background: var(--k-green-soft); color: var(--k-green-ink); border-radius: var(--k-pill); padding: 5px 11px; font-family: var(--k-mono); }
.theme-v2 .faq-page .faq + h2 { margin-top: 56px; }

/* Contact : liste de coordonnées et formulaire en cartes claires */
.theme-v2 .contact-list { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: none; padding: 6px 24px; }
.theme-v2 .contact-list li { border-bottom-color: var(--k-line); }
.theme-v2 .contact-list strong { color: var(--k-muted); font-family: var(--k-mono); }
.theme-v2 .contact-grid h2, .theme-v2 .panel h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 500; letter-spacing: -.04em; color: var(--k-ink); }
.theme-v2 .panel { padding: clamp(22px, 3.4vw, 36px); }
.theme-v2 .field label { font-weight: 600; }
.theme-v2 .field-help { color: var(--k-muted); }
.theme-v2 .form-status.is-success { color: var(--k-green-ink); }

/* Questionnaire : chaque étape est une carte numérotée */
.theme-v2 .questionnaire fieldset { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: none; }
.theme-v2 .questionnaire legend { font-weight: 550; letter-spacing: -.03em; color: var(--k-ink); }
.theme-v2 .questionnaire legend::before { background: var(--k-green-soft); color: var(--k-green-ink); border-radius: var(--k-pill); padding: 4px 10px; }
.theme-v2 .choice { background: #fff; border-color: var(--k-line); }
.theme-v2 .choice:has(input:checked) { border-color: var(--k-green-ink); background: var(--k-green-soft); }
.theme-v2 .questionnaire-done { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: var(--k-shadow); }
.theme-v2 .questionnaire-done:focus { outline-color: var(--k-ink); }
.theme-v2 .summary-box { border-color: var(--k-line); border-radius: 14px; }
.theme-v2 .form-aside .side-card { border-radius: var(--k-r-lg); }

/* Étapes numérotées (page Merci) */
.theme-v2 .steps-list li::before { background: var(--k-ink); color: #fff; box-shadow: none; }
.theme-v2 .steps-list li:not(:last-child)::after { background: var(--k-line); }

/* Suivi d'installation (espace client et gestion) */
.theme-v2 .track-card { background: #fff; border: 1px solid var(--k-line); border-radius: var(--k-r-lg); box-shadow: none; }
.theme-v2 .progress { background: var(--k-panel-2); }
.theme-v2 .progress-fill { background: linear-gradient(90deg, var(--k-green), var(--k-green-2)); box-shadow: none; }
.theme-v2 .track-step { background: #fff; border-color: var(--k-line); border-radius: var(--k-r-md); }
.theme-v2 .track-step.is-en_cours { border-left-color: var(--k-green); }
.theme-v2 .track-step.is-fait { border-left-color: var(--k-ink); }
.theme-v2 .chip { background: var(--k-panel); border-color: var(--k-line); color: var(--k-ink); }
.theme-v2 .chip-en_cours, .theme-v2 .chip-status-en_cours, .theme-v2 .chip-status-planifiee { background: var(--k-green-soft); border-color: #bfe9d6; color: var(--k-green-ink); }
.theme-v2 .chip-fait, .theme-v2 .chip-status-terminee { background: var(--k-ok-soft); border-color: var(--k-ok-soft); color: var(--k-ok); }
.theme-v2 .chip-status-annulee { background: var(--k-red-soft); border-color: var(--k-red-soft); color: var(--k-red); }
