/* =========================================================
   Novilys — feuille de style principale
   Palette et typographie issues de la maquette Claude Design
   ========================================================= */

/* ---------- 1. Jetons ---------- */
:root {
  --ink:        oklch(0.185 0.028 252);
  --ink-soft:   oklch(0.245 0.030 252);
  --ink-line:   oklch(1 0 0 / 0.14);

  --lime:       oklch(0.87 0.19 122);
  --lime-ink:   oklch(0.22 0.05 150);
  --blue:       oklch(0.62 0.17 255);
  --blue-text:  oklch(0.46 0.16 258);
  --green:      oklch(0.55 0.15 130);

  --paper:      oklch(0.975 0.006 250);
  --paper-blue: oklch(0.91 0.025 240);
  --cream:      oklch(0.972 0.012 86);
  --white:      oklch(0.99 0.003 250);

  --t-900:      oklch(0.185 0.028 252);
  --t-700:      oklch(0.30 0.025 250);
  --t-500:      oklch(0.44 0.020 250);
  --t-300:      oklch(0.58 0.018 250);
  --line:       oklch(0.87 0.014 250);

  --on-dark:    oklch(0.87 0.012 250);
  --on-dark-dim:oklch(0.74 0.015 250);

  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --body:    'Instrument Sans', system-ui, -apple-system, sans-serif;

  --pad:   clamp(18px, 4vw, 64px);
  --wrap:  1240px;
  --r-sm:  10px;
  --r:     14px;
  --r-lg:  18px;
  --r-xl:  22px;

  --ease:  cubic-bezier(0.19, 0.9, 0.22, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --nav-h: 68px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 22px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--t-900);
  background: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

/* Doit l'emporter sur les display:flex/grid posés plus bas */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--lime); color: var(--lime-ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 14px 20px;
  border-radius: 0 0 var(--r) 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Mise en page ---------- */
.wrap { max-width: var(--wrap); margin-inline: auto; }

.section {
  padding: clamp(56px, 7vw, 104px) var(--pad);
  position: relative;
}
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.s-ink    { background: var(--ink);        color: #fff; }
.s-paper  { background: var(--paper);      color: var(--t-900); }
.s-blue   { background: var(--paper-blue); color: var(--t-900); }
.s-cream  { background: var(--cream);      color: var(--t-900); }
.s-white  { background: var(--white);      color: var(--t-900); }

/* Dégradé de raccord entre deux sections de couleurs différentes */
.fade {
  height: clamp(50px, 7vw, 100px);
  margin: 0;
}

/* ---------- 4. Étiquette de section ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(22px, 3vw, 38px);
}
.eyebrow > span:first-child {
  font-family: var(--display);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  color: var(--t-500);
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  min-width: 20px;
  background: var(--line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s var(--ease) 0.15s;
}
.is-in .eyebrow::after, .eyebrow.is-in::after { transform: scaleX(1); }
.s-ink .eyebrow > span:first-child { color: var(--lime); }
.s-ink .eyebrow::after { background: var(--ink-line); }
.s-cream .eyebrow > span:first-child { color: oklch(0.44 0.04 80); }
.s-cream .eyebrow::after { background: oklch(0.88 0.02 86); }

/* ---------- 5. Typographie utilitaire ---------- */
.h-xl { font-size: clamp(40px, 6vw, 86px); letter-spacing: -0.045em; line-height: 0.94; }
.h-lg { font-size: clamp(31px, 4.4vw, 60px); }
.h-md { font-size: clamp(28px, 3.6vw, 48px); }
.h-sm { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; }

.lead {
  font-size: clamp(16.5px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--t-500);
  max-width: 46ch;
}
.s-ink .lead { color: var(--on-dark); }

.body-txt { font-size: 16px; line-height: 1.6; color: var(--t-500); max-width: 62ch; }
.s-ink .body-txt { color: var(--on-dark); }

.mono-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--t-500);
}

/* ---------- 5 bis. Tout texte posé sur un fond sombre ----------
   Les trois surfaces sombres du site : sections .s-ink, entêtes de
   page .phead et le héros. Sans ce bloc, les classes utilitaires
   gardent leurs couleurs de fond clair et deviennent illisibles. */
.s-ink, .phead, .hero { color: #fff; }

.s-ink .lead,     .phead .lead,     .hero .lead,
.s-ink .body-txt, .phead .body-txt, .hero .body-txt { color: var(--on-dark); }

.s-ink .tick-list > span,
.phead .tick-list > span,
.hero .tick-list > span {
  color: var(--on-dark);
  border-bottom-color: var(--ink-line);
}
.s-ink .tick-list > span > i,
.phead .tick-list > span > i,
.hero .tick-list > span > i { color: var(--lime); }
.s-ink .tick-list > span b,
.phead .tick-list > span b { color: #fff; }

.s-ink .mono-num, .phead .mono-num, .hero .mono-num { color: var(--lime); }

.phead .eyebrow > span:first-child { color: var(--lime); }
.phead .eyebrow::after { background: var(--ink-line); }

.s-ink .byline, .phead .byline { color: var(--on-dark-dim); }
.s-ink .byline i, .phead .byline i { background: oklch(1 0 0 / 0.35); }

.s-ink .card, .phead .card { background: var(--ink-soft); }
.s-ink .card p, .phead .card p { color: var(--on-dark); }
.s-ink .grid-cards, .phead .grid-cards {
  background: var(--ink-line);
  border-color: var(--ink-line);
}

/* ---------- 6. Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--r);
  border: 1px solid transparent;
  /* Sans cela, un <button> hérite du fond gris clair du navigateur */
  background: transparent;
  font-weight: 650;
  font-size: 16.5px;
  letter-spacing: -0.012em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Halo qui suit le curseur (voir novilys.js) */
.btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%),
              oklch(1 0 0 / 0.35), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }

.btn--lime {
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  box-shadow: 0 18px 44px -20px oklch(0.87 0.19 122 / 0.75);
}
.btn--lime:hover { box-shadow: 0 26px 60px -22px oklch(0.87 0.19 122 / 0.9); transform: translateY(-2px); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--lime); color: var(--lime-ink); transform: translateY(-2px); }

.btn--ghost { border-color: oklch(1 0 0 / 0.26); color: #fff; }
.btn--ghost:hover { background: oklch(1 0 0 / 0.10); border-color: oklch(1 0 0 / 0.45); transform: translateY(-2px); }

.btn--outline { border-color: var(--line); color: var(--t-900); background: transparent; }
.btn--outline:hover { border-color: var(--ink); background: oklch(1 0 0 / 0.6); transform: translateY(-2px); }

.btn--sm { padding: 12px 20px; font-size: 15px; border-radius: 12px; }
.btn--lg { padding: 19px 30px; font-size: 17.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 11px; }

/* Flèche qui glisse */
.btn .arw { transition: transform 0.4s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* ---------- 7. Navigation ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(var(--wrap), calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: oklch(0.185 0.028 252 / 0.58);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid oklch(1 0 0 / 0.10);
  border-radius: var(--r-lg);
  padding: 11px 12px 11px 20px;
  transition: background-color 0.35s ease, padding 0.35s var(--ease),
              border-color 0.35s ease, box-shadow 0.35s ease;
}
.nav.is-stuck {
  background: oklch(0.185 0.028 252 / 0.93);
  border-color: oklch(1 0 0 / 0.17);
  padding: 8px 10px 8px 18px;
  box-shadow: 0 18px 40px -26px oklch(0 0 0 / 0.9);
}

.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav__brand b {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.045em;
}
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
  animation: nvPulse 3.4s ease-in-out infinite;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 26px);
  font-size: 14.5px;
  font-weight: 500;
  color: oklch(0.84 0.012 250);
}
.nav__links a {
  position: relative;
  padding: 4px 1px;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__tel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 19px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.25s ease, transform 0.3s var(--ease);
}
.nav__tel:hover { background: #fff; transform: translateY(-1px); }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.05);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__burger span {
  display: block;
  width: 17px; height: 1.6px;
  background: #fff;
  margin: 3.4px auto;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(8.4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-8.4px) rotate(-45deg); }

/* Barre de progression de lecture */
.nav__progress {
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: oklch(1 0 0 / 0.10);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.nav.is-stuck .nav__progress { opacity: 1; }
.nav__progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

@media (max-width: 940px) {
  .nav__burger { display: grid; }
  .nav { flex-wrap: wrap; }
  .nav__links {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.3s ease;
    opacity: 0;
  }
  .nav.is-open .nav__links {
    max-height: 60vh;
    opacity: 1;
    overflow-y: auto;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid oklch(1 0 0 / 0.12);
  }
  .nav__links a { padding: 13px 4px; font-size: 16px; }
  .nav__links a::after { display: none; }
  .nav__tel { font-size: 13.5px; padding: 10px 14px; }
}
@media (max-width: 420px) {
  .nav__tel span.tel-label { display: none; }
}

/* ---------- 8. Héros ---------- */
.hero {
  position: relative;
  padding: clamp(118px, 13vw, 190px) var(--pad) 0;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 82% 6%, oklch(0.87 0.19 122 / 0.13), transparent 60%),
    radial-gradient(90% 70% at 4% 40%, oklch(0.62 0.17 255 / 0.20), transparent 62%);
}
/* Grille en fond, très discrète */
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.028) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent 75%);
}
.hero__inner { position: relative; }
.hero__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: clamp(30px, 4vw, 60px);
  align-items: end;
}
.hero__place {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hero__place span:first-child {
  font-family: var(--display);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lime);
  white-space: nowrap;
}
.hero__place i {
  flex: 1;
  height: 1px;
  min-width: 30px;
  background: linear-gradient(90deg, oklch(1 0 0 / 0.30), transparent);
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.10);
  max-width: 520px;
}
.hero__note i {
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  margin-top: 7px;
  animation: nvPulse 2.6s ease-in-out infinite;
}
.hero__note p { font-size: 15px; line-height: 1.5; color: oklch(0.88 0.012 250); }
.hero__note strong { font-weight: 600; color: #fff; }

/* Maquette navigateur */
.mock { position: relative; perspective: 1400px; }
.mock__aura {
  position: absolute;
  inset: -8% -6% -14%;
  background: radial-gradient(60% 50% at 50% 50%, oklch(0.62 0.17 255 / 0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}
.mock__frame {
  position: relative;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 50px 110px -45px oklch(0.06 0.03 250);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-soft);
  will-change: transform;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px 10px;
}
.mock__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.mock__bar i:nth-child(1) { background: oklch(0.86 0.045 28); }
.mock__bar i:nth-child(2) { background: oklch(0.90 0.075 88); }
.mock__bar i:nth-child(3) { background: oklch(0.87 0.12 145); }
.mock__url {
  margin-left: 8px;
  flex: 1;
  height: 20px;
  border-radius: 6px;
  background: oklch(0.955 0.006 250);
  display: flex;
  align-items: center;
  padding: 0 9px;
  font-size: 10.5px;
  color: oklch(0.46 0.018 250);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}
.mock__screen {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: oklch(0.95 0.01 250);
}
.mock__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
/* Défilement lent et continu de la capture dans la maquette */
.mock__screen--scroll img {
  height: auto;
  object-fit: cover;
  animation: nvScrollShot 26s cubic-bezier(0.6, 0, 0.4, 1) infinite alternate;
}

.hero__floor {
  height: clamp(60px, 9vw, 120px);
  margin-top: clamp(-30px, -3vw, -10px);
  background: linear-gradient(180deg, transparent, var(--paper-blue));
  position: relative;
  pointer-events: none;
}

/* ---------- 9. Bandeau des secteurs (défilement infini) ---------- */
.ticker {
  --gap: 7px;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  gap: var(--gap);
  padding-right: var(--gap);
  flex: 0 0 auto;
  animation: nvTicker 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span {
  padding: 9px 15px;
  border-radius: 9px;
  background: oklch(0.96 0.008 245);
  font-size: 14px;
  font-weight: 500;
  color: var(--t-700);
  white-space: nowrap;
}
.s-ink .ticker span { background: oklch(1 0 0 / 0.07); color: var(--on-dark); }

/* ---------- 10. Cartes de prestation ---------- */
.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 52px);
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 26px;
  border-top: 2px solid var(--ink);
  position: relative;
}
.offer--alt { border-top-color: var(--lime); }
.offer__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.offer h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.035em; }

.tick-list { display: flex; flex-direction: column; margin-top: 4px; }
.tick-list > span {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--t-700);
}
.tick-list > span:last-child { border-bottom: 0; }
.tick-list > span > i {
  color: var(--blue);
  font-weight: 700;
  font-style: normal;
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease);
}
.tick-list > span:hover > i { transform: translateX(3px); }
.offer--alt .tick-list > span > i { color: var(--green); }

/* ---------- 11. Grille de services ---------- */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card {
  background: var(--white);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: background-color 0.35s ease;
  position: relative;
}
/* Cascade interne : la grille apparaît d'un bloc, les cartes s'allument ensuite */
.grid-cards[data-rv] > .card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.35s ease;
}
.grid-cards[data-rv].is-in > .card { opacity: 1; transform: none; }
.grid-cards[data-rv].is-in > .card:nth-child(2) { transition-delay: 90ms; }
.grid-cards[data-rv].is-in > .card:nth-child(3) { transition-delay: 180ms; }
.grid-cards[data-rv].is-in > .card:nth-child(4) { transition-delay: 270ms; }
.card:hover { background: oklch(0.97 0.012 250); }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.card p { font-size: 15px; line-height: 1.5; color: var(--t-500); }
.card__ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: oklch(0.62 0.17 255 / 0.12);
  color: var(--blue);
  margin-bottom: 3px;
  transition: transform 0.45s var(--ease), background-color 0.35s ease;
}
.card:hover .card__ico { transform: translateY(-3px) rotate(-6deg); }

/* ---------- 12. Étapes de la méthode ---------- */
.steps { display: flex; flex-direction: column; position: relative; }
.steps__rail {
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.steps__rail i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--blue), var(--lime));
  transform: scaleY(var(--p, 0));
  transform-origin: top;
  transition: transform 0.15s linear;
}
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-of-type { border-bottom: 1px solid var(--line); }
.step__n {
  flex: 0 0 auto;
  width: 16px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  padding-top: 4px;
  position: relative;
  z-index: 1;
}
.step h3 { font-size: 19.5px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.step p { margin-top: 7px; font-size: 15.5px; line-height: 1.5; color: var(--t-500); }
.step__out {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--t-700);
  background: oklch(0.87 0.19 122 / 0.16);
  border-radius: 8px;
  padding: 6px 11px;
}
/* Le numéro se place à droite de la barre, sans la chevaucher. */
.steps--rail .step { padding-left: 54px; }
.steps--rail .step__n {
  position: absolute;
  left: 24px;
  top: 22px;
  width: auto;
  white-space: nowrap;
}

/* ---------- 13. Liste d'arguments ---------- */
.argue { display: flex; flex-direction: column; }
.argue__item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.argue__item:last-child { border-bottom: 1px solid var(--line); }
.argue__item h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.argue__item p { margin-top: 7px; font-size: 15.5px; line-height: 1.5; color: var(--t-500); max-width: 52ch; }
.argue__item::before {
  content: "";
  position: absolute;
  left: -4px; top: 0; bottom: 0;
  width: 2px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.argue__item:hover::before { transform: scaleY(1); }

/* ---------- 14. Tableau horaires ---------- */
.hours { display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.hours__label {
  display: block;
  padding: 16px 0 4px;
  font-family: var(--display);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: oklch(0.44 0.04 80);
}
.hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid oklch(0.88 0.02 86);
}
.hours__row > span:first-child { font-size: 16px; font-weight: 600; color: oklch(0.25 0.025 250); }
.hours__row > span:last-child {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hours__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 15px;
  color: var(--t-500);
}
.hours__foot i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: oklch(0.65 0.17 140);
  flex: 0 0 auto;
  animation: nvPulse 2.8s ease-in-out infinite;
}

/* ---------- 15. Compteurs ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 2.5vw, 34px);
}
.stat__v {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.s-ink .stat__v { color: #fff; }
.stat__v em { font-style: normal; color: var(--lime); }
.s-paper .stat__v em, .s-blue .stat__v em, .s-cream .stat__v em, .s-white .stat__v em { color: var(--blue); }
.stat__k {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--t-500);
  max-width: 22ch;
}
.s-ink .stat__k { color: var(--on-dark-dim); }

/* ---------- 16. FAQ ---------- */
.faq { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.25s ease;
}
.faq__q:hover { color: oklch(0.42 0.09 250); }
.faq__sign {
  position: relative;
  flex: 0 0 18px;
  height: 18px;
  align-self: center;
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.8px;
  background: var(--t-300);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), background-color 0.3s ease;
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item.is-open .faq__sign::after { transform: rotate(0deg); }
.faq__item.is-open .faq__sign::before,
.faq__item.is-open .faq__sign::after { background: var(--lime); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--t-500);
  max-width: 58ch;
  padding-bottom: 22px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease 0.08s, transform 0.4s var(--ease) 0.08s;
}
.faq__item.is-open .faq__a p { opacity: 1; transform: none; }

/* ---------- 17. Réalisations ---------- */
.projects { display: flex; flex-direction: column; }

.project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.5vw, 44px);
  padding: clamp(26px, 3.4vw, 46px) 0;
  border-top: 1px solid var(--ink-line);
  align-items: start;
}
.projects .project:last-child { border-bottom: 1px solid var(--ink-line); }

.project__shots {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  min-height: 250px;
}
.shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: oklch(0.26 0.03 252);
  cursor: pointer;
  transform: translateZ(0);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.1s var(--ease-soft), filter 0.5s ease;
}
.shot:hover img { transform: scale(1.045); }
.shot--main { grid-row: span 2; }
.shot--main img { object-position: top center; }

/* Étiquette qui suit le curseur au survol d'une capture */
.shot__cursor {
  position: absolute;
  z-index: 3;
  top: 0; left: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.25s ease, transform 0.35s var(--ease);
}
.shot:hover .shot__cursor { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.project__meta { display: flex; flex-direction: column; gap: 13px; }
.project__tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.project__tagline b {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.project__tagline span { font-size: 13.5px; color: var(--on-dark-dim); }
.project h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.project p { font-size: 15.5px; line-height: 1.55; color: var(--on-dark); max-width: 46ch; }

.tags { display: flex; gap: 7px; flex-wrap: wrap; }
.tags span {
  padding: 6px 11px;
  border-radius: 7px;
  border: 1px solid oklch(1 0 0 / 0.18);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--on-dark);
}
.s-paper .tags span, .s-blue .tags span, .s-cream .tags span {
  border-color: var(--line);
  color: var(--t-700);
}

.project__kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 14px 0 2px;
  border-top: 1px solid var(--ink-line);
  margin-top: 4px;
}
.project__kpi b {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.project__kpi span { font-size: 12.5px; color: var(--on-dark-dim); }

/* ---------- 18. Visionneuse de site intégrée ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: oklch(0.12 0.02 252 / 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  padding: clamp(10px, 2vw, 22px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.viewer.is-mounted { display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.viewer.is-open { opacity: 1; }

.viewer__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 1500px;
  width: 100%;
  margin-inline: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.5s var(--ease) 0.05s, opacity 0.4s ease 0.05s;
}
.viewer.is-open .viewer__bar { transform: none; opacity: 1; }

.viewer__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  margin-right: auto;
  min-width: 0;
}
.viewer__title b {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.viewer__title span {
  font-size: 13px;
  color: var(--on-dark-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seg {
  display: flex;
  padding: 3px;
  gap: 2px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: 11px;
}
.seg button {
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--on-dark);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.seg button.is-on { background: #fff; color: var(--ink); }

.viewer__close {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid oklch(1 0 0 / 0.2);
  background: oklch(1 0 0 / 0.07);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, transform 0.3s var(--ease);
}
.viewer__close:hover { background: oklch(1 0 0 / 0.18); transform: rotate(90deg); }

.viewer__stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.device {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 120px -40px oklch(0 0 0 / 0.85);
  width: min(1500px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(14px) scale(0.985);
  opacity: 0;
  transition: transform 0.55s var(--ease) 0.06s, opacity 0.45s ease 0.06s,
              width 0.5s var(--ease), border-radius 0.5s var(--ease);
}
.viewer.is-open .device { transform: none; opacity: 1; }
.device[data-mode="mobile"] {
  width: min(400px, 100%);
  border-radius: 26px;
  height: min(100%, 860px);
}
.device[data-mode="tablet"] { width: min(840px, 100%); }

.device__chrome {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: oklch(0.96 0.005 250);
  border-bottom: 1px solid oklch(0.90 0.008 250);
}
.device__chrome i { width: 9px; height: 9px; border-radius: 50%; }
.device__chrome i:nth-child(1) { background: oklch(0.86 0.045 28); }
.device__chrome i:nth-child(2) { background: oklch(0.90 0.075 88); }
.device__chrome i:nth-child(3) { background: oklch(0.87 0.12 145); }
.device__addr {
  flex: 1;
  height: 25px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid oklch(0.91 0.006 250);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  font-size: 11.5px;
  color: oklch(0.45 0.015 250);
  overflow: hidden;
  white-space: nowrap;
  margin-left: 5px;
}
.device__addr b { color: var(--t-900); font-weight: 600; }

.device__body { position: relative; flex: 1; min-height: 0; background: var(--white); }
.device__body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Aperçu par capture, défilement libre */
.preview-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--white);
  scrollbar-width: thin;
}
.preview-scroll img { width: 100%; height: auto; }

.device__load {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  background: var(--white);
  z-index: 2;
  transition: opacity 0.4s ease;
}
.device__load.is-gone { opacity: 0; pointer-events: none; }
.spinner {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  border-top-color: var(--blue);
  animation: nvSpin 0.75s linear infinite;
}

.viewer__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--on-dark-dim);
  padding: 7px 12px;
  border-radius: 9px;
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.1);
}
.viewer__hint b { color: #fff; font-weight: 600; }

body.is-locked { overflow: hidden; }

/* Barre d'outils compacte sur petit écran */
@media (max-width: 780px) {
  .viewer { padding: 8px; }
  .viewer.is-mounted { gap: 8px; }
  .viewer__bar { gap: 7px; }
  .viewer__hint { display: none; }
  .viewer__title { flex: 1 1 100%; order: -1; }
  .viewer__title b { font-size: 15.5px; }
  .viewer__title span { font-size: 12px; }
  .seg { margin-right: auto; }
  .seg button { padding: 8px 11px; font-size: 12.5px; }
  .viewer__bar .btn { padding: 9px 13px; font-size: 13.5px; }
  .viewer__bar .v-lbl { display: none; }
  .viewer__close { width: 36px; height: 36px; font-size: 17px; }
  .device__chrome { padding: 7px 9px; }
  .device__addr { height: 23px; font-size: 11px; }
  .device[data-mode="tablet"],
  .device[data-mode="mobile"] { width: 100%; height: 100%; }
  .device[data-mode="mobile"] { border-radius: 16px; }
}

/* ---------- 19. Comparateur avant / après ---------- */
.compare {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-soft);
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  box-shadow: 0 40px 90px -45px oklch(0 0 0 / 0.8);
}
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
}
.compare__after {
  clip-path: inset(0 0 0 var(--x, 50%));
}
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--x, 50%);
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 22px oklch(0 0 0 / 0.5);
}
.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 30px -8px oklch(0 0 0 / 0.55);
}
.compare__tag {
  position: absolute;
  top: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare__tag--a { left: 14px; background: oklch(0.20 0.02 252 / 0.85); color: #fff; }
.compare__tag--b { right: 14px; background: var(--lime); color: var(--lime-ink); }

/* ---------- 20. Formulaire ---------- */
.form-card {
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 36px);
  background: oklch(1 0 0 / 0.04);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span, .field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.76 0.015 250);
}
.field input, .field textarea {
  padding: 14px 15px;
  border-radius: 11px;
  border: 1px solid oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.05);
  font-size: 15.5px;
  color: #fff;
  outline: none;
  font-weight: 400;
  letter-spacing: 0;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.field textarea { resize: vertical; min-height: 96px; font-family: inherit; }
.field input:focus, .field textarea:focus {
  border-color: var(--lime);
  background: oklch(1 0 0 / 0.08);
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.62 0.015 250); }

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 11px;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid oklch(1 0 0 / 0.18);
  background: transparent;
  color: oklch(0.90 0.012 250);
  transition: background-color 0.25s ease, border-color 0.25s ease,
              color 0.25s ease, transform 0.3s var(--ease);
}
.chip:hover { border-color: oklch(1 0 0 / 0.4); transform: translateY(-1px); }
.chip.is-on { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }

.form-note { font-size: 12.5px; line-height: 1.5; color: oklch(0.72 0.015 250); }

.form-sent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: clamp(8px, 2vw, 26px) 0;
}
.form-sent__ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--lime);
  color: var(--lime-ink);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  animation: nvPop 0.6s var(--ease) both;
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- 21. Blocs de contact ---------- */
.tel-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--lime);
  color: var(--lime-ink);
  border-radius: 16px;
  padding: 22px 26px;
  max-width: 440px;
  transition: background-color 0.3s ease, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 22px 50px -26px oklch(0.87 0.19 122 / 0.8);
}
.tel-card:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 30px 70px -28px oklch(1 0 0 / 0.35); }
.tel-card__ico {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 19px;
}
.tel-card small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
}
.tel-card b {
  display: block;
  font-family: var(--display);
  font-size: clamp(23px, 2.4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 11px;
  margin-top: 12px;
  max-width: 440px;
}
.mini-card {
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: var(--r);
  padding: 17px;
  color: #fff;
  transition: background-color 0.3s ease, transform 0.35s var(--ease);
}
a.mini-card:hover { background: oklch(1 0 0 / 0.13); transform: translateY(-2px); }
.mini-card small {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: oklch(0.78 0.015 250);
}
.mini-card span {
  display: block;
  font-size: 13.9px;
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.35;
  word-break: break-word;
}

/* ---------- 22. Pied de page ---------- */
.foot {
  padding: clamp(28px, 3vw, 40px) 0 clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: clamp(50px, 7vw, 100px);
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
}
.foot__col { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.foot__col b {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: oklch(0.66 0.015 250);
  margin-bottom: 4px;
}
.foot__col a { color: var(--on-dark); transition: color 0.25s ease, transform 0.3s var(--ease); display: inline-block; }
.foot__col a:hover { color: var(--lime); transform: translateX(3px); }
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: oklch(0.70 0.015 250);
}
.foot__bottom a { color: inherit; }
.foot__bottom a:hover { color: #fff; }

/* ---------- 22 bis. Message éphémère (numéro copié) ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 140;
  transform: translate(-50%, 140%);
  max-width: min(520px, calc(100% - 32px));
  padding: 15px 22px;
  border-radius: 14px;
  background: oklch(0.185 0.028 252 / 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid oklch(1 0 0 / 0.16);
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 24px 60px -22px oklch(0 0 0 / 0.9);
  transition: transform 0.55s var(--ease), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}
.toast.is-up { transform: translate(-50%, 0); opacity: 1; }
.toast b { color: var(--lime); font-weight: 700; white-space: nowrap; }

/* ---------- 23. Barre d'action mobile ---------- */
.callbar {
  position: fixed;
  left: 10px; right: 10px;
  bottom: 10px;
  z-index: 85;
  display: none;
  gap: 8px;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.callbar.is-up { transform: none; }
.callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 15.5px;
  box-shadow: 0 16px 34px -18px oklch(0 0 0 / 0.9);
}
.callbar__tel { background: var(--lime); color: var(--lime-ink); }
.callbar__mail {
  background: oklch(0.185 0.028 252 / 0.94);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid oklch(1 0 0 / 0.16);
  flex: 0 0 auto;
  padding-inline: 18px;
}
@media (max-width: 700px) {
  .callbar { display: flex; }
  /* Laisse la place à la barre d'appel fixe */
  body { padding-bottom: 78px; }
  body.is-locked { padding-bottom: 0; }
  .viewer { padding-bottom: 10px; }
}

/* ---------- 24. Fil d'Ariane / entête de page ---------- */
.phead {
  padding: calc(var(--nav-h) + clamp(46px, 7vw, 92px)) var(--pad) clamp(34px, 5vw, 62px);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.phead__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(85% 70% at 88% 0%, oklch(0.87 0.19 122 / 0.12), transparent 62%),
    radial-gradient(75% 70% at 2% 30%, oklch(0.62 0.17 255 / 0.22), transparent 64%);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--on-dark-dim);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.crumb a:hover { color: var(--lime); }
.crumb i { font-style: normal; opacity: 0.5; }

/* ---------- 25. Animations d'apparition ---------- */
[data-rv] {
  opacity: 0;
  transform: translateY(var(--rv-y, 18px));
  transition:
    opacity 0.75s var(--ease) var(--rv-d, 0ms),
    transform 0.75s var(--ease) var(--rv-d, 0ms),
    filter 0.75s var(--ease) var(--rv-d, 0ms);
  filter: blur(var(--rv-b, 0px));
}
[data-rv].is-in { opacity: 1; transform: none; filter: none; }

[data-rv="fade"] { --rv-y: 0px; }
[data-rv="left"] { transform: translateX(-24px); }
[data-rv="right"] { transform: translateX(24px); }
[data-rv="scale"] { --rv-y: 0px; transform: scale(0.965); }
[data-rv="blur"] { --rv-b: 8px; --rv-y: 14px; }

/* Titre décomposé mot à mot */
.split { display: inline; }
.split .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(1.2deg);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease) var(--d, 0ms),
    transform 0.9s var(--ease) var(--d, 0ms),
    filter 0.7s var(--ease) var(--d, 0ms);
  will-change: transform, opacity;
}
.split.is-in .w { opacity: 1; transform: none; filter: none; }

/* Trait qui se dessine sous un mot clé */
.mark { position: relative; white-space: nowrap; }
.mark::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: 0.06em;
  height: 0.09em;
  border-radius: 999px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.85s var(--ease) 0.5s;
}
.is-in .mark::after, .mark.is-in::after { transform: scaleX(1); }

/* Révélation par masque (images) */
.reveal-img { position: relative; overflow: hidden; }
.reveal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 1s var(--ease) 0.1s;
  z-index: 2;
}
.reveal-img.is-in::after,
.is-in .reveal-img::after { transform: scaleX(0); }
.reveal-img img {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-soft) 0.15s;
}
.reveal-img.is-in img,
.is-in .reveal-img img { transform: scale(1); }

/* ---------- 26. Images de section ---------- */
.frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: oklch(0.94 0.008 250);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--54 { aspect-ratio: 5 / 4; }
.frame--169 { aspect-ratio: 16 / 9; }

.byline {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--t-500);
}
.byline i { width: 28px; height: 1px; background: var(--t-300); display: block; }

/* ---------- 27. Grilles génériques ---------- */
.cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.cols-2--end { align-items: end; }
.cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}
.stack { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 34px);
}
.s-ink .panel {
  background: oklch(1 0 0 / 0.045);
  border-color: var(--ink-line);
}

.pricing-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--r);
  background: oklch(0.62 0.17 255 / 0.09);
  border: 1px solid oklch(0.62 0.17 255 / 0.18);
  font-size: 15px;
  line-height: 1.55;
  color: var(--t-700);
}
.pricing-note b { color: var(--ink); }

/* Tableau comparatif */
.vs {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
  font-size: 15px;
}
.vs > * { background: var(--white); padding: 15px 16px; }
.vs__h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: oklch(0.96 0.008 250);
  color: var(--t-900);
}
.vs__h--us { background: var(--ink); color: #fff; }
.vs__k { font-weight: 600; color: var(--t-900); }
.vs__a { color: var(--t-500); }
.vs__b { color: var(--t-900); font-weight: 550; background: oklch(0.87 0.19 122 / 0.10); }
@media (max-width: 720px) {
  .vs { grid-template-columns: 1fr; font-size: 14.5px; }
  .vs__h:not(.vs__h--first) { display: none; }
  .vs__k { background: oklch(0.96 0.008 250); font-family: var(--display); }
  .vs__a::before { content: "Ailleurs — "; font-weight: 700; color: var(--t-300); }
  .vs__b::before { content: "Novilys — "; font-weight: 700; color: var(--green); }
}

/* ---------- 28. Animations nommées ---------- */
@keyframes nvPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.32; } }
@keyframes nvSpin  { to { transform: rotate(360deg); } }
@keyframes nvPop   { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.06); } 100% { transform: scale(1); opacity: 1; } }
@keyframes nvTicker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes nvScrollShot {
  0%, 8%    { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + 100px)); }
}
@keyframes nvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- 29. Transition entre pages ---------- */
.page-fade {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.32s ease;
}
.page-fade.is-on { opacity: 1; }

@view-transition { navigation: auto; }

/* ---------- 30. Confort de lecture / accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-rv], .split .w, .grid-cards > .card { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reveal-img::after { transform: scaleX(0) !important; }
  .reveal-img img { transform: none !important; }
  .eyebrow::after, .mark::after { transform: scaleX(1) !important; }
  .mock__screen--scroll img { animation: none; }
}

@media print {
  .nav, .callbar, .viewer, .page-fade { display: none !important; }
  body { background: #fff; color: #000; }
}
