/* ==========================================================================
   Kit Devolim — charte commune des sites d'applications.
   Même langage visuel que devolim.fr : polices Pilcrow Rounded et Ronzino,
   blocs en relief (tranche épaisse + ombre profonde), boutons qui s'enfoncent,
   iPhone en CSS 3D, en-tête capsule en verre fumé, pied de page « écran d'accueil ».

   Source : 07_Sites_Devolim/_modele/kit/ (ne pas modifier la copie d'un site :
   modifier la source puis lancer _modele/sync-kit.sh).
   La couleur de l'app se règle dans le styles.css du site :
     :root { --app: #EA7B52; --app-2: #C9562F; }
   ========================================================================== */

@font-face { font-family: "Pilcrow Rounded"; src: url("/kit/fonts/PilcrowRounded-Variable.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Ronzino"; src: url("/kit/fonts/Ronzino-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ronzino"; src: url("/kit/fonts/Ronzino-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Ronzino"; src: url("/kit/fonts/Ronzino-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Couleur de l'app (surchargée par le styles.css du site). */
  --app: #2133F5;
  --app-2: color-mix(in oklab, var(--app) 72%, #000);
  /* Version foncée, lisible sur fond clair (titres, liens). */
  --app-ink: color-mix(in oklab, var(--app) 74%, #000);
  /* Tranche des blocs en couleur. */
  --app-edge: color-mix(in oklab, var(--app-2) 62%, #000);
  /* Mot mis en valeur dans le titre du haut de page (sur fond couleur). */
  --hero-hl: #FFC94A;

  /* Charte Devolim */
  --outremer: #2133F5;
  --nuit: #0A1033;
  --ambre: #FFB000;
  --glacier: #EEF1F6;
  --brume: #5B6483;
  --bg: var(--glacier);
  --fg: var(--nuit);
  --muted: var(--brume);
  --line: #D3D9E6;
  --orange: linear-gradient(170deg, #FFB43A 0%, #FF9500 55%, #FF8000 100%);
  --orange-edge: #D46400;

  --display: "Pilcrow Rounded", "Ronzino", ui-rounded, system-ui, sans-serif;
  --text: "Pilcrow Rounded", "Ronzino", ui-rounded, system-ui, sans-serif;
  --read: "Ronzino", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(18px, 4.5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --spring: cubic-bezier(.2, 1.4, .4, 1);
  --tabbar: 0px;
  --sec-gap: clamp(72px, 9vw, 120px);
  --title-gap: clamp(32px, 4.5vw, 56px);
  color-scheme: light;
}
/* Pas de mode sombre, comme devolim.fr : le fond reste clair. */
@media (max-width: 759px) { :root { --tabbar: calc(64px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 450 17px/1.55 var(--text); -webkit-font-smoothing: antialiased;
  padding-bottom: var(--tabbar); overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 750; line-height: 1.12; }
main { overflow-x: clip; display: block; }
section[id], [id].k-anchor { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.k-skip { position: fixed; z-index: 100; left: 16px; top: 16px; padding: 12px 18px; border-radius: 14px; background: #fff; color: var(--nuit); font: 800 15px/1 var(--display); text-decoration: none; box-shadow: 0 4px 0 #C9D1E6; transform: translateY(-200%); }
.k-skip:focus { transform: none; }
.k-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.k-narrow { max-width: 900px; margin-inline: auto; }
.k-lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; max-width: 40ch; }
.k-muted { color: var(--muted); }
.k-hl { color: var(--app-ink); }
.k-center { text-align: center; margin-inline: auto; }
.k-ico { width: 1em; height: 1em; flex: none; stroke-width: 1.9; }

/* ---------- Boutons en relief (ils s'enfoncent au toucher) ---------- */
.k-btn {
  --edge: var(--orange-edge);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 18px;
  font: 800 15px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  background: var(--orange); color: #fff; text-shadow: 0 1px 1px rgba(150, 60, 0, .35);
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .5), inset 0 -2px 0 rgba(0, 0, 0, .08), 0 4px 0 var(--edge), 0 16px 26px -14px rgba(230, 110, 0, .75);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .2s;
}
.k-btn:hover { filter: brightness(1.05) saturate(1.05); }
.k-btn:active { transform: translateY(3px); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .5), 0 1px 0 var(--edge), 0 6px 12px -8px rgba(230, 110, 0, .6); }
.k-btn svg { width: 18px; height: 18px; }
.k-btn.white { --edge: #C9D1E6; background: linear-gradient(180deg, #FFFFFF, #EEF1F8); color: var(--app-ink); text-shadow: none; box-shadow: inset 0 1.5px 0 #fff, 0 4px 0 var(--edge), 0 16px 26px -14px rgba(10, 16, 51, .5); }
.k-btn.white:active { box-shadow: 0 1px 0 var(--edge), 0 6px 12px -8px rgba(10, 16, 51, .4); }
.k-btn.app { --edge: var(--app-edge); background: linear-gradient(170deg, color-mix(in oklab, var(--app) 88%, #fff), var(--app) 55%, var(--app-2)); text-shadow: 0 1px 1px rgba(0, 0, 0, .25); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .35), 0 4px 0 var(--edge), 0 16px 26px -14px color-mix(in oklab, var(--app-2) 80%, transparent); }
.k-btn.small { min-height: 44px; padding: 0 18px; font-size: 13.5px; border-radius: 14px; }

/* Badges des stores : fond noir, logo, deux lignes. */
.k-stores { display: flex; flex-wrap: wrap; gap: 12px; }
.k-store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px 0 15px; border-radius: 16px;
  background: linear-gradient(180deg, #1B1E2B, #05060B); color: #fff; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 4px 0 #000, 0 16px 26px -14px rgba(0, 0, 0, .7);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.k-store:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 0 #000, 0 20px 30px -14px rgba(0, 0, 0, .75); }
.k-store:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 0 #000; }
.k-store svg { width: 26px; height: 26px; flex: none; }
.k-store span { display: grid; font: 750 18px/1.05 var(--display); letter-spacing: -0.01em; text-align: left; }
.k-store small { font: 600 11px/1.2 var(--display); letter-spacing: .02em; opacity: .85; }
.k-store.soon { opacity: .55; pointer-events: none; }

/* ---------- Icône en relief (tuile façon icône d'app) ---------- */
.k-tile {
  --a: color-mix(in oklab, var(--app) 80%, #fff); --b: var(--app-2); --s: 56px;
  --edge: color-mix(in oklab, var(--b) 70%, #000);
  position: relative; flex: none; display: inline-grid; place-items: center;
  width: var(--s); height: var(--s); border-radius: 23%; color: #fff;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%), linear-gradient(160deg, var(--a), var(--b));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), inset 0 -2px 0 rgba(0, 0, 0, .12), 0 calc(var(--s) * .07) 0 var(--edge), 0 calc(var(--s) * .22) calc(var(--s) * .3) calc(var(--s) * -.12) rgba(5, 8, 40, .55);
  transition: transform .5s var(--spring);
}
.k-tile svg { width: 52%; height: 52%; stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(0, 0, 20, .25)); }
.k-tile.light { --edge: #B9C2DA; color: var(--app-ink); background: radial-gradient(120% 80% at 30% 0%, #fff, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #FFFFFF, #E4E9F5); }
.k-tile.light svg { filter: none; }
.k-tile.orange { --a: #FFB43A; --b: #F06A00; }
a:hover > .k-tile, .k-tile:hover, li:hover > .k-tile { transform: rotate(-8deg) translateY(-4px) scale(1.08); }

/* Icône de l'app en relief */
.k-appicon { display: block; width: var(--s, 96px); aspect-ratio: 1; border-radius: 23%; overflow: hidden; flex: none; box-shadow: 0 calc(var(--s, 96px) * .06) 0 var(--app-edge), 0 calc(var(--s, 96px) * .26) calc(var(--s, 96px) * .36) calc(var(--s, 96px) * -.14) rgba(0, 0, 0, .55); }
.k-appicon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Blocs en relief ---------- */
.k-slab {
  box-shadow:
    0 2px 0 var(--edge, #C9D1E6), 0 4px 0 var(--edge, #C9D1E6), 0 6px 0 var(--edge, #C9D1E6), 0 8px 0 var(--edge, #C9D1E6),
    0 10px 0 color-mix(in oklab, var(--edge, #C9D1E6) 78%, #000),
    0 46px 70px -34px rgba(10, 16, 51, .55);
}
/* Petit bloc blanc, tranche teintée de la couleur de l'app. */
.k-w3 {
  --edge: color-mix(in oklab, var(--app) 22%, #C9D1E6);
  background: linear-gradient(180deg, #fff, #F6F8FC); color: var(--nuit); text-shadow: none;
  box-shadow: 0 1px 0 var(--edge), 0 2px 0 var(--edge), 0 3px 0 var(--edge), 0 4px 0 var(--edge), 0 5px 0 color-mix(in oklab, var(--edge) 80%, #000), 0 22px 30px -16px rgba(10, 16, 51, .45);
}
/* Grand bloc à la couleur de l'app. */
.k-stage {
  --edge: var(--app-edge); position: relative; overflow: hidden;
  padding: clamp(26px, 4.4vw, 60px); border-radius: 40px; color: #fff;
  background: radial-gradient(110% 120% at 80% 0%, color-mix(in oklab, var(--app) 70%, #fff), var(--app) 45%, var(--app-2) 90%);
  text-shadow: 0 1px 2px color-mix(in oklab, var(--app-2) 60%, transparent);
}
.k-stage.deep { background: radial-gradient(110% 120% at 80% 0%, color-mix(in oklab, var(--app) 55%, #1a1f3d), color-mix(in oklab, var(--app) 35%, var(--nuit)) 60%, var(--nuit)); --edge: #03061a; }
/* Bloc en verre sur fond couleur. */
.k-glass {
  --edge: color-mix(in oklab, var(--app) 52%, #000);
  background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .12));
  box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(255, 255, 255, .08), 0 6px 0 var(--edge), 0 24px 34px -18px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* Cartes qui s'inclinent vers le curseur, avec un reflet qui suit. */
[data-tilt] { position: relative; transform-style: preserve-3d; will-change: transform; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .24), transparent 45%); opacity: var(--glare, 0); transition: opacity .3s; z-index: 3; }

/* ==========================================================================
   En-tête : capsule en verre fumé (ordinateur), logo seul (téléphone)
   ========================================================================== */
.k-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: calc(14px + env(safe-area-inset-top, 0px)); pointer-events: none; }
.k-header > * { pointer-events: auto; }
.k-capsule {
  position: relative; max-width: 1260px; margin-inline: auto; width: calc(100% - 2 * var(--gutter));
  display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 8px 8px 10px;
  background: rgba(8, 10, 20, .42); color: #fff; border-radius: 999px;
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 18px 40px -18px rgba(10, 16, 51, .55);
  transition: background-color .3s;
}
.k-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font: 850 19px/1 var(--display); letter-spacing: -0.02em; padding-right: 8px; flex: none; }
.k-brand img { width: 36px; height: 36px; border-radius: 23%; box-shadow: 0 3px 0 var(--app-edge), 0 8px 14px -6px rgba(0, 0, 0, .5); transition: transform .5s var(--spring); }
.k-brand:hover img { transform: rotate(-8deg) scale(1.08); }
.k-brand span { display: inline-block; }
.k-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.k-nav a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px;
  font: 800 14px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; color: #fff; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, transform .25s var(--ease);
}
.k-nav a svg { width: 18px; height: 18px; opacity: .9; }
.k-nav a:hover, .k-nav a.on { background: rgba(255, 255, 255, .16); }
.k-nav a[aria-current="page"] { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.k-nav a:active { transform: scale(.96); }
.k-right { display: flex; align-items: center; gap: 8px; flex: none; }
.k-lang { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.k-lang a { display: grid; place-items: center; min-width: 38px; height: 36px; padding: 0 10px; border-radius: 999px; font: 800 13px/1 var(--display); letter-spacing: .06em; color: rgba(255, 255, 255, .78); text-decoration: none; transition: background-color .2s, color .2s; }
.k-lang a:hover { color: #fff; }
.k-lang a[aria-current="true"], .k-lang a.active { background: #fff; color: var(--nuit); }
.k-capsule .k-btn { min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .5), 0 3px 0 var(--edge); }
.k-logo-m { display: none; }
@media (max-width: 1080px) { .k-nav a svg { display: none; } .k-nav a { padding: 0 12px; } }
@media (max-width: 920px) { .k-nav { display: none; } }
@media (max-width: 759px) {
  .k-capsule { display: none; }
  .k-header { position: absolute; display: flex; justify-content: center; align-items: center; gap: 10px; padding-top: calc(20px + env(safe-area-inset-top, 0px)); }
  .k-logo-m { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--nuit); padding: 8px 16px 8px 8px; border-radius: 20px; text-decoration: none; font: 850 17px/1 var(--display); letter-spacing: -0.02em; box-shadow: 0 4px 0 rgba(10, 16, 51, .14), 0 14px 28px -14px rgba(10, 16, 51, .5); }
  .k-logo-m img { width: 32px; height: 32px; border-radius: 23%; }
  .k-header .k-lang-m { display: inline-flex; background: #fff; box-shadow: 0 4px 0 rgba(10, 16, 51, .14), 0 14px 28px -14px rgba(10, 16, 51, .5); border-radius: 20px; padding: 5px; }
  .k-header .k-lang-m a { color: var(--brume); height: 38px; }
  .k-header .k-lang-m a[aria-current="true"], .k-header .k-lang-m a.active { background: var(--app); color: #fff; }
}
.k-lang-m { display: none; }

/* Barre d'onglets en bas (téléphone), comme dans une app. */
.k-tabbar { display: none; }
@media (max-width: 759px) {
  .k-tabbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    position: fixed; inset: auto 0 0 0; z-index: 60; height: var(--tabbar); padding: 6px 8px env(safe-area-inset-bottom, 0px);
    background: #fff; color: #7A82A0; box-shadow: 0 -1px 0 rgba(10, 16, 51, .06), 0 -12px 30px -18px rgba(10, 16, 51, .35);
  }
  .k-tabbar a { display: grid; justify-items: center; align-content: center; gap: 3px; margin: 3px 2px 6px; border-radius: 18px; text-decoration: none; font: 650 10.5px/1 var(--text); color: inherit; transition: transform .25s var(--ease), color .2s, background-color .25s var(--ease); }
  .k-tabbar a:active { transform: scale(.9); }
  .k-tabbar svg { width: 24px; height: 24px; stroke-width: 1.8; }
  .k-tabbar a[aria-current="page"], .k-tabbar a.on { color: #fff; font-weight: 800; background: linear-gradient(180deg, #FFB43A, #FF8A00); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--orange-edge); text-shadow: 0 1px 1px rgba(150, 60, 0, .3); }
}

/* Barre de lecture sur le bord droit */
.k-progress { position: fixed; z-index: 45; right: 10px; top: 50%; translate: 0 -50%; width: 5px; height: min(46vh, 380px); border-radius: 999px; background: rgba(10, 16, 51, .1); overflow: hidden; pointer-events: none; }
.k-progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(180deg, #FFB43A, #FF8A00 40%, var(--app)); transform-origin: top; transform: scaleY(0); }
@media (max-width: 759px) { .k-progress { right: 4px; width: 3px; height: 30vh; } }

/* ==========================================================================
   Haut de page à la couleur de l'app
   ========================================================================== */
.k-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  padding: calc(120px + env(safe-area-inset-top, 0px)) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(60% 55% at 85% 12%, color-mix(in oklab, var(--app) 62%, #fff), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in oklab, var(--app-2) 80%, #000), transparent 70%),
    linear-gradient(170deg, color-mix(in oklab, var(--app) 92%, #fff), var(--app) 40%, var(--app-2));
}
/* Grain de lumière qui dérive lentement. */
.k-hero::before { content: ""; position: absolute; inset: -20%; z-index: -1; background: radial-gradient(30% 30% at 30% 40%, rgba(255, 255, 255, .16), transparent 70%), radial-gradient(25% 25% at 70% 70%, rgba(255, 255, 255, .1), transparent 70%); animation: k-drift 18s ease-in-out infinite alternate; }
@keyframes k-drift { to { transform: translate(6%, -4%) rotate(8deg); } }
.k-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.k-hero-copy { display: grid; gap: 22px; justify-items: start; }
.k-hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .16); max-width: 13ch; }
.k-hero h1 .k-hl, .k-hero h1 em { color: var(--hero-hl); font-style: normal; }
.k-hero .k-lead { color: rgba(255, 255, 255, .94); max-width: 44ch; }
.k-hero .k-lead strong { color: #fff; font-weight: 800; }
.k-hero-note { font: 650 14.5px/1.45 var(--display); color: rgba(255, 255, 255, .85); max-width: 52ch; }
.k-hero-note a { color: #fff; }
/* Petite pastille au-dessus du titre : icône de l'app + catégorie. */
.k-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 24px -14px rgba(0, 0, 0, .5); font: 800 13px/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.k-chip img, .k-chip .k-tile { width: 30px; height: 30px; border-radius: 23%; --s: 30px; }
.k-hero-phone { position: relative; display: grid; place-items: center; padding-block: 10px 30px; }
.k-hero-phone::before { content: ""; position: absolute; width: min(125%, 640px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .34), transparent); animation: k-pulse 6s ease-in-out infinite; }
@keyframes k-pulse { 50% { transform: scale(1.06); opacity: .8; } }
.k-hero-phone .k-phone { position: relative; z-index: 1; }
/* Bulles posées autour du téléphone (infos tirées de l'app). */
.k-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; color: var(--nuit); font: 750 14px/1.2 var(--display); box-shadow: 0 4px 0 color-mix(in oklab, var(--app) 30%, #C9D1E6), 0 22px 34px -16px rgba(0, 0, 0, .5); animation: k-bob 6s ease-in-out infinite; max-width: 230px; }
.k-float small { display: block; font: 600 12px/1.3 var(--display); color: var(--brume); }
.k-float .k-tile { --s: 36px; }
.k-float:nth-of-type(2) { animation-delay: -2s; }
.k-float:nth-of-type(3) { animation-delay: -4s; }
@keyframes k-bob { 50% { translate: 0 -10px; } }
/* Icônes en relief qui flottent dans le fond du haut de page. */
.k-floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.k-floaters .k-tile { position: absolute; left: var(--x); top: var(--y); --s: var(--size, 54px); opacity: .9; transform: rotate(var(--r, 0deg)) translate(var(--px, 0px), var(--py, 0px)); transition: transform 1.2s cubic-bezier(.2, .9, .2, 1); animation: k-bob 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.k-floaters .k-tile.light { opacity: .95; }
@media (max-width: 859px) {
  .k-hero { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
  .k-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .k-hero-copy { justify-items: center; text-align: center; }
  .k-hero h1, .k-hero .k-lead { margin-inline: auto; }
  .k-stores { justify-content: center; }
  .k-hero-phone .k-phone { --w: 240px !important; }
  .k-float { display: none; }
  .k-floaters { display: none; }
}

/* Bandeau orange sous le haut de page : les engagements de l'app. */
.k-band { position: relative; background: var(--orange); color: #fff; text-shadow: 0 1px 1px rgba(150, 60, 0, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.k-band ul { list-style: none; margin: 0 auto; padding: 22px var(--gutter); max-width: var(--max); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 28px; align-items: center; }
.k-band li { display: flex; align-items: center; gap: 12px; font: 800 15px/1.25 var(--display); }
.k-band li small { display: block; font: 700 11.5px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.k-band .k-tile { --s: 38px; --a: color-mix(in oklab, var(--app) 80%, #fff); --b: var(--app-2); text-shadow: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.k-sec { padding-top: var(--sec-gap); }
.k-title { text-align: center; margin-inline: auto; max-width: 20ch; }
.k-title .k-hl { color: var(--app); }
.k-eyebrow { display: block; text-align: center; font: 800 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--app-ink); margin-bottom: 16px; }
.k-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 18px auto 0; font-size: 18px; line-height: 1.5; }
.k-body { margin-top: var(--title-gap); }

/* Grille de cartes : couleurs pleines qui alternent (jamais toutes identiques). */
.k-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: var(--title-gap); }
.k-cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.k-cards.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.k-card {
  --edge: var(--app-edge); position: relative; display: grid; align-content: start; gap: 14px;
  padding: clamp(24px, 2.6vw, 32px); border-radius: 30px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, color-mix(in oklab, var(--app) 68%, #fff), var(--app) 50%, var(--app-2));
  text-shadow: 0 1px 2px color-mix(in oklab, var(--app-2) 55%, transparent);
  box-shadow: 0 2px 0 var(--edge), 0 4px 0 var(--edge), 0 6px 0 var(--edge), 0 8px 0 color-mix(in oklab, var(--edge) 78%, #000), 0 34px 50px -26px rgba(10, 16, 51, .55);
}
.k-card h3 { font-size: clamp(21px, 2vw, 25px); }
.k-card p { font-size: 16.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.k-card .k-tile { --s: 54px; }
.k-card > .k-tile:first-child { --a: #fff; --b: #E4E9F5; --edge: color-mix(in oklab, var(--app) 40%, #8E99B8); color: var(--app-ink); }
.k-card > .k-tile:first-child svg { filter: none; }
/* Alternance : une carte blanche, une carte foncée. */
.k-cards > .k-card:nth-child(3n+2) { --edge: color-mix(in oklab, var(--app) 22%, #C9D1E6); background: linear-gradient(180deg, #fff, #F4F6FB); color: var(--nuit); text-shadow: none; }
.k-cards > .k-card:nth-child(3n+2) p { color: var(--brume); }
.k-cards > .k-card:nth-child(3n+2) > .k-tile:first-child { --a: color-mix(in oklab, var(--app) 80%, #fff); --b: var(--app-2); --edge: var(--app-edge); color: #fff; }
.k-cards > .k-card:nth-child(3n+2) > .k-tile:first-child svg { filter: drop-shadow(0 1px 1px rgba(0, 0, 20, .25)); }
.k-cards > .k-card:nth-child(3n+3) { --edge: #050920; background: radial-gradient(120% 90% at 85% 0%, color-mix(in oklab, var(--app) 45%, #2a3060), color-mix(in oklab, var(--app) 22%, var(--nuit)) 60%, var(--nuit)); }
.k-card.plain-white { --edge: color-mix(in oklab, var(--app) 22%, #C9D1E6) !important; background: linear-gradient(180deg, #fff, #F4F6FB) !important; color: var(--nuit) !important; text-shadow: none !important; }
.k-card.plain-white p { color: var(--brume) !important; }
.k-card .k-num { position: absolute; right: 22px; top: 14px; font: 900 64px/1 var(--display); letter-spacing: -0.05em; opacity: .16; }
.k-card ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: 16px; }

/* Bloc large : texte d'un côté, téléphone ou visuel de l'autre. */
.k-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.k-split.rev > :first-child { order: 2; }
.k-split-copy { display: grid; gap: 18px; justify-items: start; }
.k-split-copy h2, .k-split-copy h3 { text-align: left; }
.k-split-copy p { font-size: 18px; line-height: 1.55; }
.k-stage .k-split-copy p { color: rgba(255, 255, 255, .92); }
@media (max-width: 859px) { .k-split { grid-template-columns: minmax(0, 1fr); } .k-split.rev > :first-child { order: 0; } .k-split-copy { justify-items: center; text-align: center; } .k-split-copy h2, .k-split-copy h3 { text-align: center; } }

/* Liste en pastilles de verre (sur fond couleur) ou blanches (sur fond clair). */
.k-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k-checks li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 20px; font: 650 16.5px/1.35 var(--display); }
.k-checks li > svg, .k-checks .k-check { width: 28px; height: 28px; flex: none; padding: 6px; border-radius: 50%; background: #fff; color: var(--app-ink); stroke-width: 2.8; box-shadow: 0 2px 0 color-mix(in oklab, var(--app) 40%, #000); }
.k-stage .k-checks li { --edge: color-mix(in oklab, var(--app) 52%, #000); background: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .12)); box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .45), 0 4px 0 var(--edge), 0 16px 24px -14px rgba(0, 0, 0, .5); }
.k-checks.on-light li { --edge: color-mix(in oklab, var(--app) 22%, #C9D1E6); background: linear-gradient(180deg, #fff, #F6F8FC); color: var(--nuit); box-shadow: 0 1px 0 var(--edge), 0 2px 0 var(--edge), 0 3px 0 var(--edge), 0 4px 0 color-mix(in oklab, var(--edge) 80%, #000), 0 18px 26px -16px rgba(10, 16, 51, .4); }
.k-checks.on-light li > svg { background: var(--app); color: #fff; }

/* Écrans de l'app : trois iPhones en éventail (défilement sur téléphone). */
.k-gallery { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 250px)); justify-content: center; gap: clamp(16px, 4vw, 56px); margin-top: var(--title-gap); padding-inline: var(--gutter); }
.k-shot { margin: 0; display: grid; gap: 18px; justify-items: center; align-content: start; }
.k-shot:nth-child(3n+2) { translate: 0 -26px; }
.k-shot figcaption { font: 800 13px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--app-ink); text-align: center; max-width: 26ch; }
.k-stage .k-shot figcaption, .k-dark .k-shot figcaption { color: rgba(255, 255, 255, .9); }
@media (max-width: 859px) {
  .k-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 34px 20px; }
  .k-gallery::-webkit-scrollbar { display: none; }
  .k-shot { scroll-snap-align: center; }
  .k-shot:nth-child(3n+2) { translate: none; }
}

/* Étapes reliées par une ligne qui se trace au défilement. */
.k-steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(18px, 3vw, 36px); margin-top: var(--title-gap); counter-reset: k-step; }
.k-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--app), #FFB43A); transform-origin: 0 50%; transform: scaleX(var(--draw, 1)); }
.k-step { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; padding: 0 8px; }
.k-step .k-tile { --s: 68px; font: 900 28px/1 var(--display); }
.k-step .k-tile b { font: 900 28px/1 var(--display); text-shadow: 0 1px 1px rgba(0, 0, 0, .2); }
.k-step:nth-child(even) .k-tile { --a: #FFB43A; --b: #F06A00; }
.k-step h3 { font-size: 22px; }
.k-step p { color: var(--muted); font-size: 16.5px; line-height: 1.5; max-width: 34ch; }
@media (max-width: 759px) { .k-steps::before { left: 50%; right: auto; top: 0; bottom: 0; width: 4px; height: auto; transform-origin: 50% 0; transform: translateX(-50%) scaleY(var(--draw, 1)); opacity: .25; } .k-step { background: var(--bg); padding-block: 8px; } }

/* Chiffres / faits en cartes de verre (dans un bloc couleur) ou blanches. */
.k-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.k-facts > div { display: grid; gap: 8px; align-content: center; justify-items: center; text-align: center; padding: 22px 14px; border-radius: 24px; }
.k-facts b { font: 850 clamp(24px, 2.6vw, 34px)/1 var(--display); letter-spacing: -0.03em; }
.k-facts span { font: 700 13.5px/1.35 var(--display); opacity: .85; }

/* Questions fréquentes : blocs blancs en relief qui s'ouvrent. */
.k-faq { display: grid; gap: 16px; max-width: 860px; margin: var(--title-gap) auto 0; }
.k-faq details { border-radius: 24px; }
.k-faq details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px 20px 24px; font: 750 18px/1.3 var(--display); }
.k-faq details > summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--app) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 10l4 4 4-4'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 3px 0 var(--app-edge); transition: transform .4s var(--spring); }
.k-faq details[open] summary::after { transform: rotate(180deg); }
.k-faq .k-answer { padding: 0 24px 22px; color: #3B4466; font: 450 16.5px/1.6 var(--read); display: grid; gap: 10px; }
.k-faq details[open] .k-answer { animation: k-open .45s var(--ease); }
.k-faq .k-answer a { color: var(--app-ink); font-weight: 700; }
.k-faq .k-answer ul, .k-faq .k-answer ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
@keyframes k-open { from { opacity: 0; transform: translateY(-8px); } }

/* Grand bandeau d'appel, en couleur de l'app. */
.k-cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(20px, 4vw, 48px); }
.k-cta-copy { display: grid; gap: 20px; justify-items: start; }
.k-cta h2 { font-size: clamp(36px, 4.8vw, 66px); max-width: 14ch; }
.k-cta p { color: rgba(255, 255, 255, .92); font-size: 18px; line-height: 1.5; max-width: 44ch; }
.k-cta-art { position: relative; display: grid; place-items: center; min-height: 260px; }
.k-cta-art .k-appicon { --s: clamp(130px, 15vw, 200px); transform: rotate(-8deg); animation: k-bob 6s ease-in-out infinite; position: relative; z-index: 2; }
.k-cta-art .k-tile { position: absolute; }
@media (max-width: 859px) { .k-cta { grid-template-columns: minmax(0, 1fr); text-align: center; } .k-cta-copy { justify-items: center; } .k-cta h2, .k-cta p { margin-inline: auto; } .k-cta-art { min-height: 200px; order: -1; } }

/* Texte courant */
.k-prose { display: grid; gap: 1em; max-width: 68ch; font: 450 17px/1.65 var(--read); color: #2C3557; }
.k-prose a { color: var(--app-ink); font-weight: 700; }

/* ==========================================================================
   Pages de texte (légal, support) : haut de page couleur + feuille blanche
   ========================================================================== */
.k-doc-hero { position: relative; overflow: hidden; color: #fff; padding: calc(124px + env(safe-area-inset-top, 0px)) 0 clamp(90px, 10vw, 130px);
  background: radial-gradient(60% 80% at 85% 0%, color-mix(in oklab, var(--app) 62%, #fff), transparent 70%), linear-gradient(170deg, color-mix(in oklab, var(--app) 92%, #fff), var(--app) 45%, var(--app-2)); }
.k-doc-hero .k-wrap { display: grid; gap: 18px; justify-items: center; text-align: center; }
.k-doc-hero h1 { font-size: clamp(36px, 5.4vw, 70px); max-width: 18ch; text-shadow: 0 2px 20px rgba(0, 0, 0, .16); }
.k-doc-hero p { color: rgba(255, 255, 255, .9); font: 650 15px/1.5 var(--display); max-width: 60ch; }
.k-doc-hero .k-floaters .k-tile { opacity: .55; }
.k-back { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px 0 14px; border-radius: 999px; background: rgba(8, 10, 20, .32); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none; font: 800 13.5px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); transition: background .2s; }
.k-back svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .25s var(--ease); stroke-width: 2.6; }
.k-back:hover { background: rgba(8, 10, 20, .48); }
.k-back:hover svg { transform: rotate(180deg) translateX(3px); }
.k-doc-wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 7vw, 90px)); padding-bottom: var(--sec-gap); }
.k-doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 980px; margin-inline: auto; }
.k-doc-layout.has-toc { grid-template-columns: 260px minmax(0, 1fr); max-width: 1180px; align-items: start; }
.k-toc { position: sticky; top: 110px; max-height: calc(100vh - 140px); overflow: auto; padding: 20px; border-radius: 26px; font: 650 14px/1.35 var(--display); }
.k-toc b, .k-toc h2 { display: block; font: 800 12.5px/1 var(--display) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--app-ink); margin: 2px 0 12px !important; padding: 0 !important; border: 0 !important; }
.k-toc ol, .k-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: none; }
.k-toc a { display: block; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: #3B4466; transition: background-color .2s, color .2s; }
.k-toc a:hover, .k-toc a.on { background: color-mix(in oklab, var(--app) 12%, #fff); color: var(--app-ink); }
@media (max-width: 999px) { .k-doc-layout.has-toc { grid-template-columns: minmax(0, 1fr); } .k-toc { position: static; max-height: none; } }

/* La feuille : le contenu juridique d'origine, mis en forme sans être modifié. */
.k-doc { border-radius: 36px; padding: clamp(26px, 5vw, 64px); font: 450 17px/1.7 var(--read); color: #2C3557; min-width: 0; }
.k-doc > * + * { margin-top: 1em; }
.k-doc h1 { font-size: clamp(30px, 3.6vw, 44px); color: var(--nuit); margin-bottom: .4em; }
.k-doc h2 { font: 800 clamp(23px, 2.4vw, 30px)/1.15 var(--display); letter-spacing: -0.02em; color: var(--nuit); margin-top: 2.1em; padding-top: 1.1em; border-top: 2px dashed color-mix(in oklab, var(--app) 22%, #E2E7F1); scroll-margin-top: 110px; }
.k-doc > h2:first-child, .k-doc > section:first-child > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.k-doc h3 { font: 780 19.5px/1.25 var(--display); letter-spacing: -0.01em; color: var(--app-ink); margin-top: 1.7em; scroll-margin-top: 110px; }
.k-doc h4 { font: 780 17px/1.3 var(--display); color: var(--nuit); margin: 1.4em 0 0; }
.k-doc p, .k-doc li, .k-doc dd, .k-doc td { overflow-wrap: anywhere; }
.k-doc p { margin-block: 0; }
.k-doc * + p, .k-doc * + ul, .k-doc * + ol, .k-doc * + table, .k-doc * + dl, .k-doc * + div, .k-doc * + details, .k-doc * + blockquote { margin-top: .9em; }
.k-doc a { color: var(--app-ink); font-weight: 700; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.k-doc strong, .k-doc b { color: var(--nuit); font-weight: 700; }
.k-doc ul, .k-doc ol { padding-left: 1.4em; display: grid; gap: .45em; margin-bottom: 0; }
.k-doc ul li::marker { color: var(--app); }
.k-doc ol li::marker { color: var(--app-ink); font-weight: 800; font-family: var(--display); }
.k-doc section { margin-top: 0; }
.k-doc section + section { margin-top: 1em; }
.k-doc hr { border: 0; height: 2px; background: #E2E7F1; margin-block: 2em; }
.k-doc blockquote { margin-inline: 0; padding: 14px 20px; border-left: 4px solid var(--app); background: color-mix(in oklab, var(--app) 7%, #fff); border-radius: 0 16px 16px 0; }
.k-doc table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1.5px #E2E7F1; display: block; overflow-x: auto; }
.k-doc table > * { display: table-row-group; }
.k-doc thead { display: table-header-group; }
.k-doc th { background: color-mix(in oklab, var(--app) 12%, #fff); color: var(--nuit); font: 750 14px/1.3 var(--display); text-align: left; }
.k-doc th, .k-doc td { padding: 12px 14px; border-bottom: 1px solid #E8ECF4; vertical-align: top; min-width: 120px; }
.k-doc tr:last-child td { border-bottom: 0; }
.k-doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.k-doc dt { font: 750 15px/1.5 var(--display); color: var(--nuit); }
.k-doc dd { margin: 0; }
.k-doc code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: #EEF1F6; }
.k-doc details { border-radius: 18px; padding: 4px 18px; background: #F6F8FC; box-shadow: inset 0 0 0 1.5px #E2E7F1; }
.k-doc details summary { cursor: pointer; font: 750 16.5px/1.4 var(--display); padding: 12px 0; color: var(--nuit); }
.k-doc details[open] { padding-bottom: 16px; }
.k-doc img { border-radius: 16px; }
/* Encadrés (résumé, avertissement, info…) */
.k-note { padding: 18px 22px; border-radius: 22px; background: color-mix(in oklab, var(--app) 9%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--app) 26%, #fff); color: #2C3557; }
.k-note.warn { background: #FFF6E5; box-shadow: inset 0 0 0 1.5px #FFD48A; }
.k-note > * + * { margin-top: .7em; }
.k-updated, .k-doc .updated, .k-doc .last-updated { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); font: 700 13.5px/1.2 var(--display); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.k-doc .updated, .k-doc .last-updated { background: color-mix(in oklab, var(--app) 10%, #fff); color: var(--app-ink); box-shadow: none; }
/* Cartes de contact (support) */
.k-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.k-contact > * { display: grid; gap: 10px; padding: 24px; border-radius: 26px; text-decoration: none; }

/* ==========================================================================
   Pied de page : un écran d'accueil de téléphone à la couleur de l'app
   ========================================================================== */
.k-footer { position: relative; color: var(--nuit); padding: var(--sec-gap) 0 calc(26px + var(--tabbar)); overflow: hidden; }
.k-screen {
  --edge: var(--app-edge); position: relative; border-radius: 48px; overflow: hidden; color: #fff;
  padding: 14px clamp(18px, 3vw, 40px) 18px;
  background:
    radial-gradient(50% 70% at 12% 100%, rgba(255, 149, 0, .45), transparent 70%),
    radial-gradient(45% 60% at 92% 0%, rgba(255, 255, 255, .26), transparent 70%),
    linear-gradient(160deg, color-mix(in oklab, var(--app) 82%, #fff), var(--app) 45%, color-mix(in oklab, var(--app-2) 80%, #000));
}
.k-status { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 44px; font: 800 16px/1 var(--display); padding-inline: 12px; }
.k-island { width: 118px; height: 32px; border-radius: 999px; background: #05060B; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.k-sys { justify-self: end; display: flex; align-items: center; gap: 8px; }
.k-sig { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.k-sig b { width: 3.5px; border-radius: 1px; background: #fff; }
.k-sig b:nth-child(1) { height: 35%; } .k-sig b:nth-child(2) { height: 55%; } .k-sig b:nth-child(3) { height: 78%; } .k-sig b:nth-child(4) { height: 100%; }
.k-bat { position: relative; width: 26px; height: 13px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); padding: 2px; }
.k-bat::after { content: ""; position: absolute; right: -3.5px; top: 4px; width: 2px; height: 5px; border-radius: 0 2px 2px 0; background: rgba(255, 255, 255, .55); }
.k-bat b { display: block; height: 100%; width: 80%; border-radius: 2px; background: #4ADE80; }
.k-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; margin-top: clamp(18px, 3vw, 34px); }
.k-widget { border-radius: 30px; padding: clamp(20px, 2.4vw, 28px); background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.k-hello { display: grid; gap: 16px; align-content: center; justify-items: center; text-align: center; }
.k-hello .k-brand { font-size: 24px; padding: 0; }
.k-hello .k-brand img { width: 52px; height: 52px; }
.k-hello p { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); max-width: 36ch; }
.k-pills { display: grid; grid-template-columns: max-content; justify-content: center; gap: 12px; }
.k-pills a { display: flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px; background: linear-gradient(180deg, #FFFFFF, #EEF1F8); color: var(--nuit); font: 750 14.5px/1 var(--display); text-decoration: none; box-shadow: inset 0 1.5px 0 #fff, 0 4px 0 #B9C2DA, 0 14px 22px -12px rgba(5, 8, 40, .6); transition: transform .2s var(--ease), box-shadow .2s var(--ease); max-width: 100%; overflow-wrap: anywhere; }
.k-pills a:hover { transform: translateY(-2px); }
.k-pills a:active { transform: translateY(3px); box-shadow: inset 0 1.5px 0 #fff, 0 1px 0 #B9C2DA; }
.k-pi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--orange); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 0 var(--orange-edge); }
.k-pi svg { width: 17px; height: 17px; }
.k-pi.app { background: linear-gradient(160deg, color-mix(in oklab, var(--app) 80%, #fff), var(--app-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 0 var(--app-edge); }
/* Raccourcis : pages du site, rangées comme des icônes d'apps, qui sautillent l'une après l'autre. */
.k-spring ul { list-style: none; margin: 0; padding: 0; height: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 8px; align-content: space-evenly; }
.k-spring a { display: grid; justify-items: center; gap: 10px; text-decoration: none; color: #fff; font: 750 12.5px/1.15 var(--display); text-align: center; text-shadow: 0 1px 2px rgba(5, 8, 40, .45); }
.k-spring .k-tile { --s: 58px; }
.k-spring li { animation: k-hop 6s ease-in-out calc(var(--i, 0) * .5s) infinite; }
@keyframes k-hop { 0%, 12%, 100% { transform: translateY(0); } 5% { transform: translateY(-9px); } 9% { transform: translateY(0); } }
.k-spring li:hover { animation-play-state: paused; }
/* Dossier « Les apps Devolim » */
.k-folder { display: grid; grid-template-rows: auto 1fr auto; gap: 16px; }
.k-folder-t { font: 800 12.5px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, .85); }
.k-folder ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-content: space-evenly; gap: 16px 12px; }
.k-folder li a { position: relative; display: block; aspect-ratio: 1; border-radius: 24%; box-shadow: 0 3px 0 rgba(0, 0, 0, .28), 0 10px 14px -6px rgba(0, 0, 0, .5); transition: transform .45s var(--spring); }
.k-folder img { width: 100%; height: 100%; border-radius: 24%; display: block; }
.k-folder li a:hover { transform: translateY(-6px) scale(1.12) rotate(-4deg); z-index: 2; }
.k-folder li a[aria-current="page"] { box-shadow: 0 0 0 3px #fff, 0 5px 0 3px rgba(0, 0, 0, .25); }
.k-folder li a::after { content: attr(data-name); position: absolute; bottom: calc(100% + 8px); left: 50%; translate: -50% 4px; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--nuit); font: 750 12.5px/1 var(--display); opacity: 0; pointer-events: none; transition: opacity .2s, translate .3s var(--ease); }
.k-folder li a:hover::after { opacity: 1; translate: -50% 0; }
.k-folder-name { justify-self: center; display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font: 800 13px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; }
.k-folder-name svg { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .3s var(--ease); }
.k-folder-name:hover svg { transform: translateX(4px); }
/* Dock : raccourcis sur toute la largeur */
.k-dock { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; padding-block: 18px; }
.k-dock a { display: grid; justify-items: center; gap: 10px; text-decoration: none; color: #fff; font: 750 12px/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.k-dock .k-tile { --s: 50px; }
.k-dock a:hover .k-tile { transform: translateY(-8px) scale(1.12); }
.k-homebar { display: block; width: 140px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .7); margin: 16px auto 0; }
/* Le nom de l'app en très grand sous l'écran : les lettres ondulent, une vague de couleur les parcourt. */
.k-giant { margin-top: clamp(24px, 4vw, 48px); display: flex; justify-content: center; overflow: hidden; padding-top: 4vw; white-space: nowrap; }
.k-giant span {
  --base: color-mix(in oklab, var(--fg) 11%, var(--bg)); --rim: color-mix(in oklab, var(--bg) 40%, #fff);
  display: inline-block; font: 900 min(21vw, calc(160vw / var(--len, 7)), 340px)/.82 var(--display); letter-spacing: -0.06em;
  color: var(--base); text-shadow: 0 -3px 0 var(--rim);
  transform: translateY(var(--y, 0px)) rotate(var(--r, 0deg)); transition: transform .5s var(--spring);
  animation: k-gwave 3.2s ease-in-out calc(var(--i) * .18s) infinite, k-gshine 6s ease-in-out calc(var(--i) * .14s) infinite;
}
.k-giant span.sp { width: .25em; }
@keyframes k-gwave { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7%; } }
@keyframes k-gshine { 0%, 30%, 100% { color: var(--base); text-shadow: 0 -3px 0 var(--rim); } 12% { color: var(--app); text-shadow: 0 -3px 0 color-mix(in oklab, var(--app) 50%, #fff), 0 24px 60px color-mix(in oklab, var(--app) 35%, transparent); } }
.k-giant span.hot { animation-play-state: paused; color: var(--app); }
.k-js .k-giant:not(.in) span { transform: translateY(110%) rotate(12deg); }
.k-giant.in span { transition: transform 1.1s cubic-bezier(.34, 1.56, .64, 1) calc(var(--i) * 70ms); }
.k-giant.in.done span { transition: transform .5s var(--spring); }
.k-bottom { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 22px; border-top: 1px solid var(--line); font: 600 14px/1.45 var(--display); color: var(--brume); }
.k-bottom p { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.k-bottom a { color: inherit; text-underline-offset: 3px; }
.k-bottom svg { width: 16px; height: 16px; }
.k-made { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; color: var(--nuit) !important; font: 750 13px/1 var(--display); box-shadow: 0 3px 0 #C9D1E6, 0 10px 20px -12px rgba(10, 16, 51, .4); transition: transform .2s var(--ease); }
.k-made:hover { transform: translateY(-2px); }
.k-made img { width: 26px; height: 26px; }
@media (max-width: 999px) { .k-board { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .k-hello { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .k-screen { border-radius: 36px; }
  .k-board { grid-template-columns: minmax(0, 1fr); }
  .k-status { padding-inline: 4px; }
  .k-island { width: 90px; height: 26px; }
  .k-dock { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .k-folder ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ==========================================================================
   iPhone en CSS 3D (même composant que devolim.fr)
   ========================================================================== */
.k-phone { --frame: #3A4466; --frame-hi: #6A7698; --frame-lo: #232A44; position: relative; width: min(var(--w, 300px), 100%); aspect-ratio: 9 / 19.4; perspective: 1400px; margin-inline: auto; }
.k-phone.noir { --frame: #2A2B31; --frame-hi: #5A5C66; --frame-lo: #141519; }
.k-phone.naturel { --frame: #B9B4AA; --frame-hi: #E6E2DA; --frame-lo: #8E897F; }
.k-phone .tilt { width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(calc(var(--turn, -14deg) + var(--ry, 0deg))) rotateX(var(--rx, 4deg)); transition: transform .9s cubic-bezier(.2, .9, .2, 1); }
.k-phone.float .tilt { animation: k-pbob 6s ease-in-out infinite; }
@keyframes k-pbob { 50% { translate: 0 -10px; } }
.k-phone .device { position: absolute; inset: 0; transform-style: preserve-3d; }
.k-phone .edge { position: absolute; inset: 0; border-radius: 14.5% / 6.8%; background: linear-gradient(90deg, var(--frame-lo), var(--frame) 30%, var(--frame-hi) 50%, var(--frame) 70%, var(--frame-lo)); }
.k-phone .e1 { transform: translateZ(-3px); } .k-phone .e2 { transform: translateZ(-6px); } .k-phone .e3 { transform: translateZ(-9px); }
.k-phone .e4 { transform: translateZ(-12px); background: var(--frame-lo); box-shadow: 0 50px 80px -30px rgba(5, 8, 40, .7); }
.k-phone .key { position: absolute; width: 1.6%; border-radius: 3px; background: linear-gradient(90deg, var(--frame-lo), var(--frame-hi)); transform: translateZ(-6px); }
.k-phone .k-power { right: -1.1%; top: 25%; height: 12%; }
.k-phone .k-cam { right: -1.1%; top: 55%; height: 7%; }
.k-phone .k-action { left: -1.1%; top: 17%; height: 4.5%; }
.k-phone .k-up { left: -1.1%; top: 25%; height: 7.5%; }
.k-phone .k-down { left: -1.1%; top: 34%; height: 7.5%; }
.k-phone .body { position: absolute; inset: 0; border-radius: 14.5% / 6.8%; padding: 3.1%; background: linear-gradient(145deg, var(--frame-hi), var(--frame) 22%, var(--frame-lo) 50%, var(--frame) 78%, var(--frame-hi)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 0 0 3px rgba(0, 0, 0, .35); }
.k-phone .screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #05060B; box-shadow: 0 0 0 2px #05060B; }
.k-phone .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .7s ease; }
.k-phone .shot.on { opacity: 1; }
.k-phone .shot.vid { object-fit: contain; object-position: center; }
.k-phone .vbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) saturate(1.2) brightness(.9); transform: scale(1.2); }
.k-phone .island { position: absolute; top: 1.9%; left: 50%; translate: -50% 0; width: 31%; height: 3.4%; border-radius: 999px; background: #000; z-index: 2; }
.k-phone .glass { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .04) 28%, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0) 75%, rgba(255, 255, 255, .07) 100%); }
.k-phone .ground { position: absolute; left: 12%; right: 12%; bottom: -5%; height: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(5, 8, 40, .45), transparent); filter: blur(6px); z-index: -1; }
/* Bouton lecture / pause discret sur la vidéo */
.k-phone .k-vtoggle { position: absolute; z-index: 4; right: 7%; bottom: 3.2%; width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(8, 10, 20, .45); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.k-phone:hover .k-vtoggle, .k-phone .k-vtoggle:focus-visible, .k-phone .k-vtoggle.paused { opacity: 1; }
.k-phone .k-vtoggle svg { width: 14px; height: 14px; }

/* ==========================================================================
   Animations au défilement (déclarées avec data-anim, pilotées par devolim.js)
   Rien n'est caché si le script ne tourne pas (classe .k-js posée par le script).
   ========================================================================== */
.k-js [data-anim="pop"] > * { opacity: 0; transform: scale(.6); transition: opacity .5s ease, transform .7s cubic-bezier(.34, 1.8, .64, 1); transition-delay: calc(var(--k, 0) * 80ms); }
.k-js [data-anim="pop"].in > * { opacity: 1; transform: none; }
.k-js [data-anim="rise"] > * { opacity: 0; transform: translateY(70px) rotate(var(--rot, -2.5deg)); transition: opacity .6s ease, transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--k, 0) * 100ms); }
.k-js [data-anim="rise"] > :nth-child(even) { --rot: 2.5deg; }
.k-js [data-anim="rise"].in > * { opacity: 1; transform: none; }
.k-js [data-anim="tilt"] { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(60px); transform-origin: 50% 100%; transition: opacity .8s ease, transform 1.1s cubic-bezier(.22, 1, .36, 1); }
.k-js [data-anim="tilt"].in { opacity: 1; transform: none; }
.k-js [data-anim="fade"] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.k-js [data-anim="fade"].in { opacity: 1; transform: none; }
/* Titres : les mots surgissent un à un. */
.k-wm { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .1em .02em .14em; margin: -.1em -.02em -.14em; }
.k-wi { display: inline-block; }
.k-js [data-anim="title"] .k-wi { transform: translateY(115%) rotate(6deg); transition: transform .85s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--k, 0) * 70ms); }
.k-js [data-anim="title"].in .k-wi { transform: none; }
/* Effets propres à un mot */
.t-wiggle, .t-pin, .t-bounce, .t-wave { display: inline-block; }
/* Le surligneur passe mot par mot (une expression peut se couper sur deux lignes). */
.t-marker .k-wi, .t-marker:not(:has(.k-wi)) { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.in .t-wiggle { animation: t-wiggle 4s ease-in-out 1.2s infinite; transform-origin: 50% 80%; }
@keyframes t-wiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-6deg) scale(1.06); } 90% { transform: rotate(5deg) scale(1.06); } 94% { transform: rotate(-3deg); } }
.t-marker .k-wi, .t-marker:not(:has(.k-wi)) { background: linear-gradient(transparent 58%, color-mix(in oklab, var(--app) 35%, transparent) 58%, color-mix(in oklab, var(--app) 35%, transparent) 90%, transparent 90%) no-repeat 0 0 / 0% 100%; transition: background-size .9s cubic-bezier(.65, 0, .35, 1) .45s; }
.k-hero .t-marker .k-wi, .k-stage .t-marker .k-wi, .k-hero .t-marker:not(:has(.k-wi)) { background-image: linear-gradient(transparent 60%, rgba(255, 190, 60, .55) 60%, rgba(255, 190, 60, .55) 90%, transparent 90%); }
.in .t-marker .k-wi, html:not(.k-js) .t-marker { background-size: 100% 100%; }
.in .t-pin { animation: t-pin 3.6s cubic-bezier(.3, 1.6, .5, 1) .4s infinite; }
@keyframes t-pin { 0% { transform: translateY(0); } 10% { transform: translateY(-22%); } 22%, 100% { transform: translateY(0); } }
.in .t-bounce { animation: t-bounce 2.8s ease-in-out .5s infinite; transform-origin: 50% 90%; }
@keyframes t-bounce { 0%, 60%, 100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-28%) rotate(-12deg); } 80% { transform: translateY(0) rotate(8deg); } 88% { transform: translateY(-8%) rotate(0); } }
.k-wl { display: inline-block; }
.in .t-wave .k-wl { animation: t-wave 3s ease-in-out calc(var(--i) * .08s + .6s) infinite; }
@keyframes t-wave { 0%, 40%, 100% { transform: translateY(0); } 20% { transform: translateY(-14%); color: #FFC56B; } }
/* Texte qui s'allume mot par mot */
[data-anim="words"] .w { transition: opacity .25s linear; }

@media (prefers-reduced-motion: reduce) {
  .t-marker .k-wi { background-size: 100% 100% !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .k-js [data-anim] > *, .k-js [data-anim], .k-js [data-anim="title"] .k-wi, .k-js .k-giant span { opacity: 1 !important; transform: none !important; }
  .t-marker { background-size: 100% 100%; }
}

/* Encadrés hérités des anciens sites (le contenu juridique garde ses classes d'origine). */
.k-doc :is(.info-card, .callout, .notice, .note, .summary, .tldr, .highlight, .highlight-box, .info, .info-box, .box, .resume, .encart, .key-points) {
  padding: 18px 22px; border-radius: 22px; background: color-mix(in oklab, var(--app) 9%, #fff); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--app) 26%, #fff); color: #2C3557;
}
.k-doc :is(.alert, .warning, .disclaimer, .disclaimer-box, .danger, .important, .caution) {
  padding: 18px 22px; border-radius: 22px; background: #FFF6E5; box-shadow: inset 0 0 0 1.5px #FFD48A; color: #4A3200;
}
.k-doc :is(.info-card, .callout, .notice, .note, .summary, .tldr, .highlight, .highlight-box, .info, .info-box, .box, .resume, .encart, .key-points, .alert, .warning, .disclaimer, .disclaimer-box, .danger, .important, .caution) > * + * { margin-top: .7em; }
@media (max-width: 640px) { .k-doc { font-size: 16px; padding: 24px 20px; border-radius: 28px; } .k-doc h2 { font-size: 22px; } }
/* Bouton qui affiche une adresse e-mail : pas de majuscules. */
.k-btn.mail { text-transform: none; letter-spacing: 0; font-size: 16px; overflow-wrap: anywhere; text-align: center; }

/* Page introuvable : un grand « 404 » en tuiles qui tombent. */
.k-404 { min-height: 88svh; display: grid; place-items: center; text-align: center; }
.k-404 .k-wrap { display: grid; gap: 22px; justify-items: center; }
.k-404-code { display: flex; gap: clamp(10px, 2vw, 22px); margin-bottom: 10px; }
.k-404-code .k-tile { --s: clamp(84px, 14vw, 150px); font: 900 clamp(52px, 9vw, 96px)/1 var(--display); color: var(--app-ink); animation: k-drop 1s cubic-bezier(.34, 1.56, .64, 1) both, k-bob 6s ease-in-out 1s infinite; }
.k-404-code .k-tile:nth-child(2) { --a: #FFB43A; --b: #F06A00; color: #fff; animation-delay: .12s, 1.4s; }
.k-404-code .k-tile:nth-child(3) { animation-delay: .24s, 1.8s; }
@keyframes k-drop { from { transform: translateY(-120%) rotate(-20deg); opacity: 0; } }
.k-404 .k-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* Badge « bientôt disponible » : reste atténué, même après l'animation d'apparition. */
.k-store.soon, .k-js [data-anim].in > .k-store.soon { opacity: .55; }
/* Cellules de tableau : les mots longs se coupent aux syllabes plutôt qu'au milieu. */
.k-doc td, .k-doc th { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: normal; word-break: normal; }
