/* =========================================================================
   ExFacere — Refonte « Nocturne »
   Direction : sombre premium · bleu ardoise lumineux · orange étincelle
   Type      : Newsreader (serif éditorial) + Hanken Grotesk + JetBrains Mono
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg:        #090C12;
  --bg-2:      #0C1019;
  --surface:   #11161F;
  --surface-2: #161D28;
  --surface-3: #1E2634;
  --line:      rgba(155,176,206,.12);
  --line-2:    rgba(155,176,206,.22);

  /* ink */
  --ink:    #ECEFF5;
  --ink-2:  #AEB9CA;
  --muted:  #7E8a9c;
  --faint:  #59626f;

  /* brand — bleu (tweakable) */
  --blue:        #8FB3E0;
  --blue-bright: #BAD5F5;
  --blue-deep:   #3B5571;
  --blue-soft:   color-mix(in srgb, var(--blue) 14%, transparent);
  --blue-line:   color-mix(in srgb, var(--blue) 34%, transparent);
  --logo:        #A2B8D2;

  /* brand — orange étincelle (tweakable presence) */
  --spark:      #F0762E;
  --spark-soft: color-mix(in srgb, var(--spark) 16%, transparent);
  --spark-amt:  1; /* 0..1 multiplier for orange presence */

  /* type */
  --font-display: 'Cormorant', 'Newsreader', Georgia, serif;
  --font-editorial: 'Newsreader', Georgia, serif;
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
  --font-title:   var(--font-display);

  /* rhythm (density tweak overrides --section-y / --gap) */
  --section-y: 124px;
  --gap:       28px;
  --measure:   64ch;
  --maxw:      1200px;
  --radius:    13px;
  --radius-lg: 22px;
  --radius-pebble: 26px 26px 26px 8px;   /* organic, hand-cut corner */
  --radius-leaf:   30px 10px 30px 10px;  /* leaf / petal */

  /* effects */
  --glow:     0 0 0 1px var(--blue-line), 0 24px 60px -24px color-mix(in srgb, var(--blue) 40%, transparent);
  --ring:     inset 0 0 0 1px var(--line);
}

[data-density="compact"] { --section-y: 88px;  --gap: 20px; }
[data-density="comfy"]   { --section-y: 156px; --gap: 36px; }

[data-titlefont="grotesk"] { --font-title: var(--font-sans); }
[data-titlefont="grotesk"] .hero h1,
[data-titlefont="grotesk"] .section-head h2,
[data-titlefont="grotesk"] .about-body h2,
[data-titlefont="grotesk"] .cta-left h2 { font-weight: 680; letter-spacing: -.03em; }
[data-titlefont="grotesk"] h1 .ital,
[data-titlefont="grotesk"] h2 em { font-style: normal; }
[data-titlefont="display"] { --font-title: 'Instrument Serif', Georgia, serif; }
[data-titlefont="display"] .hero h1 { font-weight: 400; letter-spacing: -.005em; font-size: clamp(40px, 6.2vw, 86px); line-height: 1.0; }
[data-titlefont="display"] .section-head h2,
[data-titlefont="display"] .about-body h2,
[data-titlefont="display"] .cta-left h2 { font-weight: 400; letter-spacing: 0; }
/* mix (default): Newsreader serif titles + grotesk eyebrows/labels */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--spark); color: #0a0c12; }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--blue-line);
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-title);
  font-weight: 420;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin-top: 20px;
  text-wrap: balance;
}
.section-head h2 em { font-style: italic; color: var(--blue-bright); }
.section-head p {
  color: var(--ink-2);
  max-width: var(--measure);
  margin-top: 18px;
  font-size: 18px;
}
.lede { color: var(--ink-2); }

/* ---------- Logo (mask, recolorable) ---------- */
.logo {
  display: inline-block;
  width: 132px; height: auto;
  color: var(--logo);
  fill: currentColor;
  aspect-ratio: 284.9 / 77.7;
}
.logo--blue { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--blue);
  color: #07121f;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 60%, transparent),
              0 18px 44px -18px color-mix(in srgb, var(--blue) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-bright);
  box-shadow: 0 0 0 1px var(--blue-bright), 0 24px 60px -20px color-mix(in srgb, var(--blue) 85%, transparent); }
.btn-ghost {
  color: var(--ink);
  box-shadow: var(--ring);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--blue-line); color: var(--blue-bright); transform: translateY(-2px); }
.btn-spark { background: var(--spark); color: #160a04; }
.btn-spark:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ---------- Tag / chip / badge ---------- */
.tag {
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  display: inline-flex; align-items: center; gap: 7px;
}
.filemark {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .04em;
  color: var(--faint);
}
.filemark b { color: var(--blue); font-weight: 500; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; gap: 32px; height: 74px; }
.nav .logo { width: 132px; }
.nav-brand { display: flex; align-items: baseline; gap: 11px; }
.nav-brand .loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--faint); text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--blue); transition: width .3s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); letter-spacing: .03em; }
.nav-phone:hover { color: var(--blue); }
.burger { display: none; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: 150px; padding-bottom: 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 720px;
  background: radial-gradient(ellipse at center,
     color-mix(in srgb, var(--blue) 22%, transparent) 0%,
     transparent 62%);
  filter: blur(8px);
}
.hero-echo {
  position: absolute; left: -8%; top: 6%;
  width: 540px; max-width: 46vw;
  aspect-ratio: 288.9 / 209.4;
  color: var(--blue);
  fill: currentColor;
  opacity: .05;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translateY(-10px) rotate(-1deg); } to { transform: translateY(14px) rotate(1deg); } }
.hero-flow {
  position: absolute; inset: -5% -5% 0 -5%;
  background: url(assets/hero-flow.svg) center top / cover no-repeat;
  -webkit-mask: radial-gradient(ellipse 85% 70% at 50% 32%, #000 0%, transparent 78%);
          mask: radial-gradient(ellipse 85% 70% at 50% 32%, #000 0%, transparent 78%);
  opacity: .9;
}
.hero-inner { position: relative; z-index: 2; }
.hero-top { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(42px, 5.6vw, 86px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 22px 0 0;
  max-width: 14ch;
  text-wrap: balance;
}
.hero h1 .ital { font-style: italic; color: var(--blue-bright); }
.hero h1 .sur { position: relative; white-space: nowrap; }
/* orange brush under the key promise */
.hero h1 .mark-spark {
  position: relative; white-space: nowrap;
  background: linear-gradient(var(--spark), var(--spark)) left 92% / 100% .085em no-repeat;
  padding-bottom: .06em;
}
.hero-sub {
  margin-top: 26px; font-size: 19px; color: var(--ink-2);
  max-width: 46ch; line-height: 1.5;
}
.hero-sub b { color: var(--ink); font-weight: 600; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.pillar {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: var(--ring);
  position: relative; overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.pillar:hover { box-shadow: inset 0 0 0 1px var(--blue-line); transform: translateY(-3px); }
.pillar .filemark { margin-bottom: 14px; display: block; }
.pillar .big {
  font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -.02em;
  color: var(--ink);
}
.pillar .big .u { color: var(--blue); }
.pillar .lab { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.pillar.spark .big .u { color: var(--spark); }

.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-assure {
  margin-top: 24px; font-size: 14.5px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-assure svg { width: 17px; height: 17px; color: var(--blue); }
.hero-assure b { color: var(--ink-2); font-weight: 600; }

/* =========================================================================
   HERO STAGE — a website being composed (says "we build sites", wordlessly)
   ========================================================================= */
.hero-stage {
  position: relative;
  aspect-ratio: 5 / 4.4;
  min-height: 380px;
  animation: stageFloat 9s ease-in-out infinite alternate;
}
@keyframes stageFloat { from { transform: translateY(-6px); } to { transform: translateY(8px); } }

/* ---- Browser window ---- */
.mock-browser {
  position: absolute; top: 0; left: 0; width: 88%;
  border-radius: 26px 18px 24px 18px;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--ring), 0 40px 80px -40px rgba(0,0,0,.85),
              0 0 0 1px var(--blue-line);
  overflow: hidden;
  transform: rotate(-1.4deg);
}
.mock-chrome {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(var(--surface-3), var(--surface-2));
}
.mock-chrome .ms-dots i { width: 10px; height: 10px; }
.mock-chrome .ms-addr {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  padding: 5px 13px; border-radius: 999px;
}
.mock-chrome .ms-addr svg { width: 11px; height: 11px; color: var(--blue); flex: none; }
.mock-live {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); }
.mock-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--spark) 70%, transparent);
  animation: livePulse 2.4s ease-out infinite; }
@keyframes livePulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--spark) 60%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }

.mock-screen { padding: 18px 20px 22px; background: var(--bg-2); }
.mock-nav { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.mk-logo { width: 46px; height: 13px; border-radius: 7px; background: var(--blue); flex: none; }
.mk-navlinks { display: flex; gap: 9px; margin-left: auto; }
.mk-navlinks i { width: 22px; height: 6px; border-radius: 4px; background: var(--line-2); }
.mk-btn { width: 40px; height: 16px; border-radius: 8px; background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line); flex: none; }

.mock-hero { display: grid; grid-template-columns: 1fr .82fr; gap: 18px; align-items: center; margin-bottom: 20px; }
.mk-col { display: flex; flex-direction: column; gap: 10px; }
.mk-h { height: 12px; border-radius: 6px; background: var(--surface-3); }
.mk-h1 { width: 92%; height: 16px; background: var(--ink-2); opacity: .85; }
.mk-h2 { width: 74%; height: 16px; background: var(--ink-2); opacity: .55; }
.mk-h3 { width: 50%; }
.mk-cta { width: 84px; height: 22px; border-radius: 999px; background: var(--blue); margin-top: 8px; }
.mk-art {
  aspect-ratio: 1 / 1; border-radius: 20px 8px 20px 8px;
  background:
    radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--blue) 42%, transparent), transparent 60%),
    linear-gradient(150deg, var(--surface-3), var(--bg));
  box-shadow: inset 0 0 0 1px var(--blue-line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mk-blob {
  width: 66%; aspect-ratio: 1; background: var(--blue); opacity: .9;
  border-radius: 56% 44% 49% 51% / 43% 51% 49% 57%;
  animation: blobMorph 12s ease-in-out infinite alternate;
}
@keyframes blobMorph {
  from { border-radius: 56% 44% 49% 51% / 43% 51% 49% 57%; transform: rotate(0deg); }
  to   { border-radius: 43% 57% 56% 44% / 56% 44% 56% 44%; transform: rotate(12deg); }
}
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.mock-cards span {
  height: 46px; border-radius: 13px 7px 13px 7px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
}
.mock-cards span:nth-child(2) { box-shadow: inset 0 0 0 1px var(--blue-line); }

/* ---- Phone, overlapping bottom-right: same site, responsive ---- */
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 30%; max-width: 152px;
  aspect-ratio: 1 / 2.02;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  box-shadow: 0 0 0 1.5px var(--blue-line), 0 30px 60px -28px rgba(0,0,0,.9);
  padding: 9px;
  transform: rotate(3deg);
}
.mp-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 7px; border-radius: 999px; background: var(--bg); z-index: 2; }
.mp-screen {
  height: 100%; border-radius: 21px; background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 22px 12px 14px; display: flex; flex-direction: column; gap: 9px;
}
.mp-bar { height: 9px; width: 60%; border-radius: 5px; background: var(--blue); }
.mp-hero { height: 52px; border-radius: 14px 7px 14px 7px;
  background: radial-gradient(120% 120% at 30% 20%, color-mix(in srgb, var(--blue) 40%, transparent), transparent 60%), var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--blue-line); }
.mp-line { height: 8px; border-radius: 4px; background: var(--surface-3); }
.mp-line.short { width: 62%; }
.mp-cta { height: 18px; width: 66%; border-radius: 999px; background: var(--blue); margin-top: 2px; }
.mp-card { margin-top: auto; height: 34px; border-radius: 11px 6px 11px 6px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---- Cursor that "builds" ---- */
.mock-cursor {
  position: absolute; left: 50%; top: 58%;
  color: var(--ink); filter: drop-shadow(0 3px 6px rgba(0,0,0,.5));
  animation: cursorMove 7s cubic-bezier(.6,.1,.3,1) infinite;
}
.mock-cursor svg { width: 26px; height: 26px; fill: var(--ink); color: var(--bg); }
@keyframes cursorMove {
  0%   { transform: translate(0,0); opacity: 0; }
  12%  { opacity: 1; }
  40%  { transform: translate(-92px,-118px); }
  55%  { transform: translate(-92px,-118px) scale(.86); }
  70%  { transform: translate(-92px,-118px) scale(1); }
  88%  { transform: translate(18px,26px); opacity: 1; }
  100% { transform: translate(18px,26px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage, .mk-blob, .mock-cursor, .mock-live::before { animation: none; }
  .mock-cursor { top: 40%; left: 38%; }
}

/* =========================================================================
   TRUST STRIP
   ========================================================================= */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.trust-item {
  background: var(--bg-2); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .3s;
}
.trust-item:hover { background: var(--surface); }
.trust-item .ic { width: 22px; height: 22px; color: var(--blue); margin-bottom: 6px; }
.trust-item h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.trust-item p { font-size: 13.5px; color: var(--muted); }
.trust-item .src { font-family: var(--font-mono); font-size: 11px; color: var(--faint); letter-spacing: .08em; margin-top: 2px; }

/* =========================================================================
   OFFRE — pricing
   ========================================================================= */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--ring);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.plan:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2); }
.plan.featured {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--glow);
}
.plan.featured:hover { transform: translateY(-6px); }
.plan-flag {
  position: absolute; top: -11px; left: 24px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--spark); color: #160a04; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--spark) 80%, transparent);
}
.plan-kind { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.plan h3 { font-family: var(--font-display); font-weight: 500; font-size: 25px; margin-top: 12px; letter-spacing: -.01em; }
.plan .who { font-size: 13.5px; color: var(--muted); margin-top: 8px; min-height: 40px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; white-space: nowrap; }
.plan .price .amt { font-family: var(--font-display); font-size: 40px; letter-spacing: -.02em; white-space: nowrap; }
.plan .price .ht { font-size: 13px; color: var(--muted); font-family: var(--font-mono); }
.plan .terms { font-family: var(--font-mono); font-size: 11.5px; color: var(--faint); margin-top: 4px; letter-spacing: .03em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { font-size: 14px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.plan li svg { width: 15px; height: 15px; color: var(--blue); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan-foot { margin-top: 44px; text-align: center; color: var(--muted); font-size: 15px; }

/* =========================================================================
   PROCESSUS
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--ring); }
.step { background: var(--surface); padding: 40px 32px 44px; position: relative; transition: background .3s; }
.step:hover { background: var(--surface-2); }
.step-n {
  font-family: var(--font-display); font-style: italic;
  font-size: 64px; line-height: 1; color: var(--blue-deep);
  -webkit-text-stroke: 0; transition: color .3s;
}
.step:hover .step-n { color: var(--blue); }
.step-time { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--spark); margin: 18px 0 14px; text-transform: uppercase; }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; }
.step p { font-size: 14.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }

/* =========================================================================
   RÉALISATIONS
   ========================================================================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work {
  display: block; position: relative;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--ring); overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.work:hover { transform: translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: inset 0 0 0 1px var(--blue-line), 0 30px 60px -30px color-mix(in srgb, var(--blue) 50%, transparent); }
.work-plate {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  container-type: size;
  background:
    radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--pc, var(--blue)) 30%, transparent), transparent 55%),
    linear-gradient(150deg, var(--surface-3), var(--bg-2));
  display: flex; align-items: flex-end; padding: 22px;
}
.work-shot {
  position: absolute; left: 0; top: 0; width: 100%; height: auto;
  display: block; z-index: 0;
  transform: translateY(0);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
/* au survol, la capture défile jusqu'au pied du site réel (100cqh = hauteur de la plaque) */
.work:hover .work-shot {
  transform: translateY(min(0px, calc(100cqh - 100%)));
  transition-duration: var(--scrollDur, 7s);
  transition-timing-function: cubic-bezier(.55, .06, .45, .94);
}
.work-plate::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(6,9,14,.82), rgba(6,9,14,.12) 42%, transparent 64%);
}
.work-plate .pname {
  font-family: var(--font-display); font-size: 26px; line-height: 1.02; letter-spacing: -.02em;
  color: #fff; position: relative; z-index: 2; text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.55);
}
.work-plate .pat {
  position: absolute; inset: 0; opacity: .12; z-index: 1;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--pc, var(--blue)) 60%, transparent) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask: linear-gradient(120deg, #000, transparent 70%);
          mask: linear-gradient(120deg, #000, transparent 70%);
}
.work-meta { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.work-go { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--blue); margin-top: 2px; }
.work-go svg { width: 15px; height: 15px; transition: transform .3s; }
.work:hover .work-go svg { transform: translate(3px,-3px); }
.work-foot { margin-top: 44px; text-align: center; color: var(--muted); font-size: 15px; }

/* =========================================================================
   CAPACITÉS
   ========================================================================= */
.caps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--ring);
  padding: 28px 26px; transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.cap:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--blue-line); }
.cap .ic { width: 24px; height: 24px; color: var(--blue); margin-bottom: 18px; }
.cap h3 { font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; }
.cap p { font-size: 14px; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.cap .n { position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); }

/* =========================================================================
   À PROPOS — Jules
   ========================================================================= */
.about { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.about-portrait {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-2); box-shadow: var(--ring); aspect-ratio: 4/5;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.04); }
.about-portrait .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 96px; color: var(--blue-deep);
}
.about-portrait .credit {
  position: absolute; bottom: 10px; right: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: .06em;
}
.about-body h2 { font-family: var(--font-title); font-weight: 420; font-size: clamp(32px,4.2vw,50px); letter-spacing: -.015em; line-height: 1.05; }
.about-body h2 em { font-style: italic; color: var(--blue-bright); }
.about-body p { color: var(--ink-2); margin-top: 18px; max-width: 56ch; font-size: 16.5px; }
.about-body p a { color: var(--blue); border-bottom: 1px solid var(--blue-line); }
.about-body p a:hover { color: var(--blue-bright); }
.about-sign { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--ink); }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-wrap { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 20px;
  padding: 26px 4px; font-size: 19px; font-family: var(--font-display); font-weight: 500; color: var(--ink);
  letter-spacing: -.005em;
}
.faq-q .qx { margin-left: auto; flex: none; width: 22px; height: 22px; color: var(--blue); transition: transform .35s; }
.faq-item.open .qx { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 50px 26px 4px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.faq-a-inner ul { margin: 10px 0 0; padding-left: 20px; }
.faq-a-inner li { margin: 5px 0; }

/* =========================================================================
   CTA / CONTACT
   ========================================================================= */
.cta { position: relative; overflow: hidden; }
.cta-card {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  box-shadow: var(--ring);
  display: grid; grid-template-columns: 1fr 1fr;
}
.cta-glow { position: absolute; bottom: -40%; left: -10%; width: 700px; height: 700px;
  background: radial-gradient(circle, var(--blue-soft), transparent 60%); pointer-events: none; }
.cta-left { padding: 64px 56px; position: relative; z-index: 2; border-right: 1px solid var(--line); }
.cta-left h2 { font-family: var(--font-title); font-weight: 420; font-size: clamp(32px,3.6vw,46px); line-height: 1.05; letter-spacing: -.015em; }
.cta-left h2 em { font-style: italic; color: var(--blue-bright); }
.cta-left p { color: var(--ink-2); margin-top: 18px; max-width: 40ch; }
.cta-assure { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta-assure div { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.cta-assure svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.cta-right { padding: 56px 56px; position: relative; z-index: 2; }

/* form */
.form-steps { display: flex; gap: 8px; margin-bottom: 30px; }
.fstep { flex: 1; height: 3px; border-radius: 2px; background: var(--line-2); transition: background .4s; }
.fstep.on { background: var(--blue); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; color: var(--ink);
  border: none; border-bottom: 1px solid var(--line-2);
  padding: 10px 2px; font-size: 16px; font-family: var(--font-sans);
  transition: border-color .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 3px; }
.field textarea { resize: vertical; min-height: 90px; }
.field select option { background: var(--surface); }
.field-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .field-2col { grid-template-columns: 1fr; gap: 0; } }
.chip-row { display: flex; gap: 9px; flex-wrap: wrap; }
.chip {
  padding: 9px 15px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2); transition: all .2s; white-space: nowrap;
  appearance: none; -webkit-appearance: none; background: transparent; border: 0;
  cursor: pointer; font-family: inherit; line-height: 1.25;
}
.chip.sel { background: var(--blue-soft); color: var(--blue-bright); box-shadow: inset 0 0 0 1px var(--blue-line); }
.chip:hover { color: var(--ink); }
.chip:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 2px; }
.form-nav { display: flex; gap: 12px; margin-top: 12px; align-items: center; }
.form-nav .spacer { flex: 1; }
.form-err { color: var(--spark); font-size: 13px; margin-top: 8px; min-height: 18px; font-family: var(--font-mono); }
.form-consent { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.form-consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--blue-bright); }
.form-success { text-align: center; padding: 20px 0; }
.form-success .ok { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-line); }
.form-success .ok svg { width: 30px; height: 30px; color: var(--blue); }
.form-success h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; }
.form-success p { color: var(--ink-2); margin-top: 12px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--line); padding-block: 64px 40px; background: var(--bg-2); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer .logo { width: 168px; margin-bottom: 18px; }
.footer-tagline { color: var(--muted); max-width: 34ch; font-size: 14.5px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* =========================================================================
   REVEAL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* Hero: visible by default, slide-in on load (no opacity flash, no observer dependency) */
.hero .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal { animation: heroRise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .reveal.d1 { animation-delay: .08s; }
  .hero .reveal.d2 { animation-delay: .16s; }
  .hero .reveal.d3 { animation-delay: .26s; }
}
@keyframes heroRise { from { transform: translateY(22px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-echo { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================================
   ORGANIC — flowing forms drawn from the logotype
   ========================================================================= */
/* Flowing, calligraphic letterforms (Cormorant) — tuned heavier/larger since
   it is higher-contrast and smaller on the body than Newsreader. */
.hero h1, .section-head h2, .about-body h2, .cta-left h2,
.plan h3, .step h3, .cap h3, .work-plate .pname, .faq-q,
.pillar .big, .plan .price .amt, .step-n, .form-success h3, .about-sign {
  font-feature-settings: "liga" 1, "dlig" 1, "calt" 1, "swsh" 1, "salt" 1;
  font-optical-sizing: auto;
}
.hero h1 { font-weight: 600; font-size: clamp(40px, 5.6vw, 88px); line-height: 1.04; letter-spacing: -.01em; max-width: none; text-wrap: normal; }
.hero h1 .ital { font-weight: 500; }
.section-head h2 { font-weight: 600; font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.012em; line-height: 1.02; }
.about-body h2 { font-weight: 600; font-size: clamp(34px, 4.4vw, 54px); }
.cta-left h2 { font-weight: 600; font-size: clamp(34px, 3.8vw, 50px); }
.plan h3, .step h3, .cap h3 { font-weight: 600; font-size: 24px; }
.faq-q { font-weight: 600; font-size: 22px; }
.work-plate .pname { font-weight: 600; font-size: 34px; }
.about-sign { font-size: 25px; }
/* italics stay flowing; keep the body grotesk crisp */
.hero h1 em, .section-head h2 em, .about-body h2 em, .cta-left h2 em { font-weight: 500; }


/* Alt-background sections: soft organic glow (no lines) */
.section--alt {
  background:
    radial-gradient(58% 48% at 100% -6%, var(--blue-soft), transparent 62%),
    radial-gradient(52% 44% at 0% 106%, color-mix(in srgb, var(--blue) 7%, transparent), transparent 60%),
    var(--bg-2);
}

/* ---- Browser-window chrome shared by EVERY card ---- */
.win-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  background: linear-gradient(var(--surface-2), color-mix(in srgb, var(--surface-2) 42%, var(--surface)));
  position: relative; z-index: 2;
}
.plan .win-bar { margin: -28px -24px 22px; }
.cap  .win-bar { margin: -28px -26px 18px; }

/* ---- Hero stat cards as little browser windows / mini web pages ---- */
.minisite {
  position: relative;
  border-radius: 30px 18px 34px 20px / 24px 28px 22px 30px;
  background: var(--surface);
  box-shadow: var(--ring), 0 22px 44px -28px rgba(0,0,0,.7);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.minisite:hover {
  transform: translateY(-5px) rotate(-.5deg);
  box-shadow: inset 0 0 0 1px var(--blue-line), 0 30px 60px -26px color-mix(in srgb, var(--blue) 45%, transparent);
}
.minisite-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px;
  background: linear-gradient(var(--surface-2), color-mix(in srgb, var(--surface-2) 42%, var(--surface)));
}
.ms-dots { display: flex; gap: 6px; flex: none; }
.ms-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 18%, transparent); }
.ms-addr {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .01em;
  color: var(--muted);
  background: var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line);
  padding: 4px 11px; border-radius: 999px;
}
.ms-addr svg { width: 10px; height: 10px; color: var(--blue); flex: none; }
.ms-addr span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.minisite-body { position: relative; padding: 20px 18px 20px; }
.ms-eyebrow {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--blue);
}
.ms-big {
  font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto;
  font-size: 50px; line-height: 1; letter-spacing: -.02em; margin-top: 9px;
}
.ms-big .u { color: var(--blue); }
.ms-lab { font-size: 12.5px; color: var(--muted); margin-top: 9px; line-height: 1.4; max-width: 22ch; }
.ms-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 12px; font-weight: 600; color: var(--blue-bright);
  background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-line);
  padding: 7px 13px; border-radius: 999px;
  transition: gap .3s, background .3s;
}
.ms-cta svg { width: 12px; height: 12px; transition: transform .3s; }
.minisite:hover .ms-cta { gap: 9px; }
.minisite:hover .ms-cta svg { transform: translateX(2px); }

/* Calligraphic pen-stroke underline beneath the accented word of every heading */
.section-head h2 em,
.about-body h2 em,
.cta-left h2 em {
  position: relative;
  background: url(assets/swash.svg) no-repeat;
  background-position: left 100%;
  background-size: 100% .42em;
  padding-bottom: .18em;
}
[data-titlefont="grotesk"] .section-head h2 em,
[data-titlefont="grotesk"] .about-body h2 em,
[data-titlefont="grotesk"] .cta-left h2 em { background-size: 100% .3em; }

/* Organic, hand-cut SILHOUETTES — the card OUTLINE itself, not just its corners */
.minisite:nth-child(even) { border-radius: 18px 32px 20px 34px / 28px 22px 30px 24px; }

.work { border-radius: 32px 22px 30px 26px / 26px 30px 24px 34px; }
.work:nth-child(even) { border-radius: 22px 32px 26px 30px / 30px 24px 34px 26px; }
.work-plate { border-radius: 0; }

.cap { border-radius: 22px 34px 24px 32px / 30px 22px 32px 24px; }
.cap:nth-child(even) { border-radius: 34px 22px 32px 24px / 22px 30px 24px 32px; }
.cap .n { display: none; }

.plan { border-radius: 34px 20px 30px 26px; overflow: visible; }
.plan:nth-child(even) { border-radius: 20px 34px 26px 30px; }
.plan .win-bar { border-radius: 34px 20px 0 0; }
.plan:nth-child(even) .win-bar { border-radius: 20px 34px 0 0; }
.plan.featured .plan-flag { z-index: 4; }

.about-portrait { border-radius: 38px 16px 38px 16px / 24px 34px 24px 34px; }
.cta-card    { border-radius: 44px 26px 44px 26px / 32px 42px 32px 42px; }
.steps       { border-radius: 30px 24px 30px 24px; }
.form-success .ok { border-radius: 50%; }

/* Eyebrow tick → a small organic curve instead of a straight dash */
.eyebrow::before {
  width: 28px; height: 8px; background: none;
  border-bottom: 1.5px solid var(--blue-line);
  border-radius: 0 0 40px 40px / 0 0 18px 18px;
}

/* Soften the work-plate inner grid pattern into flowing diagonal strokes */
.work-plate .pat {
  background-image: repeating-linear-gradient(115deg,
    color-mix(in srgb, var(--pc, var(--blue)) 50%, transparent) 0 1px,
    transparent 1px 16px);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-top { grid-template-columns: 1fr; gap: 8px; }
  .hero-stage { width: min(100%, 520px); margin: 30px auto 0; aspect-ratio: 5 / 3.9; min-height: 320px; }
  .hero h1 { max-width: 18ch; }
}
@media (max-width: 860px) {
  :root { --section-y: 84px; }
  .nav-links, .nav-phone { display: none; }
  .burger { display: inline-flex; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; box-shadow: var(--ring); border-radius: var(--radius); }
  .burger svg { width: 22px; height: 22px; }
  .pillars { grid-template-columns: 1fr; max-width: 420px; }
  .hero-stage { max-width: 440px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { max-width: 320px; }
  .cta-card { display: flex; flex-direction: column; }
  .cta-right { order: -1; padding: 40px 32px; }                          /* formulaire d'abord sur mobile */
  .cta-left { order: 0; border-right: none; border-top: 1px solid var(--line); padding: 44px 32px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .offer-grid, .work-grid, .caps-grid, .trust-row { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .pillars { gap: 12px; }
  .hero-stage { min-height: 270px; aspect-ratio: 5 / 4; }
  .mock-phone { max-width: 116px; }
}

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px); display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 40px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:active { color: var(--blue); }
.mobile-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; box-shadow: var(--ring); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }

/* =========================================================================
   MOTION LAYER — grain, hero auto-construit, split mots, parallax,
   tilt + lumière, ticker, HUD, micro-délices
   ========================================================================= */

/* ---- Grain cinématographique ---- */
.grain {
  position: fixed; inset: -120px; z-index: 90; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .055; mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grainShift .9s step-end infinite; }
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-38px, 26px); }
  50%  { transform: translate(22px, -34px); }
  75%  { transform: translate(-14px, -18px); }
  100% { transform: translate(0, 0); }
}

/* ---- Barre de progression de lecture (header) ---- */
.site-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright) 60%, var(--spark));
  transform: scaleX(var(--sp, 0)); transform-origin: left;
  opacity: .85; pointer-events: none;
}

/* ---- Split mots des titres : montée + net progressif ---- */
.split .wsp {
  display: inline-block;
  opacity: 0; transform: translateY(.5em); filter: blur(7px);
  transition:
    opacity .65s cubic-bezier(.2,.7,.2,1),
    transform .85s cubic-bezier(.2,.7,.2,1),
    filter .85s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--wi, 0) * 60ms);
}
.split.in .wsp { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .split .wsp { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---- Hero : le faux site se construit en boucle (8.4s, sync curseur) ---- */
@media (prefers-reduced-motion: no-preference) {
  .mk-logo, .mk-navlinks i, .mk-btn { animation: mkIn 8.4s cubic-bezier(.2,.7,.2,1) infinite both; }
  .mk-navlinks i:nth-child(1) { animation-delay: .12s; }
  .mk-navlinks i:nth-child(2) { animation-delay: .24s; }
  .mk-navlinks i:nth-child(3) { animation-delay: .36s; }
  .mk-btn { animation-delay: .5s; }

  .mk-h { animation: mkDraw 8.4s cubic-bezier(.25,.8,.3,1) infinite both; transform-origin: left center; }
  .mk-h2 { animation-delay: .38s; }
  .mk-h3 { animation-delay: .76s; }

  .mk-cta  { animation: mkCta 8.4s cubic-bezier(.34,1.56,.64,1) infinite both; }
  .mk-art  { animation: mkArt 8.4s cubic-bezier(.2,.7,.2,1) infinite both; }

  .mock-cards span { animation: mkRise 8.4s cubic-bezier(.2,.7,.2,1) infinite both; }
  .mock-cards span:nth-child(2) { animation-delay: .22s; }
  .mock-cards span:nth-child(3) { animation-delay: .44s; }

  .mock-live { animation: mkLive 8.4s cubic-bezier(.34,1.56,.64,1) infinite both; }

  .mp-bar, .mp-hero, .mp-line, .mp-cta, .mp-card { animation: mpBuild 8.4s cubic-bezier(.2,.7,.2,1) infinite both; }
  .mp-hero { animation-delay: .2s; }
  .mp-line { animation-delay: .4s; }
  .mp-line.short { animation-delay: .55s; }
  .mp-cta { animation-delay: .75s; }
  .mp-card { animation-delay: .95s; }

  .mock-cursor { animation-duration: 8.4s; animation-timing-function: cubic-bezier(.45,.1,.35,1); }
}
/* nav : pop discret */
@keyframes mkIn {
  0%, 2%   { opacity: 0; transform: translateY(5px); }
  6%, 91%  { opacity: 1; transform: none; }
  97%,100% { opacity: 0; transform: translateY(5px); }
}
/* lignes de titre : se dessinent de gauche à droite */
@keyframes mkDraw {
  0%, 8%   { opacity: 0; transform: scaleX(0); }
  15%, 91% { opacity: 1; transform: scaleX(1); }
  97%,100% { opacity: 0; transform: scaleX(0); }
}
/* CTA : pop avec rebond */
@keyframes mkCta {
  0%, 21%  { opacity: 0; transform: scale(.55); }
  27%, 91% { opacity: 1; transform: scale(1); }
  97%,100% { opacity: 0; transform: scale(.55); }
}
/* visuel : émerge */
@keyframes mkArt {
  0%, 27%  { opacity: 0; transform: scale(.82); }
  35%, 91% { opacity: 1; transform: scale(1); }
  97%,100% { opacity: 0; transform: scale(.82); }
}
/* cartes : remontent */
@keyframes mkRise {
  0%, 37%  { opacity: 0; transform: translateY(10px); }
  44%, 91% { opacity: 1; transform: none; }
  97%,100% { opacity: 0; transform: translateY(10px); }
}
/* badge "en ligne" : le déploiement */
@keyframes mkLive {
  0%, 55%  { opacity: 0; transform: scale(.6); }
  61%, 93% { opacity: 1; transform: scale(1); }
  98%,100% { opacity: 0; transform: scale(.6); }
}
/* écran du téléphone : le responsive suit */
@keyframes mpBuild {
  0%, 61%  { opacity: 0; transform: translateY(7px); }
  68%, 92% { opacity: 1; transform: none; }
  98%,100% { opacity: 0; transform: translateY(7px); }
}
/* curseur re-chorégraphié : nav → titres → CTA → visuel → cartes → "en ligne" → téléphone */
@keyframes cursorMove {
  0%   { transform: translate(-30px, -30px); opacity: 0; }
  3%   { opacity: 1; }
  10%  { transform: translate(-150px, -118px); }
  19%  { transform: translate(-135px, -95px); }
  23%  { transform: translate(-152px, -52px); }
  25%  { transform: translate(-152px, -52px) scale(.82); }
  27%  { transform: translate(-152px, -52px) scale(1); }
  31%  { transform: translate(-28px, -112px); }
  33%  { transform: translate(-28px, -112px) scale(.82); }
  35%  { transform: translate(-28px, -112px) scale(1); }
  44%  { transform: translate(-115px, -2px); }
  50%  { transform: translate(-42px, -2px); }
  57%  { transform: translate(12px, -178px); }
  59%  { transform: translate(12px, -178px) scale(.82); }
  61%  { transform: translate(12px, -178px) scale(1); }
  70%  { transform: translate(95px, 55px); opacity: 1; }
  76%, 100% { transform: translate(95px, 55px); opacity: 0; }
}

/* ---- Parallax au scroll (progressive enhancement) ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .section-head h2 {
      animation: pxRise linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 42%;
    }
    .about-portrait .ph, .about-portrait img {
      animation: pxDrift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    .pillars .minisite { animation: pxFloat linear both; animation-timeline: view(); animation-range: cover 0% cover 120%; }
    .pillars .minisite:nth-child(1) { --pd: 26px; }
    .pillars .minisite:nth-child(2) { --pd: 44px; }
    .pillars .minisite:nth-child(3) { --pd: 16px; }
  }
}
@keyframes pxRise  { from { transform: translateY(30px); } to { transform: none; } }
@keyframes pxDrift { from { transform: translateY(28px); } to { transform: translateY(-28px); } }
@keyframes pxFloat { from { transform: translateY(var(--pd, 24px)); } to { transform: translateY(calc(var(--pd, 24px) * -.55)); } }

/* ---- Tilt 3D + lumière suiveuse sur les cartes maquettes ---- */
.work-grid { perspective: 1100px; }
.work-plate::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, .09), transparent 58%);
  opacity: 0; transition: opacity .4s;
}
.work:hover .work-plate::before { opacity: 1; }

/* ---- Ticker des métiers ---- */
.ticker {
  margin-top: 48px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track { display: flex; width: max-content; }
.ticker-track span {
  white-space: nowrap; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--faint);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: tickerScroll 36s linear infinite; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ---- HUD navigateur : section courante + progression ---- */
.hud {
  position: fixed; left: 18px; bottom: 18px; z-index: 58;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 15px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg-2) 76%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px -18px rgba(0, 0, 0, .85);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em;
  color: var(--muted);
  opacity: 0; translate: 0 10px; transition: opacity .5s, translate .5s;
  pointer-events: none;
}
.hud.on { opacity: 1; translate: 0 0; }
.hud .ms-dots i { width: 7px; height: 7px; }
.hud-path b { color: var(--blue-bright); font-weight: 500; }
.hud-bar { width: 52px; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.hud-bar i { display: block; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--spark));
  transform: scaleX(0); transform-origin: left; }
@media (max-width: 860px) { .hud { display: none; } }

/* ---- Feux tricolores au survol des fenêtres ---- */
.ms-dots i { transition: background .35s; }
:is(.work, .plan, .minisite, .cap):hover .ms-dots i:nth-child(1) { background: #FF5F57; }
:is(.work, .plan, .minisite, .cap):hover .ms-dots i:nth-child(2) { background: #FEBC2E; }
:is(.work, .plan, .minisite, .cap):hover .ms-dots i:nth-child(3) { background: #28C840; }

/* ---- Frappe terminal des annotations // ---- */
.src.typing::after {
  content: "▌"; color: var(--blue); margin-left: 1px;
  animation: caretBlink 1s step-end infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* ---- Compteurs : chiffres stables pendant l'animation ---- */
.ms-big { font-variant-numeric: tabular-nums; }

/* =========================================================================
   BRIEF MOCK — le formulaire construit un site miniature en temps réel
   ========================================================================= */
.brief-mock {
  margin-top: 30px; max-width: 430px;
  border-radius: 18px 13px 17px 13px;
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--ring), 0 30px 60px -34px rgba(0,0,0,.8), 0 0 0 1px var(--blue-line);
  overflow: hidden; position: relative;
}
.bm-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(var(--surface-3), var(--surface-2));
}
.bm-bar .ms-dots i { width: 8px; height: 8px; }
.bm-bar .ms-addr {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-2);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line);
  padding: 4px 11px; border-radius: 999px;
}
.bm-bar .ms-addr svg { width: 10px; height: 10px; color: var(--blue); flex: none; }
.bm-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s; }
.bm-caret { width: 5px; height: 10px; background: var(--blue); border-radius: 1px; opacity: 0; flex: none; }
.bm-bar.typing .bm-caret { opacity: 1; animation: caretBlink .8s step-end infinite; }
.bm-live {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--spark);
  opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.bm-live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--spark); }
.brief-mock.live .bm-live { opacity: 1; transform: none; }
.brief-mock.live .bm-live::before { animation: livePulse 2.4s ease-out infinite; }
.brief-mock.live .bm-url { color: var(--ink); }

.bm-screen { padding: 14px 16px 12px; background: var(--bg-2); position: relative; }

/* nav du faux site */
.bm-nav { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }
.bm-logo {
  min-width: 34px; height: 13px; border-radius: 6px; background: var(--blue); flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 8.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--bg); padding: 0 5px;
  transition: background .3s;
}
.bm-logo.has { background: var(--spark); height: 15px; border-radius: 7px; }
.bm-links { display: flex; gap: 7px; margin-left: auto; }
.bm-links i { width: 17px; height: 5px; border-radius: 3px; background: var(--line-2); }
.bm-cart {
  display: inline-flex; width: 0; overflow: hidden;
  opacity: 0; transform: scale(.5);
  transition: opacity .4s, transform .45s cubic-bezier(.34,1.56,.64,1), width .35s;
  color: var(--spark);
}
.bm-cart svg { width: 13px; height: 13px; flex: none; }
.brief-mock[data-type="ecommerce"] .bm-cart { width: 13px; opacity: 1; transform: none; }
.bm-btn { width: 32px; height: 13px; border-radius: 7px; background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line); flex: none; }

/* hero du faux site */
.bm-hero { display: grid; grid-template-columns: 1fr .52fr; gap: 12px; align-items: center; margin-bottom: 12px; }
.bm-col { display: flex; flex-direction: column; gap: 7px; }
.bm-t { height: 10px; border-radius: 5px; background: var(--ink-2); }
.bm-t1 { width: 86%; opacity: .8; }
.bm-t2 { width: 58%; opacity: .45; }
.bm-cta { width: 56px; height: 16px; border-radius: 999px; background: var(--blue); margin-top: 5px; }
.bm-art {
  aspect-ratio: 4 / 3; border-radius: 13px 6px 13px 6px;
  background:
    radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--blue) 40%, transparent), transparent 60%),
    linear-gradient(150deg, var(--surface-3), var(--bg));
  box-shadow: inset 0 0 0 1px var(--blue-line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bm-blob { width: 58%; aspect-ratio: 1; background: var(--blue); opacity: .85;
  border-radius: 56% 44% 49% 51% / 43% 51% 49% 57%;
  animation: blobMorph 12s ease-in-out infinite alternate; }

/* sections repliables (vitrine / e-commerce) */
.bm-sec { display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .55s cubic-bezier(.2,.7,.2,1), opacity .45s, margin .55s;
  margin-bottom: 0; }
.bm-sec-in { overflow: hidden; min-height: 0; }
/* contenu éditorial : les lignes s'écrivent au rythme de la frappe */
.bm-copy { grid-template-rows: 1fr; opacity: 1; margin-bottom: 11px; }
.bm-copy .bm-sec-in { display: flex; flex-direction: column; gap: 6px; }
.bm-line { display: block; height: 6px; border-radius: 3px; background: var(--surface-3);
  width: 0%; transition: width .35s cubic-bezier(.2,.7,.2,1); }
/* vitrine : 3 cartes — visibles sauf en e-commerce */
.brief-mock:not([data-type="ecommerce"]) .bm-cards { grid-template-rows: 1fr; opacity: 1; margin-bottom: 11px; }
.bm-cards-in { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bm-cards-in span { height: 30px; border-radius: 9px 5px 9px 5px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.bm-cards-in span:nth-child(2) { box-shadow: inset 0 0 0 1px var(--blue-line); }
/* e-commerce : grille produits avec pastille prix */
.brief-mock[data-type="ecommerce"] .bm-products { grid-template-rows: 1fr; opacity: 1; margin-bottom: 11px; }
.bm-products-in { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bm-products-in span { aspect-ratio: 1 / .82; border-radius: 9px 5px 9px 5px; position: relative;
  background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 14%, var(--surface)) 58%, var(--surface) 58%);
  box-shadow: inset 0 0 0 1px var(--line-2); }
.bm-products-in span::after { content: ""; position: absolute; left: 7px; bottom: 6px;
  width: 36%; height: 5px; border-radius: 3px; background: var(--spark); opacity: .85; }

/* badges d'options (budget) */
.bm-foot { display: flex; gap: 6px; flex-wrap: wrap; min-height: 18px; }
.bm-badge {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-bright); background: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--blue-line);
  padding: 3px 8px; border-radius: 999px;
  opacity: 0; transform: translateY(5px) scale(.8);
  transition: opacity .35s, transform .45s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.brief-mock[data-budget="299"] .bm-badge--wp,
.brief-mock[data-budget="999"] .bm-badge--pages,
.brief-mock[data-budget="999"] .bm-badge--stripe,
.brief-mock[data-budget="999"] .bm-badge--chrono { opacity: 1; transform: none; }
.bm-badge--stripe { transition-delay: .08s; }
.bm-badge--chrono { transition-delay: .16s; }

/* refonte : le site "daté" se modernise */
.brief-mock.revamp .bm-screen { animation: bmRevamp 1.5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bmRevamp {
  0%   { filter: grayscale(1) sepia(.3) contrast(.75); }
  45%  { filter: grayscale(1) sepia(.3) contrast(.75); }
  100% { filter: none; }
}

/* terminal de build (séquence deploy) */
.bm-terminal {
  position: absolute; inset: 0; z-index: 4;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-end;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.brief-mock.deploying .bm-terminal { opacity: 1; }
.bm-terminal pre {
  margin: 0; padding: 14px 16px; width: 100%; max-height: 100%; overflow: hidden;
  font-family: var(--font-mono); font-size: 10px; line-height: 1.75;
  color: var(--ink-2); white-space: pre-wrap;
}
.brief-mock.deploying .bm-screen > :not(.bm-terminal) { filter: saturate(.6); }

/* confetti du déploiement */
.bm-confetti {
  position: absolute; top: -4px; z-index: 5; width: 5px; height: 9px; border-radius: 1.5px;
  pointer-events: none;
  animation: bmConfetti 1.4s cubic-bezier(.3,.4,.6,1) both;
}
@keyframes bmConfetti {
  from { transform: translate(0, 0) rotate(0); opacity: 1; }
  to   { transform: translate(var(--dx, 0px), 330px) rotate(560deg); opacity: 0; }
}

/* réassurance compacte sous le mock */
.cta-assure--mini { margin-top: 20px; gap: 8px; }
.cta-assure--mini div { font-size: 12.5px; color: var(--muted); }
.cta-assure--mini svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .bm-blob { animation: none; }
  .brief-mock.revamp .bm-screen { animation: none; }
  .bm-confetti { display: none; }
}

/* ---- Champs hérités de l'ancien site : couleur, visuels, domaine ---- */
.swatch-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.swatch {
  width: 26px; height: 26px; border-radius: 9px 6px 9px 6px;
  background: var(--c, var(--surface-3));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  cursor: pointer; position: relative; padding: 0; border: 0; appearance: none; -webkit-appearance: none;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s;
}
.swatch:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
.swatch:hover { transform: scale(1.12); }
.swatch.sel { transform: scale(1.12); box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3.5px var(--ink); }
.swatch--custom {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-3), var(--surface));
  color: var(--muted); overflow: hidden;
}
.swatch--custom svg { width: 12px; height: 12px; pointer-events: none; }
.swatch--custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.file-row { display: flex; gap: 10px; flex-wrap: wrap; }
.file-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 13px; color: var(--ink-2);
  transition: box-shadow .25s, color .25s;
}
.file-pill:hover { box-shadow: inset 0 0 0 1px var(--blue-line); color: var(--ink); }
.file-pill.has { box-shadow: inset 0 0 0 1px var(--blue-line); color: var(--blue-bright); }
.file-pill svg { width: 14px; height: 14px; flex: none; }
.file-pill b { font-weight: 500; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* input fichier masqué visuellement mais accessible au clavier (sr-only, pas display:none) */
.file-pill input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.file-pill:focus-within { box-shadow: inset 0 0 0 1.5px var(--blue-line); color: var(--ink); }
.field-hint { font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); margin-top: 8px; letter-spacing: .04em; }
.form-steps-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; color: var(--muted); margin: -20px 0 24px; }
/* Le décalage du scroll sous le header fixe (le commentaire de app.js devient vrai) */
section[id] { scroll-margin-top: 90px; }
/* Cibles tactiles confortables au doigt (Apple HIG 44px) */
@media (pointer: coarse) {
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .file-pill { min-height: 44px; }
  .swatch-row { gap: 13px; }
  .swatch { width: 32px; height: 32px; }
}

/* ---- Vignettes fonctionnalités dans le mock ---- */
.brief-mock:is(.f-contact, .f-galerie, .f-maps, .f-blog) .bm-extras {
  grid-template-rows: 1fr; opacity: 1; margin-bottom: 11px;
}
.bm-extras-in { display: flex !important; gap: 8px; }
.bm-x {
  display: none; flex: 1; height: 30px; border-radius: 8px 5px 8px 5px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  padding: 5px 7px; position: relative; overflow: hidden;
  animation: bmXin .45s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes bmXin { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.brief-mock.f-contact .bm-x-contact,
.brief-mock.f-galerie .bm-x-galerie,
.brief-mock.f-blog .bm-x-blog { display: flex; flex-direction: column; gap: 3px; }
.brief-mock.f-maps .bm-x-maps { display: flex; }
/* contact : deux champs + bouton */
.bm-x-contact i { display: block; height: 4px; border-radius: 2px; background: var(--surface-3); width: 86%; }
.bm-x-contact b { display: block; height: 6px; width: 36%; border-radius: 3px; background: var(--bma, var(--blue)); margin-top: 1px; }
/* galerie : trois vignettes */
.bm-x-galerie { flex-direction: row !important; align-items: stretch; }
.bm-x-galerie i { flex: 1; border-radius: 4px; background:
  radial-gradient(100% 100% at 30% 20%, color-mix(in srgb, var(--bma, var(--blue)) 38%, transparent), transparent 70%), var(--surface-3);
  background-size: cover; background-position: center; }
/* carte : grille + épingle */
.bm-x-maps { align-items: center; justify-content: center;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 9px 9px; }
.bm-x-maps .pin { width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--bma, var(--blue)); box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--bma, var(--blue)) 30%, transparent); }
/* blog : lignes d'articles */
.bm-x-blog i { display: block; height: 4px; border-radius: 2px; background: var(--surface-3); width: 92%; }
.bm-x-blog i.short { width: 58%; }

/* ---- Accent personnalisable du mock (couleur choisie au brief) ---- */
.brief-mock { --bma: var(--blue); }
.bm-logo { background: var(--bma); }
.bm-logo.has { background: var(--bma); filter: saturate(1.15) brightness(1.12); }
.bm-cta { background: var(--bma); }
.bm-blob { background: var(--bma); }
.bm-caret { background: var(--bma); }
.bm-bar .ms-addr svg { color: var(--bma); }
.bm-art { background:
  radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--bma) 40%, transparent), transparent 60%),
  linear-gradient(150deg, var(--surface-3), var(--bg)); }
.bm-products-in span { background:
  linear-gradient(180deg, color-mix(in srgb, var(--bma) 14%, var(--surface)) 58%, var(--surface) 58%); }

/* ---- Vrais visuels du client injectés dans le mock ---- */
.bm-logo.img { color: transparent; min-width: 38px; height: 17px;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  background-color: #fff; border-radius: 5px; }
.bm-art.img { background-size: cover; background-position: center; }
.bm-art.img .bm-blob { display: none; }
.bm-products-in span.img { background-size: cover; background-position: center; }
.bm-products-in span.img::after { background: #fff; opacity: .9; }
