/* MyProspectio · feuille commune du site multipage (maquette)
   Monde : page nue, tuiles arrondies, titres en deux tons, une seule couleur d'accent (turquoise).
   Clair et sombre suivent le système ; data-theme force l'un ou l'autre. */

:root {
  --page: #FFFFFF;
  --tile: #F3F5F6;
  --tile-2: #E9EDF0;
  --surface: #FFFFFF;
  --ink: #14202C;
  --ink-2: #55626F;
  --ink-3: #7D8894;
  --line: #E1E6EA;
  --line-2: #ECEFF2;
  --brand: #2DB3A6;
  --brand-ink: #0F766E;
  --brand-wash: #E2F4F1;
  --on-ink: #FFFFFF;
  --glass: rgba(255, 255, 255, .74);
  --glass-line: rgba(20, 32, 44, .08);
  --dot: rgba(20, 32, 44, .13);
  --paper: #FFFFFF;
  --st-todo: #2563EB; --st-warn: #B45309; --st-warn-wash: #FEF3C7; --st-deal: #4D7C0F;
  --map-bg: #E8EDF0; --map-block: #DDE3E8; --map-road: #FFFFFF; --map-water: #C9DCE6;
  --sh-1: 0 1px 2px rgba(20, 32, 44, .06), 0 10px 30px -12px rgba(20, 32, 44, .14);
  --sh-2: 0 2px 6px rgba(20, 32, 44, .06), 0 30px 70px -24px rgba(20, 32, 44, .32);
  --sh-phone: drop-shadow(0 28px 34px rgba(20, 32, 44, .26)) drop-shadow(0 4px 8px rgba(20, 32, 44, .1));

  --ui: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --logo: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --r-tile: 28px;
  --r-ctl: 12px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 60px;
  --nav-top: 12px;
  color-scheme: light;
  interpolate-size: allow-keywords;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0A1118; --tile: #111B24; --tile-2: #182531; --surface: #15212C;
    --ink: #F1F4F6; --ink-2: #A3AFBB; --ink-3: #6B7C8E;
    --line: #223140; --line-2: #1A2733;
    --brand-ink: #5EEAD4; --brand-wash: #0F2A28; --on-ink: #0A1118;
    --glass: rgba(17, 27, 36, .72); --glass-line: rgba(255, 255, 255, .08);
    --dot: rgba(255, 255, 255, .09);
    --st-todo: #93C5FD; --st-warn: #FBBF24; --st-warn-wash: #3A2A08; --st-deal: #A3E635;
    --map-bg: #0F1A23; --map-block: #15222E; --map-road: #1F2E3B; --map-water: #10283A;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .5);
    --sh-2: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 70px -24px rgba(0, 0, 0, .75);
    --sh-phone: drop-shadow(0 28px 34px rgba(0, 0, 0, .55)) drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0A1118; --tile: #111B24; --tile-2: #182531; --surface: #15212C;
  --ink: #F1F4F6; --ink-2: #A3AFBB; --ink-3: #6B7C8E;
  --line: #223140; --line-2: #1A2733;
  --brand-ink: #5EEAD4; --brand-wash: #0F2A28; --on-ink: #0A1118;
  --glass: rgba(17, 27, 36, .72); --glass-line: rgba(255, 255, 255, .08);
  --dot: rgba(255, 255, 255, .09);
  --st-todo: #93C5FD; --st-warn: #FBBF24; --st-warn-wash: #3A2A08; --st-deal: #A3E635;
  --map-bg: #0F1A23; --map-block: #15222E; --map-road: #1F2E3B; --map-water: #10283A;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .5);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .3), 0 30px 70px -24px rgba(0, 0, 0, .75);
  --sh-phone: drop-shadow(0 28px 34px rgba(0, 0, 0, .55)) drop-shadow(0 4px 8px rgba(0, 0, 0, .3));
  color-scheme: dark;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + var(--nav-top) + 24px); }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: from-font; }
button, input, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--brand-wash); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--page); text-decoration: none; transition: transform .2s var(--ease-out); }
.skip:focus { transform: translateY(76px); }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

/* Icônes (Lucide, trait fin) */
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Typographie ───────── */
.t-display, .t-title, .t-sub {
  font-family: var(--ui);
  color: var(--ink-3);
  text-wrap: balance;
}
.t-display b, .t-title b, .t-sub b { color: var(--ink); font-weight: inherit; }
.t-display { font-size: clamp(2.375rem, 1.3rem + 3vw, 3.625rem); font-weight: 560; line-height: 1.02; letter-spacing: -.038em; }
.t-title { font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.625rem); font-weight: 560; line-height: 1.06; letter-spacing: -.032em; }
.t-sub { font-size: clamp(1.375rem, 1.1rem + .9vw, 1.75rem); font-weight: 540; line-height: 1.16; letter-spacing: -.022em; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 500; }
.small { font-size: .875rem; color: var(--ink-2); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; color: var(--ink-2); }
.facts span { display: inline-flex; align-items: center; gap: 9px; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

/* ───────── Boutons et liens ───────── */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding-inline: 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: .9375rem; font-weight: 560; letter-spacing: -.005em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: var(--page); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-lg { --h: 52px; padding-inline: 24px; font-size: 1rem; }
.btn .i { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--brand)); }
  .btn-line:hover { border-color: var(--ink-3); }
  .btn:hover .i-go { transform: translateX(2px); }
}
.link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 560; text-decoration: none;
}
.link .i { width: 16px; height: 16px; color: var(--brand-ink); transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover .i { transform: translateX(3px); }
  .link:hover { color: var(--brand-ink); }
}

/* ───────── Navigation ───────── */
.nav { position: sticky; top: var(--nav-top); z-index: 50; padding-inline: var(--gutter); margin-top: var(--nav-top); }
.bar {
  position: relative;
  max-width: var(--max); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 8px 0 16px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--glass-line);
  border-radius: 20px;
  box-shadow: 0 1px 1px rgba(20, 32, 44, .03), 0 10px 30px -14px rgba(20, 32, 44, .18);
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); flex: none; border-radius: 10px; }
.logo svg { width: 26px; height: 26px; --cap: #2DB3A6; }
.cap { fill: var(--cap, #2DB3A6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo svg { --cap: #5EEAD4; } }
:root[data-theme="dark"] .logo svg { --cap: #5EEAD4; }
.logo-word { font-family: var(--logo); font-size: 1.1875rem; font-weight: 750; letter-spacing: -.018em; }

.menu { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.menu > li { position: relative; }
.menu > .menu-ind {
  position: absolute; z-index: 0; top: 0; left: 0; height: 36px; width: 0;
  border-radius: 999px; background: var(--tile-2);
  opacity: 0; pointer-events: none;
  transition: transform .32s var(--ease-out), width .32s var(--ease-out), opacity .18s ease;
}
.menu-item {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 4px;
  height: 36px; padding-inline: 14px; border: 0; border-radius: 999px; background: none;
  color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: color .2s ease;
}
.menu-item .i { width: 14px; height: 14px; transition: transform .25s var(--ease-out); }
.menu-item[aria-expanded="true"] .i { transform: rotate(180deg); }
.menu-item:hover, .menu-item[aria-expanded="true"], .menu-item[aria-current="page"] { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-login { padding-inline: 12px; height: 40px; display: inline-flex; align-items: center; color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none; border-radius: 999px; transition: color .2s ease; }
.nav-login:hover { color: var(--ink); }
.nav-end .btn { --h: 42px; padding-inline: 18px; font-size: .9063rem; }

/* Panneaux déroulants */
.drop {
  position: absolute; top: calc(100% + 14px); left: -8px;
  min-width: 300px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--sh-2);
  transform-origin: 40px 0;
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98);
  transition: opacity .14s ease, transform .14s var(--ease-out), visibility 0s linear .14s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.drop.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .24s var(--ease-out), visibility 0s; }
.nav.instant .drop { transition: none; }
.drop-prod { display: grid; grid-template-columns: 300px 220px; gap: 10px; }
.drop-list { display: flex; flex-direction: column; gap: 2px; }
.drop-link {
  display: block; padding: 11px 14px; border-radius: 14px; text-decoration: none;
  transition: background-color .15s ease;
}
.drop-link b { display: block; font-weight: 560; font-size: .9688rem; color: var(--ink); }
.drop-link span { display: block; font-size: .8438rem; line-height: 1.4; color: var(--ink-2); margin-top: 1px; }
.drop-link:hover, .drop-link:focus-visible, .drop-link.is-hot { background: var(--tile); }
.drop-link[aria-current="page"] b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: middle; border-radius: 50%; background: var(--brand); }
.drop-preview { position: relative; border-radius: 16px; background: var(--tile); overflow: hidden; min-height: 260px; }
.drop-preview > * {
  position: absolute; inset: 0;
  opacity: 0; transform: scale(1.03); filter: blur(4px);
  transition: opacity .28s ease, transform .4s var(--ease-out), filter .28s ease;
}
.drop-preview > .is-on { opacity: 1; transform: none; filter: none; }
.drop-preview img { object-fit: cover; }
.pv-phone img { position: absolute; left: 50%; top: 18px; width: 150px; max-width: none; transform: translateX(-50%); filter: var(--sh-phone); }
.pv-fiche img { position: absolute; left: 18px; top: 22px; width: 300px; max-width: none; border-radius: 8px; box-shadow: var(--sh-1); }
.pv-import { display: grid; place-items: center; }
.pv-caption { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; font-size: .75rem; color: var(--ink-2); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 10px; padding: 7px 10px; }

/* Bouton menu (mobile) */
.burger { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out); }
.burger span:nth-child(1) { transform: translateY(-4px); }
.burger span:nth-child(2) { transform: translateY(4px); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
.sheet {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  max-height: calc(100svh - var(--nav-h) - var(--nav-top) - 24px); overflow: auto; overscroll-behavior: contain;
  padding: 8px 8px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--sh-2);
  transform-origin: top right;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98);
  transition: opacity .16s ease, transform .16s var(--ease-out), visibility 0s linear .16s;
}
.sheet.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .3s var(--ease-drawer), visibility 0s; }
.sheet-group { padding: 6px 8px 10px; border-bottom: 1px solid var(--line-2); }
.sheet-group:last-of-type { border-bottom: 0; }
.sheet-h { display: block; font-size: .8125rem; color: var(--ink-3); padding: 8px 8px 4px; }
.sheet a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 8px; border-radius: 12px; text-decoration: none; font-size: 1.0625rem; font-weight: 500; }
.sheet a:active { background: var(--tile); }
.sheet .btn { margin: 10px 8px 0; width: calc(100% - 16px); justify-content: center; }

@media (max-width: 1080px) {
  .menu, .nav-login { display: none; }
  .burger { display: inline-block; }
  .nav-end { margin-left: auto; }
}
@media (max-width: 420px) {
  .bar { padding-left: 12px; gap: 8px; }
  .logo-word { font-size: 1.0625rem; }
  .logo svg { width: 24px; height: 24px; }
}
@media (max-width: 640px) {
  .nav-end .btn { --h: 38px; padding-inline: 14px; font-size: .875rem; }
  .cta-long { display: none; }
}
@media (min-width: 641px) { .cta-short { display: none; } }

/* Message « page à venir » */
.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
  max-width: calc(100vw - 32px);
  padding: 12px 16px; border-radius: 14px;
  background: var(--ink); color: var(--page); font-size: .9375rem; font-weight: 500;
  box-shadow: var(--sh-2);
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  transition: transform .2s var(--ease-out), opacity .2s ease;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; transition: transform .4s var(--ease-out), opacity .3s ease; }

/* ───────── Sections ───────── */
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head .lede { justify-self: start; }
.sec-head.solo { grid-template-columns: minmax(0, 860px); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

.tile { position: relative; background: var(--tile); border-radius: var(--r-tile); overflow: hidden; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 20%, transparent 80%);
}

/* ───────── Accueil : héros ───────── */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.hero-stage { min-height: clamp(560px, 50vw, 680px); display: grid; place-items: center; padding-block: 40px; }
.hero-stage img { width: min(300px, 64%); filter: var(--sh-phone); }
.trades { margin-top: clamp(28px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line-2); font-size: .9375rem; color: var(--ink-2); line-height: 1.7; }
.trades a { color: var(--ink); text-decoration: none; background-image: linear-gradient(var(--line), var(--line)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-image .2s ease; }
.trades a:hover { background-image: linear-gradient(var(--brand), var(--brand)); }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; padding-block: 36px; }
  .hero-stage img { width: min(270px, 70%); }
}

/* Entrée du héros : le seul moment « signé » au chargement */
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(36px) scale(.97); filter: blur(8px); } }
.in { animation: rise .8s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
.in-phone { animation: rise-phone 1.1s var(--ease-out) both; animation-delay: 180ms; }

/* ───────── Accueil : la journée type ───────── */
.day-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.step { max-width: 620px; }
.steps { position: relative; padding-left: 44px; }
.rail { position: absolute; left: 13px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rail i { position: absolute; inset: 0; background: var(--brand); transform-origin: top; transform: scaleY(0); }
.step { position: relative; min-height: 0; display: flex; flex-direction: column; gap: 16px; padding-block: 12px 64px; }
.step:last-child { padding-bottom: 12px; }
.when {
  position: absolute; left: -44px; top: 12px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--page); border: 2px solid var(--line);
  transition: border-color .4s ease, background-color .4s ease;
}
.when::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .4s ease, transform .4s var(--ease-out); }
.step-time { align-self: flex-start; font-size: .8125rem; font-weight: 600; letter-spacing: .01em; color: var(--brand-ink); background: var(--brand-wash); padding: 3px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.step p.lede { font-size: 1.0625rem; max-width: 44ch; }
.step .figure { margin-top: 10px; }
.step .link { align-self: flex-start; font-size: .9688rem; }
.step.is-active .when { border-color: var(--brand); }
.step.is-active .when::after { background: var(--brand); transform: scale(1.1); }

/* Figures en ligne (mobile, écrans bas) */
.figure { border-radius: 24px; background: var(--tile); overflow: hidden; display: grid; place-items: center; padding: 28px 16px; }
.figure img.phone { width: min(240px, 72%); filter: var(--sh-phone); }
.figure.zoom { padding: 0; aspect-ratio: 25 / 18; position: relative; }
.figure.zoom img { position: absolute; left: 50%; top: 0; width: 118%; max-width: none; transform: translate(-50%, -62%); }
.figure { max-width: 520px; }
.figure.paper { padding: 22px; }
.figure.paper img { border-radius: 8px; box-shadow: var(--sh-1); }

/* Scène collante (grand écran assez haut) */
.stage-col { display: none; }
@media (min-width: 1000px) and (min-height: 600px) {
  .day.sticky .day-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .day.sticky .stage-col { display: block; }
  .day.sticky .step { min-height: 74svh; justify-content: center; padding-block: 0; }
  .day.sticky .step:first-child { min-height: 60svh; justify-content: flex-start; padding-top: 12px; }
  .day.sticky .step:last-child { min-height: 70svh; }
  .day.sticky .step .figure { display: none; }
  .day.sticky .step { opacity: .32; transition: opacity .5s ease; }
  .day.sticky .step.is-active { opacity: 1; }
  .day.sticky .when { top: auto; }
  .day.sticky .step .when { top: 50%; margin-top: -14px; }
  .day.sticky .step:first-child .when { top: 12px; margin-top: 0; }
}
.stage {
  position: sticky; top: calc(var(--nav-top) * 2 + var(--nav-h) + 16px);
  height: calc(100svh - var(--nav-top) * 2 - var(--nav-h) - 40px);
  max-height: 760px;
}
.stage .tile { height: 100%; }
.scr {
  position: absolute; left: 50%; top: 50%;
  height: 86%; aspect-ratio: 900 / 1840;
  transform: translate(-50%, -50%);
  transition: transform .9s var(--ease-out), opacity .6s ease, filter .6s ease;
  will-change: transform, opacity;
}
.scr img { width: 100%; height: 100%; filter: var(--sh-phone); }
.scr.off { opacity: 0; transform: translate(-50%, -46%) scale(.96); filter: blur(8px); pointer-events: none; }
.ring {
  position: absolute; left: 8%; right: 8%; top: 44.4%; height: 12.8%;
  border-radius: 14px; box-shadow: 0 0 0 2px var(--brand), 0 0 0 8px color-mix(in srgb, var(--brand) 22%, transparent);
  opacity: 0; transform: scale(1.04);
  transition: opacity .5s ease .35s, transform .7s var(--ease-out) .35s;
}
.paper-sheet {
  position: absolute; left: 50%; top: 50%; width: 74%;
  border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: var(--sh-2);
  opacity: 0; transform: translate(-36%, 0%) scale(.98); filter: blur(6px);
  transition: transform .9s var(--ease-out), opacity .5s ease, filter .5s ease;
}
.paper-sheet img { width: 100%; }
.stage-cap { position: absolute; left: 20px; bottom: 18px; z-index: 3; font-size: .8125rem; color: var(--ink-3); }

/* États de la scène */
.stage[data-step="1"] .s-terrain { transform: translate(-50%, -50%) translateY(-30%) scale(1.8); transform-origin: 50% 80%; }
.stage[data-step="2"] .s-chantiers .ring { opacity: 1; transform: none; }
.stage[data-step="3"] .s-chantiers { transform: translate(-50%, -50%) translateX(-42%) scale(.9); opacity: .9; }
.stage[data-step="3"] .paper-sheet { opacity: 1; transform: translate(-40%, -50%); filter: none; }
.s-terrain { transform-origin: 50% 80%; }

/* ───────── Accueil : renvois produit ───────── */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.card { grid-column: span 6; min-height: 460px; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card.w7 { grid-column: span 7; }
.card.w5 { grid-column: span 5; }
.card-copy { position: relative; z-index: 2; padding: 30px 72px 0 32px; display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.card-copy h3 { font-size: 1.375rem; font-weight: 580; letter-spacing: -.02em; line-height: 1.2; color: var(--ink-3); }
.card-copy h3 b { color: var(--ink); font-weight: inherit; }
.card-go {
  position: absolute; right: 18px; top: 18px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
  transition: background-color .2s ease, color .2s ease, transform .35s var(--ease-out), border-color .2s ease;
}
.card-go .i { width: 14px; height: 14px; }
.card-art { position: relative; flex: 1; min-height: 260px; }
.card-art .peek { position: absolute; left: 50%; top: 34px; width: 280px; transform: translateX(-50%); filter: var(--sh-phone); transition: transform .6s var(--ease-out); }
.card-art .peek-paper { position: absolute; left: 44px; top: 40px; width: 560px; max-width: none; border-radius: 10px; box-shadow: var(--sh-2); transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-go { background: var(--ink); color: var(--page); border-color: var(--ink); transform: rotate(-45deg); }
  .card:hover .peek { transform: translateX(-50%) translateY(-10px); }
  .card:hover .peek-paper { transform: translateY(-10px); }
  .card:hover .mini-import { --lift: -6px; }
}
.card:active { transform: scale(.995); }
.card { transition: transform .2s var(--ease-out); }

/* Petite composition « import » (carte et menu) */
.mini-import { --lift: 0px; position: absolute; inset: 24px 24px 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.mi-list { background: #FBF8F1; color: #2B3440; border-radius: 10px; padding: 16px 16px 12px; box-shadow: var(--sh-1); transform: rotate(-2deg) translateY(var(--lift)); transition: transform .6s var(--ease-out); font-family: "Noteworthy", "Bradley Hand", "Segoe Print", var(--ui); font-size: .8125rem; line-height: 1.9; background-image: repeating-linear-gradient(#FBF8F1 0 23px, #D9E4EE 23px 24px); }
.mi-list p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-arrow { color: var(--brand-ink); }
.mi-arrow .i { width: 22px; height: 22px; }
.mi-map { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--map-bg); box-shadow: var(--sh-1); transform: translateY(var(--lift)); transition: transform .6s var(--ease-out) .05s; }
.mi-map svg { width: 100%; height: 100%; }
.mi-stat { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: .875rem; color: var(--ink-2); }
.mi-stat b { color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .card, .card.w7, .card.w5 { grid-column: 1 / -1; min-height: 420px; }
}

/* Bande sécurité */
.secure { margin-top: 14px; padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 56px; align-items: start; }
.secure-copy { display: flex; flex-direction: column; gap: 18px; }
.secure-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.secure-list li { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; }
.secure-list .i { color: var(--brand-ink); margin-top: 3px; }
.secure-list b { font-weight: 600; font-size: 1rem; }
.secure-list span { grid-column: 2; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 860px) { .secure { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .secure-list { grid-template-columns: 1fr; } }

/* ───────── Tarifs ───────── */
.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 14px; }
.price-main { padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.price-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.launch { font-size: .9375rem; font-weight: 560; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 8px; }
.launch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--tile-2); }
.seg button { position: relative; z-index: 1; border: 0; background: none; height: 38px; padding-inline: 16px; border-radius: 999px; font-size: .875rem; font-weight: 560; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .2s ease; }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg-ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(20, 32, 44, .1), 0 0 0 .5px rgba(20, 32, 44, .06); transition: transform .35s var(--ease-out); }
.seg[data-on="1"] .seg-ind { transform: translateX(100%); }
.price-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.price-big .num { font-size: clamp(3.75rem, 2.8rem + 3vw, 5.25rem); font-weight: 560; letter-spacing: -.045em; line-height: .95; }
.price-big small { font-size: 1rem; color: var(--ink-2); }
.price-sub { font-size: .9688rem; color: var(--ink-2); }
.incl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.incl li { position: relative; padding-left: 16px; font-size: .9375rem; line-height: 1.45; }
.incl li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.price-main .btn { align-self: flex-start; }
.price-side { padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.price-side h3 { font-size: 1.375rem; font-weight: 580; letter-spacing: -.02em; }
.tiers { border-top: 1px solid var(--line); }
.tier { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tier span { color: var(--ink-2); }
.tier b { font-size: 1.375rem; font-weight: 560; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tier small { font-size: .8125rem; color: var(--ink-3); font-weight: 400; margin-left: 4px; letter-spacing: 0; }
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .incl { grid-template-columns: 1fr; } }

/* ───────── Questions ───────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq-grid .sec-head { margin: 0; position: sticky; top: calc(var(--nav-h) + var(--nav-top) + 32px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 2px; cursor: pointer; list-style: none; font-size: 1.125rem; font-weight: 560; letter-spacing: -.01em; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--ink-3); transition: transform .3s var(--ease-out), color .2s ease; }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--brand-ink); }
.faq details p { padding: 0 2px 24px; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.faq details::details-content { height: 0; overflow: clip; transition: height .32s var(--ease-out), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { height: auto; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } }

/* ───────── Démo (formulaire) ───────── */
.demo { padding: clamp(28px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 64px; align-items: center; }
.demo-copy { display: flex; flex-direction: column; gap: 20px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: .875rem; font-weight: 560; color: var(--ink); min-width: 0; }
.form input, .form select {
  width: 100%; height: 48px; padding: 0 14px;
  font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none; appearance: none;
}
.form select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237D8894' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; }
.form input:hover, .form select:hover { border-color: var(--ink-3); }
.form input:focus-visible, .form select:focus-visible { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.form .full { grid-column: 1 / -1; }
.form .btn { width: 100%; }
.form-note { grid-column: 1 / -1; font-size: .8438rem; color: var(--ink-2); }
.form-erreur { font-size: .9063rem; color: var(--ink-2); padding: 12px 14px; border-radius: 12px; background: var(--tile-2); }
.form .piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { display: none; padding: 20px; border-radius: 16px; background: var(--brand-wash); color: var(--brand-ink); font-weight: 560; }
.form.sent { display: none; }
.form.sent + .form-ok { display: block; animation: rise .5s var(--ease-out) both; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ───────── Pied de page ───────── */
.foot { padding-block: 56px 40px; border-top: 1px solid var(--line-2); font-size: .9063rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h4 { font-size: .9063rem; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.foot ul { display: flex; flex-direction: column; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot-brand p { margin-top: 14px; max-width: 28ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); font-size: .8438rem; color: var(--ink-3); }
@media (max-width: 920px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ───────── Page import : héros et démonstration ───────── */
.imp-hero { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(28px, 3.4vw, 44px); text-align: center; }
.imp-hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.imp-hero .t-display { max-width: 20ch; }
.imp-hero .lede { margin-inline: auto; }
.count { display: inline-flex; align-items: center; gap: 12px; font-size: .9688rem; color: var(--ink-2); }
.count::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.count b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.lab { padding: clamp(14px, 2vw, 22px); }
.lab-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 4px 16px; }
.pick { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: var(--tile-2); }
.pick button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); font-size: .9063rem; font-weight: 560; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .16s var(--ease-out); }
.pick button:active { transform: scale(.97); }
.pick button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 32, 44, .1), 0 0 0 .5px rgba(20, 32, 44, .06); }
.pick .i { width: 16px; height: 16px; }
.drop-zone { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 16px; border-radius: 14px; border: 1px dashed var(--ink-3); color: var(--ink-2); font-size: .9063rem; font-weight: 500; cursor: pointer; transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
.drop-zone:hover { border-color: var(--brand); color: var(--ink); }
.drop-zone:focus-within { outline: 2px solid var(--brand); outline-offset: 3px; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.lab-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 14px; }
.pane { position: relative; min-height: 440px; border-radius: 20px; display: flex; flex-direction: column; }
.pane-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 0; font-size: .8125rem; color: var(--ink-3); min-height: 36px; }
.pane-h b { color: var(--ink); font-weight: 600; font-size: .875rem; }
.mode { font-size: .75rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--tile-2); color: var(--ink-2); white-space: nowrap; opacity: 0; transition: opacity .3s ease; }
.mode.is-on { opacity: 1; }
.mode.ia { background: var(--brand-wash); color: var(--brand-ink); }

/* Le fichier source */
.src { flex: 1; display: grid; justify-items: center; align-items: start; padding: 22px 18px; position: relative; }
.doc { position: relative; width: 100%; max-width: 330px; opacity: 1; transition: opacity .35s ease, transform .5s var(--ease-out), filter .35s ease; }
.doc[hidden] { display: none; }
.doc.enter { opacity: 0; transform: translateY(12px) scale(.98); filter: blur(4px); }
.doc .row { position: relative; transition: background-color .25s ease, color .25s ease; }
.doc .row.is-read { background: color-mix(in srgb, var(--brand) 16%, transparent); }
.doc .row.is-done { color: inherit; }
.doc .row.is-done::after { content: ""; position: absolute; right: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--brand); }

.doc-photo {
  padding: 22px 20px 18px 40px; border-radius: 6px;
  background: #FBF8F1 repeating-linear-gradient(#FBF8F1 0 23px, #D5E1EC 23px 24px);
  padding-top: 24px;
  color: #22324A;
  font-family: "Noteworthy", "Bradley Hand", "Segoe Print", var(--ui);
  font-size: .8125rem; line-height: 24px;
  box-shadow: 0 18px 36px -16px rgba(20, 32, 44, .45), 0 2px 4px rgba(20, 32, 44, .12), inset 0 0 60px rgba(120, 90, 40, .12);
  transform: rotate(-1.6deg);
}
.doc-photo::before { content: ""; position: absolute; left: 30px; top: 0; bottom: 0; width: 1px; background: #E8A8A0; }
.doc-photo h4 { font-weight: 400; font-size: .9375rem; margin-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.doc-photo .row { padding-inline: 4px; margin-inline: -4px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.doc-xls { border-radius: 10px; overflow: hidden; background: var(--paper); color: #1F2A36; box-shadow: var(--sh-1); font-size: .75rem; border: 1px solid #DCE2E7; }
.xls-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #F1F4F6; border-bottom: 1px solid #DCE2E7; color: #55626F; font-size: .75rem; }
.xls-bar .i { width: 14px; height: 14px; color: #1E7A47; }
.xls-grid { display: grid; grid-template-columns: 20px minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.05fr) minmax(0, 1fr); font-size: .6875rem; }
.xls-grid > span { padding: 6px 7px; border-right: 1px solid #E5E9ED; border-bottom: 1px solid #E5E9ED; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xls-grid .hd { background: #F7F9FA; color: #7D8894; text-align: center; font-size: .6875rem; }
.xls-grid .th { font-weight: 600; background: #FAFBFC; }
.xls-grid .row { display: contents; }
.xls-grid .row.is-read > span { background: color-mix(in srgb, #2DB3A6 16%, #fff); }
.xls-grid .row.is-done > .hd { color: #0F766E; background: #E2F4F1; font-weight: 600; }
.doc-xls .row.is-done::after { display: none; }

.doc-pdf {
  padding: 22px 20px 26px; border-radius: 4px; background: #FDFDFB; color: #2A2F35;
  font-family: var(--mono); font-size: .6875rem; line-height: 1.5;
  box-shadow: 0 18px 36px -16px rgba(20, 32, 44, .45), 0 2px 4px rgba(20, 32, 44, .12);
  transform: rotate(.8deg);
  filter: contrast(.96);
  background-image: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, .025) 0 1px, transparent 1px), radial-gradient(circle at 70% 60%, rgba(0, 0, 0, .03) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
}
.doc-pdf h4 { font-weight: 600; font-size: .75rem; letter-spacing: .04em; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1.5px solid #2A2F35; }
.doc-pdf .meta { color: #6B7280; margin-bottom: 8px; }
.doc-pdf .row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 0 10px; padding: 5px 4px; border-bottom: 1px dotted #B8BEC5; }
.doc-pdf .row span:nth-child(n+3) { color: #5B6168; }
.doc-pdf .row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.scan { position: absolute; left: 8px; right: 8px; height: 2px; top: 0; border-radius: 2px; background: var(--brand); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--brand) 45%, transparent); opacity: 0; pointer-events: none; }

/* Les fiches */
.fiches { flex: 1; margin: 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh-1); overflow: hidden; display: flex; flex-direction: column; }
.fiches-list { flex: 1; }
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; padding: 9px 14px; border-bottom: 1px solid var(--line-2); transition: background-color .3s ease; }
.fiche:last-child { border-bottom: 0; }
.fiche .f { opacity: 0; transform: translateY(4px); filter: blur(3px); transition: opacity .35s ease, transform .45s var(--ease-out), filter .35s ease; }
.fiche .f.is-on { opacity: 1; transform: none; filter: none; }
.fiche .f-name { font-weight: 600; font-size: .9375rem; }
.fiche .f-addr { grid-column: 1; font-size: .8125rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fiche .f-tel { grid-column: 1; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fiche .f-need { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-size: .75rem; font-weight: 560; padding: 3px 8px; border-radius: 7px; background: var(--tile); color: var(--ink); white-space: nowrap; }
.fiche .f-state { grid-column: 2; grid-row: 3; justify-self: end; font-size: .75rem; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.fiche .f-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fiche.is-warn .f-tel { color: var(--st-warn); }
.fiche.is-warn { background: color-mix(in srgb, var(--st-warn-wash) 55%, transparent); }
.fiche.is-placed .f-state { color: var(--brand-ink); }
.fiche.is-hot { background: var(--tile); }
.fiches-empty { flex: 1; display: grid; place-items: center; padding: 24px; text-align: center; font-size: .875rem; color: var(--ink-3); }
.fiches-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line-2); min-height: 66px; }
.fiches-foot .small { font-variant-numeric: tabular-nums; }
.fiches-foot .btn { --h: 40px; padding-inline: 16px; font-size: .875rem; }
.fiches-foot .btn[hidden] { display: none; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }

/* La carte */
.map { flex: 1; margin: 12px; border-radius: 16px; overflow: hidden; position: relative; min-height: 340px;
  background-color: var(--map-bg);
  background-image: repeating-linear-gradient(90deg, transparent 0 26px, var(--map-bg) 26px 32px), repeating-linear-gradient(0deg, var(--map-block) 0 20px, var(--map-bg) 20px 26px); }
.map .m-water { vector-effect: non-scaling-stroke; }
.m-road path, .m-road-s path { vector-effect: non-scaling-stroke; }
.map svg.base { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .lbl { font: 500 11px var(--ui); fill: var(--ink-3); letter-spacing: .01em; }
.pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--st-todo); border: 3px solid var(--surface); box-shadow: 0 4px 10px rgba(20, 32, 44, .3); opacity: 0; transform: translateY(-26px) scale(.7); }
.pin.is-on { opacity: 1; transform: none; transition: opacity .25s ease, transform .6s var(--ease-out); }
.pin.is-hot { transform: scale(1.3); transition: transform .2s var(--ease-out); }
.pin span { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--page); font-size: .75rem; font-weight: 560; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.pin.is-hot span { opacity: 1; }
.map-count { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 10px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .8125rem; font-weight: 560; font-variant-numeric: tabular-nums; border: 1px solid var(--glass-line); }

.lab-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 6px 2px; font-size: .8125rem; color: var(--ink-3); }
.lab-status { color: var(--ink-2); }
.lab.is-drag { box-shadow: inset 0 0 0 2px var(--brand); }
.lab.is-drag .drop-zone { border-color: var(--brand); color: var(--ink); background: var(--brand-wash); }

@media (max-width: 1080px) {
  .lab-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pane-map { grid-column: 1 / -1; }
  .pane-map .map { min-height: 300px; }
}
@media (max-width: 680px) {
  .lab-body { grid-template-columns: 1fr; }
  .pane { min-height: 0; }
  .src { padding: 22px 14px; }
  .lab-top { flex-direction: column; align-items: stretch; }
  .pick { justify-content: space-between; }
  .pick button { flex: 1; justify-content: center; padding-inline: 8px; }
  .pick button .lbl-long { display: none; }
  .drop-zone { justify-content: center; }
}
@media (min-width: 681px) { .pick .lbl-short { display: none; } }

/* Page import : deux lectures, frise */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.two .tile { padding: clamp(26px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.two .tile p { color: var(--ink-2); max-width: 46ch; }
.fmt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
.fmt span { display: inline-flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 500; color: var(--ink); }
.fmt span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); margin-right: 2px; }
.fmt .i { width: 16px; height: 16px; color: var(--ink-2); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.frise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; padding-top: 34px; }
.frise::before { content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) 0 33%, var(--line) 33%); }
.frise li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.frise li::before { content: ""; position: absolute; left: 0; top: -34px; width: 16px; height: 16px; border-radius: 50%; background: var(--page); border: 2px solid var(--brand); box-sizing: border-box; }
.frise li:nth-child(n+2)::before { border-color: var(--ink-3); }
.frise h3 { font-size: 1.1875rem; font-weight: 580; letter-spacing: -.015em; }
.frise p { color: var(--ink-2); max-width: 36ch; }
@media (max-width: 760px) {
  .frise { grid-template-columns: 1fr; padding-top: 0; padding-left: 34px; gap: 28px; }
  .frise::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(var(--brand) 0 33%, var(--line) 33%); }
  .frise li::before { left: -34px; top: 4px; }
}

.cta-band { padding: clamp(28px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.more a { min-height: 132px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; text-decoration: none; transition: background-color .2s ease, transform .2s var(--ease-out); }
.more a:active { transform: scale(.98); }
.more b { font-size: 1.125rem; font-weight: 580; letter-spacing: -.015em; }
.more span { color: var(--ink-2); font-size: .9375rem; }
.more .i { color: var(--ink-3); transition: transform .3s var(--ease-out), color .2s ease; }
@media (hover: hover) and (pointer: fine) { .more a:hover { background: var(--tile-2); } .more a:hover .i { transform: translate(2px, -2px); color: var(--ink); } }
@media (max-width: 760px) { .more { grid-template-columns: 1fr; } }

/* ───────── Mouvement réduit : fondus gardés, déplacements retirés ───────── */
@media (prefers-reduced-motion: reduce) {
  @keyframes rise { from { opacity: 0; } }
  @keyframes rise-phone { from { opacity: 0; } }
  .in, .in-phone { animation-duration: .4s; }
  .scr, .paper-sheet, .ring, .doc, .fiche .f, .pin.is-on, .drop, .sheet, .toast, .seg-ind, .menu-ind, .card-art .peek, .card-art .peek-paper, .mi-list, .mi-map { transition-property: opacity, filter, background-color, color; transition-duration: .25s; }
  .doc.enter, .fiche .f, .pin { transform: none; }
  .scr.off { transform: translate(-50%, -50%); filter: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .bar, .pv-caption, .map-count { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Petite carte des compositions « import » */
.mm-road { fill: none; stroke: var(--map-road); stroke-width: 5; vector-effect: non-scaling-stroke; }
.mm-water { fill: var(--map-water); }
.mm-pin { fill: var(--st-todo); stroke: var(--surface); stroke-width: 2.5; }

/* Carte de la démonstration */
.m-block { fill: var(--map-block); }
.m-water { fill: var(--map-water); }
.m-road path { fill: none; stroke: var(--map-road); stroke-width: 7; stroke-linecap: round; }
.m-road-s path { fill: none; stroke: var(--map-road); stroke-width: 2.5; opacity: .8; }
.town { position: absolute; transform: translate(-50%, -50%); font-size: .75rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; pointer-events: none; }
.town-w { font-style: italic; color: color-mix(in srgb, var(--st-todo) 55%, var(--ink-3)); }
#pins { position: absolute; inset: 0; }
.more a { position: relative; }
.more a .i { position: absolute; right: 20px; top: 22px; }
.more a b { padding-right: 28px; }
.doc-meta { margin-top: 22px; font-size: .8125rem; color: var(--ink-3); text-align: center; }

/* ───────── Animations (refonte nov. 2026) ─────────
   Même tempo que l'app : rien ne saute, tout glisse d'une place à l'autre. */
/* Scène de la journée : l'écran suivant arrive par le bas, le précédent part par le haut. */
.scr { transition: transform 1s var(--ease-drawer), opacity .55s ease, filter .55s ease; }
.scr.off { transform: translate(-50%, -44%) scale(.95); }
.scr.off.haut { transform: translate(-50%, -56%) scale(.95); }
.ring { transition: opacity .5s ease .45s, transform .8s var(--ease-drawer) .45s; }
/* Apparition au défilement : posé, flou qui se dissipe, en cascade. */
.apr { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out); transition-delay: calc(var(--apr-i, 0) * 80ms); }
.apr.apr-on { opacity: 1; transform: none; filter: none; }
.card.apr.apr-on { transition: opacity .8s var(--ease-out), transform .45s var(--ease-out), filter .8s var(--ease-out), box-shadow .45s var(--ease-out); transition-delay: 0s; }
/* Téléphone de l'accueil : un peu de profondeur au défilement. */
.hero .in-phone { translate: 0 calc(var(--hp, 0) * -36px); rotate: calc(var(--hp, 0) * -1.2deg); }
/* Cartes produit : la carte se soulève, l'aperçu monte avec elle. */
@media (hover: hover) {
  .card { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(20, 32, 44, .28); }
  .card-art .peek, .card-art .peek-paper { transition: transform .7s var(--ease-drawer); }
  .card:hover .peek { transform: translateX(-50%) translateY(-16px); }
  .card:hover .peek-paper { transform: translateY(-14px) rotate(-.6deg); }
}
/* Questions : la réponse se déplie en douceur. */
.faq details p { animation: apr-faq .5s var(--ease-out) both; }
@keyframes apr-faq { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .apr { transform: none; filter: none; transition: opacity .3s ease; }
  .hero .in-phone { translate: none; rotate: none; }
  .scr.off, .scr.off.haut { transform: translate(-50%, -50%); }
  .faq details p { animation: none; }
}
