/* IBSIA — feuille de style
   Palette : la nuit de Paris (encre), le zinc des toits, la pierre des façades,
   et un seul accent : le fil lumineux. */

@font-face {
  font-family: 'Schibsted Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@property --halo {
  syntax: '<color>';
  inherits: true;
  initial-value: #f2b640;
}

:root {
  --encre: #0a1222;
  --marine: #05193b; /* bleu du logo : « IBS » et « IBSIA » sur fond clair */
  --encre-2: #0e1830;
  --zinc: #8e9bb0;
  --zinc-2: #4f5d75;
  --zinc-veille: #5a6882; /* mots pas encore « allumés » du manifeste : contraste 3,3:1 sur l'encre (gros texte) */
  --pierre: #ede7dc;
  --fil: #f6b029;   /* ambre du logo */
  --fil-glow: rgba(246, 176, 41, 0.45);
  --texte-clair: #3a4458;

  --f: 'Schibsted Grotesk Variable', 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --g: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --fs-small: 0.875rem;
  --fs-body: clamp(1.0625rem, 0.99rem + 0.22vw, 1.1875rem);
  --fs-lead: clamp(1.1875rem, 1.06rem + 0.45vw, 1.4375rem);
  --fs-h3: clamp(1.375rem, 1.18rem + 0.7vw, 1.875rem);
  --fs-h2: clamp(2.125rem, 1.3rem + 3.1vw, 4.5rem);
  --fs-beat: clamp(2rem, 1.05rem + 3.7vw, 4.875rem);
  --fs-h1: clamp(1.625rem, 1.15rem + 1.7vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  color-scheme: dark;
  overflow-x: clip; /* rien ne dépasse sur les côtés (objets du carrousel, animations) */
  -webkit-text-size-adjust: 100%;
  background: var(--encre);
  scroll-padding-top: 80px;
  scroll-padding-bottom: 96px; /* boutons flottants en bas d'écran */
}
html.menu-open { overflow: hidden; } /* menu ouvert : la page dessous ne défile pas */
/* défilement lissé (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--encre);
  color: var(--pierre);
  font-family: var(--f);
  font-size: var(--fs-body);
  font-weight: 400;

  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fil); outline-offset: 3px; border-radius: 6px; }
/* texte surligné à la souris : un voile ambre léger, le texte garde sa couleur */
::selection { background: rgba(246, 176, 41, 0.3); }
/* phrases des scènes vidéo (mots animés un à un) : pas de fond, qui ferait des blocs par mot ; le texte passe en ambre */
.stage ::selection { background: transparent; color: var(--fil); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--pierre); color: var(--encre);
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

.display {

  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 1rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; background: none; color: inherit; font-family: inherit;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn--fil { background: var(--fil); color: var(--encre); }
.btn--fil:hover { box-shadow: 0 0 0 6px rgba(246, 176, 41, 0.18), 0 10px 40px -8px var(--fil-glow); }
.btn--ligne { border-color: currentColor; }
.btn--ligne:hover { background: currentColor; }
.btn--ligne:hover > span { color: var(--encre); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- en-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--g);
  color: var(--pierre);
  transition: color 0.6s var(--ease), transform 0.6s var(--ease);
}
.site-header[data-on='light'] { color: var(--encre); }
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(10, 18, 34, 0.8); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(237, 231, 220, 0.06);
  opacity: 0; transition: opacity 0.6s var(--ease), background-color 0.6s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-scrolled[data-on='light']::before { background: rgba(237, 231, 220, 0.84); border-bottom-color: rgba(10, 18, 34, 0.06); }
/* accueil, sur les scènes vidéo : simple dégradé, pour ne pas couper les images plein écran
   (ailleurs, même fond givré que les autres pages : le texte ne passe jamais sous le menu) */
.p-home .site-header.over-stage::before { inset: 0 0 -40px; background: linear-gradient(to bottom, rgba(10, 18, 34, 0.55), rgba(10, 18, 34, 0)); -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
.p-home .site-header.over-stage[data-on='light']::before { opacity: 0; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 4px 0; }
.brand svg { height: clamp(42px, 3.4vw, 54px); width: auto; fill: currentColor; }
/* logo : carré ambre et réseau bleu marine, « IBSIA » dessous à la couleur du texte */
.wm { overflow: visible; } /* le réseau du logo suit le pointeur (initLogos, app.js) */
.wm-b { fill: currentColor; }
.site-header[data-on='light'] .wm-b { fill: var(--marine); }
.nav { display: flex; gap: clamp(16px, 2vw, 32px); margin-inline: auto; }
.nav a {
  position: relative; text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 8px 0;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--fil); box-shadow: 0 0 8px var(--fil-glow);
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 0.8125rem; font-weight: 600; }
.lang a { padding: 6px 6px; text-decoration: none; opacity: 0.6; border-radius: 6px; }
.lang a[aria-current='true'] { opacity: 1; }
.menu__links a[aria-current='page'] { color: var(--fil); }
.header-cta { min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-toggle::before {
  content: ''; position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle::before { top: 17px; }
.menu-toggle span { top: 25px; }
.menu-open .menu-toggle::before { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px var(--g) 40px; background: var(--encre); color: var(--pierre);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0); visibility: visible; }
.menu-open .site-header { color: var(--pierre); }
.menu__links { list-style: none; margin: 0 0 32px; padding: 0; }
.menu__links a {
  display: block; padding: 6px 0; text-decoration: none;
  font-size: clamp(2rem, 9vw, 3.25rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
}
.menu__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--zinc); font-size: 0.9375rem; }

@media (max-width: 960px) {
  .nav, .header-end .header-cta { display: none; }
  .header-end { margin-left: auto; }
  .menu-toggle { display: block; }
}
@media (min-width: 961px) { .menu { display: none; } }

/* ---------- écran de chargement ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--encre);
}
html:not(.js) .loader, .reduce-motion .loader { display: none; }
.loader__mark { width: min(28vw, 170px); }
.loader__mark svg { width: 100%; height: auto; fill: var(--pierre); }
/* au chargement : le logo apparaît de gauche à droite à mesure que les images arrivent */
.loader__mark svg { clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0); transition: clip-path 0.3s linear; }
.is-loaded .loader__mark svg { clip-path: inset(0); }
.loader__fil {
  position: absolute; left: 0; right: 0; bottom: 22vh; height: 1px; background: rgba(237, 231, 220, 0.08);
}
.loader__fil::after {
  content: ''; position: absolute; inset: 0; background: var(--fil); box-shadow: 0 0 14px 1px var(--fil);
  transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.25s linear;
}

/* ---------- scènes vidéo ---------- */
.stage { position: relative; height: calc(var(--len, 400) * 1vh); background: var(--encre); }
/* scène qui suit directement une autre : elle commence par-dessus la fin de la précédente (restée immobile) et
   apparaît en fondu sur data-blend hauteurs d'écran (%), au lieu de pousser l'image précédente vers le haut */
.js:not(.reduce-motion) .stage[data-blend] .stage__sticky { opacity: 0; }
.js:not(.reduce-motion) .stage[data-blend] { margin-top: calc(-100vh - var(--blend) * 1vh); margin-top: calc(-100lvh - var(--blend) * 1vh); z-index: 1; background: transparent; }
.stage__sticky { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.stage__canvas, .stage__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.stage__poster { z-index: 1; }
.stage__canvas { z-index: 0; }
.stage__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10, 18, 34, 0.78), rgba(10, 18, 34, 0) 48%),
    linear-gradient(to right, rgba(10, 18, 34, 0.5), rgba(10, 18, 34, 0) 58%);
}
.stage__copy { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
/* téléphone : l'image couvre tout l'écran, barres du navigateur repliées comprises (100lvh), mais les textes et
   boutons restent dans la partie toujours visible (100svh), jamais sous la barre d'outils du navigateur */
@supports (height: 100svh) {
  .stage__copy { inset: 0 0 auto; height: 100svh; }
  .stage__sticky > .hero-copy { bottom: calc(max(8vh, 56px) + 100lvh - 100svh); }
  .stage__sticky > .skip-intro { bottom: calc(28px + 100lvh - 100svh); }
}
.stage__copy a, .stage__copy button { pointer-events: auto; }
.beat {
  position: absolute; left: var(--g); right: var(--g); bottom: max(10vh, 72px);
  max-width: 15ch; margin: 0;
  font-size: var(--fs-beat); font-weight: 720; letter-spacing: -0.022em; line-height: 1.02;
  text-wrap: balance; text-shadow: 0 2px 30px rgba(10, 18, 34, 0.35);
  opacity: 0; visibility: hidden;
}
.beat--wide { max-width: 20ch; }
.beat--text {
  max-width: 34ch; font-size: var(--fs-lead); font-weight: 500; line-height: 1.45; letter-spacing: 0;
}
.beat--q { top: 0; bottom: 0; display: flex; align-items: center; max-width: none; }
.beat--q > span { max-width: 14ch; }
.beat .w { display: inline-block; }
.js:not(.reduce-motion) .beat .w { opacity: 0; }

.skip-intro {
  position: absolute; right: var(--g); bottom: 28px; z-index: 5;
  opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
  border: 1px solid rgba(237, 231, 220, 0.35); border-radius: 999px; background: rgba(10, 18, 34, 0.25);
  color: var(--pierre); font-size: 0.875rem; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.skip-intro:hover { border-color: var(--pierre); }
.skip-intro.is-on { opacity: 1; visibility: visible; }

/* <picture> ne sert qu'à choisir le bon fichier : sans effet sur la mise en page */
picture { display: contents; }
.nw { white-space: nowrap; }

/* le voile de nuages percé du nom « IBSIA » */
/* pas de will-change ici : Chrome garderait une image figée du voile après le grand zoom (bug au retour en haut) */
.veil { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.veil__sky {
  position: absolute; inset: 0;
  background: var(--encre) url(../img/k0-ciel.webp) 50% 35% / cover no-repeat;
  -webkit-mask-image: url(../img/intro-mark.svg), linear-gradient(#000 0 0);
  -webkit-mask-size: var(--wm-w, 86vw) auto, 100% 100%;
  -webkit-mask-position: var(--wm-x, 7vw) var(--wm-y, 30vh), 0 0;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: xor;
  mask-image: url(../img/intro-mark.svg), linear-gradient(#000 0 0);
  mask-size: var(--wm-w, 86vw) auto, 100% 100%;
  mask-position: var(--wm-x, 7vw) var(--wm-y, 30vh), 0 0;
  mask-repeat: no-repeat;
  mask-composite: exclude;
}
@media (max-aspect-ratio: 17/20) {
  .veil__sky { background-image: url(../img/k0-ciel-m.webp); }
}
/* avec JavaScript, le ciel est redessiné dans un canevas à chaque étape du zoom : bord des lettres net à tous les
   niveaux (agrandi d'un bloc par transform, le masque devenait pixélisé) ; le ciel CSS sert jusqu'au premier dessin */
.veil__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.veil--canvas .veil__canvas { display: block; }
.veil--canvas .veil__sky { visibility: hidden; }
.hero-copy {
  position: absolute; left: var(--g); right: var(--g); bottom: max(8vh, 56px); z-index: 4;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px;
  color: var(--encre);
}
.hero-copy h1 {
  max-width: 22ch; font-size: var(--fs-h1); font-weight: 720; letter-spacing: -0.02em; line-height: 1.04;
  text-wrap: balance;
}
.hero-copy p { max-width: 46ch; margin: 14px 0 0; font-size: var(--fs-body); font-weight: 500; color: #1c2840; }
.hero-copy .btn--ligne { color: var(--encre); }
@media (max-width: 760px) {
  .hero-copy { grid-template-columns: 1fr; }
}

/* ---------- vidéo de motion design (accueil) ---------- */
.film {
  padding: clamp(80px, 13vh, 160px) var(--g) clamp(40px, 6vh, 72px); background: var(--encre);
  /* la vidéo 16:9 tient entière dans l'écran, sous l'en-tête : sa largeur suit la hauteur de l'écran,
     et le titre s'aligne sur elle (le bloc titre + vidéo est centré) */
  --film-h: calc(100vh - clamp(128px, 16vh, 160px));
  padding-inline: max(var(--g), calc((100% - var(--film-h) * 16 / 9) / 2));
}
@supports (height: 100svh) { .film { --film-h: calc(100svh - clamp(128px, 16svh, 160px)); } }
.film__title { font-size: var(--fs-h2); max-width: 14ch; margin-bottom: clamp(28px, 5vh, 52px); }
/* la vidéo reste à l'écran pendant un moment du défilement (on ne peut pas la manquer) : le bloc titre + vidéo
   se colle sous l'en-tête pendant que la cale (film__hold) défile */
.js:not(.reduce-motion) .film { --film-h: calc(100vh - clamp(230px, 28vh, 270px)); }
@supports (height: 100svh) { .js:not(.reduce-motion) .film { --film-h: calc(100svh - clamp(230px, 28svh, 270px)); } }
.js:not(.reduce-motion) .film__pin { position: sticky; top: clamp(100px, 12vh, 120px); }
.js:not(.reduce-motion) .film__title { margin-bottom: clamp(16px, 3vh, 32px); }
.js:not(.reduce-motion) .film__hold { height: 70vh; }
/* page « Ibsia en vidéo » : le titre et la vidéo tiennent ensemble dans le premier écran, sous l'en-tête */
.film.film--page, .js:not(.reduce-motion) .film.film--page {
  min-height: 100vh; min-height: 100svh; display: grid; align-content: center;
  padding-block: clamp(110px, 15vh, 160px) clamp(32px, 6vh, 64px);
  --film-h: calc(100vh - clamp(260px, 32vh, 320px));
}
@supports (height: 100svh) { .film.film--page, .js:not(.reduce-motion) .film.film--page { --film-h: calc(100svh - clamp(260px, 32svh, 320px)); } }
.js:not(.reduce-motion) .film--page .film__pin { position: static; }
.film--page .film__frame[data-format='9x16'] { width: min(100%, calc((100vh - 280px) * 9 / 16)); width: min(100%, calc((100svh - 280px) * 9 / 16)); }
.film__sound {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 16px; border-radius: 999px; border: 0; cursor: pointer; background: var(--fil); color: var(--encre);
  font: 700 0.9375rem/1 var(--f); box-shadow: 0 0 0 8px rgba(246, 176, 41, 0.18), 0 18px 50px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s;
}
.film__sound:hover { transform: translateX(-50%) scale(1.05); }
.film__sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film__sound svg path:first-child { fill: currentColor; }
.film__frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden;
  background: #060c18; border: 1px solid rgba(237, 231, 220, 0.1);
  box-shadow: 0 50px 140px -60px rgba(246, 176, 41, 0.35);
}
.film__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
/* version 9:16 (écran en hauteur) : cadre vertical, centré, jamais plus haut que l'écran */
.film__frame[data-format='9x16'] { aspect-ratio: 9 / 16; margin-inline: auto; width: min(100%, calc(80vh * 9 / 16)); width: min(100%, calc(80svh * 9 / 16)); }
/* le bouton lecture sous le slogan de l'image d'attente, pour ne pas cacher le logo */
.film__frame[data-format] .film__play { top: 80%; }
.film__frame[data-format='9x16'] .film__play { top: 72%; }
@media (max-aspect-ratio: 17/20) {
  /* sans JavaScript, le navigateur prend déjà la version 9:16 (attribut media) : le cadre suit */
  html:not(.js) .film__frame[data-formats] { aspect-ratio: 9 / 16; margin-inline: auto; width: min(100%, calc(80vh * 9 / 16)); width: min(100%, calc(80svh * 9 / 16)); }
}
.film__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
  width: clamp(64px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 0; background: var(--fil); color: var(--encre); box-shadow: 0 0 0 10px rgba(246, 176, 41, 0.18), 0 20px 60px -10px var(--fil-glow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.film__play:hover { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(246, 176, 41, 0.16), 0 20px 70px -10px var(--fil-glow); }
.film__play svg { width: 38%; height: 38%; fill: currentColor; margin-left: 6%; }
/* emplacement réservé (aperçu seulement, tant que la vidéo n'est pas déposée) */
.film__frame--slot {
  display: grid; place-items: center; border-style: dashed; border-color: rgba(246, 176, 41, 0.45);
  background: radial-gradient(60% 70% at 50% 40%, rgba(246, 176, 41, 0.12), transparent 70%), #070e1c;
}
.film__slot { display: grid; justify-items: center; gap: 10px; padding: 24px; text-align: center; max-width: 46ch; }
.film__slot .film__slot-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--fil); color: var(--fil); margin-bottom: 6px; }
.film__slot-icon svg { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.film__slot strong { font-size: var(--fs-h3); font-weight: 650; line-height: 1.2; }
.film__slot span { color: var(--zinc); font-size: 0.9375rem; }
@media (max-width: 600px) { .film__slot strong { font-size: 1.125rem; } .film__slot span { font-size: 0.8125rem; } .film__slot .film__slot-icon { width: 48px; height: 48px; } }

/* ---------- carrousel des offres ---------- */
.offers {
  position: relative; overflow: hidden; color: var(--pierre);
  background:
    radial-gradient(48% 42% at 50% 46%, color-mix(in srgb, var(--halo) 26%, transparent), transparent 72%),
    radial-gradient(90% 70% at 50% 120%, color-mix(in srgb, var(--halo) 14%, transparent), transparent 70%),
    var(--encre);
  transition: --halo 1.1s var(--ease);
  /* tout le carrousel tient sur un écran : le cercle des objets prend la hauteur qui reste (voir .orbit) */
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(84px, 11vh, 130px) 0 clamp(28px, 5vh, 72px);
}
.offers__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px;
  padding: 0 var(--g);
}
.offers__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.75rem); max-width: 16ch; }
.offers__head p { max-width: 38ch; color: var(--zinc); margin: 0; }
.orbit {
  position: relative; height: clamp(250px, 42vh, 520px); margin-top: 1vh;
  flex: 1 1 0; min-height: min(clamp(150px, 24vh, 250px), 42vh); max-height: 560px; container-type: size;
  perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.orbit__floor {
  position: absolute; left: 50%; bottom: 4%; width: min(60vw, 720px); height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--halo) 70%, transparent), transparent 72%);
  filter: blur(22px); opacity: 0.55; pointer-events: none;
}
.orbit__item {
  --s: clamp(210px, 40vh, 480px);
  --s: min(94cqh, 480px, 64cqw);
  position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.orbit__item img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.orbit__item.is-active { cursor: default; }
.offers__panel-wrap {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; gap: 16px;
  max-width: 980px; margin: 0 auto; padding: 0 var(--g);
}
.round-btn {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(237, 231, 220, 0.3); background: transparent;
  display: grid; place-items: center; cursor: pointer; transition: border-color 0.3s, background-color 0.3s;
}
.round-btn:hover { border-color: var(--pierre); background: rgba(237, 231, 220, 0.06); }
.round-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
/* les 8 panneaux sont empilés dans la même case : sa hauteur est celle du plus grand, rien ne saute */
.offer-panels { display: grid; }
.offer-panel { grid-area: 1 / 1; align-self: start; text-align: center; }
.offer-panel:not(.is-on) { visibility: hidden; opacity: 0; pointer-events: none; }
.offer-panel h3 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 720; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.offer-panel .desc { max-width: 52ch; margin: 16px auto 22px; color: #c9cfda; }
.offer-panel .badge {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
  background: color-mix(in srgb, var(--halo) 22%, transparent); color: var(--pierre);
}
.orbit__dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; padding: 0 var(--g); flex-wrap: wrap; }
.orbit__dot {
  width: 34px; height: 34px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.orbit__dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(237, 231, 220, 0.28); transition: transform 0.4s var(--ease), background-color 0.4s;
}
.orbit__dot[aria-current='true']::before { background: var(--halo); transform: scale(1.5); box-shadow: 0 0 10px var(--halo); }
.offers__all { display: flex; justify-content: center; margin-top: 20px; }
.offers__all a { color: var(--zinc); font-size: 0.9375rem; }
.offers__all a:hover { color: var(--pierre); }
@media (max-width: 640px) {
  .offers__panel-wrap { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; }
  .round-btn { width: 44px; height: 44px; }
}
/* écrans peu hauts (portable 1280×720, tablette en largeur, téléphones) : le carrousel se resserre pour tenir sur
   un écran, le cercle des objets gardant au moins un cinquième de la hauteur */
@media (max-height: 860px) {
  .offers { padding-bottom: clamp(20px, 3.5vh, 40px); }
  .orbit { min-height: min(clamp(130px, 19vh, 250px), 42vh); margin-top: 0; }
  .offer-panel .desc { margin: 10px auto 14px; }
  .offer-panel .badge { margin-bottom: 8px; }
  .orbit__dots { margin-top: 6px; }
  .orbit__dot { height: 28px; }
  .offers__all { margin-top: 6px; }
}
@media (max-height: 860px) and (max-width: 640px) {
  .offers__head { gap: 8px; }
  .offers__head p { font-size: 0.9375rem; }
  .offer-panel h3 { font-size: 1.625rem; }
  .offer-panel .desc { font-size: 0.9375rem; }
}
@media (max-height: 760px) and (max-width: 640px) {
  .offers__head p { display: none; } /* la même promesse est rappelée dans « Notre méthode », juste après */
  .offers__head h2 { font-size: 1.75rem; }
}
/* téléphone en largeur (écran très bas) : les objets à gauche, le texte de l'offre à droite */
@media (max-height: 520px) and (orientation: landscape) {
  .offers {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-content: center;
    grid-template-areas: 'orbit head' 'orbit panel' 'orbit dots' 'orbit all'; column-gap: 8px;
    padding-top: 88px; padding-bottom: 12px;
  }
  .offers__head { grid-area: head; justify-content: center; text-align: center; }
  .offers__head h2 { font-size: 1.375rem; max-width: none; }
  .offers__head p { display: none; }
  .orbit { grid-area: orbit; height: auto; min-height: 0; max-height: none; align-self: stretch; }
  .offers__panel-wrap { grid-area: panel; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; padding: 0 12px; }
  .round-btn { width: 40px; height: 40px; }
  .offer-panel h3 { font-size: 1.25rem; }
  .offer-panel .desc { font-size: 0.875rem; margin: 6px auto 10px; }
  .offer-panel .badge { margin-bottom: 4px; }
  .orbit__dots { grid-area: dots; margin-top: 2px; }
  .orbit__dot { width: 28px; height: 24px; }
  .offers__all { grid-area: all; margin-top: 2px; }
}

/* ---------- méthode : étapes reliées par une ligne qui avance ---------- */
.on-light { background: var(--pierre); color: var(--encre); color-scheme: light; }
.method {
  --gap: clamp(16px, 2vw, 28px); --node: 56px;
  --m-blue: #5aa2f5; --m-mid: #b9b6a6; --m-gold: var(--fil);
  position: relative; padding: clamp(96px, 15vh, 180px) var(--g);
  background: radial-gradient(90% 60% at 80% 55%, rgba(90, 162, 245, 0.07), transparent 65%), var(--encre);
}
.method__title { font-size: var(--fs-h2); max-width: 18ch; margin-bottom: clamp(44px, 7vh, 84px); }
.method__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gap); }
.method__step { position: relative; display: flex; flex-direction: column; gap: 26px; }
.method__node {
  position: relative; z-index: 1; display: grid; place-items: center; width: var(--node); height: var(--node); border-radius: 50%;
  background: var(--encre-2); border: 1px solid rgba(142, 155, 176, 0.32); color: var(--zinc);
  transition: border-color 0.6s var(--ease), box-shadow 0.6s var(--ease), color 0.6s var(--ease), transform 0.6s var(--ease);
}
.method__node svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.method__step.is-on .method__node {
  color: #cfe4ff; border-color: rgba(90, 162, 245, 0.75);
  box-shadow: 0 0 0 6px rgba(90, 162, 245, 0.1), 0 0 26px rgba(90, 162, 245, 0.45); transform: scale(1.04);
}
.method__step:last-child.is-on .method__node { color: #ffe2b0; border-color: rgba(246, 176, 41, 0.8); box-shadow: 0 0 0 6px rgba(246, 176, 41, 0.12), 0 0 26px var(--fil-glow); }
/* segment de ligne vers l'étape suivante : rempli selon --f (0 → 1) */
.method__seg {
  position: absolute; top: calc(var(--node) / 2 - 1px); left: calc(var(--node) / 2); width: calc(100% + var(--gap)); height: 2px;
  background: rgba(142, 155, 176, 0.16); border-radius: 2px; overflow: hidden;
}
.method__seg > span {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--f, 0)); border-radius: inherit;
  background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 12px var(--c2);
}
.method__step:nth-child(1) .method__seg { --c1: var(--m-blue); --c2: #8fb5e6; }
.method__step:nth-child(2) .method__seg { --c1: #8fb5e6; --c2: var(--m-mid); }
.method__step:nth-child(3) .method__seg { --c1: var(--m-mid); --c2: var(--m-gold); }
.method__card {
  flex: 1; padding: clamp(22px, 2vw, 30px); border-radius: 14px;
  background: linear-gradient(180deg, rgba(22, 33, 58, 0.92), rgba(14, 24, 48, 0.92)); border: 1px solid rgba(142, 155, 176, 0.16);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease), border-color 0.8s var(--ease);
}
.method__step.is-on .method__card { border-color: rgba(90, 162, 245, 0.28); }
.method__n { display: block; margin-bottom: 14px; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; color: var(--m-blue); font-variant-numeric: tabular-nums; }
.method__step:last-child .method__n { color: var(--fil); }
.method__card h3 { font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.4375rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; max-width: 20ch; }
.method__card p { margin: 12px 0 0; color: #b7c0cf; font-size: 1rem; line-height: 1.6; }
/* avant l'animation (si le JavaScript tourne) : cartes en attente, elles apparaissent une par une */
html.js:not(.reduce-motion) .method__step:not(.is-on) .method__card { opacity: 0; transform: translateY(18px); filter: blur(6px); }
@media (max-width: 860px) {
  .method__steps { grid-template-columns: 1fr; gap: 0; }
  .method__step { flex-direction: row; gap: 18px; padding-bottom: 22px; }
  .method__node { flex: none; --node: 48px; width: 48px; height: 48px; }
  .method__seg { top: 48px; left: 23px; width: 2px; height: calc(100% - 48px); }
  .method__seg > span { transform-origin: 50% 0; transform: scaleY(var(--f, 0)); background: linear-gradient(180deg, var(--c1), var(--c2)); }
}

/* ---------- engagements ---------- */
.engage {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: center;
  padding: clamp(96px, 16vh, 200px) var(--g);
}
.manifesto {
  font-size: clamp(2rem, 1.1rem + 2.7vw, 4rem); font-weight: 740; line-height: 1.04; letter-spacing: -0.025em;
  margin: 0 0 6vh; max-width: 15ch;
}
.manifesto .w { color: var(--zinc-veille); transition: color 0.5s var(--ease); }
.manifesto .w.is-lit { color: var(--pierre); }
.figure-block { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.wall__figure {
  font-size: clamp(6rem, 3rem + 11vw, 15rem); font-weight: var(--wght, 860);
  line-height: 0.82; letter-spacing: -0.04em; color: var(--pierre);
}
.wall__figure em { font-style: normal; color: var(--fil); text-shadow: 0 0 28px var(--fil-glow); }
.figure-block p { max-width: 20ch; margin: 0 0 0.6em; color: var(--zinc); font-size: var(--fs-lead); line-height: 1.3; }
.wall {
  height: min(92vh, 900px); perspective: 1100px; margin-right: calc(var(--g) * -1);
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.wall__plane {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: 140%;
  transform: rotateX(24deg) rotateZ(-9deg) translateY(-14%); transform-origin: 50% 0;
}
.wall__col, .wall__set { display: flex; flex-direction: column; gap: 14px; }
.wall__col { will-change: transform; }
.pledge {
  padding: 20px 20px 22px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(237, 231, 220, 0.075), rgba(237, 231, 220, 0.025));
  border: 1px solid rgba(237, 231, 220, 0.08);
}
.pledge strong { display: block; font-size: 1.0625rem; font-weight: 650; line-height: 1.2; color: var(--pierre); }
.pledge span { display: block; margin-top: 8px; font-size: 0.875rem; line-height: 1.45; color: var(--zinc); }
.pledge--fil { border-color: rgba(246, 176, 41, 0.35); }
.wall__toggle {
  margin-top: 18px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(237, 231, 220, 0.25); background: transparent; color: var(--pierre);
  font: inherit; font-size: 0.875rem; font-weight: 600;
}
.wall__toggle:not(:focus-visible) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pledge--fil strong { color: var(--fil); }
@media (max-width: 960px) {
  .engage { grid-template-columns: 1fr; }
  .wall { height: 70vh; margin: 0 calc(var(--g) * -1); }
  .wall__plane { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall__col:nth-child(3) { display: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); padding: clamp(96px, 15vh, 180px) var(--g); }
.faq h2 { font-size: var(--fs-h2); max-width: 10ch; }
.faq__list details { border-top: 1px solid rgba(10, 18, 34, 0.16); }
.faq__list details:last-child { border-bottom: 1px solid rgba(10, 18, 34, 0.16); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: var(--fs-h3); font-weight: 620; line-height: 1.25;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ''; flex: none; width: 18px; height: 18px;
  background: linear-gradient(currentColor 0 0) 50% / 100% 1.5px no-repeat, linear-gradient(currentColor 0 0) 50% / 1.5px 100% no-repeat;
  transition: rotate 0.5s var(--ease);
}
.faq__list details[open] summary::after { rotate: 45deg; }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 0 26px; max-width: 64ch; color: var(--texte-clair); }
.faq__a p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- contact (scène de nuit) ---------- */
.contact-card {
  position: absolute; left: var(--g); right: var(--g); bottom: max(8vh, 48px);
  display: grid; gap: 28px; max-width: none;
  font-size: var(--fs-body); font-weight: 400; letter-spacing: 0; line-height: 1.5;
  opacity: 0; visibility: hidden;
}
.contact-card h2 { max-width: 13ch; font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6.5rem); font-weight: 760; letter-spacing: -0.03em; line-height: 0.95; }
.contact-card__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.contact-lines { display: grid; gap: 6px; font-size: var(--fs-lead); }
.contact-lines a { text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--fil); }
.contact-lines span { color: var(--zinc); font-size: var(--fs-body); }
.contact-card .btn-row { margin: 0; }

/* ---------- pied de page ---------- */
/* le bas de page reste au-dessus des boutons flottants (assistant, retour en haut) */
.site-footer { background: var(--encre); padding: clamp(72px, 12vh, 140px) var(--g) calc(92px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(237, 231, 220, 0.07); }
.footer__cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }
.footer__cols h2 { font-size: var(--fs-small); font-weight: 600; color: var(--zinc); margin-bottom: 14px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__cols a { text-decoration: none; font-size: 0.9375rem; }
.footer__cols a:hover { color: var(--fil); }
.footer__contact p { margin: 0 0 6px; }
.footer__logo { display: inline-block; margin-bottom: 26px; color: var(--pierre); }
.footer__logo svg { height: 88px; width: auto; fill: currentColor; }
.footer__contact .big { font-size: var(--fs-h3); font-weight: 650; }
.footer__cols .footer__contact .big a { font-size: inherit; }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(48px, 8vh, 88px); padding-top: 22px; border-top: 1px solid rgba(237, 231, 220, 0.08);
  color: var(--zinc); font-size: 0.8125rem;
}
.footer__base a { color: inherit; }
.footer__langs { display: flex; gap: 18px; }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__contact { grid-column: 1 / -1; } }

/* ---------- pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden; min-height: min(78vh, 820px);
  display: grid; align-items: end; padding: 140px var(--g) max(clamp(48px, 9vh, 96px), 92px);
}
/* image qui respire */
.page-hero__bg { position: absolute; inset: -8% 0; z-index: 0; overflow: hidden; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--encre) 4%, rgba(10, 18, 34, 0.25) 60%, rgba(10, 18, 34, 0.5)); }
.page-hero__inner { position: relative; z-index: 1; max-width: 1100px; }
.page-hero h1 { max-width: 20ch; font-size: clamp(2.5rem, 1.3rem + 4.6vw, 6rem); font-weight: 760; letter-spacing: -0.03em; line-height: 0.98; text-wrap: balance; }
.page-hero p { max-width: 58ch; margin-top: 22px; font-size: var(--fs-lead); color: #d4d9e2; }
.crumbs { display: flex; gap: 8px; margin-bottom: 22px; font-size: 0.875rem; color: var(--zinc); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--pierre); }

.prose-wrap { padding: clamp(32px, 6vh, 64px) var(--g) clamp(72px, 12vh, 140px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) minmax(0, 1fr); gap: 40px; }
.prose-wrap > .prose { grid-column: 2; }
.prose { max-width: 70ch; min-width: 0; } /* élément de grille : un tableau large défile dans son cadre (.table-wrap) au lieu d'élargir la page */
.prose h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.08; margin: 1.8em 0 0.6em; }
.prose h3 { font-size: var(--fs-h3); line-height: 1.2; margin: 1.6em 0 0.5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--fil); }
.prose a { color: var(--fil); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(237, 231, 220, 0.12); vertical-align: top; }
.prose strong { color: var(--pierre); font-weight: 650; }
@media (max-width: 860px) { .prose-wrap { grid-template-columns: 1fr; } .prose-wrap > .prose { grid-column: 1; } }

/* offre : objet éclairé + contenu */
.offer-hero {
  position: relative; overflow: hidden; min-height: 100vh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px;
  padding: clamp(110px, 16vh, 160px) var(--g) 92px; /* en bas : la place des boutons flottants (contact, assistant) */
  background: radial-gradient(42% 48% at 72% 50%, color-mix(in srgb, var(--halo) 26%, transparent), transparent 72%), var(--encre);
}
.offer-hero__obj { position: relative; aspect-ratio: 1; width: min(100%, 680px); justify-self: center; }
.offer-hero__obj img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45)); }
/* l'objet suit le pointeur avec du relief (initFloat, app.js) : le halo derrière glisse à l'opposé (profondeur) et un
   reflet de lumière, découpé à la forme de l'objet, se déplace dessus comme si la lumière venait du pointeur */
.offer-hero__body { position: absolute; inset: 0; }
.offer-hero__halo {
  position: absolute; inset: 14%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--fil) 26%, transparent), transparent);
  filter: blur(30px); opacity: 0.8;
}
.offer-hero__glint {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 40%), rgba(255, 236, 200, 0.55), rgba(255, 220, 160, 0.12) 22%, transparent 42%);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: opacity 0.6s;
}
.offer-hero__obj.is-lit .offer-hero__glint { opacity: 1; }
.offer-hero__text { position: relative; z-index: 1; }
.offer-hero .badge {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
  background: color-mix(in srgb, var(--halo) 24%, transparent);
}
.offer-hero h1 { max-width: 20ch; font-size: clamp(2rem, 1.1rem + 2.5vw, 3.6rem); font-weight: 760; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.offer-hero .lead { max-width: 46ch; margin: 16px 0 0; font-size: var(--fs-lead); color: #d4d9e2; }
.offer-hero .btn-row { margin-top: 32px; } /* l'espace que laissait le prix, retiré */
@media (max-width: 860px) { .offer-hero { grid-template-columns: 1fr; } .offer-hero__obj { order: -1; width: min(80vw, 420px); } }
/* téléphone en largeur : le texte et l'objet côte à côte, pour que le haut de page tienne sur l'écran */
@media (max-height: 520px) and (orientation: landscape) {
  .offer-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); padding: 92px var(--g) 20px; }
  .offer-hero__obj { order: 0; width: min(100%, 62vh); }
  .offer-hero h1 { font-size: clamp(1.5rem, 1rem + 2.4vw, 2.1rem); }
}

/* page Offres : les 8 offres d'un coup d'œil (4 × 2, visibles dès l'arrivée), l'objet s'anime au survol */
.page-hero.page-hero--compact { min-height: 0; padding-top: clamp(96px, 13vh, 116px); padding-bottom: clamp(18px, 3vh, 30px); }
.page-hero.page-hero--compact .page-hero__inner { max-width: none; }
.page-hero.page-hero--compact .crumbs { margin-bottom: 12px; }
.page-hero.page-hero--compact h1 { max-width: 30ch; font-size: clamp(1.875rem, 1.1rem + 1.9vw, 2.875rem); line-height: 1.04; }
.page-hero.page-hero--compact .page-hero__inner > p { max-width: 70ch; margin-top: 10px; font-size: 1rem; }
.page-hero.page-hero--compact .page-hero__bg::after { background: linear-gradient(to top, var(--encre) 2%, rgba(10, 18, 34, 0.55) 70%, rgba(10, 18, 34, 0.7)); }
.offer-grid-wrap { padding: 10px var(--g) clamp(64px, 10vh, 120px); }
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 899px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer-grid a {
  position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 10px 18px 18px;
  border-radius: 16px; text-decoration: none; overflow: hidden;
  background: radial-gradient(80% 55% at 50% 26%, color-mix(in srgb, var(--h) 12%, transparent), transparent 72%), rgba(237, 231, 220, 0.03);
  border: 1px solid rgba(237, 231, 220, 0.08);
  transition: border-color 0.4s var(--ease), transform 0.6s var(--ease);
}
.offer-grid a::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s var(--ease);
  background: radial-gradient(70% 50% at 50% 28%, color-mix(in srgb, var(--h) 30%, transparent), transparent 70%);
}
.offer-grid__media { position: relative; height: clamp(104px, 9.2vw, 136px); margin-bottom: 6px; }
.offer-grid img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  transform: scale(0.94); transition: transform 0.8s var(--ease);
}
.offer-grid__badge {
  position: absolute; top: 10px; left: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
  background: color-mix(in srgb, var(--h) 28%, transparent); color: var(--pierre);
}
.offer-grid__name { position: relative; font-size: clamp(1rem, 0.9rem + 0.3vw, 1.1875rem); font-weight: 680; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; transition: color 0.4s, transform 0.6s var(--ease); }
.offer-grid a:hover, .offer-grid a:focus-visible { border-color: color-mix(in srgb, var(--h) 60%, transparent); transform: translateY(-4px); }
.offer-grid a:hover::before, .offer-grid a:focus-visible::before { opacity: 1; }
.offer-grid a:hover img, .offer-grid a:focus-visible img { transform: scale(1.08) rotate(-5deg) translateY(-6px); }
.offer-grid a:hover .offer-grid__name, .offer-grid a:focus-visible .offer-grid__name { color: var(--h); transform: translateX(6px); }
.offer-grid-wrap .note { margin-top: 18px; font-size: 0.8125rem; }
@media (max-width: 600px) {
  .offer-grid { gap: 10px; }
  .offer-grid a { padding: 8px 12px 14px; border-radius: 14px; }
  .offer-grid__media { height: 92px; }
  .offer-grid__name { font-size: 0.9375rem; }
}

.panel {
  padding: 28px; border-radius: 16px; background: rgba(237, 231, 220, 0.04); border: 1px solid rgba(237, 231, 220, 0.08);
}
.on-light .panel { background: rgba(10, 18, 34, 0.035); border-color: rgba(10, 18, 34, 0.08); }
.panel h3 { font-size: var(--fs-h3); margin-bottom: 10px; }

/* formulaire */
.form { display: grid; gap: 18px; max-width: 720px; margin-top: 24px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 0.9375rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(237, 231, 220, 0.18);
  background: rgba(237, 231, 220, 0.04); color: var(--pierre); font: inherit;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fil); box-shadow: 0 0 0 4px rgba(246, 176, 41, 0.16); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-status { min-height: 1.5em; font-weight: 600; }
.form-status[data-state='ok'] { color: #8fd18a; }
.form-status[data-state='err'] { color: #ff9b8a; }
.form-status[data-state='info'] { color: var(--fil); font-weight: 500; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- mouvement réduit / sans JS ---------- */
.reduce-motion .stage, html:not(.js) .stage { height: auto; }
.reduce-motion .stage__sticky, html:not(.js) .stage__sticky { position: relative; height: auto; min-height: 100vh; }
.reduce-motion .stage__canvas, html:not(.js) .stage__canvas { display: none; }
.reduce-motion .stage__poster, html:not(.js) .stage__poster { position: absolute; }
.reduce-motion .stage__copy, html:not(.js) .stage__copy {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; min-height: 100vh;
  padding: 120px var(--g) 64px;
}
.reduce-motion .beat, html:not(.js) .beat, .reduce-motion .contact-card, html:not(.js) .contact-card {
  position: relative; inset: auto; opacity: 1; visibility: visible; font-size: var(--fs-h3);
}
.reduce-motion .veil, html:not(.js) .veil, .reduce-motion .skip-intro, html:not(.js) .skip-intro { display: none; }
.reduce-motion .hero-copy, html:not(.js) .hero-copy { position: relative; inset: auto; color: var(--pierre); }
.reduce-motion .hero-copy .btn--ligne, html:not(.js) .hero-copy .btn--ligne { color: var(--pierre); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- scène de l'offre phare ---------- */
.beat--top {
  top: max(15vh, 104px); bottom: auto; max-width: 32ch;
  font-size: var(--fs-body); font-weight: 400; letter-spacing: 0; line-height: 1.5;
}
.beat--top h2 { font-size: var(--fs-h2); font-weight: 750; letter-spacing: -0.025em; line-height: 1; max-width: 13ch; }
.badge-line { display: inline-block; margin-bottom: 14px; font-size: 0.875rem; font-weight: 600; color: var(--zinc); }
.beat--cta {
  left: auto; right: var(--g); bottom: max(10vh, 72px); width: auto; max-width: none;
  font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1; text-shadow: none;
}
@media (max-width: 760px) {
  .beat--cta { left: var(--g); right: auto; bottom: max(5vh, 32px); }
}

/* =================================================================
   Pages intérieures
   ================================================================= */
.engage__more { margin-top: 5vh; }
.engage__more a { color: var(--zinc); font-size: 0.9375rem; }
.engage__more a:hover { color: var(--pierre); }
.footer__tagline { max-width: 34ch; color: var(--zinc); margin-bottom: 18px !important; }
.hint { font-size: 0.875rem; color: var(--zinc); }
.note { margin-top: 28px; font-size: 0.875rem; color: var(--zinc); max-width: 70ch; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.table-wrap table { margin: 0; min-width: 560px; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.62em; width: 14px; height: 1px; background: var(--fil); box-shadow: 0 0 6px var(--fil-glow);
}

.chooser {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 80px; align-items: end;
  padding: clamp(72px, 12vh, 140px) var(--g); border-top: 1px solid rgba(237, 231, 220, 0.07);
}
.chooser h2 { font-size: var(--fs-h2); max-width: 14ch; }
.chooser p { color: #c3cad6; max-width: 46ch; }
@media (max-width: 860px) { .chooser { grid-template-columns: 1fr; } }

/* ---------- mini assistant ---------- */
.dock__ask {
  display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(237, 231, 220, 0.25); background: rgba(10, 18, 34, 0.78); color: var(--pierre);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 0.9375rem/1 inherit; font-family: inherit;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6); transition: border-color 0.3s, background-color 0.3s;
}
.dock__ask:hover, .dock__ask[aria-expanded='true'] { border-color: var(--fil); }
.dock__ask svg { width: 20px; height: 20px; fill: none; stroke: var(--fil); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .dock__ask { width: 48px; padding: 0; justify-content: center; } .dock__ask span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
/* Le panneau : en-tête (le titre ouvre la liste des conversations), une seule zone qui défile (la conversation, ou
   la liste quand elle est ouverte), la saisie, une ligne d'avertissement. */
.ask {
  position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 60px);
  width: min(384px, calc(100vw - 32px)); height: min(580px, calc(100dvh - 112px)); display: flex; flex-direction: column;
  border-radius: 18px; overflow: hidden; background: #0d1628; border: 1px solid rgba(142, 155, 176, 0.2);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5); color: #dfe4ec;
  opacity: 0; transform: translateY(12px) scale(0.985); transform-origin: bottom right;
  transition: opacity 0.28s var(--ease), transform 0.38s var(--ease);
}
.ask.is-in { opacity: 1; transform: none; }
.ask__head { display: flex; align-items: center; gap: 2px; padding: 8px 8px 8px 6px; border-bottom: 1px solid rgba(142, 155, 176, 0.12); }
.ask__switch {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 6px 8px; border: 0; border-radius: 12px;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color 0.2s;
}
.ask__switch:hover, .ask__switch[aria-expanded='true'] { background: rgba(237, 231, 220, 0.06); }
.ask__logo { display: block; flex: none; width: 32px; height: 32px; }
.ask__logo svg { width: 32px; height: 32px; }
.ask__titles { display: grid; min-width: 0; line-height: 1.25; }
.ask__titles b, .ask__titles small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ask__titles b { font-size: 0.9375rem; font-weight: 650; color: var(--pierre); }
.ask__titles small { font-size: 0.75rem; color: var(--zinc); }
.ask__chev { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--zinc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.ask__switch[aria-expanded='true'] .ask__chev { transform: rotate(180deg); }
.ask__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: none; color: #c9d0db; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.ask__icon:hover, .ask__icon:focus-visible { background: rgba(237, 231, 220, 0.07); color: var(--pierre); }
.ask__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ask__icon[data-ask-human] svg { stroke: var(--fil); }
.ask__body { position: relative; display: flex; flex: 1; min-height: 0; }
.ask__log, .ask__list { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(142, 155, 176, 0.3) transparent; }
.ask__log::-webkit-scrollbar, .ask__list::-webkit-scrollbar { width: 6px; }
.ask__log::-webkit-scrollbar-thumb, .ask__list::-webkit-scrollbar-thumb { border-radius: 3px; background: rgba(142, 155, 176, 0.3); }
.ask__log { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 12px; }
/* accueil d'une nouvelle conversation */
.ask__welcome { display: grid; justify-items: center; gap: 4px; margin: auto 0; padding: 4px 2px; text-align: center; }
.ask__avatar { display: block; width: 52px; height: 52px; margin-bottom: 10px; filter: drop-shadow(0 8px 24px rgba(246, 176, 41, 0.3)); }
.ask__avatar svg { width: 52px; height: 52px; }
.ask__hi { margin: 0; font-size: 1.125rem; font-weight: 650; line-height: 1.3; color: var(--pierre); text-wrap: balance; }
.ask__hisub { max-width: 32ch; margin: 0 0 12px; font-size: 0.8125rem; line-height: 1.45; color: var(--zinc); }
.ask__prompts { display: grid; gap: 8px; width: 100%; }
.ask__prompts button {
  display: block; width: 100%; padding: 10px 14px; border: 1px solid rgba(142, 155, 176, 0.2); border-radius: 12px;
  background: rgba(237, 231, 220, 0.03); color: #e6dfd1; font: 500 0.875rem/1.35 var(--f); text-align: left;
  cursor: pointer; transition: border-color 0.25s, background-color 0.25s;
}
.ask__prompts button:hover, .ask__prompts button:focus-visible { border-color: rgba(246, 176, 41, 0.6); background: rgba(246, 176, 41, 0.06); }
.ask__privacy { margin: 10px 0 0; font-size: 0.6875rem; line-height: 1.4; color: var(--zinc); }
/* messages : l'assistant en texte libre, le visiteur dans une bulle ambre */
.ask__msg { max-width: 94%; font-size: 0.9375rem; line-height: 1.55; overflow-wrap: anywhere; }
.ask__msg p { margin: 0; }
.ask__msg p + p, .ask__msg ul + p, .ask__msg p + ul { margin-top: 8px; }
.ask__msg ul { margin: 0; padding-left: 1.1em; }
.ask__msg a { color: var(--fil); text-underline-offset: 3px; }
.ask__msg strong { color: var(--pierre); }
.ask__msg--bot { align-self: flex-start; color: #dfe4ec; }
.ask__msg--user { align-self: flex-end; max-width: 84%; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: var(--fil); color: var(--encre); font-weight: 500; }
.ask__msg--user strong { color: inherit; }
.ask__sys { align-self: center; margin: 0; padding: 4px 12px; border: 1px solid rgba(142, 155, 176, 0.22); border-radius: 999px; font-size: 0.75rem; color: var(--zinc); }
.ask__typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.ask__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--zinc); animation: mk-blink 1s infinite; }
.ask__typing i:nth-child(2) { animation-delay: 0.15s; }
.ask__typing i:nth-child(3) { animation-delay: 0.3s; }
.ask__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.ask__chips button {
  padding: 6px 12px; border: 1px solid rgba(246, 176, 41, 0.38); border-radius: 999px; background: rgba(246, 176, 41, 0.05);
  color: #f3dcae; font: 500 0.8125rem/1.3 var(--f); text-align: left; cursor: pointer; transition: background-color 0.25s, border-color 0.25s;
}
.ask__chips button:hover, .ask__chips button:focus-visible { border-color: var(--fil); background: rgba(246, 176, 41, 0.12); }
/* liste des conversations (gardées sur l'appareil) */
.ask__list { padding: 10px 10px 14px; }
.ask__newconv {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px dashed rgba(246, 176, 41, 0.45);
  border-radius: 12px; background: none; color: var(--pierre); font: 600 0.875rem/1.2 var(--f); cursor: pointer;
}
.ask__newconv::before { content: '+'; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fil); color: var(--encre); font-size: 1rem; font-weight: 700; line-height: 1; }
.ask__newconv:hover, .ask__newconv:focus-visible { border-style: solid; background: rgba(246, 176, 41, 0.06); }
.ask__group { margin: 16px 10px 6px; font-size: 0.75rem; font-weight: 650; color: var(--zinc); }
.ask__list ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ask__list li { display: flex; align-items: center; border-radius: 10px; transition: background-color 0.2s; }
.ask__list li:hover, .ask__list li.is-cur { background: rgba(237, 231, 220, 0.05); }
.ask__conv { display: grid; flex: 1; gap: 1px; min-width: 0; padding: 8px 10px; border: 0; background: none; color: #dfe4ec; font: 500 0.875rem/1.3 var(--f); text-align: left; cursor: pointer; }
.ask__conv span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ask__conv small { font-size: 0.6875rem; color: var(--zinc); }
.ask__list li.is-cur .ask__conv span { color: var(--pierre); }
.ask__del { display: grid; place-items: center; flex: none; width: 30px; height: 30px; margin-right: 4px; border: 0; border-radius: 8px; background: none; color: var(--zinc); cursor: pointer; opacity: 0; transition: opacity 0.2s, color 0.2s, background-color 0.2s; }
.ask__list li:hover .ask__del, .ask__list li.is-cur .ask__del, .ask__del:focus-visible { opacity: 1; }
@media (hover: none) { .ask__del { opacity: 1; } }
.ask__del svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ask__del:hover, .ask__del:focus-visible { background: rgba(255, 180, 162, 0.08); color: #ffb4a2; }
.ask__clear { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 8px 0; font-size: 0.8125rem; color: #c9d0db; }
.ask__clear span { flex-basis: 100%; }
.ask__clear button { min-height: 32px; padding: 0 12px; border: 1px solid rgba(142, 155, 176, 0.3); border-radius: 999px; background: none; color: var(--pierre); font: 600 0.8125rem/1 var(--f); cursor: pointer; }
.ask__clear button:hover, .ask__clear button:focus-visible { border-color: var(--pierre); }
.ask__clear .is-danger { border-color: rgba(255, 180, 162, 0.55); color: #ffcdbf; }
.ask__empty, .ask__local { margin: 14px 10px 0; font-size: 0.75rem; line-height: 1.45; color: var(--zinc); }
/* saisie : grandit avec le texte, bouton rond */
.ask__form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 5px 5px 5px 14px; border: 1px solid rgba(142, 155, 176, 0.22); border-radius: 22px; background: rgba(237, 231, 220, 0.06); transition: border-color 0.2s; }
.ask__form:focus-within { border-color: rgba(246, 176, 41, 0.7); }
.ask__form textarea {
  flex: 1; min-width: 0; height: 36px; max-height: 112px; padding: 7px 0; border: 0; background: none; color: var(--pierre);
  font: 400 1rem/1.4 var(--f); resize: none; outline: none; overflow-y: hidden; scrollbar-width: thin;
}
.ask__form textarea::placeholder { color: var(--zinc); }
.ask__form button { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--fil); color: var(--encre); cursor: pointer; transition: opacity 0.2s, transform 0.2s; }
.ask__form button:hover { transform: translateY(-1px); }
.ask__form button:disabled { opacity: 0.45; cursor: default; transform: none; }
.ask__form button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ask__note { margin: 0; padding: 7px 16px 10px; font-size: 0.6875rem; line-height: 1.4; color: var(--zinc); text-align: center; }
/* sources et boutons sous une réponse, formulaire de transfert à l'équipe dans la conversation */
.ask__sources { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 10px !important; padding-top: 8px; border-top: 1px solid rgba(142, 155, 176, 0.16); font-size: 0.8125rem; }
.ask__sources span { color: var(--zinc); }
.ask__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ask__act {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid rgba(142, 155, 176, 0.35); border-radius: 999px;
  background: none; color: var(--pierre); font: 600 0.8125rem/1 var(--f); text-decoration: none; cursor: pointer;
}
.ask__msg a.ask__act { color: var(--pierre); text-decoration: none; }
.ask__act:hover, .ask__act:focus-visible { border-color: var(--fil); }
.ask__msg a.ask__act--fil, .ask__act--fil { border-color: var(--fil); background: var(--fil); color: var(--encre); }
.ask__handoff { width: 100%; max-width: 100%; padding: 12px 14px; border: 1px solid rgba(142, 155, 176, 0.2); border-radius: 14px; background: rgba(237, 231, 220, 0.04); }
.ask__hform { display: grid; gap: 4px; margin-top: 10px; }
.ask__hform label { margin-top: 6px; font-size: 0.8125rem; color: var(--zinc); }
.ask__hform input, .ask__hform textarea {
  width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid rgba(142, 155, 176, 0.28); border-radius: 10px;
  background: rgba(237, 231, 220, 0.06); color: var(--pierre); font: 400 1rem/1.4 var(--f); resize: vertical;
}
.ask__hform input:focus, .ask__hform textarea:focus { outline: none; border-color: var(--fil); }
.ask__hform .ask__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask__fine { margin-top: 8px !important; font-size: 0.75rem; color: var(--zinc); }
.ask__err { margin-top: 6px !important; font-size: 0.8125rem; color: #ffb4a2; }
.ask__hbtns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ask__hsend { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--fil); color: var(--encre); font: 650 0.875rem/1 var(--f); cursor: pointer; }
.ask__hsend:disabled { opacity: 0.6; cursor: default; }
.ask__hcancel { min-height: 40px; padding: 0 14px; border: 1px solid rgba(142, 155, 176, 0.3); border-radius: 999px; background: none; color: var(--pierre); font: 600 0.875rem/1 var(--f); cursor: pointer; }
/* téléphone : un panneau qui monte du bas de l'écran */
@media (max-width: 560px) {
  .ask {
    left: 0; right: 0; bottom: 0; width: auto; height: min(92dvh, 760px); border-radius: 18px 18px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px); transform-origin: bottom center;
  }
  .ask__log { padding: 16px 14px 10px; }
}

/* ---------- bandeau cookies ---------- */
.consent {
  position: fixed; z-index: 80; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100vw - 32px)); display: grid; gap: 14px; padding: 18px 20px;
  border-radius: 16px; background: rgba(14, 24, 48, 0.94); border: 1px solid rgba(142, 155, 176, 0.22);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #d4d9e2; font-size: 0.9375rem; line-height: 1.5;
  opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.consent.is-in { opacity: 1; transform: none; }
.consent p { margin: 0; }
.consent strong { color: var(--pierre); }
.consent a { color: var(--pierre); }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__btns .btn { justify-content: center; min-height: 44px; }
@media (max-width: 560px) { .consent { font-size: 0.875rem; padding: 16px; gap: 12px; } }
/* sur ordinateur : fine barre tout en bas, sous le texte d'accueil et ses boutons */
@media (min-width: 961px) {
  .consent {
    left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: 8px; width: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 8px 8px 20px; border-radius: 14px; font-size: 0.875rem;
  }
  .consent__btns { flex: none; display: flex; }
  .consent__btns .btn { min-height: 38px; padding: 0 18px; font-size: 0.9375rem; }
}
.footer__consent { margin: -6px 0 -6px 18px; padding: 6px 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__consent:hover { color: var(--pierre); }

/* ---------- « Concrètement, ça donne quoi ? » : la démo de l'offre (pages d'offres) ----------
   Trois cas d'usage par offre (onglets), chacun raconté en 4 étapes, joué dans une fenêtre d'application par un
   curseur qui se déplace, tape et clique (js/mockups.js). Sans JavaScript ou avec « animations réduites » : chaque
   cas d'usage montre son état final. */
.practice {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "head demo" "side demo";
  grid-template-rows: auto 1fr; gap: 28px clamp(32px, 5vw, 88px); align-items: start;
  padding: clamp(80px, 13vh, 150px) var(--g); border-top: 1px solid rgba(237, 231, 220, 0.07);
}
.practice__head { grid-area: head; }
.practice__side { grid-area: side; min-width: 0; }
.practice .demo { grid-area: demo; align-self: start; position: sticky; top: var(--demo-top, 96px); }
.practice h2 { font-size: clamp(2rem, 1.1rem + 2.4vw, 3.5rem); margin-bottom: 16px; text-wrap: balance; }
.practice .lead { font-size: var(--fs-lead); color: #c9d0db; max-width: 44ch; }
.studio__tabs {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin-bottom: 14px; padding: 4px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(237, 231, 220, 0.08);
}
.studio__tab {
  min-height: 48px; padding: 6px 8px; border-radius: 12px; border: 0; background: transparent; color: #b9c2d0;
  font: inherit; font-size: 0.875rem; font-weight: 600; line-height: 1.25; text-wrap: balance; cursor: pointer; transition: background-color 0.3s, color 0.3s;
}
.studio__tab:focus-visible { border-radius: 12px; outline-offset: 2px; }
.studio__tab:hover { color: var(--pierre); background: rgba(255, 255, 255, 0.05); }
.studio__tab[aria-selected='true'] { background: var(--fil); color: var(--encre); }
.studio__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.studio__step {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%;
  padding: 13px 16px 14px; border-radius: 14px; border: 1px solid rgba(237, 231, 220, 0.09); background: rgba(255, 255, 255, 0.025);
  color: inherit; font: inherit; text-align: left; cursor: pointer; overflow: hidden;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.studio__step:hover { border-color: rgba(246, 176, 41, 0.38); }
.studio__n {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(195, 202, 214, 0.45);
  font-size: 0.875rem; font-weight: 700; color: #c3cad6; transition: background-color 0.4s, border-color 0.4s, color 0.4s;
}
.studio__txt b { display: block; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; color: var(--pierre); }
.studio__txt small { display: block; margin-top: 3px; font-size: 0.9375rem; line-height: 1.4; color: #9aa6b8; }
.studio__step.is-done .studio__n { border-color: rgba(246, 176, 41, 0.6); color: var(--fil); }
.studio__step.is-active { background: rgba(246, 176, 41, 0.075); border-color: rgba(246, 176, 41, 0.55); }
.studio__step.is-active .studio__n { background: var(--fil); border-color: var(--fil); color: var(--encre); }
.studio__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fil); transform: scaleX(0); transform-origin: left; }
.studio__step.is-active .studio__bar { animation: studio-bar var(--d, 3s) linear forwards; }
.practice.is-paused .studio__bar, .practice.is-off .studio__bar { animation-play-state: paused; }
@keyframes studio-bar { to { transform: scaleX(1); } }
.studio__ctrl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.studio__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(237, 231, 220, 0.24); background: transparent; color: var(--pierre); font: inherit; font-size: 0.875rem; cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
}
.studio__btn:hover { border-color: rgba(246, 176, 41, 0.6); background: rgba(246, 176, 41, 0.06); }
.studio__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.studio__btn .i-play { display: none; fill: currentColor; stroke: none; }
.practice.is-paused .studio__btn .i-pause { display: none; }
.practice.is-paused .studio__btn .i-play { display: block; }
.practice__uses { margin-top: 26px; }
.practice__uses > span { display: block; margin-bottom: 10px; font-size: 0.8125rem; font-weight: 650; color: #9aa6b8; }
.practice__uses ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.practice__uses li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(237, 231, 220, 0.1); font-size: 0.9375rem; color: #d4d9e2; }
.studio__cta { display: grid; gap: 6px; margin-top: 26px; padding: 20px; border-radius: 18px; background: linear-gradient(135deg, rgba(246, 176, 41, 0.12), rgba(246, 176, 41, 0.03)); border: 1px solid rgba(246, 176, 41, 0.3); }
.studio__cta > b { font-size: 1.25rem; font-weight: 700; color: var(--pierre); }
.studio__cta > span:not(.studio__cta-btns) { color: #c3cad6; }
.studio__cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.demo { position: relative; margin: 0; display: grid; justify-items: end; gap: 14px; min-width: 0; }
.demo__badge {
  padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(142, 155, 176, 0.34); background: rgba(14, 24, 48, 0.8);
  font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: #c3cad6;
}
.demo__fit { width: 100%; max-width: calc(520px * 1.45); overflow: hidden; border-radius: 16px; }
@media (max-width: 960px) {
  .practice { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "demo" "side"; grid-template-rows: none; }
  .practice .demo { position: relative; top: auto; justify-items: center; }
  .demo__badge { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { .studio__bar { display: none; } }

/* la fenêtre d'application (dessinée en 520 × 460 px, mise à l'échelle par zoom) */
.mock {
  --k: 1; --a: var(--fil);
  --a-deep: color-mix(in oklab, var(--a) 58%, #000); --a-soft: color-mix(in srgb, var(--a) 15%, #fff); --a-ink: #18130a;
  --bg: #fff; --panel: #f5f6fa; --line: #e5e8ef; --ink: #1b2232; --muted: #5d6677; --soft: #eef0f5;
  --spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  zoom: var(--k); position: relative; width: 520px; border-radius: 14px; overflow: hidden; background: var(--bg); color: var(--ink);
  font: 400 12.5px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; text-align: left;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07), 0 0 70px color-mix(in srgb, var(--a) 16%, transparent);
}
.mock *, .mock *::before, .mock *::after { box-sizing: border-box; }
.mock ul, .mock ol { list-style: none; margin: 0; padding: 0; }
.mock p { margin: 0; }
.mock b { font-weight: 650; }
.mock small { font-size: 11px; color: var(--muted); }
.mock svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mock mark { background: none; color: inherit; }
.mock__bar { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; height: 38px; padding: 0 12px; background: #f2f3f7; border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock__dots i:nth-child(2) { background: #febc2e; }
.mock__dots i:nth-child(3) { background: #28c840; }
.mock__title { text-align: center; font-weight: 600; color: #3a4252; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.3s; }
.mock__tools { display: flex; align-items: center; justify-content: flex-end; gap: 9px; color: #6b7385; }
.mock__bell { position: relative; display: grid; font-style: normal; }
.mock__bell svg { width: 15px; height: 15px; }
.mock__bell::after { content: ''; position: absolute; top: -1px; right: -1px; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 1.5px #f2f3f7; }
.mock__me { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, color-mix(in srgb, var(--a) 70%, #fff), var(--a)); color: var(--a-ink); }
.mock__me svg { width: 13px; height: 13px; stroke-width: 2; }
.mock--sites-web .mock__bar { grid-template-columns: 64px 44px minmax(0, 1fr); }
.mock__nav { display: flex; gap: 4px; color: #9aa2b1; }
.mock__nav svg { width: 15px; height: 15px; stroke-width: 2.2; }
.mock__nav svg + svg { opacity: 0.45; }
.mock__url { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.mock__url > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.mock__url svg { width: 12px; height: 12px; }
.mock__url svg:first-child { color: #3f8f5a; }
.mock__body { position: relative; height: 422px; overflow: hidden; }
/* un calque par cas d'usage : un seul visible, en fondu */
.mk-layer { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 0.4s, visibility 0s 0.4s; }
.mk-layer.is-cur { visibility: visible; opacity: 1; transition: opacity 0.4s; }
.mk-layer > * { height: 100%; }
.mk-layer.is-cur.is-fade { opacity: 0; }

/* le curseur de la démo : il se déplace en douceur et clique (un cercle s'ouvre) */
.mk-cursor {
  position: absolute; top: 0; left: 0; z-index: 30; width: 22px; height: 22px; pointer-events: none;
  transform: translate(440px, 470px); opacity: 0; transition: transform 0.65s var(--spring), opacity 0.3s;
}
.mk-cursor svg { position: absolute; left: 0; top: 0; z-index: 1; width: 22px; height: 22px; fill: #1b2232; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3)); }
.mk-cursor .mk-cursor__hand { display: none; fill: #fff; stroke: #1b2232; stroke-width: 1.3; transform: translate(-3.6px, 1.2px); }
.mk-cursor .mk-cursor__text { display: none; fill: none; stroke: #1b2232; stroke-width: 1.7; transform: translate(-6.4px, -7.8px); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.mk-cursor[data-mode="hand"] .mk-cursor__arrow, .mk-cursor[data-mode="text"] .mk-cursor__arrow, .mk-cursor[data-mode="touch"] svg { display: none; }
.mk-cursor[data-mode="hand"] .mk-cursor__hand, .mk-cursor[data-mode="text"] .mk-cursor__text { display: block; }
.mk-cursor[data-mode="touch"]::before { content: ''; position: absolute; left: 4.6px; top: 3.2px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: rgba(27, 34, 50, 0.16); border: 2px solid rgba(255, 255, 255, 0.9); box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22); }
.mk-cursor > i { position: absolute; left: 3px; top: 2px; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: color-mix(in srgb, var(--a) 55%, transparent); opacity: 0; transform: scale(0.2); }
.mk-cursor.is-on { opacity: 1; }
.mk-cursor.is-click > i { animation: mk-click 0.45s ease-out; }
@keyframes mk-click { 0% { opacity: 0.9; transform: scale(0.2); } 100% { opacity: 0; transform: scale(1.4); } }

/* éléments communs */
.mk-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; font-weight: 650; font-size: 12px; white-space: nowrap; transition: transform 0.15s, background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.mk-btn__a, .mk-btn__b { display: inline-flex; align-items: center; gap: 5px; }
.mk-btn__b { display: none; }
.mk-btn.is-done .mk-btn__a { display: none; }
.mk-btn.is-done .mk-btn__b { display: inline-flex; }
.mk-btn--a { background: var(--a); color: var(--a-ink); }
.mk-btn--ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.mk-btn--danger { background: #fff1f1; color: #b42318; border: 1px solid #f6c7c7; }
.mk-btn--pay { background: #1d4ed8; color: #fff; }
.mk-btn--wide { width: 100%; height: 32px; }
.mk-btn.is-done { background: #e7f7ed; color: #15803d; }
.mk-btn.is-press { transform: scale(0.94); box-shadow: 0 0 0 5px color-mix(in srgb, var(--a) 35%, transparent); }
.mk-btn--a.is-hover:not(.is-done) { background: color-mix(in srgb, var(--a) 88%, #000); box-shadow: 0 4px 12px color-mix(in srgb, var(--a) 40%, transparent); }
.mk-btn--ghost.is-hover, .mk-btn--danger.is-hover { background: var(--panel); }
.mk-field__v.is-hover:not(.is-active) { border-color: color-mix(in srgb, var(--a) 55%, var(--line)); }
.is-stream::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--a-deep); vertical-align: 0.05em; animation: mk-blink 0.9s infinite; }
.mk-search { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.mk-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3e6ee; color: #3a4252; font-size: 10px; font-weight: 700; font-style: normal; flex: none; }
.mk-av--h0 { background: #dbe7ff; color: #2448a8; }
.mk-av--h1 { background: #ebe2ff; color: #5b34b0; }
.mk-av--h2 { background: #d4f2ea; color: #0f6b5a; }
.mk-av--h3 { background: #ffe9cc; color: #8a4b00; }
.mk-av--h4 { background: #ffe1eb; color: #a3224f; }
.mk-av--h5 { background: #dcf3d6; color: #2d6a25; }
.mk-av--a { background: var(--a); color: var(--a-ink); }
.mk-av--warn { background: #ffe0e0; color: #b42318; }
.mk-av--lg { width: 40px; height: 40px; font-size: 13px; }
.mk-toast {
  position: absolute; left: 50%; bottom: 14px; z-index: 20; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 88%;
  padding: 10px 14px; border-radius: 12px; background: #1b2232; color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  opacity: 0; transform: translate(-50%, 14px); transition: opacity 0.4s, transform 0.5s var(--spring); pointer-events: none;
}
.mk-toast > svg { width: 18px; height: 18px; color: var(--a); }
.mk-toast b { display: block; font-size: 12.5px; }
.mk-toast small { display: block; color: #b7bfce; font-size: 11px; }
.mk-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.mk-toast--ok > svg { color: #4ade80; }
.mk-toast--top { top: 12px; bottom: auto; transform: translate(-50%, -14px); }
.mk-toast--top.is-in { transform: translate(-50%, 0); }
.mk-field { display: grid; gap: 3px; }
.mk-field small { font-size: 10.5px; font-weight: 600; }
.mk-field__v { display: block; min-height: 28px; padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line); background: #fff; font-size: 11.5px; transition: border-color 0.3s, box-shadow 0.3s; }
.mk-field__v--area { min-height: 52px; }
.mk-field__v.is-active, .mk-input.is-active { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 22%, transparent); }
.mk-field__v.is-active::after, .mk-input__txt.is-active::after, .mk-serp__q.is-active::after, .mk-bubble [data-k].is-active::after { content: ''; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: currentColor; animation: mk-caret 0.9s steps(1) infinite; }
@keyframes mk-caret { 50% { opacity: 0; } }
.mk-spin { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--a) 30%, transparent); border-top-color: var(--a-deep); animation: mk-turn 0.8s linear infinite; flex: none; }
@keyframes mk-turn { to { transform: rotate(360deg); } }
@keyframes mk-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes mk-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes mk-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@keyframes mk-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c, var(--a)) 45%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.mk-progress { display: block; height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.mk-progress i { display: block; height: 100%; width: var(--v, 100%); border-radius: inherit; background: linear-gradient(90deg, var(--a), #22c55e); transition: width 0.25s linear; }
.mk-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 650; color: #15803d; }
.mk-live i { width: 7px; height: 7px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, 0.18); animation: mk-blink 1.6s infinite; }
.mk-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--a-soft); color: var(--a-deep); font-size: 10.5px; font-weight: 700; }
.mk-seg { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--soft); }
.mk-seg span { flex: 1; text-align: center; padding: 4px 6px; border-radius: 6px; font-size: 10px; font-weight: 650; color: var(--muted); white-space: nowrap; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.mk-seg span.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(27, 34, 50, 0.14); }
.mk-event { display: flex; align-items: center; gap: 6px; align-self: center; padding: 3px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 10.5px; }
.mk-bubble { display: flex; gap: 8px; align-items: flex-start; font-size: 11.5px; line-height: 1.42; }
.mk-bubble > span:last-child { display: grid; gap: 2px; padding: 7px 10px; border-radius: 10px; background: var(--soft); }
.mk-bubble small { font-size: 10px; }
.mk-bubble--me { flex-direction: row-reverse; }
.mk-bubble--me > span:last-child { background: var(--a-soft); }
.mk-draft { display: grid; gap: 4px; margin-top: 8px; padding: 9px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 11.5px; }
.mk-draft__row { display: flex; align-items: center; gap: 6px; }
.mk-draft__row small { display: inline-block; min-width: 44px; }
.mk-draft__body { margin-top: 3px; color: #394153; line-height: 1.42; }
.mk-draft__btns { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 6px; }
.mk-form__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mock.is-anim .mk-toast:not(.is-in) { visibility: hidden; }

/* 1. assistant IA */
.mk-ia { display: grid; grid-template-columns: 156px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.mk-side { display: flex; flex-direction: column; gap: 9px; padding: 12px 10px; background: var(--panel); border-right: 1px solid var(--line); min-width: 0; }
.mk-newchat { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(27, 34, 50, 0.06); font-weight: 650; font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.mk-newchat svg { color: var(--a-deep); stroke-width: 2.2; }
.mk-side__label { margin: 2px 0 -5px 4px; font-size: 10px; font-weight: 650; color: #5d6677; }
.mk-app { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; color: #fff; font-style: normal; flex: none; }
.mk-app svg { width: 11px; height: 11px; stroke-width: 2.2; }
.mk-app--0 { background: #3b82f6; }
.mk-app--1 { background: #ef4444; }
.mk-app--2 { background: #8b5cf6; }
.mk-convs { display: grid; gap: 2px; }
.mk-convs li { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; color: #4a5263; font-size: 11.5px; white-space: nowrap; overflow: hidden; }
.mk-convs li span { overflow: hidden; text-overflow: ellipsis; }
.mk-convs li.is-active { background: var(--a-soft); color: var(--a-deep); font-weight: 650; }
.mk-sources { margin-top: auto; display: grid; gap: 5px; font-size: 11px; color: #4a5263; }
.mk-sources b { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.mk-sources span { display: flex; align-items: center; gap: 7px; }
.mk-sources span > i { width: 6px; height: 6px; margin-left: auto; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16); }
.mk-chat { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.mk-msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 12px 12px 8px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26px); mask-image: linear-gradient(to bottom, transparent, #000 26px); }
.mk-hello { display: none; }
.mock.is-anim .mk-hello:not(.is-gone) { display: grid; margin: auto 0; justify-items: center; gap: 5px; padding: 0 14px; text-align: center; transition: opacity 0.25s, transform 0.3s var(--spring); }
.mk-hello.is-out { opacity: 0; transform: translateY(-10px) scale(0.97); }
.mk-hello__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 13px; background: linear-gradient(140deg, color-mix(in srgb, var(--a) 55%, #fff), var(--a)); color: var(--a-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--a) 38%, transparent); }
.mk-hello__ic svg { width: 21px; height: 21px; stroke-width: 1.7; }
.mk-hello > b { font-size: 15px; font-weight: 700; }
.mk-hello > small { max-width: 32ch; font-size: 11.5px; line-height: 1.4; }
.mk-hello__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 9px; }
.mk-hello__chips span { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 600; color: #3a4252; box-shadow: 0 1px 2px rgba(27, 34, 50, 0.05); }
.mk-msg { max-width: 86%; padding: 8px 11px; border-radius: 12px; font-size: 12px; line-height: 1.42; flex: none; }
.mk-msg--me { align-self: flex-end; background: var(--a); color: var(--a-ink); border-bottom-right-radius: 4px; }
.mk-msg--bot { align-self: flex-start; background: var(--soft); border-bottom-left-radius: 4px; }
.mk-msg--wide { max-width: 97%; }
.mk-msg.is-in { animation: mk-pop 0.35s var(--spring); }
.mk-think { display: none; align-items: center; gap: 7px; color: var(--muted); font-size: 11.5px; }
.mk-think > span { background: linear-gradient(90deg, #8b93a3 0 35%, #1b2232 50%, #8b93a3 65% 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mk-shimmer 1.6s linear infinite; }
.mk-msg.is-typing .mk-think { display: inline-flex; }
.mk-msg.is-typing .mk-msg__txt { display: none; }
.mk-bullets { display: grid; gap: 3px; margin-top: 5px; }
.mk-bullets li { position: relative; padding-left: 13px; transition: opacity 0.35s, transform 0.35s; }
.mk-bullets li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: var(--a-deep); }
.mk-cite { display: grid; gap: 6px; margin-top: 7px; padding: 8px 9px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 11px; box-shadow: 0 1px 2px rgba(27, 34, 50, 0.05); }
.mk-cite__h { display: flex; align-items: center; gap: 5px; }
.mk-cite__h svg { color: var(--a-deep); }
.mk-cite__h b { color: var(--a-deep); font-weight: 650; }
.mk-cite__q { display: grid; gap: 2px; padding-left: 9px; border-left: 2px solid var(--a); color: #394153; line-height: 1.42; }
.mk-cite__q small { font-size: 9.5px; font-weight: 650; }
.mock .mk-cite mark { padding: 0 1px; border-radius: 2px; background: linear-gradient(color-mix(in srgb, var(--a) 40%, transparent), color-mix(in srgb, var(--a) 40%, transparent)) no-repeat 0 0 / 100% 100%; transition: background-size 0.9s 0.35s ease-out; }
.mock.is-anim .mk-cite:not(.is-in) mark { background-size: 0% 100%; }
.mk-tasks { display: grid; gap: 5px; margin-top: 8px; padding: 8px; border-radius: 9px; background: #fff; border: 1px solid var(--line); }
.mk-task { display: grid; grid-template-columns: 24px minmax(0, 1fr) 16px; align-items: center; gap: 8px; padding: 5px 4px; border-bottom: 1px solid var(--soft); font-size: 11px; }
.mk-task:last-of-type { border-bottom: 0; }
.mk-task > span:nth-child(2) { display: grid; min-width: 0; }
.mk-task small { font-size: 10px; }
.mk-task > svg { color: #c5cbd6; transition: color 0.3s; }
.mk-tasks.is-done .mk-task > svg { color: #16a34a; }
.mk-input { display: flex; align-items: center; gap: 8px; margin: 0 12px 6px; height: 38px; padding: 0 5px 0 12px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 12px; box-shadow: 0 2px 8px rgba(27, 34, 50, 0.05); transition: border-color 0.3s, box-shadow 0.3s; }
.mk-input.is-hover:not(.is-active) { border-color: color-mix(in srgb, var(--a) 50%, var(--line)); }
.mk-note { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 0 12px 9px; font-size: 9.5px; color: #5d6677; white-space: nowrap; }
.mock .mk-note svg { width: 11px; height: 11px; }
.mk-input__txt { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-input.is-active { color: var(--ink); }
.mk-input__go { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--a); color: var(--a-ink); transition: transform 0.15s; }
.mk-input__go.is-press { transform: scale(0.88); }
.mock.is-anim .mk-msg:not(.is-in) { display: none; }
.mock.is-anim .mk-bullets li:not(.is-in), .mock.is-anim .mk-cite:not(.is-in) { display: none; }
.mk-bullets li.is-in, .mk-cite.is-in { animation: mk-pop 0.35s var(--spring); }
.mock.is-anim .mk-chat .mk-draft:not(.is-in), .mock.is-anim .mk-tasks:not(.is-in) { display: none; }
.mk-draft.is-in, .mk-tasks.is-in { animation: mk-pop 0.4s var(--spring); }

/* 2. automatisation : la source à gauche, l'enchaînement à droite */
.mk-auto { display: grid; grid-template-columns: 206px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--panel); }
.mk-form, .mk-mail, .mk-mini { display: flex; flex-direction: column; border-radius: 10px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 4px 14px rgba(27, 34, 50, 0.06); min-width: 0; }
.mk-form__site { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-bottom: 1px solid var(--soft); }
.mk-form__site .mk-logo { font-size: 11px; gap: 4px; }
.mk-form__site .mk-logo svg { width: 12px; height: 12px; }
.mk-form__site > span { display: flex; gap: 4px; }
.mk-form__site > span i { width: 16px; height: 4px; border-radius: 2px; background: #e3e6ee; }
.mk-form__body { display: grid; gap: 9px; padding: 12px; }
.mk-form__head { display: grid; gap: 2px; }
.mk-form__head small { display: flex; align-items: center; gap: 4px; font-size: 10px; }
.mk-form__head small svg { width: 11px; height: 11px; color: #16a34a; }
.mk-form__title { font-size: 13.5px; font-weight: 700; }
.mk-unread { margin-left: auto; padding: 0 6px; border-radius: 999px; background: #d92d20; color: #fff; font-size: 9.5px; font-weight: 700; font-style: normal; line-height: 15px; transition: opacity 0.3s; }
.mock.is-anim .mk-unread:not(.is-in) { opacity: 0; }
.mk-mail__list { display: flex; flex-direction: column; }
.mk-mail__msg { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); background: var(--a-soft); }
.mk-mail__msg:first-child::before { content: ''; position: absolute; left: 3px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--a-deep); }
.mk-mail__msg--old { background: #fff; }
.mk-mail__msg--old b { font-weight: 550; color: #3a4252; }
.mk-mail__msg.is-in { animation: mk-pop 0.4s var(--spring); }
.mk-mail__who { display: grid; min-width: 0; }
.mk-mail__who small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.mk-mail__body { display: grid; gap: 8px; padding: 10px; font-size: 11px; color: #394153; transition: opacity 0.4s; }
.mock.is-anim .mk-mail__body:not(.is-in) { opacity: 0; }
.mk-att { display: flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 8px; border-radius: 7px; background: #fff1f1; color: #b42318; font-weight: 650; font-size: 10.5px; border: 1px solid #f6d3d3; transition: box-shadow 0.4s; }
.mk-att.is-hl { box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 35%, transparent); }
.mk-extract { display: grid; gap: 5px; margin: auto 10px 10px; padding: 9px; border-radius: 9px; background: var(--panel); border: 1px dashed color-mix(in srgb, var(--a) 55%, #c8cdd8); transition: opacity 0.4s; }
.mk-extract > small { display: flex; align-items: center; gap: 5px; font-weight: 650; color: var(--a-deep); }
.mk-extract__row { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; }
.mk-extract__row b { min-height: 1.3em; text-align: right; }
.mk-mini { padding: 0 0 10px; }
.mk-mini__h { display: grid; gap: 1px; padding: 10px; border-bottom: 1px solid var(--line); }
.mk-mini__h b { font-size: 12px; }
.mk-mini__h small { font-size: 10px; transition: color 0.3s; }
.mk-mini__h small.is-on { color: #15803d; font-weight: 650; }
.mk-mini__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 10px 4px; }
.mk-mini__kpis span { display: grid; gap: 2px; padding: 7px 6px; border-radius: 8px; background: var(--panel); }
.mk-mini__kpis small { font-size: 9px; line-height: 1.15; }
.mk-mini__kpis b { font-size: 16px; font-variant-numeric: tabular-nums; }
.mk-mini__chart { display: grid; gap: 6px; padding: 8px 10px 0; }
.mk-mini__chart > small { font-size: 10px; }
.mk-bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: 7px; height: 92px; }
.mk-bars > span { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; gap: 4px; justify-items: center; }
.mk-bars i { align-self: end; width: 100%; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--a), color-mix(in srgb, var(--a) 55%, #fff)); transform-origin: bottom; transition: transform 0.7s var(--spring); }
.mk-bars small { font-size: 9.5px; }
.mk-pdf { display: flex; align-items: center; gap: 8px; margin: auto 10px 0; padding: 8px; border-radius: 9px; border: 1px solid var(--line); transition: opacity 0.4s, transform 0.4s; }
.mk-pdf > svg { width: 20px; height: 20px; color: #b42318; }
.mk-pdf span { display: grid; }
.mk-pdf b { font-size: 11px; }
.mk-pdf small { font-size: 10px; }
.mk-flow { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mk-flow__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: -2px; }
.mk-flow__name { display: grid; min-width: 0; }
.mk-flow__name b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-flow__name small { font-size: 10px; transition: color 0.4s; }
.mk-flow__name small.is-on { color: #15803d; font-weight: 650; }
.mk-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 650; color: #15803d; flex: none; }
.mk-switch i { position: relative; width: 26px; height: 15px; border-radius: 999px; background: #22a35a; }
.mk-switch i::after { content: ''; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.mk-trigger { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; border: 1px dashed color-mix(in srgb, var(--a) 65%, #c8cdd8); background: #fff; color: var(--a-deep); font-size: 11.5px; font-weight: 650; transition: opacity 0.4s, box-shadow 0.4s; }
.mk-trigger__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--a-soft); }
.mk-trigger.is-in { box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 18%, transparent); }
.mk-steps { display: grid; gap: 12px; }
.mk-steps li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(27, 34, 50, 0.04); transition: opacity 0.4s, border-color 0.4s, box-shadow 0.4s; }
/* le lien entre deux étapes : il se remplit quand l'étape suivante démarre, une donnée le parcourt */
.mk-steps li::before { content: ''; position: absolute; left: 23px; top: -13px; width: 2px; height: 13px; background: linear-gradient(var(--c, var(--a)), var(--c, var(--a))) no-repeat top / 100% 100%, #dfe3ea; transition: background-size 0.35s ease-in; }
.mk-steps li::after { content: ''; position: absolute; left: 21px; top: -14px; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--a)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--a)) 25%, transparent); opacity: 0; }
.mk-steps li.is-run::after { animation: mk-packet 0.45s ease-in; }
@keyframes mk-packet { 0% { opacity: 1; transform: translateY(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.mk-steps__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: color-mix(in srgb, var(--c, var(--a)) 14%, #fff); color: var(--c, var(--a-deep)); transition: background-color 0.4s, color 0.4s, filter 0.4s; }
.mk-steps li.is-run .mk-steps__ic { animation: mk-ping 0.9s ease-out infinite; }
.mk-steps__end { display: flex; align-items: center; gap: 7px; }
.mk-steps__end > small { font-size: 9.5px; font-variant-numeric: tabular-nums; transition: opacity 0.3s; }
.mk-steps__txt { display: grid; min-width: 0; }
.mk-steps__txt b { font-size: 11.5px; line-height: 1.25; }
.mk-steps__txt small { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-steps__ok { position: relative; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #22c55e; color: #fff; transition: opacity 0.3s, transform 0.4s var(--spring), background-color 0.3s; }
.mk-steps__ok svg { width: 11px; height: 11px; stroke-width: 2.8; }
.mk-steps__ok .mk-spin { display: none; position: absolute; width: 16px; height: 16px; }
.mk-steps li.is-run:not(.is-in) { border-color: color-mix(in srgb, var(--c, var(--a)) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--a)) 14%, transparent); }
.mk-steps li.is-run:not(.is-in) .mk-steps__ok { opacity: 1; transform: none; background: transparent; }
.mk-steps li.is-run:not(.is-in) .mk-steps__ok svg { display: none; }
.mk-steps li.is-run:not(.is-in) .mk-steps__ok .mk-spin { display: block; }
.mk-done { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 9px 11px; border-radius: 10px; background: #ecfdf3; border: 1px solid #c6ecd3; color: #166534; font-size: 11.5px; transition: opacity 0.45s, transform 0.45s var(--spring); }
.mk-done > svg { width: 18px; height: 18px; }
.mk-done b { display: block; }
.mk-done small { display: block; color: #2f6f47; font-size: 10.5px; }
.mock.is-anim .mk-trigger:not(.is-in) { opacity: 0.55; }
.mock.is-anim .mk-steps li:not(.is-in):not(.is-run) { opacity: 0.5; }
.mock.is-anim .mk-steps li:not(.is-in):not(.is-run)::before { background-size: 100% 0%; }
.mock.is-anim .mk-steps li:not(.is-in):not(.is-run) .mk-steps__ic { filter: grayscale(1); opacity: 0.7; }
.mock.is-anim .mk-steps li:not(.is-in):not(.is-run) .mk-steps__ok { opacity: 0; transform: scale(0.4); }
.mock.is-anim .mk-steps li:not(.is-in) .mk-steps__end > small { opacity: 0; }
.mock.is-anim .mk-done:not(.is-in) { opacity: 0; transform: translateY(8px); }
.mock.is-anim .mk-mail__msg[data-k]:not(.is-in) { display: none; }
.mock.is-anim .mk-extract:not(.is-in) { opacity: 0; }
.mock.is-anim .mk-mini__chart:not(.is-in) .mk-bars i { transform: scaleY(0.08); }
.mock.is-anim .mk-pdf:not(.is-in) { opacity: 0; transform: translateY(6px); }

/* 3. logiciel métier : l'appli mobile sur place, le bureau en direct */
.mk-fieldapp { position: relative; display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--panel); }
.mk-phone { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 9px 11px 11px; border-radius: 24px; background: #fff; border: 1px solid #d9dde6; box-shadow: 0 12px 30px rgba(20, 30, 50, 0.14), inset 0 0 0 4px #f4f5f8; min-width: 0; overflow: hidden; }
/* barre d'état d'un téléphone : l'heure, l'îlot de la caméra, réseau, wifi et batterie */
.mk-sb { position: relative; display: flex; align-items: center; justify-content: space-between; height: 16px; padding: 0 5px; font-size: 10px; color: #1b2232; flex: none; }
.mk-sb > b { font-weight: 700; font-variant-numeric: tabular-nums; }
.mk-sb::after { content: ''; position: absolute; left: 50%; top: 1px; width: 44px; height: 13px; margin-left: -22px; border-radius: 99px; background: #1b2232; }
.mk-sb__ic { display: flex; align-items: center; gap: 3px; }
.mock .mk-sb__ic svg { width: auto; height: 8px; fill: currentColor; stroke: none; }
.mock .mk-sb__ic svg:last-child { height: 9px; }
.mk-phone__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.mk-job { display: grid; gap: 2px; padding: 8px 9px; border-radius: 10px; background: var(--a-soft); }
.mk-job b { font-size: 12px; }
.mk-job small { display: flex; align-items: center; gap: 4px; font-size: 10px; }
.mk-job small svg { width: 11px; height: 11px; }
.mk-todo, .mk-pick { display: grid; gap: 5px; }
.mk-todo li, .mk-pick li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 6px 7px; border-radius: 8px; border: 1px solid var(--line); font-size: 11px; transition: background-color 0.35s, border-color 0.35s; }
.mk-todo li > i, .mk-pick li > i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #c7ccd6; color: transparent; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.mk-todo li > i svg, .mk-pick li > i svg { width: 12px; height: 12px; stroke-width: 2.4; }
.mk-todo li.is-done, .mk-pick li.is-done { background: #f0faf3; border-color: #cdebd6; }
.mk-todo li.is-done > i, .mk-pick li.is-done > i { background: #22a35a; border-color: #22a35a; color: #fff; }
.mk-pick li > span { display: grid; min-width: 0; }
.mk-pick li b { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-pick li small { font-size: 9.5px; }
.mk-pick li em { font-style: normal; font-size: 9px; font-weight: 700; color: #15803d; transition: opacity 0.3s; }
/* le viseur de l'appareil photo : coins, code-barres, trait rouge qui balaie */
.mk-scanner { position: relative; display: grid; place-items: center; height: 52px; border-radius: 10px; background: radial-gradient(circle at 50% 40%, #3a4458, #1b2232 75%); overflow: hidden; transition: box-shadow 0.3s; }
.mk-scanner::before { content: ''; position: absolute; inset: 7px 16px; border-radius: 4px; background:
  linear-gradient(#fff, #fff) 0 0 / 10px 2px, linear-gradient(#fff, #fff) 0 0 / 2px 10px,
  linear-gradient(#fff, #fff) 100% 0 / 10px 2px, linear-gradient(#fff, #fff) 100% 0 / 2px 10px,
  linear-gradient(#fff, #fff) 0 100% / 10px 2px, linear-gradient(#fff, #fff) 0 100% / 2px 10px,
  linear-gradient(#fff, #fff) 100% 100% / 10px 2px, linear-gradient(#fff, #fff) 100% 100% / 2px 10px; background-repeat: no-repeat; opacity: 0.85; }
.mk-scanner__code { width: 62px; height: 24px; border-radius: 2px; background: #fff repeating-linear-gradient(90deg, #1b2232 0 2px, transparent 2px 3.5px, #1b2232 3.5px 4.5px, transparent 4.5px 7px) 4px 3px / calc(100% - 8px) calc(100% - 6px) no-repeat; opacity: 0.55; transition: opacity 0.3s; }
.mk-scanner i { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; background: #ef4444; box-shadow: 0 0 10px #ef4444; opacity: 0; }
.mk-scanner.is-on .mk-scanner__code { opacity: 0.95; }
.mk-scanner.is-on i { opacity: 1; animation: mk-scanline 0.6s ease-in-out infinite alternate; }
@keyframes mk-scanline { from { transform: translateY(-15px); } to { transform: translateY(15px); } }
.mk-thumb { display: grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #cfd6e2, #9aa7bb); color: #fff; font-style: normal; transition: opacity 0.4s, transform 0.4s; }
.mk-thumb svg { width: 12px; height: 12px; }
.mk-sign { display: grid; gap: 3px; padding: 6px 8px 4px; border-radius: 9px; border: 1px dashed #c7ccd6; transition: opacity 0.4s, transform 0.4s; }
.mk-sign small { font-size: 9.5px; }
.mk-sign svg { width: 100%; height: 38px; stroke: #1b2232; stroke-width: 2; }
.mk-sign__path { stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.4, 0, .2, 1); }
.mk-phone .mk-btn--wide { margin-top: auto; }
.mk-todo li.is-hover:not(.is-done) { border-color: color-mix(in srgb, var(--a) 55%, var(--line)); background: color-mix(in srgb, var(--a) 6%, #fff); }
.mk-office { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mk-office__h, .mk-plan__h { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.mk-kpis > div { display: grid; gap: 3px; padding: 8px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); transition: background-color 0.4s, border-color 0.4s; }
.mk-kpis small { font-size: 9.5px; line-height: 1.2; }
.mk-kpis b { font-size: 16px; font-variant-numeric: tabular-nums; }
.mk-kpis > div.is-hl { background: var(--a-soft); border-color: color-mix(in srgb, var(--a) 45%, #fff); }
.mk-kpi__bar { display: block; height: 4px; margin-top: 2px; border-radius: 2px; background: #e3e6ee; overflow: hidden; }
.mk-kpi__bar i { display: block; height: 100%; width: var(--v, 100%); border-radius: inherit; background: #22a35a; transition: width 0.8s var(--spring); }
.mk-feed { display: flex; flex-direction: column; gap: 6px; }
.mk-feed li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; border: 1px solid var(--line); background: #fff; font-size: 11px; }
.mk-feed li.is-in { animation: mk-pop 0.45s var(--spring), mk-flash 2.2s ease-out; }
@keyframes mk-flash { 0%, 35% { background: color-mix(in srgb, var(--a) 12%, #fff); border-color: color-mix(in srgb, var(--a) 45%, var(--line)); } }
.mk-feed__old { background: #fafbfc; }
.mk-feed__old b { font-weight: 550; color: #3a4252; }
.mk-feed__old .mk-feed__ic { background: var(--soft); color: #6b7385; }
.mk-feed li > span:nth-child(2) { display: grid; min-width: 0; }
.mk-feed li small { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-feed__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--a-soft); color: var(--a-deep); }
.mk-feed__t { font-variant-numeric: tabular-nums; }
.mk-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk-stages li { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); font-size: 10.5px; font-weight: 650; transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.mk-stages li > i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e3e6ee; color: #fff; flex: none; transition: background-color 0.4s; }
.mk-stages li > i svg { width: 11px; height: 11px; stroke-width: 2.6; }
.mk-stages li.is-in { background: #f0faf3; border-color: #cdebd6; color: #166534; }
.mk-stages li.is-in > i { background: #22a35a; }
.mk-stock { display: grid; gap: 5px; padding: 9px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); }
.mk-stock > small { font-size: 10px; font-weight: 650; }
.mk-stock__row { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.mk-stock__row b { font-variant-numeric: tabular-nums; transition: color 0.3s; }
.mk-stock__row b.is-hl { color: var(--a-deep); }
.mock.is-anim .mk-thumb:not(.is-in) { opacity: 0; transform: scale(0.6); }
.mock.is-anim .mk-sign:not(.is-in) { opacity: 0.35; }
.mock.is-anim .mk-sign:not(.is-on) .mk-sign__path { stroke-dashoffset: 100; }
.mock.is-anim .mk-feed li[data-k]:not(.is-in) { display: none; }
.mock.is-anim .mk-pick li:not(.is-done) em { opacity: 0; }
/* planning */
.mk-plan { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 162px; gap: 14px; padding: 14px; background: var(--panel); }
.mk-plan__grid { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.mk-plan__table { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(0, 1fr)); gap: 5px; align-items: center; }
.mk-plan__day { text-align: center; font-size: 10px; font-weight: 650; }
.mk-plan__who { display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 650; white-space: nowrap; }
.mk-plan__who .mk-av { width: 20px; height: 20px; font-size: 8px; }
.mk-plan__cell { position: relative; display: grid; height: 44px; border-radius: 7px; border: 1px dashed #dde1e9; transition: background-color 0.4s, border-color 0.4s, box-shadow 0.4s; }
.mk-plan__cell.is-busy { border: 0; }
/* un rendez-vous dans le planning : l'heure, ce que c'est, la couleur de la personne */
.mk-ev { display: grid; align-content: center; gap: 1px; min-width: 0; padding: 0 4px 0 5px; border-radius: 7px; border-left: 3px solid; overflow: hidden; }
.mk-ev b { font-size: 10px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.mk-ev small { font-size: 9px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.mk-ev--h0 { background: #e8efff; color: #2448a8; }
.mk-ev--h1 { background: #f1ebff; color: #5b34b0; }
.mk-ev--h2 { background: #e2f6f0; color: #0f6b5a; }
.mk-ev--h3 { background: #fff1dc; color: #8a4b00; }
.mk-ev--h4 { background: #ffe9f0; color: #a3224f; }
.mk-ev--h5 { background: #e6f6e2; color: #2d6a25; }
.mk-ev--new { background: color-mix(in srgb, var(--a) 16%, #fff); color: color-mix(in srgb, var(--a) 70%, #000); border-left-color: var(--a); }
.mk-plan__cell--new { border-style: solid; border-color: transparent; }
.mock.is-anim .mk-plan__cell--new:not(.is-set) .mk-ev { display: none; }
.mock.is-anim .mk-plan__cell--new:not(.is-set) { border-style: dashed; border-color: #dde1e9; }
.mk-plan__cell--new.is-set .mk-ev { animation: mk-pop 0.4s var(--spring); }
.mock.is-anim .mk-plan__cell--new.is-set:not(.is-ok) .mk-ev { border: 1.5px dashed var(--a); border-left: 3px solid var(--a); }
.mk-plan__cell.is-hl { border: 1.5px dashed var(--a); background: color-mix(in srgb, var(--a) 8%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 16%, transparent); }
.mk-plan__cell.is-ok::after { content: ''; position: absolute; right: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; animation: mk-pop 0.3s var(--spring); }
.mk-plan__tray { display: grid; gap: 5px; margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line); }
.mk-plan__tray { position: relative; }
.mk-plan__tray > small { font-size: 10px; font-weight: 650; }
.mk-plan__done { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-radius: 10px; border: 1px dashed #cdebd6; background: #f3fbf5; color: #15803d; font-size: 11px; font-weight: 650; opacity: 0; transition: opacity 0.4s 0.2s; }
.mk-plan__done svg { width: 13px; height: 13px; stroke-width: 2.4; }
.mk-plan__done.is-in { opacity: 1; }
.mk-plan__new { display: flex; align-items: center; gap: 7px; padding: 9px 10px 9px 6px; border-radius: 10px; background: #fff; border: 1px solid color-mix(in srgb, var(--a) 50%, var(--line)); box-shadow: 0 2px 6px rgba(27, 34, 50, 0.08); transform-origin: 14% 50%; transition: opacity 0.35s, box-shadow 0.3s, transform 0.3s; }
.mk-plan__new > svg { color: var(--a-deep); }
.mk-plan__new > svg:first-child { color: #b0b7c4; }
.mk-plan__new span { display: grid; }
.mk-plan__new b { font-size: 11.5px; }
.mk-plan__new small { font-size: 10px; }
.mk-plan__new.is-hover { box-shadow: 0 6px 16px rgba(27, 34, 50, 0.14); }
.mock.is-anim .mk-plan__new:not(.is-in), .mk-plan__new.is-gone { opacity: 0; }
.mock.is-anim .mk-plan__new:not(.is-in) { transform: translateY(10px); }
.mock:not(.is-anim) .mk-plan__tray { display: none; }
.mk-plan__new.is-drag { box-shadow: 0 14px 30px rgba(27, 34, 50, 0.25); }
.mk-phone--small { padding: 9px 10px 12px; }
.mk-phone--small .mk-phone__top .mk-av { width: 22px; height: 22px; font-size: 8.5px; }
.mk-phone__label { font-size: 10px; font-weight: 650; margin-bottom: -3px; }
.mk-agendas { display: flex; flex-direction: column; gap: 6px; }
.mk-appt-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; background: var(--panel); font-size: 10.5px; }
.mk-appt-row > b { font-size: 9.5px; color: var(--muted); text-transform: uppercase; }
.mk-appt-row > span { display: grid; min-width: 0; }
.mk-appt-row small { display: flex; align-items: center; gap: 3px; font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-appt-row small svg { width: 10px; height: 10px; flex: none; }
.mk-appt { display: grid; gap: 6px; padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--a) 12%, #fff); border: 1px solid color-mix(in srgb, var(--a) 45%, var(--line)); }
.mk-appt .mk-appt-row { background: #fff; }
.mk-appt .mk-btn--wide { height: 28px; }
.mk-appt.is-in { animation: mk-pop 0.45s var(--spring); }
/* la notification arrive par le haut de l'écran, comme sur un vrai téléphone */
.mk-notif { position: absolute; left: 7px; right: 7px; top: 28px; z-index: 3; display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 7px; padding: 8px; border-radius: 13px; background: rgba(30, 37, 54, 0.94); color: #fff; font-size: 10.5px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); transition: opacity 0.4s, transform 0.5s var(--spring); }
.mk-notif__app { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--a); color: var(--a-ink); }
.mk-notif__app svg { width: 13px; height: 13px; }
.mk-notif span { display: grid; }
.mk-notif small { color: #c3cad6; font-size: 9.5px; }
.mock.is-anim .mk-notif:not(.is-in), .mock:not(.is-anim) .mk-notif { opacity: 0; transform: translateY(-120%); }
.mock.is-anim .mk-appt:not(.is-in) { display: none; }

/* 4. CRM : le pipeline, les relances, le tableau de bord */
.mk-crm { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 11px 12px 12px; background: var(--panel); }
.mk-crm__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-crm__h > b { font-size: 13px; }
.mk-crm__tools { display: flex; align-items: center; gap: 8px; }
.mk-filter { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; color: #4a5263; }
.mk-filter svg { width: 12px; height: 12px; }
.mk-stack { display: flex; }
.mk-stack .mk-av { width: 22px; height: 22px; font-size: 8.5px; border: 2px solid var(--panel); }
.mk-stack .mk-av + .mk-av { margin-left: -7px; }
.mk-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; flex: 1; min-height: 0; }
.mk-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mk-col__h { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 2px 4px; font-size: 11px; font-weight: 650; color: #4a5263; }
.mk-col__h span { display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-col__h span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; flex: none; }
.mk-col--1 .mk-col__h span::before { background: #3b82f6; }
.mk-col--2 .mk-col__h span::before { background: #f59e0b; }
.mk-col--3 .mk-col__h span::before { background: #22c55e; }
.mk-col__h i { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e3e6ee; font-size: 10px; font-style: normal; }
.mk-col__cards { display: flex; flex-direction: column; gap: 7px; flex: 1; padding: 6px; border-radius: 10px; background: #eaedf3; outline: 1.5px dashed transparent; outline-offset: -1.5px; transition: outline-color 0.3s, background-color 0.3s; }
.mk-col__cards.is-drop { outline-color: var(--a); background: color-mix(in srgb, var(--a) 10%, #eaedf3); }
.mk-col__add { display: flex; align-items: center; gap: 4px; padding: 5px 6px; border-radius: 7px; font-size: 10px; font-weight: 600; color: #5d6677; }
.mk-col__add svg { width: 11px; height: 11px; }
.mk-col:last-child .mk-col__cards { background: #e4f5ea; }
.mk-card { position: relative; display: grid; gap: 2px; padding: 8px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(27, 34, 50, 0.05); }
.mk-card b { font-size: 11.5px; line-height: 1.25; }
.mk-card small { font-size: 10px; line-height: 1.3; }
.mk-card small:last-of-type { padding-right: 22px; min-height: 20px; }
.mk-card .mk-av { position: absolute; bottom: 7px; right: 7px; width: 20px; height: 20px; font-size: 8.5px; }
.mk-card--hero { z-index: 2; border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 22%, transparent), 0 6px 16px rgba(27, 34, 50, 0.12); transition: box-shadow 0.3s, transform 0.25s, opacity 0.4s; }
.mock.is-anim .mk-card--hero:not(.is-in) { opacity: 0; transform: translateY(-10px) scale(0.97); }
.mk-card--hero.is-hl { transform: rotate(-1.5deg) scale(1.03); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 30%, transparent), 0 14px 30px rgba(27, 34, 50, 0.22); }
.mk-card--hero.is-hover:not(.is-hl) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 26%, transparent), 0 8px 20px rgba(27, 34, 50, 0.16); }
.mk-card--hero .mk-av { background: var(--a); color: var(--a-ink); }
.mk-card .mk-card__st { color: var(--a-deep); font-weight: 650; }
.mk-relance { position: relative; display: grid; grid-template-columns: 186px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.mk-relance__list { display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid var(--line); min-width: 0; }
.mk-relance__h { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.mk-relance__row { display: grid; grid-template-columns: 24px minmax(0, 1fr) 14px; align-items: center; gap: 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 11px; transition: background-color 0.3s, box-shadow 0.3s, opacity 0.4s, transform 0.45s var(--spring); }
.mk-relance__row > span:nth-child(2) { display: grid; min-width: 0; }
.mk-relance__row small { font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-relance__row > svg { color: var(--a-deep); }
.mk-relance__row.is-sel { background: #fff; box-shadow: inset 3px 0 0 var(--a); }
.mk-relance__row.is-hover:not(.is-sel) { background: #fff; }
.mock.is-anim .mk-relance__row[data-k]:not(.is-in) { opacity: 0; transform: translateX(-8px); }
.mk-relance__group { padding: 12px 10px 5px; font-size: 10px; font-weight: 650; color: #5d6677; }
.mk-relance__row--later b { font-weight: 550; color: #3a4252; }
.mk-relance__row--later > svg { color: #8a92a2; }
.mk-relance__pick { position: absolute; top: 0; right: 0; bottom: 0; left: 186px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: 12px; transition: opacity 0.3s; }
.mk-relance__pick svg { width: 28px; height: 28px; stroke-width: 1.4; color: #b0b7c4; }
.mock:not(.is-anim) .mk-relance__pick, .mock.is-anim .mk-relance__pick.is-out { opacity: 0; }
.mk-relance__row.is-done { opacity: 0.45; }
.mk-relance__row.is-done > svg { color: #16a34a; }
.mk-relance__detail { display: flex; flex-direction: column; gap: 10px; padding: 12px; min-width: 0; transition: opacity 0.35s; }
.mk-contact { display: flex; align-items: center; gap: 9px; }
.mk-contact > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.mk-contact b { font-size: 13px; }
.mk-contact .mk-av--lg { width: 34px; height: 34px; font-size: 11px; }
.mk-contact__acts { display: flex; gap: 5px; }
.mk-contact__acts i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); color: #4a5263; }
.mk-contact__acts svg { width: 13px; height: 13px; }
.mk-contact__tags { display: flex; align-items: center; gap: 8px; }
.mk-contact__tags small { display: flex; align-items: center; gap: 4px; font-size: 10px; }
.mk-contact__tags small svg { width: 11px; height: 11px; }
.mk-stage { padding: 2px 8px; border-radius: 999px; background: #e5eeff; color: #1d5bd6; font-size: 10px; font-weight: 700; }
.mk-history { display: grid; gap: 7px; }
.mk-history li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: start; gap: 8px; font-size: 10.5px; }
.mk-history li:not(:last-child)::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: -7px; width: 2px; background: var(--soft); }
.mk-history__ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); color: #4a5263; }
.mk-history__ic svg { width: 11px; height: 11px; }
.mk-history li > span:nth-child(2) { display: grid; gap: 4px; padding-top: 3px; }
.mk-history small { padding-top: 4px; font-size: 10px; }
.mk-doc { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); background: #fff; font-size: 10px; font-weight: 600; }
.mk-doc svg { width: 11px; height: 11px; color: #e5484d; }
.mk-draft__tpl { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; font-size: 9.5px; font-weight: 650; color: var(--a-deep); }
.mk-draft__tpl svg { width: 11px; height: 11px; }
.mk-relance .mk-draft { margin-top: auto; }
.mk-next { display: inline-flex; align-items: center; gap: 5px; margin-right: auto; padding: 3px 8px; border-radius: 999px; background: var(--a-soft); color: var(--a-deep); font-size: 10px; font-weight: 650; transition: opacity 0.4s, transform 0.4s; }
.mock.is-anim .mk-relance__detail:not(.is-in) { opacity: 0; }
.mock.is-anim .mk-next:not(.is-in) { opacity: 0; transform: translateX(-6px); }
.mk-dash { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--panel); }
.mk-dash__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-dash__h > b { font-size: 13px; }
.mk-seg--period { width: auto; }
.mk-seg--period span { flex: none; padding: 4px 10px; }
.mk-dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mk-dash__kpis > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 6px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.mk-dash__kpis small { grid-column: 1 / -1; font-size: 10px; }
.mk-dash__kpis b { font-size: 21px; font-weight: 750; font-variant-numeric: tabular-nums; }
.mk-delta { padding: 1px 6px; border-radius: 999px; background: #e7f7ed; color: #15803d; font-size: 9.5px; font-weight: 700; white-space: nowrap; transition: opacity 0.3s; }
.mock.is-anim .mk-delta:not(.is-in) { opacity: 0; }
.mk-dash__row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 8px; flex: 1; min-height: 0; }
.mk-recent { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.mk-recent > small { font-size: 10.5px; font-weight: 650; }
.mk-recent__row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 14px; align-items: center; gap: 7px; min-width: 0; }
.mk-recent__row .mk-av { width: 22px; height: 22px; font-size: 8.5px; }
.mk-recent__row > span:nth-child(2) { display: grid; min-width: 0; }
.mk-recent__row b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-recent__row small { font-size: 9.5px; }
.mk-recent__row > svg { color: #16a34a; stroke-width: 2.4; }
.mk-funnel, .mk-trend { display: grid; align-content: start; gap: 8px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.mk-funnel > small, .mk-trend > small { font-size: 10.5px; font-weight: 650; }
.mk-funnel__row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 24px; align-items: center; gap: 6px; font-size: 10.5px; }
.mk-funnel__row > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-funnel__bar { height: 10px; border-radius: 5px; background: var(--soft); overflow: hidden; }
.mk-funnel__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--a), color-mix(in srgb, var(--a) 60%, #fff)); transition: width 0.8s var(--spring); }
.mk-funnel__row b { text-align: right; font-variant-numeric: tabular-nums; }
.mk-trend svg { width: 100%; height: auto; overflow: visible; }
.mk-trend__grid { stroke: #e8ebf1; stroke-width: 1; stroke-dasharray: 3 3; }
.mk-trend__area { fill: color-mix(in srgb, var(--a) 16%, transparent); stroke: none; transition: opacity 0.6s; }
.mk-trend__line { stroke: var(--a-deep); stroke-width: 2.4; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s ease-in-out; }
.mk-trend__dot { fill: var(--a-deep); stroke: #fff; stroke-width: 2.4; transition: opacity 0.3s 1.2s; }
.mk-trend__x { display: flex; justify-content: space-between; margin-top: -4px; }
.mk-trend__x small { font-size: 8.5px; color: #5d6677; }
.mk-dash__foot { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.mk-dash__foot > small { display: flex; align-items: center; gap: 4px; margin-right: auto; font-size: 10px; }
.mk-dash__foot > small svg { width: 11px; height: 11px; }
.mock.is-anim .mk-funnel:not(.is-in) .mk-funnel__bar i { width: 4% !important; }
.mock.is-anim .mk-trend:not(.is-in) .mk-trend__line { stroke-dashoffset: 100; }
.mock.is-anim .mk-trend:not(.is-in) .mk-trend__area, .mock.is-anim .mk-trend:not(.is-in) .mk-trend__dot { opacity: 0; transition-delay: 0s; }

/* 5. ticketing : la file, l'urgence, l'espace client */
.mk-tk { position: relative; display: grid; grid-template-columns: 182px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.mk-tk__list { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--panel); overflow: hidden; min-width: 0; }
.mk-tk__head { display: flex; align-items: center; justify-content: space-between; padding: 10px; border-bottom: 1px solid var(--line); }
.mk-tk__tools { display: flex; gap: 8px; color: #8a92a2; }
.mk-tk__tools svg { width: 13px; height: 13px; }
.mk-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--a-soft); color: var(--a-deep); font-size: 11px; font-weight: 650; white-space: nowrap; }
.mk-tk__row { display: grid; gap: 2px; padding: 8px 10px; border-bottom: 1px solid var(--line); transition: background-color 0.3s, box-shadow 0.3s, opacity 0.4s, transform 0.4s; min-width: 0; }
.mk-tk__row.is-sel { background: #fff; box-shadow: inset 3px 0 0 var(--a); }
.mk-tk__row.is-hover:not(.is-sel) { background: #fff; }
.mk-select.is-hover:not(.is-set) { border-color: color-mix(in srgb, var(--a) 55%, var(--line)); }
.mk-tk__l1 { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mk-tk__l1 b { font-size: 10.5px; color: var(--muted); }
.mk-tk__t { font-weight: 650; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tk__row small { font-size: 10px; }
.mk-st { padding: 1px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 700; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.mk-st--0 { background: #e5eeff; color: #1d5bd6; }
.mk-st--1 { background: #fff0d4; color: #9a6200; }
.mk-st--2 { background: #eef0f5; color: #5a6375; }
.mk-st--3 { background: #e7f7ed; color: #15803d; }
.mk-tk__detail { position: relative; min-width: 0; }
.mk-tk__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: 12px; opacity: 0; transition: opacity 0.3s; }
.mk-tk__empty svg { width: 30px; height: 30px; stroke-width: 1.4; }
.mk-tk__open { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 9px; padding: 12px; transition: opacity 0.35s; }
.mk-tk__title { font-size: 13px; font-weight: 700; }
.mk-assign { display: flex; align-items: center; gap: 7px; }
.mk-assign > small { white-space: nowrap; }
.mk-select { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 7px; border: 1px solid var(--line); font-size: 11.5px; flex: 1; min-width: 0; transition: border-color 0.3s; }
.mk-select__b { display: none; align-items: center; gap: 5px; }
.mk-select.is-set .mk-select__a { display: none; }
.mk-select.is-set .mk-select__b { display: inline-flex; }
.mk-select.is-set { border-color: var(--a); }
.mk-select .mk-av { width: 18px; height: 18px; font-size: 9px; }
.mk-select > svg { margin-left: auto; color: var(--muted); }
.mk-thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14px); mask-image: linear-gradient(to bottom, transparent, #000 14px); }
.mk-thread .mk-doc { margin-top: 3px; }
.mk-event--ok { background: #ecfdf3; color: #15803d; }
/* la zone de réponse : on y tape, puis « Répondre » ; le message part dans le fil */
.mk-composer { display: grid; gap: 7px; padding: 8px 9px; border-radius: 10px; border: 1px solid var(--line); background: #fff; box-shadow: 0 2px 8px rgba(27, 34, 50, 0.05); transition: border-color 0.3s, box-shadow 0.3s; }
.mk-composer.is-active { border-color: var(--a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 20%, transparent); }
.mk-composer.is-hover:not(.is-active) { border-color: color-mix(in srgb, var(--a) 50%, var(--line)); }
.mk-composer__txt { min-height: 2.8em; font-size: 11.5px; line-height: 1.4; color: var(--ink); }
.mk-composer__txt.is-ph { color: #5d6677; }
.mk-composer__txt.is-active::after { content: ''; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: text-bottom; background: currentColor; animation: mk-caret 0.9s steps(1) infinite; }
.mk-composer__bar { display: flex; align-items: center; gap: 8px; color: #8a92a2; }
.mk-composer__bar > i { display: grid; }
.mk-composer__bar > i svg { width: 14px; height: 14px; }
.mk-composer__bar .mk-btn { margin-left: auto; height: 26px; }
.mk-composer__bar .mk-btn svg { width: 12px; height: 12px; }
.mock.is-anim .mk-tk__empty:not(.is-out) { opacity: 1; }
.mock.is-anim .mk-tk__open:not(.is-in) { opacity: 0; }
.mock.is-anim .mk-event:not(.is-in), .mock.is-anim .mk-bubble--me:not(.is-in) { display: none; }
.mock:not(.is-anim) .mk-composer__txt { color: #5d6677; font-size: 0; }
.mock:not(.is-anim) .mk-composer__txt::before { content: attr(data-ph); font-size: 11.5px; }
.mk-event.is-in, .mk-bubble--me.is-in { animation: mk-pop 0.35s var(--spring); }
.mk-urgent__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 700; transition: opacity 0.35s, transform 0.4s var(--spring); }
.mk-tag--red { background: #ffe4e4; color: #b42318; }
.mk-rule { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 10.5px; transition: opacity 0.35s; }
.mk-sla { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; padding: 10px; border-radius: 10px; background: #fff7ed; border: 1px solid #fed7aa; transition: opacity 0.35s, background-color 0.4s, border-color 0.4s; }
.mk-sla small { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: #9a3412; }
.mk-sla b { font-size: 17px; font-weight: 750; font-variant-numeric: tabular-nums; color: #9a3412; }
.mk-sla__bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: #fde4c8; overflow: hidden; }
.mk-sla__bar i { display: block; height: 100%; width: var(--v, 40%); background: #f97316; border-radius: inherit; transition: width 0.3s linear; }
.mk-sla.is-ok { background: #ecfdf3; border-color: #c6ecd3; }
.mk-sla.is-ok small, .mk-sla.is-ok b { color: #166534; }
.mk-sla.is-ok .mk-sla__bar i { background: #22c55e; }
.mk-oncall { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 4px 8px; padding: 9px; border-radius: 10px; border: 1px solid var(--line); transition: opacity 0.35s; }
.mk-oncall > span:nth-child(2) { display: grid; }
.mk-oncall__ping { grid-column: 1 / -1; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; background: var(--a-soft); color: var(--a-deep); font-size: 10.5px; font-weight: 650; transition: opacity 0.35s, transform 0.4s var(--spring); }
.mk-fixed { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; background: #ecfdf3; border: 1px solid #c6ecd3; color: #166534; font-size: 11.5px; transition: opacity 0.45s, transform 0.45s var(--spring); }
.mk-fixed > svg { width: 18px; height: 18px; }
.mk-fixed span { display: grid; }
.mk-fixed small { color: #2f6f47; }
.mock.is-anim .mk-urgent .mk-tag:not(.is-in) { opacity: 0; transform: scale(0.6); }
.mock.is-anim .mk-rule:not(.is-in), .mock.is-anim .mk-sla:not(.is-in), .mock.is-anim .mk-oncall:not(.is-in) { opacity: 0; }
.mock.is-anim .mk-oncall__ping:not(.is-in) { opacity: 0; transform: translateY(-4px); }
.mock.is-anim .mk-urgent .mk-event:not(.is-in) { display: none; }
.mock.is-anim .mk-fixed:not(.is-in) { opacity: 0; transform: translateY(8px); }
.mock.is-anim .mk-tk__row.is-new:not(.is-in) { opacity: 0; transform: translateY(-10px); }
.mk-portal { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, color-mix(in srgb, var(--a) 9%, #fff), #fff 40%); }
.mk-portal__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #fff; }
.mk-portal__brand { display: flex; align-items: center; gap: 10px; }
.mk-portal__brand small { padding-left: 10px; border-left: 1px solid var(--line); font-size: 11px; font-weight: 600; }
.mk-portal__others { margin-top: 6px; font-size: 10.5px; font-weight: 650; }
.mk-portal__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 11px; }
.mk-portal__row > b { font-size: 10.5px; color: var(--muted); }
.mk-portal__row > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mk-portal__row small { font-size: 10px; }
.mk-portal__body { display: grid; gap: 7px; padding: 11px 14px; align-content: start; }
.mk-portal__card { display: grid; gap: 8px; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(27, 34, 50, 0.06); }
.mk-portal__title { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; align-items: center; }
.mk-portal__title b { font-size: 13px; }
.mk-portal__title small { grid-column: 1; font-size: 10.5px; }
.mk-portal__title .mk-st { grid-row: 1 / 3; grid-column: 2; }
.mk-timeline { display: grid; gap: 0; }
.mk-timeline li { position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; padding-bottom: 5px; font-size: 11px; transition: opacity 0.4s; }
.mk-timeline li::before { content: ''; position: absolute; left: 9px; top: 20px; bottom: 0; width: 2px; background: #cdebd6; }
.mk-timeline li:last-child::before { display: none; }
.mk-timeline li > i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #22a35a; color: #fff; }
.mk-timeline li > i svg { width: 11px; height: 11px; stroke-width: 2.6; }
.mk-timeline li > span { display: flex; justify-content: space-between; gap: 6px; align-items: center; }
.mk-timeline li small { font-size: 10px; font-variant-numeric: tabular-nums; }
.mk-rate { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding-top: 6px; border-top: 1px solid var(--soft); }
.mk-rate small { font-size: 10.5px; }
.mk-stars { display: flex; gap: 2px; }
.mk-stars i { display: grid; color: #d5dae4; transition: color 0.2s, transform 0.2s; }
.mk-stars i svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.mk-stars i.is-on { color: #f5b301; transform: scale(1.12); }
.mk-rate__ok { grid-column: 1 / -1; font-size: 11px; color: #15803d; transition: opacity 0.3s; }
.mock.is-anim .mk-timeline li:not(.is-in) { opacity: 0.25; }
.mock.is-anim .mk-timeline li:not(.is-in) > i { background: #d5dae4; }
.mock.is-anim .mk-portal .mk-bubble--me:not(.is-in) { display: none; }
.mock.is-anim .mk-rate:not(.is-in) { display: none; }
.mock.is-anim .mk-rate__ok:not(.is-in) { opacity: 0; }

/* 6. sites web : être trouvé, sur mobile, réservation */
.mk-web { position: relative; overflow: hidden; }
/* chargement d'une page : un trait fin traverse le haut de la fenêtre */
.mk-load { position: absolute; left: 0; top: 0; z-index: 5; height: 2.5px; width: 100%; background: var(--a); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.mk-load.is-run { animation: mk-load 0.75s ease-out; }
@keyframes mk-load { 0% { opacity: 1; transform: scaleX(0); } 70% { opacity: 1; transform: scaleX(0.85); } 100% { opacity: 0; transform: scaleX(1); } }
.mk-scene { position: absolute; inset: 0; transition: opacity 0.5s, transform 0.6s var(--spring); }
/* le moteur de recherche : d'abord la page d'accueil (logo et champ au centre), puis la page de résultats */
.mk-serp { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; opacity: 0; }
.mk-serp__top { display: flex; align-items: center; gap: 14px; }
.mk-engine { display: flex; align-items: center; gap: 3px; font-size: 15px; font-weight: 750; letter-spacing: -0.01em; color: #2a3142; white-space: nowrap; transform-origin: left center; }
.mk-engine i { width: 9px; height: 9px; border-radius: 50%; background: #4f9cf0; }
.mk-engine i:nth-child(2) { background: #f2b640; margin-top: 6px; }
.mk-engine i:nth-child(3) { background: #2fc2b0; margin-right: 5px; }
.mk-serp__box { display: flex; align-items: center; gap: 8px; flex: 1; height: 36px; padding: 0 5px 0 14px; border-radius: 999px; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(27, 34, 50, 0.08); font-size: 12.5px; }
.mk-serp__q { flex: 1; min-height: 1.4em; }
.mk-serp__btn { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--soft); color: #4a5263; }
.mock.is-anim .mk-serp:not(.is-results) .mk-serp__top { flex-direction: column; justify-content: center; gap: 16px; margin: auto 30px; padding-bottom: 30px; }
.mock.is-anim .mk-serp:not(.is-results) .mk-engine { font-size: 26px; gap: 5px; }
.mock.is-anim .mk-serp:not(.is-results) .mk-engine i { width: 14px; height: 14px; }
.mock.is-anim .mk-serp:not(.is-results) .mk-engine i:nth-child(2) { margin-top: 10px; }
.mock.is-anim .mk-serp:not(.is-results) .mk-serp__box { width: 100%; flex: none; height: 40px; }
.mock.is-anim .mk-serp:not(.is-results) .mk-serp__results { display: none; }
.mk-serp__results { display: flex; flex-direction: column; gap: 9px; min-height: 0; }
.mk-serp.is-results .mk-serp__results { animation: mk-pop 0.5s var(--spring); }
.mk-serp__tabs { display: flex; gap: 16px; margin-top: -2px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.mk-serp__tabs span { padding-bottom: 6px; }
.mk-serp__tabs span.is-on { color: #1a4fd6; font-weight: 650; box-shadow: inset 0 -2px 0 #1a4fd6; }
.mk-serp__count { padding: 0 4px; font-size: 10px; color: #5d6677; }
.mk-pack { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.mk-pack__map { position: relative; border-radius: 8px; background:
  linear-gradient(115deg, transparent 46%, #fff 46% 50%, transparent 50%), linear-gradient(20deg, transparent 58%, #fff 58% 61%, transparent 61%),
  linear-gradient(90deg, transparent 30%, #f7f8fb 30% 33%, transparent 33%), #e6ecf3; overflow: hidden; }
.mk-pack__map::after { content: ''; position: absolute; left: 60%; top: 55%; width: 40%; height: 40%; border-radius: 40% 0 0 0; background: #d6ecd9; }
.mk-pin { position: absolute; z-index: 1; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: #9aa2b1; transform: translate(-50%, -100%) rotate(-45deg); }
.mk-pin--me { left: 50%; top: 52%; display: grid; place-items: center; width: 22px; height: 22px; background: #e5484d; color: #fff; box-shadow: 0 3px 8px rgba(229, 72, 77, 0.45); }
.mk-pin--me svg { width: 11px; height: 11px; transform: rotate(45deg); stroke-width: 2.2; }
.mk-pack__list { display: grid; gap: 6px; align-content: start; min-width: 0; }
.mk-pack__row { display: grid; gap: 2px; min-width: 0; }
.mk-pack__row--me { padding-bottom: 6px; border-bottom: 1px solid var(--soft); }
.mk-pack__row--me > b { font-size: 12.5px; color: #1a4fd6; }
.mk-pack__row--me > small { font-size: 10px; color: #15803d; }
.mk-pack__acts { display: flex; gap: 5px; margin-top: 3px; }
.mk-pack__acts i { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 9.5px; font-style: normal; font-weight: 600; color: #1a4fd6; }
.mk-pack__acts svg { width: 10px; height: 10px; }
.mk-pack__row--ghost { gap: 5px; }
.mk-pack__row--ghost i { height: 7px; width: 70%; border-radius: 4px; background: #eef0f5; }
.mk-pack__row--ghost i + i { width: 45%; }
.mk-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; }
.mk-rating > b { font-weight: 650; }
.mk-rating > span { display: inline-flex; gap: 1px; color: #f5b301; }
.mock .mk-rating svg { width: 10px; height: 10px; fill: currentColor; stroke: none; }
.mk-rating small { font-size: 10px; }
.mk-serp__res { display: grid; gap: 3px; padding: 8px 10px; margin: 0 -6px; border-radius: 10px; transition: opacity 0.4s, transform 0.4s, background-color 0.3s; }
.mk-serp__site { display: flex; align-items: center; gap: 7px; }
.mk-fav { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--a-soft); color: var(--a-deep); border: 1px solid var(--line); }
.mk-fav svg { width: 12px; height: 12px; }
.mk-serp__site > span:last-child { display: grid; line-height: 1.2; }
.mk-serp__site b { font-size: 11px; color: var(--ink); }
.mk-serp__site small { font-size: 10px; color: #4a5263; }
.mk-serp__title { color: #1a4fd6; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.mk-serp__res > span[data-k] { color: #4a5263; font-size: 11.5px; }
.mk-serp__links { display: flex; gap: 12px; margin-top: 2px; }
.mk-serp__links i { font-style: normal; font-size: 11px; color: #1a4fd6; }
.mk-serp__res.is-hover .mk-serp__title, .mk-serp__res.is-hl .mk-serp__title { text-decoration: underline; }
.mk-serp__res.is-hl { background: var(--soft); }
.mk-site { display: flex; flex-direction: column; }
.mk-site__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.mk-logo { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; }
.mk-logo svg { color: var(--a-deep); }
.mk-site__nav i { font-style: normal; margin-left: 14px; color: #4a5263; }
.mk-site__hero { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 14px; padding: 18px 18px; background: linear-gradient(135deg, var(--a-soft), #fff 70%); }
.mk-site__copy { display: grid; gap: 8px; justify-items: start; }
.mk-site__copy > b { font-size: 19px; font-weight: 800; line-height: 1.15; max-width: 15ch; }
.mk-site__copy > span:not(.mk-btn):not(.mk-rating) { color: #4a5263; font-size: 11.5px; max-width: 34ch; }
.mk-site__visual { position: relative; height: 128px; border-radius: 14px; background: linear-gradient(150deg, color-mix(in srgb, var(--a) 55%, #fff), var(--a) 60%, color-mix(in srgb, var(--a) 70%, #1b2232)); overflow: hidden; }
.mk-site__visual > i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mk-site__visual > i:first-child { width: 110px; height: 110px; right: -30px; top: -40px; }
.mk-site__visual > i:nth-child(2) { width: 70px; height: 70px; left: -20px; bottom: -26px; background: rgba(255, 255, 255, 0.16); }
.mk-site__badge { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: #fff; font-size: 9.5px; font-weight: 650; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); }
.mk-site__badge svg { width: 11px; height: 11px; color: #16a34a; stroke-width: 2.4; }
.mk-site__badge--2 { left: auto; right: 8px; bottom: auto; top: 10px; }
.mk-site__badge--2 svg { color: var(--a-deep); }
.mk-site__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px 18px; }
.mk-site__tiles > span { display: grid; gap: 6px; padding: 12px 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 650; font-size: 11.5px; box-shadow: 0 1px 2px rgba(27, 34, 50, 0.04); }
.mk-site__tiles svg { color: var(--a-deep); }
.mk-modal { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20, 24, 36, 0.38); transition: opacity 0.35s, visibility 0.35s; }
.mk-modal__card { display: grid; gap: 9px; width: 300px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.mk-modal__card > b { font-size: 14px; font-weight: 750; }
.mk-modal__sub { display: flex; align-items: center; gap: 4px; margin-top: -6px; font-size: 10px; }
.mk-modal__sub svg { width: 11px; height: 11px; color: #16a34a; }
.mk-modal.is-in .mk-modal__card { animation: mk-pop 0.4s var(--spring); }
.mock.is-anim .mk-serp.is-in { opacity: 1; }
.mock.is-anim .mk-serp.is-in.is-hl { opacity: 0.35; transition: opacity 0.2s; }
.mock.is-anim .mk-site:not(.is-in) { opacity: 0; transform: translateY(10px); }
.mock.is-anim .mk-serp__res:not(.is-in) { opacity: 0; transform: translateY(6px); }
.mock.is-anim .mk-modal:not(.is-in) { opacity: 0; visibility: hidden; }
.mk-mobile { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 22px; padding: 14px 22px; background: radial-gradient(circle at 30% 40%, var(--a-soft), var(--panel) 70%); }
.mk-handset { position: relative; height: 394px; padding: 8px; border-radius: 30px; background: #1b2232; box-shadow: 0 20px 40px rgba(20, 30, 50, 0.3); }
.mk-handset__screen { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 23px; background: #fff; overflow: hidden; }
.mk-handset__screen > .mk-sb { position: relative; z-index: 2; height: 24px; padding: 6px 12px 0; background: #fff; box-sizing: border-box; }
.mk-handset__screen > .mk-sb::after { top: 6px; }
.mk-handset__page { display: grid; gap: 8px; padding-bottom: 60px; transition: transform 1.2s cubic-bezier(0.45, 0, 0.2, 1); }
.mk-handset__page .mk-site__nav { padding: 12px 12px 10px; }
.mk-burger { display: grid; gap: 3px; }
.mk-burger i { width: 14px; height: 2px; border-radius: 1px; background: #1b2232; }
.mk-m__hero { display: grid; gap: 6px; padding: 14px 12px; background: linear-gradient(135deg, var(--a-soft), #fff 75%); }
.mk-m__hero b { font-size: 15px; font-weight: 800; line-height: 1.2; }
.mk-m__hero > span { font-size: 10.5px; color: #4a5263; }
.mk-m__stars { display: flex; align-items: center; gap: 1px; color: #f5b301; }
.mk-m__stars svg { width: 11px; height: 11px; fill: currentColor; stroke: none; }
.mk-m__stars small { margin-left: 5px; font-size: 9.5px; }
.mk-m__svc { display: flex; align-items: center; gap: 8px; margin: 0 12px; padding: 10px; border-radius: 9px; border: 1px solid var(--line); font-size: 11px; font-weight: 650; }
.mk-m__svc svg:first-child { color: var(--a-deep); }
.mk-m__svc svg:last-child { margin-left: auto; transform: rotate(-90deg); color: var(--muted); }
.mk-m__map { display: grid; place-items: center; height: 90px; margin: 0 12px; border-radius: 10px; background: repeating-linear-gradient(45deg, #eef1f6 0 10px, #e5e9f0 10px 20px); color: var(--a-deep); }
.mk-m__map svg { width: 26px; height: 26px; }
.mk-m__bar { position: absolute; left: 8px; right: 8px; bottom: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 -4px 16px rgba(27, 34, 50, 0.1); }
.mk-m__bar .mk-btn { height: 32px; font-size: 11px; }
.mk-sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; justify-items: center; padding: 16px 14px 14px; border-radius: 18px 18px 0 0; background: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2); transition: transform 0.45s var(--spring); }
.mk-sheet b { font-size: 15px; }
.mk-sheet__x { font-size: 11px; color: var(--muted); }
.mk-checks { display: grid; gap: 10px; }
.mk-checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(27, 34, 50, 0.05); transition: opacity 0.45s, transform 0.5s var(--spring); }
.mk-devices { display: flex; align-items: flex-end; gap: 3px; color: var(--a-deep); }
.mk-devices svg { width: 14px; height: 14px; }
.mk-devices svg:nth-child(2) { width: 17px; height: 17px; }
.mk-devices svg:nth-child(3) { width: 21px; height: 21px; }
.mk-speed { display: grid; justify-items: end; gap: 3px; }
.mk-speed small { font-size: 9px; font-weight: 700; padding: 0 5px; border-radius: 4px; background: var(--soft); }
.mk-speed__bar { width: 54px; height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.mk-speed__bar i { display: block; height: 100%; width: 22%; border-radius: inherit; background: #22c55e; transition: width 1s var(--spring); }
.mock.is-anim .mk-checks li:not(.is-in) .mk-speed__bar i { width: 0; }
.mk-gauge { position: relative; display: grid; place-items: center; width: 36px; height: 36px; }
.mk-gauge svg { position: absolute; inset: 0; width: 36px; height: 36px; transform: rotate(-90deg); }
.mk-gauge circle { fill: none; stroke: #e7f7ed; stroke-width: 3.5; }
.mk-gauge .mk-gauge__v { stroke: #22c55e; stroke-linecap: round; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s ease-out; }
.mock.is-anim .mk-checks li:not(.is-in) .mk-gauge__v { stroke-dashoffset: var(--len); }
.mk-gauge b { font-size: 10.5px; font-weight: 800; color: #15803d; }
.mk-checks li > i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #22a35a; color: #fff; }
.mk-checks li > span { display: grid; }
.mk-checks b { font-size: 12px; }
.mk-checks small { font-size: 10.5px; }
.mock.is-anim .mk-sheet:not(.is-in) { transform: translateY(110%); }
.mock.is-anim .mk-checks li:not(.is-in) { opacity: 0; transform: translateX(14px); }
.mk-book { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 196px; gap: 14px; padding: 14px; background: var(--panel); }
.mk-cal, .mk-slots { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.mk-cal__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mk-cal__h > span:first-child { display: grid; gap: 1px; }
.mk-cal__h b { font-size: 13px; }
.mk-cal__nav { display: flex; gap: 4px; color: #4a5263; }
.mk-cal__nav svg { width: 24px; height: 24px; padding: 5px; border-radius: 7px; border: 1px solid var(--line); stroke-width: 2.2; }
.mk-cal__d.is-hover:not(.is-sel), .mk-slot.is-hover:not(.is-sel) { box-shadow: inset 0 0 0 1.5px var(--a); }
.mk-service { display: flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 9px; border-radius: 999px; background: var(--a-soft); color: var(--a-deep); font-size: 10px; font-weight: 650; }
.mk-service svg { width: 11px; height: 11px; }
.mk-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.mk-cal__grid > small { font-size: 9.5px; font-weight: 650; }
.mk-cal__grid > span { display: grid; place-items: center; height: 30px; border-radius: 8px; font-size: 11px; color: #b2b9c6; }
.mk-cal__d.is-free { color: var(--ink); font-weight: 650; background: var(--soft); }
.mk-cal__d.is-sel { background: var(--a); color: var(--a-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 25%, transparent); transition: background-color 0.3s, box-shadow 0.3s; }
.mk-slots > b { font-size: 12px; }
.mk-slots__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mk-slot { display: grid; place-items: center; height: 30px; border-radius: 8px; border: 1px solid var(--line); font-size: 11px; font-weight: 650; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.mk-slot.is-taken { color: #b2b9c6; text-decoration: line-through; background: var(--panel); }
.mk-slot.is-sel { background: var(--a); border-color: var(--a); color: var(--a-ink); }
.mk-slots .mk-btn--wide { margin-top: auto; }
.mk-agenda { position: absolute; left: 26px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid #22c55e; box-shadow: 0 14px 34px rgba(27, 34, 50, 0.18); font-size: 11px; transition: opacity 0.45s, transform 0.5s var(--spring); }
.mk-agenda__ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #ecfdf3; color: #15803d; }
.mk-agenda > span:last-child { display: grid; }
.mk-agenda b { font-size: 12px; }
.mk-agenda small { font-size: 10px; }
.mk-agenda small:first-child { color: #15803d; font-weight: 650; }
.mock.is-anim .mk-slots:not(.is-in) { opacity: 0.4; }
.mock.is-anim .mk-agenda:not(.is-in) { opacity: 0; transform: translateY(8px); }

/* 7. cybersécurité : e-mail piégé, double authentification, restauration */
.mk-cyber { position: relative; display: grid; grid-template-columns: 168px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.mk-inbox { background: var(--panel); border-right: 1px solid var(--line); overflow: hidden; }
.mk-inbox__h { display: flex; align-items: center; justify-content: space-between; padding: 11px 10px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.mk-mailrow.is-hover:not(.is-open) { background: #fff; }
.mk-read__empty { position: absolute; top: 0; right: 0; bottom: 0; left: 168px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); font-size: 12px; transition: opacity 0.3s; }
.mk-read__empty svg { width: 30px; height: 30px; stroke-width: 1.3; color: #b0b7c4; }
.mock:not(.is-anim) .mk-read__empty, .mock.is-anim .mk-read__empty.is-out { opacity: 0; }
.mk-mailrow { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 8px; padding: 9px 10px; border-bottom: 1px solid var(--line); font-size: 11px; max-height: 80px; overflow: hidden; transition: opacity 0.45s, max-height 0.5s, padding 0.5s, background-color 0.3s; }
.mk-mailrow small { grid-column: 2; font-size: 10px; }
.mk-mailrow__txt { display: grid; min-width: 0; }
.mk-mailrow__txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4a5263; }
.mk-mailrow.is-open { background: #fff; box-shadow: inset 3px 0 0 #e5484d; }
.mk-mailrow.is-gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; }
.mock.is-anim .mk-mailrow[data-k="m0"]:not(.is-in) { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; }
.mock.is-anim .mk-read:not(.is-in) { opacity: 0; }
.mk-read { display: flex; flex-direction: column; gap: 9px; padding: 12px 14px; font-size: 11.5px; min-width: 0; min-height: 0; overflow: hidden; transition: opacity 0.45s; }
.mk-read__subj { font-size: 13.5px; font-weight: 750; }
.mk-read__from { display: flex; align-items: center; gap: 8px; }
.mk-read__from > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.mk-read__from small { font-size: 10.5px; overflow-wrap: anywhere; line-height: 1.3; }
.mk-read mark { border-radius: 3px; transition: background-color 0.4s, box-shadow 0.4s, color 0.4s; }
.mk-read mark.is-on, .mk-read__pay small.is-on { background: #ffe0e0; box-shadow: 0 0 0 2px #ffe0e0; color: #b42318; }
/* chaque indice repéré porte un numéro, repris dans la liste en dessous */
.mk-read mark.is-on::after, .mk-read__pay small.is-on::after { content: attr(data-n); display: inline-grid; place-items: center; width: 13px; height: 13px; margin-left: 3px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 8.5px; font-weight: 800; line-height: 1; vertical-align: 1px; animation: mk-pop 0.3s var(--spring); }
.mk-read__body { line-height: 1.5; color: #394153; }
.mk-read__pay { display: grid; justify-items: start; gap: 4px; }
.mk-read__pay small { font-size: 10px; border-radius: 3px; transition: background-color 0.4s, color 0.4s; }
.mk-clues { display: grid; gap: 5px; margin-top: auto; }
.mk-clues li { display: flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 7px; background: #fff1f1; color: #b42318; font-size: 11px; font-weight: 650; transition: opacity 0.4s, transform 0.4s; }
.mk-clues li > em { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 9.5px; font-style: normal; font-weight: 800; flex: none; }
.mk-score { position: absolute; top: 0; right: 0; bottom: 0; left: 168px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px; background: #fff; transition: opacity 0.5s, transform 0.5s; }
.mk-ring { position: relative; width: 104px; height: 104px; }
.mk-ring svg { width: 104px; height: 104px; transform: rotate(-90deg); }
.mk-ring circle { fill: none; stroke: #eef0f5; stroke-width: 6; }
.mk-ring .mk-ring__v { stroke: #22c55e; stroke-linecap: round; stroke-dasharray: var(--p, 94) 100; transition: stroke-dasharray 0.6s; }
.mk-ring > span { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; }
.mk-ring > span b { font-size: 24px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.mk-score__txt { display: grid; gap: 3px; }
.mk-score__txt > b { font-size: 13.5px; }
.mk-score__txt ul { display: grid; gap: 7px; margin-top: 10px; }
.mk-score__txt li { display: flex; align-items: center; gap: 7px; font-size: 11.5px; transition: opacity 0.4s; }
.mk-score__txt li svg { color: #16a34a; }
.mock.is-anim .mk-clues li:not(.is-in) { opacity: 0; transform: translateX(8px); }
.mock.is-anim .mk-score:not(.is-in) { opacity: 0; transform: translateX(16px); }
.mock.is-anim .mk-score__txt li:not(.is-in) { opacity: 0.3; }
.mk-mfa { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px; grid-template-rows: minmax(0, 1fr) auto; gap: 12px 16px; padding: 16px; background: var(--panel); }
.mk-login { position: relative; display: grid; align-content: start; gap: 9px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(27, 34, 50, 0.06); }
.mk-login__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--a-soft); color: var(--a-deep); }
.mk-login > b { font-size: 14px; }
.mk-dots { letter-spacing: 2px; }
.mk-wait, .mk-welcome { display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 9px; font-size: 11.5px; transition: opacity 0.35s; }
.mk-wait { background: var(--soft); color: var(--muted); }
.mk-welcome { background: #ecfdf3; color: #166534; }
.mk-welcome > svg { width: 18px; height: 18px; }
.mk-welcome span { display: grid; }
.mk-welcome small { color: #2f6f47; }
/* l'écran verrouillé du téléphone, sur lequel arrive la demande de confirmation */
.mk-phone--lock { background: linear-gradient(170deg, color-mix(in srgb, var(--a) 62%, #1b2232), color-mix(in srgb, var(--a) 30%, #1b2232)); }
.mk-phone--lock .mk-sb { color: #fff; }
.mk-phone--lock .mk-sb > b { visibility: hidden; }
.mk-phone--lock .mk-sb::after { background: #0f1420; }
.mk-lock { display: grid; justify-items: center; gap: 2px; margin-top: 8px; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18); }
.mk-lock__ic svg { width: 12px; height: 12px; stroke-width: 2.2; }
.mk-lock__time { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mk-lock small { font-size: 10.5px; color: rgba(255, 255, 255, 0.88); }
.mk-approve { position: relative; display: grid; justify-items: center; gap: 6px; margin-top: 12px; padding: 12px 8px; border-radius: 16px; background: rgba(255, 255, 255, 0.94); text-align: center; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); transition: opacity 0.4s, transform 0.5s var(--spring); }
.mk-approve__ok { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; border-radius: inherit; background: #ecfdf3; color: #15803d; opacity: 0; transition: opacity 0.3s; }
.mk-approve__ok svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: #22c55e; color: #fff; stroke-width: 2.6; }
.mk-approve.is-ok .mk-approve__ok { opacity: 1; }
.mk-phalert { position: absolute; left: 7px; right: 7px; bottom: 14px; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; padding: 8px; border-radius: 13px; background: rgba(30, 37, 54, 0.94); color: #fff; font-size: 10.5px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); transition: opacity 0.4s, transform 0.5s var(--spring); }
.mk-phalert .mk-notif__app { background: #e5484d; color: #fff; }
.mk-phalert > span:last-child { display: grid; }
.mk-phalert small { color: #c3cad6; font-size: 9.5px; }
.mock.is-anim .mk-phalert:not(.is-in), .mock:not(.is-anim) .mk-phalert { opacity: 0; transform: translateY(16px); }
.mk-approve__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--a); color: var(--a-ink); }
.mk-approve b { font-size: 12.5px; }
.mk-approve small { font-size: 10px; line-height: 1.35; }
.mk-approve__btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; width: 100%; margin-top: 4px; }
.mk-approve__btns .mk-btn { height: 30px; padding: 0 6px; font-size: 10.5px; }
.mk-attack { grid-column: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1b2232; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); transition: opacity 0.45s, transform 0.5s var(--spring); }
.mk-attack > svg { width: 22px; height: 22px; color: #f87171; }
.mk-attack span { display: grid; }
.mk-attack small { color: #b7bfce; font-size: 10.5px; }
.mk-seclog { grid-column: 2; display: grid; gap: 3px; align-content: start; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 9.5px; color: #4a5263; }
.mk-seclog > small { font-family: system-ui, sans-serif; font-weight: 650; font-size: 10px; }
.mk-seclog span { transition: opacity 0.4s; }
.mk-seclog__empty { font-family: system-ui, sans-serif; font-style: italic; color: #5d6677; }
.mock:not(.is-anim) .mk-seclog__empty, .mock.is-anim .mk-seclog__empty.is-gone { display: none; }
.mock.is-anim .mk-wait:not(.is-in), .mock.is-anim .mk-welcome:not(.is-in), .mock:not(.is-anim) .mk-wait { display: none; }
.mock.is-anim .mk-approve:not(.is-in) { opacity: 0; transform: translateY(14px) scale(0.96); }
.mock.is-anim .mk-attack:not(.is-in) { opacity: 0; transform: translateY(10px); }
.mock.is-anim .mk-seclog span:not(.is-in) { opacity: 0; }
.mk-restore { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 14px; padding: 14px; background: var(--panel); }
.mk-files { display: flex; flex-direction: column; border-radius: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.mk-file { display: grid; grid-template-columns: 18px minmax(0, 1fr) 22px; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 11.5px; transition: background-color 0.4s, opacity 0.4s; }
.mk-file > svg { color: var(--a-deep); }
.mk-file--xlsx > svg { color: #16a34a; }
.mk-file--pdf > svg { color: #e5484d; }
.mk-file--dir > svg { color: #e59a0b; }
.mk-file .mk-av { width: 22px; height: 22px; font-size: 8.5px; }
.mk-backup-row.is-hover:not(.is-sel) { border-color: color-mix(in srgb, var(--a) 50%, var(--line)); }
.mk-file span { display: grid; min-width: 0; }
.mk-file small { font-size: 10px; }
.mk-file--lost { background: #ecfdf3; }
.mk-file--lost small { color: #15803d; }
.mk-missing { display: flex; align-items: center; gap: 6px; margin: auto 12px 12px; padding: 7px 9px; border-radius: 8px; background: #fff1f1; color: #b42318; font-size: 11px; font-weight: 650; transition: opacity 0.35s; }
.mk-backups { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: opacity 0.4s; }
.mk-backups > b { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.mk-backups > b svg { color: var(--a-deep); }
.mk-backup-row { display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; border: 1px solid var(--line); transition: background-color 0.3s, border-color 0.3s; }
.mk-backup-row span { display: grid; }
.mk-backup-row b { font-size: 11px; }
.mk-backup-row small { font-size: 9.5px; }
.mk-backup-row > svg { color: #16a34a; }
.mk-backup-row.is-sel { border-color: var(--a); background: var(--a-soft); }
.mk-backups .mk-btn--wide { margin-top: auto; }
.mk-test { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: #15803d; font-weight: 650; transition: opacity 0.4s; }
.mock.is-anim .mk-restore .mk-file--lost:not(.is-in) { background: #fff1f1; opacity: 0.5; }
.mock.is-anim .mk-restore .mk-file--lost:not(.is-in) small { color: #b42318; }
.mock.is-anim .mk-missing.is-out { opacity: 0; }
.mock.is-anim .mk-backups:not(.is-in) { opacity: 0.45; }
.mock.is-anim .mk-restore .mk-progress:not(.is-in) { visibility: hidden; }
.mock.is-anim .mk-test:not(.is-in) { opacity: 0; }

/* 8. infogérance : le tableau de bord, la sauvegarde, l'arrivée */
.mk-infra { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 9px; padding: 11px 12px 12px; background: var(--panel); }
.mk-infra__h { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mk-infra__h > b { font-size: 13px; }
.mock .mk-spark { display: block; width: 100%; height: 26px; margin-top: 1px; }
.mk-spark__line { fill: none; stroke: var(--a-deep); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mk-spark__area { fill: color-mix(in srgb, var(--a) 18%, transparent); stroke: none; }
.mk-tile { display: grid; gap: 7px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 11px; min-width: 0; align-content: start; transition: border-color 0.4s, box-shadow 0.4s; }
.mk-tile.is-focus { border-color: color-mix(in srgb, var(--a) 55%, var(--line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a) 14%, transparent); }
.mk-tile__h { display: flex; align-items: center; gap: 6px; }
.mk-tile__h b { font-size: 11.5px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-tile__h svg { color: var(--a-deep); }
.mk-status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: #e7f7ed; color: #15803d; font-size: 10px; font-weight: 700; white-space: nowrap; }
.mk-status i, .mk-box small i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.mk-st__a, .mk-st__b { display: inline-flex; align-items: center; gap: 5px; }
.mk-st__a { display: none; }
.mock.is-anim .mk-status--run:not(.is-done) { background: #e5eeff; color: #1d5bd6; }
.mock.is-anim .mk-status--run:not(.is-done) .mk-st__a { display: inline-flex; }
.mock.is-anim .mk-status--run:not(.is-done) .mk-st__b { display: none; }
.mock.is-anim .mk-status--run:not(.is-done) i { background: #3b82f6; animation: mk-blink 1s infinite; }
.mk-meter { display: grid; grid-template-columns: 62px minmax(0, 1fr) 34px; align-items: center; gap: 7px; }
.mk-meter small { font-size: 10.5px; }
.mk-meter > span { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.mk-meter i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--a); transition: width 0.8s; }
.mk-meter b { font-size: 10.5px; text-align: right; font-variant-numeric: tabular-nums; }
.mk-tile .mk-count { background: none; color: var(--muted); padding: 0; height: auto; font-weight: 400; }
.mk-tile .mk-count b { color: var(--ink); font-size: 12px; }
.mk-user { display: grid; grid-template-columns: 20px auto minmax(0, 1fr); align-items: center; gap: 6px; transition: opacity 0.4s, transform 0.4s; }
.mk-user .mk-av { width: 20px; height: 20px; font-size: 9px; }
.mk-user small { font-size: 10px; text-align: right; }
.mk-backup { display: flex; justify-content: space-between; gap: 6px; }
.mk-backup small { font-size: 10px; }
.mk-backup b { font-size: 10.5px; font-variant-numeric: tabular-nums; }
.mk-box { display: flex; justify-content: space-between; align-items: center; }
.mk-box span { font-weight: 650; }
.mk-box small { display: inline-flex; align-items: center; gap: 4px; color: #15803d; font-size: 10px; }
.mk-tile--log { grid-column: 1 / -1; }
.mk-tile--log ul { display: grid; gap: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10.5px; color: #4a5263; }
.mk-tile--log li { transition: opacity 0.4s; }
.mock.is-anim .mk-user:not(.is-in) { opacity: 0; transform: translateX(-6px); }
.mock.is-anim .mk-tile--log li:not(.is-in) { opacity: 0; }
.mk-onboard { position: relative; display: grid; place-items: center; padding: 16px; background: radial-gradient(circle at 70% 20%, var(--a-soft), var(--panel) 65%); }
.mk-onboard__card { display: grid; gap: 12px; width: 100%; max-width: 420px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(27, 34, 50, 0.1); }
.mk-onboard__who { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.mk-onboard__state { display: grid; justify-items: end; }
.mk-onboard__state > * { grid-area: 1 / 1; }
.mk-todo-badge { padding: 4px 10px; border-radius: 999px; background: #fff4e0; color: #7a4d00; font-size: 10.5px; font-weight: 700; transition: opacity 0.3s; }
.mk-ready.is-in ~ .mk-todo-badge, .mock:not(.is-anim) .mk-todo-badge { opacity: 0; }
.mk-onboard__req { display: flex; align-items: center; gap: 5px; margin-top: -4px; font-size: 10.5px; color: var(--a-deep); font-weight: 600; transition: opacity 0.4s, transform 0.4s var(--spring); }
.mk-onboard__req svg { width: 12px; height: 12px; }
.mock.is-anim .mk-onboard__req:not(.is-in) { opacity: 0; transform: translateY(-4px); }
.mk-onboard__who > span:nth-child(2) { display: grid; }
.mk-onboard__who b { font-size: 14px; }
.mk-ready { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #e7f7ed; color: #15803d; font-size: 10.5px; font-weight: 700; transition: opacity 0.4s, transform 0.4s var(--spring); }
.mk-onboard__list { display: grid; gap: 6px; }
.mk-onboard__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); transition: background-color 0.4s, border-color 0.4s, opacity 0.4s; }
.mk-onboard__list li > i { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #22a35a; color: #fff; transition: background-color 0.3s; }
.mk-onboard__list li > i svg { width: 12px; height: 12px; stroke-width: 2.6; }
.mk-onboard__list li > i .mk-spin { display: none; position: absolute; width: 18px; height: 18px; }
.mk-onboard__list li > span { display: grid; }
.mk-onboard__list b { font-size: 11.5px; }
.mk-onboard__list small { font-size: 10px; }
.mk-onboard__list li.is-in { background: #f0faf3; border-color: #cdebd6; }
.mk-onboard__pc { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--a-deep); }
.mock.is-anim .mk-onboard__list li:not(.is-in) { opacity: 0.55; }
.mock.is-anim .mk-onboard__list li:not(.is-in) > i { background: #e3e6ee; }
.mock.is-anim .mk-onboard__list li:not(.is-in) > i svg { display: none; }
.mock.is-anim .mk-onboard__list li.is-run:not(.is-in) > i { background: transparent; }
.mock.is-anim .mk-onboard__list li.is-run:not(.is-in) > i .mk-spin { display: block; }
.mock.is-anim .mk-ready:not(.is-in) { opacity: 0; transform: scale(0.8); }
.mk-onboard__card { transition: box-shadow 0.6s, border-color 0.6s; }
.mk-onboard__card.is-in { border-color: color-mix(in srgb, var(--a) 45%, var(--line)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a) 14%, transparent), 0 14px 34px rgba(27, 34, 50, 0.1); }
/* animations réduites : la démo montre chaque étape d'un coup, sans aucun mouvement */
.reduce-motion .mock, .reduce-motion .mock * { transition: none !important; animation: none !important; }

.compose { padding: clamp(80px, 13vh, 160px) var(--g); --h: var(--halo, var(--fil)); }
.compose__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(32px, 6vh, 56px); }
.compose__head h2 { font-size: var(--fs-h2); max-width: 14ch; }
.compose__head p { color: #c3cad6; max-width: 48ch; margin: 0; }
.compose__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.compose__project { position: sticky; top: 96px; }
.compose__card {
  border-radius: 22px; padding: clamp(20px, 2.4vw, 30px); background: linear-gradient(180deg, rgba(237, 231, 220, 0.07), rgba(237, 231, 220, 0.03));
  border: 1px solid rgba(237, 231, 220, 0.12); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7);
}
.compose__base h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.1875rem; font-weight: 680; line-height: 1.3; margin: 0 0 12px; }
.compose__tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 999px; font-size: 0.75rem; font-weight: 700;
  background: rgba(94, 203, 140, 0.16); color: #8fe0b1;
}
.compose__tag--plus { background: color-mix(in srgb, var(--fil) 20%, transparent); color: var(--fil); }
.compose__tag svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compose__inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.compose__inc li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 0.9375rem; color: #c9cfda; line-height: 1.45; }
.compose__inc svg { width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #8fe0b1; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.compose__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; padding-top: 18px; border-top: 1px dashed rgba(237, 231, 220, 0.18); font-size: 0.9375rem; color: #c3cad6; }
.compose__cta { margin-top: 22px; width: 100%; justify-content: center; }
.compose__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin-bottom: 6px; scrollbar-width: thin; }
.compose__tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(237, 231, 220, 0.18); background: transparent; color: #c9cfda; font: 600 0.9375rem/1.2 var(--f);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.compose__tab:hover { border-color: rgba(237, 231, 220, 0.4); color: var(--pierre); }
.compose__tab[aria-selected='true'] { background: var(--pierre); border-color: var(--pierre); color: var(--encre); }
.compose__n { min-width: 22px; padding: 2px 7px; border-radius: 999px; font-size: 0.75rem; text-align: center; background: rgba(142, 155, 176, 0.22); }
.compose__cat { margin: 4px 0 14px; font-size: 1rem; color: var(--zinc); font-weight: 600; }
.is-live .compose__cat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.is-live .compose__panel[data-off] { display: none; }
.compose__panel + .compose__panel { margin-top: 28px; }
.is-live .compose__panel + .compose__panel { margin-top: 0; }
.compose__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.compose__opt {
  height: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 16px 16px 14px; border-radius: 16px; color: var(--pierre);
  border: 1px solid rgba(237, 231, 220, 0.12); background: rgba(237, 231, 220, 0.04);
  transition: border-color 0.25s, background-color 0.25s;
}
.compose__opt:hover { border-color: rgba(237, 231, 220, 0.26); background: rgba(237, 231, 220, 0.06); }
.compose__opt-ico {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--fil);
  border: 1px solid color-mix(in srgb, var(--fil) 45%, transparent); background: color-mix(in srgb, var(--fil) 10%, transparent);
}
.compose__opt-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.compose__opt-txt { display: grid; gap: 4px; min-width: 0; }
.compose__opt-txt strong { font-size: 1rem; font-weight: 650; line-height: 1.3; }
.compose__opt-txt span { font-size: 0.875rem; line-height: 1.45; color: #a9b3c3; }
.compose__opt-list { font-size: 0.8125rem !important; color: var(--zinc) !important; }
@media (max-width: 900px) {
  .compose__grid { grid-template-columns: minmax(0, 1fr); }
  .compose__project { position: static; }
}
.ticks--dark li::before { box-shadow: none; background: #b37c12; }

.further { padding: clamp(64px, 10vh, 120px) var(--g) 0; }
.further h2 { font-size: var(--fs-small); font-weight: 600; color: var(--zinc); margin-bottom: 16px; }
/* carte de guide (page Guides et « Pour aller plus loin ») : bordure haute de la couleur du guide */
.guide-card {
  --h: var(--fil);
  position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; max-width: 900px; padding: clamp(22px, 2.2vw, 30px);
  border-radius: 20px; text-decoration: none; color: var(--pierre);
  background: linear-gradient(180deg, rgba(22, 33, 58, 0.95), rgba(13, 22, 44, 0.95));
  border: 1px solid rgba(142, 155, 176, 0.16); box-shadow: inset 0 2px 0 0 var(--h);
  transition: border-color 0.4s, transform 0.6s var(--ease), box-shadow 0.4s;
}
.guide-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 120px; border-radius: inherit; pointer-events: none;
  background: radial-gradient(80% 100% at 50% 0%, color-mix(in srgb, var(--h) 16%, transparent), transparent 70%);
}
.guide-card:hover { border-color: color-mix(in srgb, var(--h) 45%, transparent); transform: translateY(-4px); }
.guide-card__meta { color: var(--zinc); font-size: 0.875rem; margin-top: 8px; }
.guide-card__title { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.guide-card__desc { color: #b7c0cf; font-size: 1rem; line-height: 1.6; flex: 1; }
.guide-card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 650; color: color-mix(in srgb, var(--h) 85%, white); font-size: 0.9375rem; }
.guide-card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--ease); }
.guide-card:hover .guide-card__go svg { transform: translateX(4px); }

/* petit schéma d'un guide : pictogramme + étapes qui s'allument tour à tour */
.gviz {
  --h: var(--fil);
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px;
  padding: 16px 18px; border-radius: 14px; background: rgba(10, 18, 34, 0.55); border: 1px solid rgba(142, 155, 176, 0.14);
}
.gviz__icon { display: grid; place-items: center; width: 52px; height: 52px; color: var(--h); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--h) 55%, transparent)); }
.gviz__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.gviz__icon .hot { fill: color-mix(in srgb, var(--h) 35%, transparent); }
.gviz__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gviz__steps li {
  padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; color: #c3cad6;
  border: 1px solid rgba(142, 155, 176, 0.26); background: rgba(237, 231, 220, 0.03);
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.gviz__steps li.is-on, .reduce-motion .gviz__steps li:last-child, html:not(.js) .gviz__steps li:last-child {
  color: #fff; border-color: color-mix(in srgb, var(--h) 75%, transparent);
  background: color-mix(in srgb, var(--h) 14%, transparent); box-shadow: 0 0 14px color-mix(in srgb, var(--h) 35%, transparent);
}
/* version détaillée en tête d'un guide : étapes reliées, avec leur explication */
.gviz--detail { grid-template-columns: 1fr; gap: 18px; padding: clamp(18px, 2vw, 26px); }
.gviz--detail .gviz__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gviz--detail .gviz__steps li { display: grid; gap: 6px; align-content: start; padding: 14px 16px; border-radius: 12px; font-weight: 400; font-size: 0.875rem; line-height: 1.5; color: #b7c0cf; }
.gviz--detail .gviz__steps li strong { color: var(--pierre); font-size: 1rem; font-weight: 700; }
.gviz--detail .gviz__steps li.is-on { color: #dfe5ee; }
@media (max-width: 760px) { .gviz--detail .gviz__steps { grid-template-columns: 1fr 1fr; } }

.others { padding: clamp(80px, 13vh, 160px) var(--g); }
.others h2 { font-size: var(--fs-h2); margin-bottom: clamp(28px, 5vh, 56px); }
/* les 8 offres : 4 × 2 sur ordinateur, 2 × 4 sur tablette et téléphone */
.offer-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .offer-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.offer-cards a, .offer-cards__here {
  display: grid; align-content: start; gap: 4px; padding: 14px 16px 18px; border-radius: 16px; text-decoration: none; height: 100%;
  background: radial-gradient(70% 60% at 50% 30%, color-mix(in srgb, var(--h) 16%, transparent), transparent 75%), rgba(237, 231, 220, 0.03);
  border: 1px solid rgba(237, 231, 220, 0.07); transition: border-color 0.4s, transform 0.6s var(--ease);
}
.offer-cards a:hover { border-color: color-mix(in srgb, var(--h) 60%, transparent); transform: translateY(-4px); }
.offer-cards__here { border-color: color-mix(in srgb, var(--h) 55%, transparent); }
.offer-cards__here .offer-cards__tag { color: var(--h); font-weight: 600; }
.offer-cards img { width: 70%; justify-self: center; aspect-ratio: 1; object-fit: contain; transition: transform 0.8s var(--ease); }
.offer-cards a:hover img { transform: scale(1.06) rotate(-3deg); }
.offer-cards__name { font-weight: 650; line-height: 1.25; }
.offer-cards__tag { color: var(--zinc); font-size: 0.875rem; }
@media (max-width: 520px) {
  .offer-cards a, .offer-cards__here { padding: 10px 12px 14px; border-radius: 14px; }
  .offer-cards__name { font-size: 0.9375rem; }
  .offer-cards__tag { font-size: 0.8125rem; }
}

/* qui sommes-nous */
.principles { padding: clamp(80px, 13vh, 160px) var(--g); }
.principles h2 { font-size: var(--fs-h2); margin-bottom: clamp(32px, 6vh, 64px); }
.principles__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(237, 231, 220, 0.12); }
.principles__list li { padding: 32px 32px 40px 0; border-bottom: 1px solid rgba(237, 231, 220, 0.12); }
.principles__list h3 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: 12px; }
.principles__list p { color: #c3cad6; margin: 0; max-width: 38ch; }
@media (max-width: 960px) { .principles__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles__list { grid-template-columns: 1fr; } }
.domains { padding: clamp(80px, 13vh, 160px) var(--g); }
.domains h2 { font-size: var(--fs-h2); margin-bottom: clamp(32px, 6vh, 64px); max-width: 16ch; }
.domains__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.domains__grid h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.08; margin-bottom: 14px; }
.domains__grid p { color: var(--texte-clair); }
@media (max-width: 860px) { .domains__grid { grid-template-columns: 1fr; } }

/* contact */
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 110px);
  padding: clamp(72px, 12vh, 140px) var(--g);
}
.contact-grid h2 { font-size: var(--fs-h3); margin-bottom: 8px; }
.contact-direct dl { margin: 22px 0; display: grid; gap: 6px; }
.contact-direct dt { color: var(--zinc); font-size: 0.875rem; margin-top: 14px; }
.contact-direct dd { margin: 0; font-size: var(--fs-lead); font-weight: 600; }
.contact-direct dd a { text-decoration: none; }
.contact-direct dd a:hover { color: var(--fil); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.field--radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.field--radios legend { width: 100%; margin-bottom: 8px; }
.radio { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--fil); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { color: #0a1222; }
.field [aria-invalid='true'] { border-color: #ff9b8a; }
.contact-call {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 110px);
  padding: clamp(80px, 13vh, 160px) var(--g);
}
.contact-call h2 { font-size: var(--fs-h2); max-width: 12ch; margin-bottom: 18px; }
.contact-call p { color: var(--texte-clair); max-width: 40ch; }
.form--light { margin-top: 0; }
.form--light .field input, .form--light .field select { border-color: rgba(10, 18, 34, 0.2); background: rgba(255, 255, 255, 0.55); color: var(--encre); }
.form--light .field input:focus, .form--light .field select:focus { border-color: #b37c12; box-shadow: 0 0 0 4px rgba(179, 124, 18, 0.16); }
.form--light .form-status[data-state='ok'] { color: #2d7a2a; }
.form--light .form-status[data-state='err'] { color: #b4321f; }
.form--light .form-status[data-state='info'] { color: #7a4f00; }
@media (max-width: 860px) { .contact-call { grid-template-columns: 1fr; } }

/* guides */
.guides { padding: clamp(72px, 12vh, 140px) var(--g); }
.guides__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1080px) { .guides__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .guides__list { grid-template-columns: 1fr; } }

.article-hero {
  --h: var(--fil);
  position: relative; overflow: hidden; display: grid; align-content: end; gap: clamp(32px, 5vh, 56px); min-height: min(76vh, 760px);
  padding: 140px var(--g) clamp(48px, 8vh, 88px);
  background: radial-gradient(70% 60% at 85% 10%, color-mix(in srgb, var(--h) 14%, transparent), transparent 70%), var(--encre);
}
.article-schema { margin: 0; max-width: 1100px; }
.article-schema figcaption { margin-top: 12px; color: var(--zinc); font-size: 0.875rem; }
.article-hero h1 { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4.5rem); font-weight: 750; letter-spacing: -0.025em; line-height: 1.02; max-width: 22ch; text-wrap: balance; }
.article-hero p { max-width: 60ch; margin-top: 20px; font-size: var(--fs-lead); color: #d4d9e2; }
.article-meta { color: var(--zinc) !important; font-size: 0.875rem !important; margin: 0 0 14px !important; }
.article { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(32px, 5vw, 96px); padding: clamp(56px, 9vh, 110px) var(--g); background: var(--pierre); color: var(--encre); color-scheme: light; }
.article__toc nav { position: sticky; top: 110px; }
.article__toc h2 { font-size: 0.875rem; font-weight: 650; color: var(--zinc-2); margin-bottom: 12px; }
.article__toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 0.9375rem; }
.article__toc a { text-decoration: none; color: var(--texte-clair); }
.article__toc a:hover { color: var(--encre); text-decoration: underline; }
.article .prose { max-width: 70ch; }
.article .prose p, .article .prose li { color: #283246; }
.article .prose h2, .article .prose h3 { color: var(--encre); }
.article .prose a { color: #8a5a00; }
.article .prose strong { color: var(--encre); }
.article .prose .lead { font-size: var(--fs-lead); }
.article .prose code { font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: rgba(10, 18, 34, 0.07); overflow-wrap: anywhere; } /* une longue valeur (enregistrement DNS) passe à la ligne sur téléphone */
.article .prose pre { overflow-x: auto; padding: 18px 20px; border-radius: 12px; background: var(--encre); color: var(--pierre); }
.article .prose pre code { background: none; padding: 0; color: inherit; }
.article .prose th, .article .prose td { border-color: rgba(10, 18, 34, 0.12); }
.related {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 3em; padding: 20px; border-radius: 18px;
  background: var(--encre); color: var(--pierre);
}
.related img { width: 120px; height: 120px; object-fit: contain; }
/* très petit écran (320 px) : l'image passe au-dessus, le nom de l'offre garde toute la largeur */
@media (max-width: 359px) { .related { grid-template-columns: minmax(0, 1fr); } .related img { width: 96px; height: 96px; } }
.related h2 { margin: 0 0 6px !important; font-size: 0.875rem !important; color: var(--zinc) !important; font-weight: 600; }
.related a { color: var(--pierre) !important; font-size: var(--fs-h3); font-weight: 680; text-decoration: none; }
.related a:hover { color: var(--fil) !important; }
.related p { color: #c3cad6 !important; margin: 6px 0 0; font-size: 0.9375rem; }
@media (max-width: 960px) {
  .article { grid-template-columns: 1fr; }
  .article__toc nav { position: static; }
}

/* pages légales */
.legal-hero { padding: clamp(130px, 20vh, 200px) var(--g) clamp(24px, 4vh, 48px); }
.legal-hero h1 { font-size: clamp(2.25rem, 1.2rem + 4vw, 5rem); font-weight: 760; letter-spacing: -0.03em; line-height: 1; }

/* bandeau d'appel à l'action commun */
.cta-band {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 40px 80px;
  padding: clamp(80px, 14vh, 160px) var(--g); border-top: 1px solid rgba(237, 231, 220, 0.07);
}
.cta-band h2 { font-size: var(--fs-h2); max-width: 13ch; }
.cta-band__text p { color: #c3cad6; max-width: 44ch; margin-top: 18px; }
.cta-band__actions { display: grid; gap: 22px; justify-items: start; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* page 404 */
.notfound { min-height: 100vh; display: grid; align-content: center; gap: 18px; padding: 48px var(--g); }
.notfound .brand svg { height: 56px; fill: var(--pierre); }
.notfound__code { margin: 6vh 0 0; font-size: clamp(5rem, 3rem + 10vw, 12rem); font-weight: 800; line-height: 0.9; color: var(--fil); text-shadow: 0 0 40px var(--fil-glow); }
.notfound h1 { font-size: var(--fs-h3); max-width: 30ch; }
.notfound p[lang] { color: var(--zinc); margin: 0; }

/* barre de progression : le fil lumineux en haut de l'écran */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--fil); box-shadow: 0 0 10px var(--fil); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* retour en haut + contact flottant */
.dock {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 58;
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dock__top {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(237, 231, 220, 0.25); background: rgba(10, 18, 34, 0.72); color: var(--pierre);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color 0.3s;
}
.dock__top:hover { border-color: var(--fil); }
.dock__top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.dock__contact { display: none; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.5); }
@media (max-width: 960px) { .dock__contact { display: inline-flex; } }
.dock:not(.has-top) .dock__top { display: none; }

/* bouton copier des blocs de code (guides) */
.prose pre { position: relative; }
.copy-btn {
  position: absolute; top: 8px; right: 8px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(237, 231, 220, 0.25); background: rgba(237, 231, 220, 0.08); color: var(--pierre); font: 600 0.75rem/1 var(--f);
}
.copy-btn:hover { border-color: var(--fil); }
.copy-btn[data-done] { color: var(--fil); border-color: var(--fil); }

/* version imprimable */
@media print {
  html, body, main, section, .on-light, .article, .engage, .offers, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
  .site-header, .menu, .loader, .dock, .progress, .skip-link, .veil, .stage__canvas, .stage__shade, .skip-intro, .ask, .dock__ask, .consent,
  .page-hero__bg, .orbit, .round-btn, .orbit__dots, .btn, .copy-btn, .wall, .offer-hero__obj, .article__toc { display: none !important; }
  .page-hero, .article-hero, .offer-hero, .legal-hero, .stage { min-height: 0 !important; height: auto !important; padding: 0 0 12pt !important; }
  .stage__sticky { position: static !important; height: auto !important; }
  .beat, .contact-card, .hero-copy { position: static !important; opacity: 1 !important; visibility: visible !important; color: #000 !important; }
  .article { display: block !important; padding: 0 !important; }
  details .faq__a { display: block !important; height: auto !important; opacity: 1 !important; }
  a { color: #000 !important; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  .prose pre { background: #f3f3f3 !important; color: #000 !important; }
  .prose p, .prose li, .ticks li { color: #000 !important; }
  * { box-shadow: none !important; text-shadow: none !important; }
  h1, h2, h3 { break-after: avoid; }
}
