/* ══════════════════════════════════════════════════════════
   CLICKMYSITE — DESIGN SYSTEM v2
   Agence de création de sites internet · Martinique
   ══════════════════════════════════════════════════════════ */

:root {
  /* —— Palette épurée — blanc minimaliste + accent profond —— */
  --bg: #ffffff;             /* blanc pur — minimal, premium */
  --bg-warm: #f5f5f2;        /* off-white légèrement teinté pour zones contrastantes */
  --surface: #ebece6;        /* surface neutre douce */
  --surface-2: #fafaf7;      /* white-warm subtle */
  --ink: #0a1417;            /* charcoal très profond — qualité */
  --ink-soft: #2a3338;
  --text: #0a1417;
  --text-muted: #5a6168;
  --text-subtle: #8a9098;
  --text-faint: #c2c7cd;
  --accent: #962818;         /* brique conservée — accent principal */
  --accent-deep: #6f1a0d;
  --accent-soft: rgba(150,40,24,0.07);
  --accent-glow: rgba(150,40,24,0.14);
  --clay: #2d5a4f;           /* vert sapin profond — secondaire qualité/confiance */
  --clay-soft: rgba(45,90,79,0.10);
  --clay-faint: rgba(45,90,79,0.05);
  --salmon: #2d5a4f;         /* alias */
  --salmon-soft: rgba(45,90,79,0.10);
  --salmon-faint: rgba(45,90,79,0.05);
  --gold: #2d5a4f;
  --line: rgba(10,20,23,0.08);
  --line-strong: rgba(10,20,23,0.16);
  --line-faint: rgba(10,20,23,0.04);

  /* —— Card colors mono-palette —— */
  --c-cream: #ebece6;        /* surface neutre */
  --c-terra: #962818;        /* brique */
  --c-violet: #0a1417;       /* charcoal profond */
  --c-mint: #2d5a4f;         /* vert sapin */
  --c-rose: #e6e7e1;         /* off-white */
  --c-sand: #4a5358;         /* charcoal medium */
  --c-sage: #2d5a4f;         /* sage / vert sapin */
  --c-bone: #d4d6cd;         /* bone neutre */

  /* —— Typographie —— */
  --display: 'Bricolage Grotesque', 'Outfit', system-ui, sans-serif;
  --body: 'Outfit', 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* —— Géométrie —— */
  --nav-h: 78px;
  --max: 1440px;
  --gutter: clamp(20px, 5vw, 88px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 28px;

  /* —— Easing —— */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ══════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: var(--body); background: var(--bg); color: var(--text); line-height: 1.65; overflow-x: hidden; font-weight: 400; }

/* Homepage — fonds de section blancs → blanc chaud #fffdf7 (les fonds gris/foncés restent inchangés).
   Le body porte aussi #fffdf7 : la section portfolio (.carousel3d-section) est en max-width centré,
   ses gouttières laissaient voir le blanc du body sur écran large (bords blancs, centre crème). */
body.page-home { background: #fffdf7; }
body.page-home .hero-minimal,
body.page-home .trust-strip,
body.page-home .carousel3d-section,
body.page-home .about-section,
body.page-home .section:not(.process) {
  background: #fffdf7;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }
::selection { background: var(--ink); color: var(--bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }

/* ══════════════════════════════════════════════════════════
   GRAIN OVERLAY (subtil)
   ══════════════════════════════════════════════════════════ */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ══════════════════════════════════════════════════════════
   LOADER (épuré)
   ══════════════════════════════════════════════════════════ */
.loader { position: fixed; inset: 0; background: var(--ink); z-index: 10001; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 28px; transition: opacity 0.7s 0.3s var(--ease-out), visibility 0.7s 0.3s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-logo { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 300; color: var(--bg); letter-spacing: -0.02em; overflow: hidden; }
.loader-logo span { display: inline-block; transform: translateY(110%); animation: loaderUp 0.7s var(--ease-out) forwards; }
.loader-logo .accent { color: var(--salmon); font-style: italic; }
@keyframes loaderUp { to { transform: translateY(0); } }
.loader-bar { width: 140px; height: 1px; background: rgba(255,255,255,0.12); overflow: hidden; }
.loader-bar-inner { width: 0; height: 100%; background: var(--salmon); animation: loaderFill 1.6s 0.4s var(--ease-smooth) forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ══════════════════════════════════════════════════════════
   PAGE TRANSITIONS — minimaliste, titre destination
   ══════════════════════════════════════════════════════════ */
.page-transition {
  position: fixed; inset: 0; z-index: 10005; pointer-events: none;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.65s var(--ease-smooth);
  display: flex; align-items: center; justify-content: center;
}
/* Cache instantané du loader quand on vient d'une autre page */
html.skip-loader .loader { display: none !important; }
.page-transition.in { transform: translateY(0); }
.page-transition.out { transform: translateY(-100%); transition: transform 0.65s 0.05s var(--ease-smooth); }
.page-transition-title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--bg);
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s 0.25s var(--ease-out), transform 0.5s 0.25s var(--ease-out);
}
.page-transition-title em {
  font-style: italic;
  color: var(--clay);
  font-weight: 500;
}
.page-transition-title .pt-meta {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,241,230,0.4);
  margin-bottom: 28px;
}
.page-transition.in .page-transition-title { opacity: 1; transform: translateY(0); }
body.transitioning { overflow: hidden; }
/* Legacy slices — neutralisés */
.page-transition .slice { display: none; }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.5s var(--ease-out), backdrop-filter 0.5s, box-shadow 0.5s, height 0.4s;
}
.nav.scrolled {
  background: rgba(251,248,241,0.86);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: inset 0 -1px 0 var(--line);
  height: 68px;
}
.nav-logo {
  font-family: var(--display); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.nav-logo b { font-weight: 600; color: var(--accent); font-style: italic; }
.nav-logo .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; display: inline-block; margin-left: 2px; }
.nav-logo img { height: 40px; width: auto; display: block; }
.nav.scrolled .nav-logo img { height: 34px; transition: height 0.4s; }
@media (max-width: 600px) { .nav-logo img { height: 32px; } }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links > a {
  font-size: 0.86rem; font-weight: 500; letter-spacing: -0.005em;
  position: relative; padding: 6px 2px; transition: color 0.3s; color: var(--text);
}
.nav-links > a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.5s var(--ease-out);
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }
.nav-links > a.active { color: var(--accent); }

.nav-cta-btn {
  display: inline-flex !important; align-items: center; gap: 10px;
  background: var(--ink) !important; color: #fff !important;
  padding: 12px 22px !important; font-size: 0.9rem !important; font-weight: 600 !important;
  border-radius: 999px !important; transition: all 0.4s var(--ease-out);
  position: relative; overflow: hidden;
  text-decoration: none !important;
  white-space: nowrap;
  letter-spacing: 0.005em;
}
.nav-cta-btn::after {
  content: ''; width: 6px; height: 6px; background: var(--salmon); border-radius: 50%;
  display: inline-block; transition: transform 0.4s var(--ease-spring);
  flex-shrink: 0;
}
.nav-cta-btn:hover { background: var(--accent) !important; transform: translateY(-1px); }
.nav-cta-btn:hover::after { transform: scale(1.4); }

/* Desktop : liens de nav centrés horizontalement ; logo à gauche, CTA à droite.
   Logo + CTA en absolu (hors flux) pour que .nav-links occupe toute la largeur et
   centre ses liens sur le viewport. Centrage vertical par marges auto (pas de transform,
   pour ne pas casser l'effet magnetic ni le translateY(-1px) au survol du CTA). */
@media (min-width: 961px) {
  .nav-logo {
    position: absolute; left: var(--gutter); top: 0; bottom: 0;
    height: fit-content; margin-block: auto;
  }
  .nav-links { flex: 1; justify-content: center; }
  /* sélecteur .nav-links > .nav-cta-btn (0,2,1) pour battre .nav-links > a { position:relative } (0,1,1) */
  .nav-links > .nav-cta-btn {
    position: absolute; right: var(--gutter); top: 0; bottom: 0;
    height: fit-content; margin-block: auto;
  }
}

/* #4 - Masquer le loader d'intro partout (l'utilisateur ne veut plus l'animation initiale) */
.loader { display: none !important; }
html.skip-loader .loader { display: none !important; }

/* Mobile nav */
.nav-hamburger {
  display: none; width: 26px; height: 18px; position: relative; z-index: 1001;
  background: none; padding: 0;
}
.nav-hamburger span { display: block; width: 100%; height: 1.5px; background: var(--ink); position: absolute; left: 0; transition: all 0.4s var(--ease-out); border-radius: 2px; }
.nav-hamburger span:nth-child(1) { top: 0; }
.nav-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.nav-hamburger span:nth-child(3) { bottom: 0; }
.nav-hamburger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); width: 100%; }

@media (max-width: 960px) {
  .nav-hamburger { display: block; }
  .nav-links {
    /* pas de inset:0 — le backdrop-filter du .nav en fait le bloc conteneur (menu écrasé) */
    position: fixed; top: 0; left: 0; right: 0;
    height: 100vh; height: 100dvh;
    background: var(--bg);
    flex-direction: column; justify-content: center; gap: 24px;
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links > a { font-family: var(--display); font-size: 2rem; font-weight: 400; }
  .nav-links > a.active { color: var(--accent); font-style: italic; }
  .nav-cta-btn { font-size: 0.95rem; padding: 14px 28px; }
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.9rem; font-weight: 500;
  padding: 17px 30px; border-radius: 999px;
  transition: transform 0.3s var(--ease-out), background 0.3s, color 0.3s, box-shadow 0.4s, border-color 0.3s;
  position: relative; overflow: hidden; line-height: 1;
  letter-spacing: -0.005em; white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); border-radius: 999px;
  transform: translateY(101%); transition: transform 0.5s var(--ease-out); z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(194,65,12,0.25); }

.btn-outline { border: 1.5px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); transform: translateY(-2px); }

.btn-ghost { color: var(--ink); padding: 17px 0; }
.btn-ghost::after { content: ''; position: absolute; bottom: 12px; left: 0; right: 0; height: 1px; background: var(--ink); transform: scaleX(0.4); transform-origin: left; transition: transform 0.4s var(--ease-out); }
.btn-ghost:hover::after { transform: scaleX(1); }

.btn-arrow { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* Magnetic wrapper */
.magnetic { transition: transform 0.4s var(--ease-out); will-change: transform; }

/* ══════════════════════════════════════════════════════════
   LAYOUT BASE
   ══════════════════════════════════════════════════════════ */
.section { padding: clamp(80px, 11vw, 150px) var(--gutter); position: relative; }
.section-tight { padding: clamp(56px, 7vw, 90px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

.section-eyebrow {
  font-size: 0.78rem; font-weight: 500;
  color: var(--accent); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); letter-spacing: -0.01em;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

.section-title {
  font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600; line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 22px;
}
.section-title em { font-style: normal; font-weight: 700; color: var(--accent); }
.section-title strong { font-weight: 700; color: var(--ink); }
.section-title .light { color: var(--text-faint); font-weight: 600; }

.section-desc {
  font-size: clamp(1rem, 1.2vw, 1.12rem); color: var(--text-muted);
  max-width: 580px; line-height: 1.7;
}

.section-header { margin-bottom: clamp(48px, 7vw, 90px); max-width: 760px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.vis { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-l.vis { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════════════════════════
   HERO — STYLE ADVERIS (titre monumental + sous-titre + image)
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100dvh;
  padding: calc(var(--nav-h) + 50px) var(--gutter) 0;
  overflow: hidden; display: flex; flex-direction: column;
  background: var(--bg);
}
.hero-canvas { display: none; } /* fond uni Adveris */
.hero-veil { display: none; }

.hero-top {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 100px);
  align-items: end; max-width: var(--max); margin: 0 auto; width: 100%;
  padding-bottom: clamp(40px, 6vw, 80px);
}
@media (max-width: 1000px) { .hero-top { grid-template-columns: 1fr; gap: 32px; align-items: start; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-size: 0.86rem; font-weight: 500; color: var(--accent);
  margin-bottom: 28px; opacity: 0; transform: translateY(20px);
}
.hero-eyebrow::before {
  content: ''; width: 22px; height: 22px;
  background: radial-gradient(circle, var(--accent) 30%, transparent 32%),
              conic-gradient(from 0deg, var(--accent) 0deg 20deg, transparent 20deg 60deg, var(--accent) 60deg 80deg, transparent 80deg 120deg, var(--accent) 120deg 140deg, transparent 140deg 180deg, var(--accent) 180deg 200deg, transparent 200deg 240deg, var(--accent) 240deg 260deg, transparent 260deg 300deg, var(--accent) 300deg 320deg, transparent 320deg 360deg);
  border-radius: 50%;
  animation: spinSlow 18s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 9.5rem);
  font-weight: 600; line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0;
  opacity: 0; transform: translateY(28px);
}
.hero-title .light { color: var(--text-faint); font-weight: 600; display: inline-block; }
.hero-title em { font-style: normal; color: var(--accent); font-weight: 700; display: inline-block; }
.hero-title strong { font-weight: 700; }
.hero-title .line { display: block; }

.hero-aside {
  opacity: 0; transform: translateY(24px);
  display: flex; flex-direction: column; gap: 28px;
  max-width: 380px; padding-bottom: 24px;
}
.hero-desc {
  font-size: clamp(1.02rem, 1.2vw, 1.18rem); color: var(--text);
  line-height: 1.55; font-weight: 400;
}
.hero-desc strong { color: var(--accent); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  aspect-ratio: 16/8; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden;
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.2s 0.6s var(--ease-out), transform 1.2s 0.6s var(--ease-out);
}
.hero-image.in { opacity: 1; transform: translateY(0); }
.hero-image-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #2d3748 0%, #3a4659 45%, #4a5568 100%);
  background-size: cover; background-position: center;
}
.hero-image-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(255,179,148,0.18), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(150,40,24,0.18), transparent 60%);
}
.hero-image-bg::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(45,55,72,0.55) 100%);
}

/* Vidéo hero — autoplay muted loop */
.hero-video-wrap { background: var(--ink); }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(45,55,72,0.20) 0%, rgba(45,55,72,0.10) 35%, rgba(45,55,72,0.65) 100%),
    radial-gradient(ellipse 70% 60% at 30% 80%, rgba(150,40,24,0.18), transparent 65%);
}
.hero-video-wrap .hero-image-tag,
.hero-video-wrap .hero-image-content { z-index: 2; }
.hero-image-tag {
  position: absolute; top: 28px; left: 28px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(240,237,229,0.92); backdrop-filter: blur(10px);
  padding: 10px 16px 10px 12px; border-radius: 999px;
  font-size: 0.82rem; color: var(--ink); font-weight: 500;
}
.hero-image-tag .live-dot {
  width: 8px; height: 8px; background: #2ea674; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46,166,116,0.5); animation: livePulse 2s infinite;
}
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,166,116,0.5); } 70% { box-shadow: 0 0 0 8px rgba(46,166,116,0); } }
.hero-image-content {
  position: absolute; left: clamp(28px, 4vw, 56px); right: clamp(28px, 4vw, 56px); bottom: clamp(28px, 4vw, 56px);
  z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: #f0ede5;
}
.hero-image-quote { max-width: 540px; font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.7rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; }
.hero-image-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.84rem; opacity: 0.85; }
.hero-image-meta strong { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 600; opacity: 1; letter-spacing: -0.01em; }

/* Trust band sous le hero */
.hero-trust {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(20px);
}
.hero-trust-left { display: flex; align-items: center; gap: 18px; }
.hero-trust-stack { display: flex; align-items: center; }
.hero-trust-stack .ava {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--bg);
  margin-left: -10px; background-size: cover; background-position: center;
}
.hero-trust-stack .ava:first-child { margin-left: 0; }
.hero-trust-text .stars { color: var(--accent); letter-spacing: 2px; font-size: 0.84rem; }
.hero-trust-text .meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.hero-trust-tags { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.84rem; color: var(--text-muted); }
.hero-trust-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust-tags svg { width: 14px; height: 14px; color: var(--accent); }

@media (max-width: 700px) {
  .hero-image { aspect-ratio: 4/5; }
  .hero-image-content { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ══════════════════════════════════════════════════════════
   MARQUEE LOGOS CLIENTS
   ══════════════════════════════════════════════════════════ */
.marquee {
  padding: 56px 0; background: var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative;
}
.marquee-label {
  font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted);
  text-align: center; margin-bottom: 28px; padding: 0 var(--gutter);
}
.marquee-track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600; color: var(--text-muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 16px; opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
  letter-spacing: -0.02em;
}
.marquee-item:hover { color: var(--accent); opacity: 1; }

.marquee-logo {
  display: inline-flex; align-items: center; height: 64px;
  flex-shrink: 0; padding: 0 8px;
}
.marquee-logo img {
  height: 100%; width: auto; max-width: 220px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.65;
  mix-blend-mode: multiply; /* fait disparaître les fonds blancs des JPG */
  transition: filter 0.4s var(--ease-out), opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.marquee-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}
/* Logos avec fond transparent (PNG/SVG) — pas besoin de blend */
.marquee-logo.has-bg img { mix-blend-mode: normal; }

.marquee-sep {
  display: inline-block; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  flex-shrink: 0; opacity: 0.5;
}

/* ══════════════════════════════════════════════════════════
   PILIERS BENTO ASYMÉTRIQUE
   ══════════════════════════════════════════════════════════ */
.pillars-bento {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr; gap: 18px;
  min-height: 580px;
}
.pillar-tile {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(28px, 3.5vw, 44px);
  position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
}
.pillar-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.pillar-tile:hover::before { transform: scaleX(1); }
.pillar-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(20,20,26,0.06); border-color: var(--line-strong); }
.pillar-tile.featured {
  grid-column: 1; grid-row: 1 / span 2;
  background: var(--ink); color: var(--bg);
  border-color: transparent;
}
.pillar-tile.featured::before { background: var(--salmon); }
.pillar-tile.featured .pillar-num { color: var(--salmon); }
.pillar-tile.featured h3 { color: var(--bg); }
.pillar-tile.featured p { color: rgba(255,253,247,0.65); }

.pillar-num {
  font-family: var(--mono); font-size: 0.86rem; color: var(--accent);
  margin-bottom: 22px;
}
.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--bg);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--accent);
  transition: transform 0.5s var(--ease-spring);
}
.pillar-tile:hover .pillar-icon { transform: rotate(-8deg) scale(1.06); }
.pillar-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.pillar-tile.featured .pillar-icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: var(--salmon); }
.pillar-tile h3 { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 14px; color: var(--ink); }
.pillar-tile p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.65; }

.pillar-tile .more-link {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--accent); font-weight: 500;
}
.pillar-tile.featured .more-link { color: var(--salmon); }
.pillar-tile .more-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.pillar-tile:hover .more-link svg { transform: translateX(4px); }

@media (max-width: 1000px) {
  .pillars-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; min-height: auto; }
  .pillar-tile.featured { grid-column: 1 / span 2; grid-row: 1; }
}
@media (max-width: 600px) {
  .pillars-bento { grid-template-columns: 1fr; }
  .pillar-tile.featured { grid-column: 1; }
}

/* ══════════════════════════════════════════════════════════
   PROCESS — TIMELINE STICKY
   ══════════════════════════════════════════════════════════ */
.process { background: var(--bg-warm); }
.process-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 100px);
  align-items: flex-start;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }
.process-sticky { position: sticky; top: calc(var(--nav-h) + 30px); }
@media (max-width: 900px) { .process-sticky { position: static; } }

.process-steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--display); font-size: 2.6rem; font-weight: 300;
  color: var(--accent); line-height: 1; letter-spacing: -0.03em;
}
.step h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.025em; color: var(--ink); }
.step .step-meta { font-family: var(--mono); font-size: 0.74rem; color: var(--text-muted); margin-bottom: 14px; }
.step p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.65; max-width: 540px; }

/* ══════════════════════════════════════════════════════════
   STATS BAND
   ══════════════════════════════════════════════════════════ */
.stats {
  background: var(--ink); color: var(--bg);
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; inset: 0; opacity: 0.55;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(255,179,148,0.10), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(150,40,24,0.20), transparent 55%);
}
.stats-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.stats-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; gap: 40px; flex-wrap: wrap; }
.stats-header h2 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; max-width: 540px; }
.stats-header h2 em { font-style: italic; color: var(--salmon); }
.stats-header .stats-tag { font-family: var(--mono); font-size: 0.78rem; opacity: 0.6; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-cell {
  padding: 28px 24px 28px 0; border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 24px;
}
.stat-cell:first-child { border-left: none; padding-left: 0; }
@media (max-width: 800px) { .stat-cell:nth-child(3) { border-left: none; padding-left: 0; } }
.stat-num {
  font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 300; color: var(--bg); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.stat-num .suffix { color: var(--salmon); font-size: 0.5em; font-weight: 400; }
.stat-label { font-size: 0.84rem; opacity: 0.6; line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════════════════ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.team-member { text-align: left; transition: transform 0.5s var(--ease-out); }
.team-avatar {
  aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(140deg, var(--salmon-soft), var(--surface));
  border: 1px solid var(--line); margin-bottom: 18px; position: relative;
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s;
}
.team-avatar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,20,26,0.45) 100%);
  opacity: 0; transition: opacity 0.4s;
}
.team-member:hover .team-avatar { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(20,20,26,0.1); }
.team-member:hover .team-avatar::after { opacity: 1; }
.team-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 3rem; font-weight: 300;
  color: var(--accent); opacity: 0.5;
}
.team-member h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; letter-spacing: -0.01em; }
.team-role { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); margin-bottom: 10px; }
.team-bio { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS — CARROUSEL HORIZONTAL
   ══════════════════════════════════════════════════════════ */
.testimonials { background: var(--bg); overflow: hidden; padding-bottom: 0; }
.testi-track-wrapper { overflow: hidden; padding: 16px 0 80px; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.testi-track { display: flex; gap: 24px; width: max-content; }
.testi-track.animate { animation: testiScroll 50s linear infinite; }
.testi-track:hover { animation-play-state: paused; }
@keyframes testiScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.testi-card {
  flex: 0 0 420px; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(20,20,26,0.06); border-color: var(--line-strong); }
@media (max-width: 600px) { .testi-card { flex: 0 0 320px; } }

.testi-stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.86rem; }
.testi-text {
  font-family: var(--display); font-size: 1.18rem; line-height: 1.45;
  color: var(--ink); margin-bottom: 28px; font-weight: 400;
  letter-spacing: -0.012em;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.86rem; font-family: var(--mono);
}
.testi-name { font-weight: 500; font-size: 0.94rem; line-height: 1.2; color: var(--ink); margin-bottom: 2px; }
.testi-co { font-size: 0.8rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: flex-start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { 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: center; justify-content: space-between;
  padding: 28px 0; font-family: var(--display); font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 400; text-align: left; color: var(--ink); transition: color 0.3s;
  letter-spacing: -0.01em; gap: 24px;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--surface);
  position: relative; flex-shrink: 0; transition: transform 0.5s var(--ease-out), background 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; background: var(--ink);
  transition: transform 0.5s var(--ease-out);
}
.faq-icon::before { transform: translate(-50%,-50%); }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item.open .faq-icon { background: var(--accent); transform: rotate(180deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--bg); }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.6s var(--ease-out); }
.faq-a-inner { padding: 0 0 28px; font-size: 0.96rem; color: var(--text-muted); line-height: 1.75; max-width: 640px; }

/* ══════════════════════════════════════════════════════════
   MEGA CTA
   ══════════════════════════════════════════════════════════ */
.mega-cta {
  padding: clamp(80px, 11vw, 160px) var(--gutter);
  background: var(--ink); color: var(--bg);
  position: relative; overflow: hidden;
}
.mega-cta::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(150,40,24,0.22), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,179,148,0.14), transparent 50%);
  filter: blur(40px); animation: ctaBlobs 18s infinite var(--ease-smooth);
}
@keyframes ctaBlobs { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-3%, 4%); } }
.mega-cta-inner {
  position: relative; z-index: 1; max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.mega-cta .marquee-text {
  font-family: var(--display); font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 300; letter-spacing: -0.04em; line-height: 0.96;
  margin-bottom: 36px;
}
.mega-cta .marquee-text em { font-style: italic; color: var(--salmon); }
.mega-cta-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(255,253,247,0.7);
  max-width: 600px; margin: 0 auto 44px; line-height: 1.65;
}
.mega-cta .btn-primary { background: var(--bg); color: var(--ink); font-size: 0.95rem; padding: 19px 36px; }
.mega-cta .btn-primary::before { background: var(--accent); }
.mega-cta .btn-primary:hover { color: var(--bg); }
.mega-cta-meta {
  display: flex; justify-content: center; gap: 32px; margin-top: 36px;
  flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,253,247,0.5);
}
.mega-cta-meta span { display: inline-flex; align-items: center; gap: 8px; }
.mega-cta-meta svg { width: 14px; height: 14px; color: var(--salmon); }

/* ══════════════════════════════════════════════════════════
   QUI SOMMES-NOUS (home — section "À propos")
   ══════════════════════════════════════════════════════════ */
.about-section { padding: clamp(80px, 11vw, 150px) var(--gutter); background: var(--bg); }
.about-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
@media (max-width: 940px) { .about-inner { grid-template-columns: 1fr; gap: 48px; } }

.about-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--ink);
  line-height: 1.5; font-weight: 500; margin-bottom: 18px; max-width: 560px;
}
.about-para {
  font-size: clamp(1rem, 1.2vw, 1.08rem); color: var(--text-muted);
  line-height: 1.7; max-width: 560px; margin-bottom: 32px;
}
.about-points { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.about-points li { display: flex; align-items: flex-start; gap: 14px; font-size: 0.98rem; line-height: 1.55; color: var(--text-muted); }
.about-points li strong { color: var(--ink); font-weight: 600; }
.about-points svg {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px;
  padding: 3px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.about-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Visuels : 2 portraits équipe alignés */
.about-visuals { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.about-img {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-warm); border: 1px solid var(--line);
  aspect-ratio: 3/4;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-img figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  background: linear-gradient(to top, rgba(10,20,23,0.82), rgba(10,20,23,0.32) 55%, transparent);
  display: flex; flex-direction: column; gap: 1px;
}
.about-name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fff; letter-spacing: -0.01em; }
.about-role { font-family: var(--mono); font-size: 0.68rem; color: rgba(255,255,255,0.82); text-transform: uppercase; letter-spacing: 0.04em; }
.about-img-1, .about-img-2 { margin: 0; }
@media (max-width: 940px) { .about-visuals { max-width: 520px; } }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO CARDS GALOPINS-STYLE (home)
   ══════════════════════════════════════════════════════════ */
.galopins-section { padding: clamp(80px, 11vw, 150px) var(--gutter); background: var(--bg); }
.galopins-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 64px); max-width: var(--max); margin-left: auto; margin-right: auto; }
.galopins-head .left { max-width: 640px; }
.galopins-head .right { padding-bottom: 6px; }

.galopins-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 1000px) { .galopins-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .galopins-grid { grid-template-columns: 1fr; } }

.gcard { display: flex; flex-direction: column; gap: 18px; cursor: pointer; }
.gcard-visual {
  aspect-ratio: 1.45/1; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s;
}
.gcard:hover .gcard-visual { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 60px rgba(20,20,26,0.10); }
.gcard-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.18), transparent 50%);
  opacity: 0; transition: opacity 0.5s;
}
.gcard:hover .gcard-visual::after { opacity: 1; }
.gcard-cream { background: var(--c-cream); }
/* Card avec screenshot direct (pas de logo texte) */
.gcard-shot .gcard-visual { background-color: var(--bg-warm); border: 1px solid var(--line); }
.gcard-terra { background: var(--c-terra); }
.gcard-violet { background: var(--c-violet); }
.gcard-mint { background: var(--c-mint); }
.gcard-rose { background: var(--c-rose); }
.gcard-sand { background: var(--c-sand); }

.gcard-logo {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.025em;
  text-align: center; line-height: 1; padding: 0 24px;
  position: relative; z-index: 1;
}
.gcard-cream .gcard-logo { color: var(--ink); }
.gcard-terra .gcard-logo { color: var(--bg); }
.gcard-violet .gcard-logo { color: var(--bg); }
.gcard-mint .gcard-logo { color: var(--accent); }
.gcard-rose .gcard-logo { color: var(--accent); }
.gcard-sand .gcard-logo { color: var(--bg); }
.gcard-logo small { display: block; font-size: 0.5em; font-weight: 500; letter-spacing: 0.04em; opacity: 0.7; margin-top: 4px; }

.gcard-info { display: flex; flex-direction: column; gap: 12px; }
.gcard-name { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; transition: color 0.3s; }
.gcard:hover .gcard-name { color: var(--accent); }
.gcard-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.gcard-tag {
  padding: 6px 14px; font-size: 0.78rem; font-weight: 500;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--text); background: transparent;
  transition: border-color 0.3s, color 0.3s;
}
.gcard:hover .gcard-tag { border-color: var(--accent); color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   ABOUT — STYLE ADVERIS (texte gauche + média droite + tag)
   ══════════════════════════════════════════════════════════ */
.about { padding: clamp(80px, 11vw, 150px) var(--gutter); background: var(--bg); border-top: 1px solid var(--line); }
.about-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-text { font-family: var(--display); font-size: clamp(1.6rem, 2.7vw, 2.4rem); font-weight: 500; line-height: 1.18; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 32px; }
.about-text strong { font-weight: 700; color: var(--accent); }
.about-burst {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 28px 0 18px;
}
.about-burst-icon {
  width: 28px; height: 28px;
  background: radial-gradient(circle, var(--accent) 30%, transparent 32%),
              conic-gradient(from 0deg, var(--accent) 0deg 18deg, transparent 18deg 60deg, var(--accent) 60deg 78deg, transparent 78deg 120deg, var(--accent) 120deg 138deg, transparent 138deg 180deg, var(--accent) 180deg 198deg, transparent 198deg 240deg, var(--accent) 240deg 258deg, transparent 258deg 300deg, var(--accent) 300deg 318deg, transparent 318deg 360deg);
  border-radius: 50%; animation: spinSlow 18s linear infinite;
}
.about-burst-text { font-weight: 600; color: var(--accent); font-size: 0.9rem; }
.about-sub { font-size: 1rem; color: var(--text); line-height: 1.65; max-width: 480px; margin-bottom: 28px; }

.about-media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.about-media-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--bg-warm) 0%, var(--surface) 60%, #ebe4d3 100%); }
.about-media-screen {
  position: absolute; left: 8%; right: 8%; top: 18%; bottom: 18%;
  background: linear-gradient(140deg, var(--ink), var(--ink-soft)); border-radius: 12px;
  box-shadow: 0 30px 60px rgba(45,55,72,0.25);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  color: var(--bg); text-align: center;
}
.about-media-screen-text { font-family: var(--display); font-size: 1.4rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.about-tag {
  position: absolute; top: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.86rem; color: var(--accent); font-weight: 600;
}
.about-tag::before {
  content: ''; width: 16px; height: 16px;
  background: radial-gradient(circle, var(--accent) 30%, transparent 32%),
              conic-gradient(from 0deg, var(--accent) 0deg 18deg, transparent 18deg 60deg, var(--accent) 60deg 78deg, transparent 78deg 120deg, var(--accent) 120deg 138deg, transparent 138deg 180deg, var(--accent) 180deg 198deg, transparent 198deg 240deg, var(--accent) 240deg 258deg, transparent 258deg 300deg, var(--accent) 300deg 318deg, transparent 318deg 360deg);
  border-radius: 50%; animation: spinSlow 18s linear infinite;
}

/* ══════════════════════════════════════════════════════════
   FOOTER — STYLE BETOMORROW (newsletter + tagline géant)
   ══════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-warm);
  color: var(--text);
  padding: clamp(48px, 6vw, 72px) var(--gutter) 36px;
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 38px, rgba(14,77,67,0.05) 38px 40px);
  pointer-events: none; opacity: 0.6;
}
.footer-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }

/* Newsletter row */
.footer-news {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px);
  align-items: center; padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .footer-news { grid-template-columns: 1fr; gap: 24px; } }
.footer-news-title {
  font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink); margin-bottom: 8px;
}
.footer-news-title em { font-style: normal; font-weight: 700; color: var(--accent); }
.footer-news-sub { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; max-width: 460px; }
.footer-news-form {
  display: flex; flex-direction: column; gap: 12px;
}
.news-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 22px; transition: border-color 0.3s;
}
.news-pill:focus-within { border-color: var(--accent); }
.news-pill input {
  flex: 1; border: none; background: transparent; font-family: inherit;
  font-size: 0.94rem; color: var(--ink); padding: 12px 0; outline: none; min-width: 0;
}
.news-pill input::placeholder { color: var(--text-subtle); }
.news-pill button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 11px 22px; border-radius: 999px; font-size: 0.86rem; font-weight: 500;
  transition: background 0.3s, transform 0.3s var(--ease-out);
  white-space: nowrap;
}
.news-pill button:hover { background: var(--accent); transform: translateX(2px); }
.news-pill button svg { width: 14px; height: 14px; }

/* Tagline géant */
.footer-tagline-wrap {
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: end;
}
@media (max-width: 900px) { .footer-tagline-wrap { grid-template-columns: 1fr; gap: 36px; } }
.footer-tagline-text {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 8.5rem); line-height: 0.92; letter-spacing: -0.05em;
  color: var(--ink); text-transform: uppercase;
}
.footer-tagline-text em { font-style: normal; color: var(--accent); }
.footer-tagline-text .outline {
  -webkit-text-stroke: 1.5px var(--ink);
  -webkit-text-fill-color: transparent;
}

.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col h4 {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase;
}
.footer-col a {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.94rem; padding: 5px 0; color: var(--ink);
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-col a .ext { width: 12px; height: 12px; opacity: 0.6; }

/* Footer CTA button row */
.footer-cta-row {
  padding: 32px 0;
  display: flex; justify-content: flex-end;
}
@media (max-width: 800px) { .footer-cta-row { justify-content: flex-start; } }
.footer-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--bg);
  padding: 18px 32px; border-radius: 999px;
  font-size: 1rem; font-weight: 500; transition: all 0.4s var(--ease-out);
}
.footer-cta:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 40px rgba(14,77,67,0.25); }
.footer-cta svg { width: 16px; height: 16px; }

/* Bloc de droite du footer : bouton "Contactez-nous" au-dessus des colonnes de navigation */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 36px);
}
.footer-nav .footer-cols { width: 100%; }

/* Footer bottom */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--text-muted);
  flex-wrap: wrap;
}
.footer-bottom-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-bottom-left .footer-brand-mini { font-family: var(--display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.footer-bottom-left .footer-brand-mini em { font-style: normal; color: var(--accent); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   FLOATING ACTIONS — WhatsApp + Calendly badge
   ══════════════════════════════════════════════════════════ */

/* Badge Calendly positionné EN BAS (sous le WhatsApp) */
.calendly-badge-widget {
  bottom: 26px !important;
  right: 26px !important;
  z-index: 998 !important;
}
.calendly-badge-content {
  font-family: var(--body) !important;
  font-weight: 500 !important;
  font-size: 0.86rem !important;
  letter-spacing: -0.005em !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  box-shadow: 0 8px 24px rgba(0,105,255,0.3) !important;
}
@media (max-width: 600px) {
  .calendly-badge-widget { bottom: 18px !important; right: 18px !important; }
  .calendly-badge-content { font-size: 0.78rem !important; padding: 10px 16px !important; }
}

/* WhatsApp positionné AU-DESSUS du badge Calendly */
.wa {
  position: fixed; bottom: 92px; right: 26px;
  width: 56px; height: 56px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 999;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.wa:hover { transform: scale(1.1); box-shadow: 0 10px 36px rgba(37,211,102,0.5); }
/* max-width:none — sinon le reset global *{max-width:100%} bride le ::after à 56px et l'onde se décale à gauche */
.wa::after { content: ''; position: absolute; inset: -4px; max-width: none; border-radius: 50%; border: 2px solid #25D366; opacity: 0.4; animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.4); opacity: 0; } }
.wa svg { width: 26px; height: 26px; fill: #fff; }
@media (max-width: 600px) {
  .wa { bottom: 78px; right: 18px; }
}

/* ── Bannière consentement cookies (RGPD) ── */
.cc-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(24px);
  z-index: 1200; width: min(680px, calc(100vw - 32px));
  display: flex; gap: 18px 24px; align-items: center; flex-wrap: wrap;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 18px 24px; box-shadow: 0 24px 60px rgba(10,20,23,0.4);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.cc-banner.cc-show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cc-text { flex: 1 1 280px; margin: 0; font-size: 0.9rem; line-height: 1.55; color: rgba(255,255,255,0.86); }
.cc-text a { color: #fff; text-decoration: underline; }
.cc-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cc-btn {
  padding: 11px 22px; border-radius: 999px; cursor: pointer;
  font-family: var(--body); font-size: 0.88rem; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid rgba(255,255,255,0.35); transition: all .25s var(--ease-out);
}
.cc-refuse { background: transparent; color: #fff; }
.cc-refuse:hover { background: rgba(255,255,255,0.14); }
.cc-accept { background: #fff; color: var(--ink); border-color: #fff; }
.cc-accept:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-bottom-links a.cc-manage { cursor: pointer; }
@media (max-width: 600px) {
  .cc-banner { bottom: 12px; padding: 16px 18px; gap: 14px; }
  .cc-actions { width: 100%; }
  .cc-btn { flex: 1; }
}

/* ══════════════════════════════════════════════════════════
   PAGE HERO (services / portfolio / contact)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 70px) var(--gutter) 80px;
  position: relative; overflow: hidden;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.6;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(252,181,154,0.2), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(194,65,12,0.06), transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 22px; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero h1 strong { font-weight: 500; }
.page-hero p { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--text-muted); max-width: 640px; line-height: 1.65; }
.page-hero-meta { margin-top: 36px; display: flex; gap: 32px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.page-hero-meta div { font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted); }
.page-hero-meta strong { color: var(--ink); font-weight: 500; }

/* ══════════════════════════════════════════════════════════
   SERVICES — BLOCKS ZIG-ZAG
   ══════════════════════════════════════════════════════════ */
.svc-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
  align-items: center; padding: clamp(60px, 8vw, 110px) var(--gutter);
  border-bottom: 1px solid var(--line); position: relative;
}
.svc-block:nth-child(even) { background: var(--bg-warm); }
.svc-block:nth-child(even) .svc-content { order: 2; }
.svc-block:nth-child(even) .svc-visual { order: 1; }
@media (max-width: 900px) {
  .svc-block { grid-template-columns: 1fr; gap: 40px; }
  .svc-block:nth-child(even) .svc-content { order: 1; }
  .svc-block:nth-child(even) .svc-visual { order: 2; }
}

.svc-num {
  font-family: var(--mono); font-size: 0.86rem; color: var(--accent);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.svc-content h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 18px; color: var(--ink); }
.svc-content h2 em { font-style: italic; color: var(--accent); }
.svc-content > p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; max-width: 540px; }

.svc-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.svc-feature { display: flex; align-items: flex-start; gap: 14px; }
.svc-feature-check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-top: 1px;
}
.svc-feature-check svg { width: 12px; height: 12px; stroke-width: 2.5; }
.svc-feature span { font-size: 0.94rem; color: var(--ink); line-height: 1.5; }

.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tag {
  padding: 8px 14px; font-family: var(--mono); font-size: 0.74rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); transition: all 0.3s; background: var(--bg);
}
.svc-tag:hover { border-color: var(--accent); background: var(--accent); color: var(--bg); }

.svc-visual {
  aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background: var(--surface-2); border: 1px solid var(--line);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.svc-block:nth-child(even) .svc-visual { background: var(--bg); }
.svc-visual .blob {
  position: absolute; width: 70%; height: 70%; background: var(--accent);
  opacity: 0.08; border-radius: 50%; filter: blur(80px);
  animation: blobDrift 12s infinite ease-in-out;
}
@keyframes blobDrift {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 40% 60% 55% 45%; }
  33% { transform: translate(20px,-15px) scale(1.06); border-radius: 55% 45% 40% 60%; }
  66% { transform: translate(-15px,18px) scale(0.94); border-radius: 50% 60% 35% 65%; }
}
.svc-visual-icon {
  position: relative; z-index: 1; width: 110px; height: 110px;
  border-radius: 28px; background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  box-shadow: 0 30px 70px rgba(20,20,26,0.08);
}
.svc-visual-icon svg { width: 48px; height: 48px; stroke-width: 1.4; }

.svc-visual-tag {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--bg); border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--mono); font-size: 0.76rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 10px 30px rgba(20,20,26,0.06);
}
.svc-visual-tag::before { content: ''; width: 8px; height: 8px; background: #16a34a; border-radius: 50%; }

/* ══════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════ */
.pricing { background: var(--bg-warm); }
.price-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 56px; }
.price-toggle span { font-size: 0.92rem; font-weight: 500; transition: color 0.3s; color: var(--text-muted); }
.price-toggle span.on { color: var(--ink); }
.toggle-pill { width: 52px; height: 28px; background: var(--line-strong); border-radius: 999px; position: relative; cursor: pointer; transition: background 0.3s; }
.toggle-pill.on { background: var(--accent); }
.toggle-pill::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform 0.4s var(--ease-spring); }
.toggle-pill.on::after { transform: translateX(24px); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 32px; position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  display: flex; flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(20,20,26,0.08); }
.price-card.pop { border-color: var(--ink); background: var(--ink); color: var(--bg); transform: scale(1.02); }
.price-card.pop:hover { transform: scale(1.02) translateY(-6px); }
.price-card.pop .price-features li { color: rgba(255,253,247,0.85); }
.price-card.pop h3 { color: var(--bg); }
.price-card.pop .price-period { color: rgba(255,253,247,0.6); }
.price-card.pop .btn-outline { border-color: rgba(255,253,247,0.25); color: var(--bg); }
.price-card.pop .btn-outline:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.price-card.pop::before { content: 'Le plus choisi'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--bg); font-family: var(--mono); font-size: 0.74rem; padding: 6px 14px; border-radius: 999px; }

.price-card h3 { font-family: var(--display); font-size: 1.4rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.price-tagline { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 24px; }
.price-card.pop .price-tagline { color: rgba(255,253,247,0.6); }
.price-val { font-family: var(--display); font-size: 3rem; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.price-card.pop .price-val { color: var(--bg); }
.price-val .currency { font-size: 0.6em; color: var(--text-muted); margin-right: 4px; }
.price-card.pop .price-val .currency { color: var(--salmon); }
.price-period { font-size: 0.84rem; color: var(--text-muted); margin: 6px 0 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.price-card.pop .price-period { border-color: rgba(255,253,247,0.12); }

.price-features { margin-bottom: 32px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.price-features li { font-size: 0.92rem; color: var(--text); display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.price-features li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 1px; stroke-width: 2; }
.price-card.pop .price-features li svg { color: var(--salmon); }

/* ══════════════════════════════════════════════════════════
   PORTFOLIO CASES
   ══════════════════════════════════════════════════════════ */
.cases-list { display: flex; flex-direction: column; }
.case {
  display: grid; grid-template-columns: 1.3fr 1fr; min-height: 520px;
  border-bottom: 1px solid var(--line);
}
.case:nth-child(even) .case-img { order: 2; }
.case:nth-child(even) .case-body { order: 1; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; min-height: auto; } .case:nth-child(even) .case-img { order: 1; } .case:nth-child(even) .case-body { order: 2; } }

.case-img {
  position: relative; overflow: hidden; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.case-img-bg {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease-out);
  background-size: cover; background-position: center;
}
.case:hover .case-img-bg { transform: scale(1.06); }
.case-img-overlay {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,26,0.05), rgba(20,20,26,0.55));
}
.case-img-link {
  position: absolute; bottom: 32px; left: 32px;
  background: var(--bg); padding: 14px 20px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.4s var(--ease-out);
  box-shadow: 0 12px 32px rgba(20,20,26,0.12);
}
.case-img-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.case:hover .case-img-link svg { transform: translateX(4px); }

.case-body { padding: clamp(36px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; background: var(--bg); }
.case:nth-child(even) .case-body { background: var(--bg-warm); }
.case-tag { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); margin-bottom: 16px; }
.case-body h2 { font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 400; margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
.case-body > p { font-size: 0.96rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.case-metric .v { font-family: var(--display); font-size: 1.85rem; font-weight: 400; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.case-metric .l { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; line-height: 1.4; }

/* Before / After */
.ba-container { max-width: 880px; margin: 60px auto 0; }
.ba-slider { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); cursor: col-resize; user-select: none; border: 1px solid var(--line); }
.ba-side { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.ba-before { background: linear-gradient(140deg, #c9bfa9, #b3a78c); color: rgba(0,0,0,0.5); }
.ba-after { background: linear-gradient(140deg, var(--ink), #2a2c34); color: var(--bg); clip-path: inset(0 0 0 50%); }
.ba-side h4 { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; letter-spacing: -0.02em; }
.ba-side .ba-sub { font-size: 0.84rem; opacity: 0.8; margin-top: 8px; font-family: var(--mono); }
.ba-line { position: absolute; top: 0; left: 50%; width: 2px; height: 100%; background: var(--bg); transform: translateX(-50%); z-index: 3; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; background: var(--bg); border-radius: 50%; z-index: 4; display: flex; align-items: center; justify-content: center; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.ba-knob svg { width: 22px; height: 22px; stroke-width: 2; }
.ba-tag { position: absolute; top: 18px; font-family: var(--mono); font-size: 0.72rem; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(10px); }
.ba-tag-l { left: 18px; background: rgba(255,255,255,0.6); color: var(--ink); }
.ba-tag-r { right: 18px; background: rgba(20,20,26,0.6); color: var(--bg); }

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-label { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--text-muted); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 14px 16px; font-family: var(--body); font-size: 0.96rem;
  color: var(--ink); background: var(--bg-warm);
  border: 1px solid var(--line); border-radius: 10px;
  outline: none; transition: border-color 0.3s, background 0.3s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--accent); background: var(--bg); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-select { -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2314141a' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-budget { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 540px) { .form-budget { grid-template-columns: repeat(2, 1fr); } }
.budget-opt { padding: 12px 8px; text-align: center; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 0.82rem; font-weight: 500; transition: all 0.3s; background: var(--bg-warm); }
.budget-opt.on, .budget-opt:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.form-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }

.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success .ok-circle { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--accent); color: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.form-success .ok-circle svg { width: 28px; height: 28px; stroke-width: 2.4; }
.form-success h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 500; margin-bottom: 8px; letter-spacing: -0.01em; }
.form-success p { color: var(--text-muted); }

.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color 0.3s, transform 0.4s var(--ease-out); }
.contact-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.contact-card-label { font-family: var(--mono); font-size: 0.74rem; color: var(--text-muted); margin-bottom: 8px; }
.contact-card-val { font-family: var(--display); font-size: 1.2rem; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.contact-card-val a:hover { color: var(--accent); }
.contact-card-sub { font-size: 0.86rem; color: var(--text-muted); margin-top: 10px; line-height: 1.5; }

.contact-promise {
  background: var(--ink); color: var(--bg); border-radius: var(--radius);
  padding: 28px;
}
.contact-promise h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 400; margin-bottom: 12px; letter-spacing: -0.01em; }
.contact-promise ul { display: flex; flex-direction: column; gap: 10px; }
.contact-promise li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: rgba(255,253,247,0.8); line-height: 1.5; }
.contact-promise li svg { width: 16px; height: 16px; color: var(--salmon); flex-shrink: 0; margin-top: 3px; stroke-width: 2; }

/* ══════════════════════════════════════════════════════════
   PAGE PROJET (style Clickway)
   ══════════════════════════════════════════════════════════ */
.proj-back {
  padding: calc(var(--nav-h) + 28px) var(--gutter) 0;
  max-width: var(--max); margin: 0 auto;
}
.proj-back-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.78rem; color: var(--text-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.3s, transform 0.3s var(--ease-out);
}
.proj-back-link:hover { color: var(--accent); transform: translateX(-3px); }
.proj-back-link svg { width: 14px; height: 14px; }

/* Hero galerie mockups */
.proj-gallery {
  padding: 32px var(--gutter) 60px;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2.1fr 0.9fr 1.5fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 1100px) { .proj-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto auto; } }
@media (max-width: 700px) { .proj-gallery { grid-template-columns: 1fr; } }

/* Variante 3 mockups (Freshprint) — image principale + verticale + détail unique */
.proj-gallery.proj-gallery-3 {
  grid-template-columns: 2.4fr 0.9fr 1.4fr;
  grid-template-rows: minmax(560px, auto);
}
.proj-gallery.proj-gallery-3 .mockup { min-height: 560px; }
@media (max-width: 1100px) {
  .proj-gallery.proj-gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; }
  .proj-gallery.proj-gallery-3 .mockup { min-height: 380px; }
}
@media (max-width: 700px) {
  .proj-gallery.proj-gallery-3 { grid-template-columns: 1fr; }
  .proj-gallery.proj-gallery-3 .mockup { min-height: 320px; }
}

.mockup {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--surface);
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s;
  display: flex; flex-direction: column;
}
.mockup:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(20,20,26,0.12); }

/* Browser frame (desktop) */
.mockup-browser {
  background: linear-gradient(180deg, var(--ink) 0%, #3a4659 60%, #4a5568 100%);
}
.mockup-browser .mock-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 16px;
  background: rgba(255,253,247,0.96); border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mockup-browser .mock-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-browser .mock-dot.r { background: var(--accent); }
.mockup-browser .mock-dot.y { background: var(--salmon); }
.mockup-browser .mock-dot.g { background: var(--ink); }
.mockup-browser .mock-tabs {
  display: flex; gap: 14px; margin-left: 14px;
  font-size: 0.7rem; color: var(--ink); font-weight: 600;
}
.mockup-browser .mock-tabs span { padding: 4px 10px; border-radius: 999px; background: var(--surface); }
.mockup-browser .mock-cta {
  margin-left: auto; padding: 4px 10px; background: var(--accent); color: var(--bg);
  font-size: 0.7rem; border-radius: 999px; font-weight: 600;
}
.mockup-browser .mock-screen {
  flex: 1; padding: 32px 28px; color: var(--bg); display: flex; flex-direction: column; gap: 14px;
}
.mockup-browser .mock-h1 {
  font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.025em;
}
.mockup-browser .mock-h1 em { font-style: normal; color: var(--salmon); font-weight: 700; }
.mockup-browser .mock-sub { font-size: 0.78rem; opacity: 0.85; }
.mockup-browser .mock-button {
  align-self: flex-start; padding: 8px 14px; background: var(--bg); color: var(--ink);
  border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.mockup-browser .mock-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin-top: auto; padding: 14px;
  background: rgba(255,255,255,0.08); border-radius: 8px;
}
.mockup-browser .mock-stat-num {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1;
  color: var(--salmon);
}
.mockup-browser .mock-stat-lbl { font-size: 0.62rem; opacity: 0.85; margin-top: 4px; }

/* Mobile mockup (phone frame) */
.mockup-mobile {
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
  min-height: 380px;
}
.phone-frame {
  width: 100%; max-width: 220px; aspect-ratio: 9/19;
  background: var(--ink); border-radius: 28px; padding: 8px;
  box-shadow: 0 20px 50px rgba(20,20,26,0.18);
  position: relative;
}
.phone-frame::before {
  content: ''; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 5px; background: rgba(255,255,255,0.2); border-radius: 4px; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--ink) 0%, #4a5568 100%);
  position: relative; padding: 26px 14px 14px;
  display: flex; flex-direction: column; gap: 10px; color: var(--bg);
}
.phone-screen .ph-bar {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,253,247,0.95); color: var(--ink);
  padding: 4px 10px; border-radius: 999px; font-size: 0.6rem; font-weight: 700;
}
.phone-screen .ph-h {
  font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.1;
  letter-spacing: -0.02em; margin-top: 6px;
}
.phone-screen .ph-sub { font-size: 0.6rem; opacity: 0.85; line-height: 1.4; }
.phone-screen .ph-btn {
  align-self: flex-start; padding: 4px 10px; background: var(--bg); color: var(--ink);
  border-radius: 999px; font-size: 0.55rem; font-weight: 600; margin-top: 4px;
}
.phone-screen .ph-img {
  margin-top: auto; aspect-ratio: 5/4; border-radius: 8px;
  background: linear-gradient(140deg, var(--salmon), var(--accent));
}

/* Detail screenshots */
.mockup-detail {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-warm) 100%);
  padding: 22px; min-height: 200px;
  display: flex; flex-direction: column; gap: 8px;
}
.mockup-detail .det-title { font-family: var(--display); font-size: 0.86rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.mockup-detail .det-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; flex: 1; }
.mockup-detail .det-cell { background: var(--bg); border-radius: 6px; aspect-ratio: 1/1.1; border: 1px solid var(--line); }

.mockup-cta {
  background: linear-gradient(180deg, var(--salmon-soft), var(--surface));
  display: flex; flex-direction: column; justify-content: center; padding: 24px;
  gap: 8px; min-height: 200px;
}
.mockup-cta .ct-title { font-family: var(--display); font-size: 0.96rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
.mockup-cta .ct-input { background: var(--bg); border-radius: 999px; padding: 10px 14px; font-size: 0.7rem; color: var(--text-subtle); border: 1px solid var(--line); }
.mockup-cta .ct-btn { background: var(--accent); color: var(--bg); padding: 8px 14px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; align-self: flex-start; }

/* Grid placement */
.mockup.span-tall { grid-row: span 2; }
.mockup.span-wide { grid-column: span 2; }

@media (max-width: 1100px) {
  .mockup.span-tall { grid-row: auto; }
  .mockup.span-wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  .mockup.span-wide { grid-column: 1; }
  .mockup-mobile { min-height: 320px; }
}

/* ══════════════════════════════════════════════════════════
   PROJ INFO + SIDEBAR
   ══════════════════════════════════════════════════════════ */
.proj-content {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: flex-start;
}
@media (max-width: 1000px) { .proj-content { grid-template-columns: 1fr; gap: 40px; } }

.proj-main { min-width: 0; }

.proj-logo {
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--c-cream); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  color: #8a6f2a; letter-spacing: -0.02em; line-height: 1; text-align: center;
  margin-bottom: 28px;
}
/* Variante logo image (transparent, sans cercle, aligné à gauche au-dessus du titre) */
.proj-logo.proj-logo-img {
  width: auto; height: auto; border-radius: 0;
  background: none; margin-bottom: 20px;
  justify-content: flex-start;
}
.proj-logo.proj-logo-img img {
  height: 104px; width: auto; display: block; margin-left: -6px;
}
.proj-logo small { display: block; font-size: 0.5em; font-weight: 500; letter-spacing: 0.04em; opacity: 0.7; margin-top: 4px; }

.proj-title {
  font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700; line-height: 0.96; letter-spacing: -0.04em;
  color: var(--ink); margin-bottom: 18px;
}
.proj-tagline {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text-muted);
  margin-bottom: 28px; line-height: 1.5;
}

.proj-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.proj-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.86rem; color: var(--ink);
}
.proj-badge svg { width: 14px; height: 14px; color: var(--accent); }

.proj-meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--line);
}
.proj-meta-cell .lbl { font-family: var(--mono); font-size: 0.74rem; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.proj-meta-cell .val { font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.proj-section { margin-bottom: 48px; }
.proj-section h2 {
  font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.025em; margin-bottom: 16px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.proj-section h2 .bolt {
  display: inline-block; width: 26px; height: 26px;
  background: var(--accent); color: var(--bg);
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.86rem;
}
.proj-section p { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; max-width: 640px; }
.proj-section p:last-child { margin-bottom: 0; }
.proj-section ul { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.proj-section ul li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.96rem; color: var(--text); line-height: 1.6;
}
.proj-section ul li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }

.proj-results {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; margin-top: 16px;
}
.proj-results h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }
.proj-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 600px) { .proj-results-grid { grid-template-columns: 1fr 1fr; } }
.proj-result-cell .v {
  font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--accent); line-height: 1; letter-spacing: -0.025em;
}
.proj-result-cell .l { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; line-height: 1.4; }

/* Sidebar sticky CTA */
.proj-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 1000px) { .proj-sidebar { position: static; } }

.proj-cta-card {
  background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.proj-cta-deck {
  position: relative; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; overflow: hidden;
  background: linear-gradient(140deg, var(--surface), var(--bg-warm));
}
.proj-cta-deck-stack {
  position: relative; width: 70%; aspect-ratio: 16/10;
}
.proj-cta-deck-card {
  position: absolute; inset: 0; border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 14px 30px rgba(20,20,26,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--bg); font-family: var(--display); font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  letter-spacing: -0.015em; text-align: center; padding: 14px;
  line-height: 1.2;
}
.proj-cta-deck-card:nth-child(1) { transform: rotate(-10deg) translate(-22%, -2%) scale(0.92); background: #d08561; color: #fff8f0; }
.proj-cta-deck-card:nth-child(2) { transform: rotate(-3deg) translate(-8%, 2%) scale(0.97); background: #7466cc; color: #fff8f0; }
.proj-cta-deck-card:nth-child(3) { transform: rotate(4deg) translate(8%, -1%) scale(0.97); background: #c8e4d6; color: #1e6b54; }
.proj-cta-deck-card:nth-child(4) { transform: rotate(11deg) translate(22%, 3%) scale(0.92); background: #efc7d2; color: #8c324a; }
.proj-cta-deck-card:nth-child(5) {
  background: var(--ink); transform: scale(1);
  z-index: 1;
}

.proj-cta-card h3 {
  font-family: var(--display); font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; color: var(--ink);
}
.proj-cta-card p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.6; }
.proj-cta-card p strong { color: var(--accent); font-weight: 600; }
.proj-cta-actions { display: flex; flex-direction: column; gap: 10px; }
.proj-cta-actions .btn { width: 100%; justify-content: space-between; padding-left: 22px; padding-right: 22px; }

/* Section autres projets */
.proj-others {
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  border-top: 1px solid var(--line);
}
.proj-others-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; max-width: var(--max); margin-left: auto; margin-right: auto; flex-wrap: wrap; }
.proj-others-head h2 { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.025em; }
.proj-others-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .proj-others-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proj-others-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   MOCKUPS VARIANTE "SCREENSHOT" — image au lieu de contenu mocké
   ══════════════════════════════════════════════════════════ */
.mockup.mockup-screenshot .mock-screen {
  padding: 0 !important;
  background-color: var(--bg);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  flex: 1;
  min-height: 280px;
}
.mockup.mockup-screenshot .mock-screen > * { display: none; }

.mockup.phone-screenshot .phone-screen {
  padding: 0 !important;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.mockup.phone-screenshot .phone-screen > *:not(.phone-screen-img) { display: none; }
.phone-screen-img {
  position: absolute;
  inset: 22px 8px 8px;
  border-radius: 16px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.mockup.mockup-detail-img {
  padding: 0 !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px;
}
.mockup.mockup-detail-img > * { display: none; }

/* Vertical screenshot — image plein cadre, sans phone frame */
.mockup.mockup-vertical {
  padding: 0 !important;
  background-color: var(--surface);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  min-height: 380px;
}
.mockup.mockup-vertical > * { display: none; }
@media (max-width: 700px) {
  .mockup.mockup-vertical { min-height: 320px; aspect-ratio: 9/16; }
}

/* ══════════════════════════════════════════════════════════
   MOCKUPS LIVE — Iframes (aperçu HTML en temps réel)
   ══════════════════════════════════════════════════════════ */

/* Desktop flat iframe — plein cadre, sans barre browser */
.mockup.mockup-flat-live {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: block;
  min-height: 480px;
}
.mockup.mockup-flat-live > *:not(iframe) { display: none; }
.mockup.mockup-flat-live iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1600px;
  height: 2000px;
  border: 0;
  transform: scale(0.40);
  transform-origin: top left;
  pointer-events: none;
  background: var(--bg);
}

/* Vertical mobile iframe — viewport étroit pour rendu mobile responsive */
.mockup.mockup-vertical.mockup-live {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: block;
  min-height: 480px;
}
.mockup.mockup-vertical.mockup-live > *:not(iframe) { display: none; }
.mockup.mockup-vertical.mockup-live iframe {
  position: absolute;
  top: 0; left: 50%;
  width: 420px;
  height: 1400px;
  border: 0;
  transform: translateX(-50%) scale(0.6);
  transform-origin: top center;
  pointer-events: none;
  background: var(--bg);
}

/* Detail iframe — vue desktop d'une page secondaire */
.mockup.mockup-detail-live {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: block;
  min-height: 220px;
}
.mockup.mockup-detail-live > *:not(iframe) { display: none; }
.mockup.mockup-detail-live iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1600px;
  height: 1800px;
  border: 0;
  transform: scale(0.30);
  transform-origin: top left;
  pointer-events: none;
  background: var(--bg);
}

/* Adaptations responsive — recalculer les scales sur petits écrans */
@media (max-width: 1100px) {
  .mockup.mockup-flat-live iframe { transform: scale(0.36); }
  .mockup.mockup-vertical.mockup-live iframe { transform: translateX(-50%) scale(0.55); }
  .mockup.mockup-detail-live iframe { transform: scale(0.32); }
}
@media (max-width: 700px) {
  .mockup.mockup-flat-live iframe { transform: scale(0.42); }
  .mockup.mockup-vertical.mockup-live iframe { transform: translateX(-50%) scale(0.65); }
  .mockup.mockup-detail-live iframe { transform: scale(0.42); }
}

/* ══════════════════════════════════════════════════════════
   PAGE REFONTE — Sections argumentaires (define / why / tech / impact)
   ══════════════════════════════════════════════════════════ */
.refonte-section {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.refonte-section.alt { background: var(--bg-warm); }
.refonte-wrap { max-width: var(--max); margin: 0 auto; }
.refonte-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.refonte-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.refonte-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}
.refonte-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.refonte-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* ─── Callout charcoal (style "EN UNE PHRASE") ──────────────── */
.refonte-callout {
  background: var(--ink);
  color: var(--bg);
  border-radius: 22px;
  padding: clamp(36px, 5vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.refonte-callout::before {
  content: '';
  position: absolute;
  top: 20px; right: 28px;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(150,40,24,0.4), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.refonte-callout-eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--clay);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}
.refonte-callout-text {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  max-width: 820px;
}
.refonte-callout-text strong { font-weight: 700; color: var(--clay); }
.refonte-callout-text em { font-style: italic; color: var(--clay); }

/* ─── Cartes 3 colonnes (avec barre top colorée) ─────────────── */
.refonte-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 800px) { .refonte-cards-3 { grid-template-columns: 1fr; } }
.refonte-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.refonte-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px rgba(10,20,23,0.06);
}
.refonte-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
}
.refonte-card.alt-1::before { background: var(--accent); }
.refonte-card.alt-2::before { background: var(--clay); }
.refonte-card.alt-3::before { background: #b8862c; }
.refonte-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.refonte-card.alt-2 .refonte-card-icon { background: var(--clay-soft); color: var(--clay); }
.refonte-card.alt-3 .refonte-card-icon { background: rgba(184,134,44,0.10); color: #b8862c; }
.refonte-card-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.refonte-card h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.refonte-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Parcours visiteur (4 étapes en chevron) ────────────────── */
.refonte-journey {
  background: var(--bg-warm);
  border-radius: 22px;
  padding: clamp(28px, 3.5vw, 44px);
}
.refonte-journey-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 22px;
}
.refonte-journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: stretch;
}
@media (max-width: 800px) { .refonte-journey-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .refonte-journey-steps { grid-template-columns: 1fr; } }

.refonte-journey-step {
  background: var(--bg);
  border-radius: 12px;
  padding: 22px 18px;
  position: relative;
  border-top: 3px solid var(--accent);
  text-align: center;
}
.refonte-journey-step:nth-child(1) { border-top-color: var(--accent); }
.refonte-journey-step:nth-child(2) { border-top-color: var(--clay); }
.refonte-journey-step:nth-child(3) { border-top-color: #b8862c; }
.refonte-journey-step:nth-child(4) { border-top-color: var(--ink); }
.refonte-journey-step-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}
.refonte-journey-step h5 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.refonte-journey-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Compare 2 colonnes (Site actuel / Nouveau site) ────────── */
.refonte-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 800px) { .refonte-compare { grid-template-columns: 1fr; } }
.refonte-compare-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 40px);
}
.refonte-compare-card.before {
  background: rgba(150,40,24,0.04);
  border-color: rgba(150,40,24,0.15);
}
.refonte-compare-card.after {
  background: rgba(45,90,79,0.05);
  border-color: rgba(45,90,79,0.18);
}
.refonte-compare-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.refonte-compare-card.before .refonte-compare-tag {
  background: var(--accent);
  color: var(--bg);
}
.refonte-compare-card.after .refonte-compare-tag {
  background: var(--clay);
  color: var(--bg);
}
.refonte-compare-card h3 {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.refonte-compare-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.refonte-compare-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.55;
}
.refonte-compare-list li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.refonte-compare-card.before li svg { color: var(--accent); }
.refonte-compare-card.after li svg { color: var(--clay); }

/* ─── 3 objectifs numérotés (encart sombre) ──────────────────── */
.refonte-objectives {
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at top right, rgba(150,40,24,0.20), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(45,90,79,0.18), transparent 50%);
  border-radius: 22px;
  padding: clamp(36px, 5vw, 56px);
  color: var(--bg);
}
.refonte-objectives h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.refonte-objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .refonte-objectives-grid { grid-template-columns: 1fr; gap: 24px; } }
.refonte-objective-num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 10px;
}
.refonte-objective p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(245,241,230,0.85);
}
.refonte-objective p strong { color: var(--bg); font-weight: 600; }

/* ─── Code callout (HTML pur) ──────────────────────────────── */
.refonte-code-callout {
  background: var(--ink);
  border-radius: 22px;
  padding: clamp(36px, 5vw, 56px);
  margin-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .refonte-code-callout { grid-template-columns: 1fr; } }
.refonte-code-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(150,40,24,0.15), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(45,90,79,0.14), transparent 50%);
  pointer-events: none;
}
.refonte-code-copy {
  position: relative;
  z-index: 1;
  color: var(--bg);
}
.refonte-code-copy span {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--clay);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.refonte-code-copy h3 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--bg);
  margin-bottom: 18px;
}
.refonte-code-copy h3 em { font-style: italic; color: var(--clay); }
.refonte-code-copy p {
  font-size: 0.96rem;
  color: rgba(245,241,230,0.8);
  line-height: 1.65;
  max-width: 460px;
}
.refonte-code-snippet {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(245,241,230,0.85);
  overflow-x: auto;
}
.refonte-code-snippet .tag { color: #ff8a80; }
.refonte-code-snippet .attr { color: #ffd180; }
.refonte-code-snippet .text { color: #b9f6ca; }

/* ─── Grid 4 avantages tech ────────────────────────────────── */
.refonte-tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) { .refonte-tech-grid { grid-template-columns: 1fr; } }
.refonte-tech-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
}
.refonte-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(10,20,23,0.06);
}
.refonte-tech-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
}
.refonte-tech-card:nth-child(1) .refonte-tech-icon { background: var(--clay); }
.refonte-tech-card:nth-child(2) .refonte-tech-icon { background: var(--accent); }
.refonte-tech-card:nth-child(3) .refonte-tech-icon { background: #b8862c; }
.refonte-tech-card:nth-child(4) .refonte-tech-icon { background: var(--ink); }
.refonte-tech-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.refonte-tech-card h4 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.refonte-tech-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.refonte-tech-kpi {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

/* ─── Section impact (KPIs + table projection) ──────────────── */
.refonte-impact-punch {
  background: linear-gradient(135deg, var(--clay-soft), var(--bg-warm));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(40px, 5vw, 64px);
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.refonte-impact-punch p {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 14px;
}
.refonte-impact-punch p strong { color: var(--accent); font-weight: 700; }
.refonte-impact-punch p em { font-style: italic; color: var(--clay); }
.refonte-impact-punch small {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-top: 16px;
}

.refonte-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 800px) { .refonte-kpis { grid-template-columns: 1fr; } }
.refonte-kpi-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 40px);
  text-align: center;
  position: relative;
}
.refonte-kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
}
.refonte-kpi-card:nth-child(1)::before { background: var(--clay); }
.refonte-kpi-card:nth-child(2)::before { background: var(--accent); }
.refonte-kpi-card:nth-child(3)::before { background: #b8862c; }
.refonte-kpi-value {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  display: block;
}
.refonte-kpi-card:nth-child(1) .refonte-kpi-value { color: var(--clay); }
.refonte-kpi-card:nth-child(2) .refonte-kpi-value { color: var(--accent); }
.refonte-kpi-card:nth-child(3) .refonte-kpi-value { color: #b8862c; }
.refonte-kpi-card h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
}
.refonte-kpi-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Tableau projection */
.refonte-projection {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3.5vw, 40px);
}
.refonte-projection h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 22px;
}
.refonte-projection-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.refonte-projection-table th {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.refonte-projection-table th:last-child { color: var(--accent); }
.refonte-projection-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  line-height: 1.4;
}
.refonte-projection-table td:first-child {
  font-weight: 500;
  color: var(--ink);
}
.refonte-projection-table td:last-child {
  font-weight: 600;
  color: var(--accent);
}
.refonte-projection-table tr:last-child td { border-bottom: none; }
@media (max-width: 700px) {
  .refonte-projection-table { font-size: 0.86rem; }
  .refonte-projection-table th, .refonte-projection-table td { padding: 10px 8px; }
}
.refonte-projection-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-top: 20px;
}

/* ══════════════════════════════════════════════════════════
   WORLD MAP — Section avec carte Leaflet interactive
   ══════════════════════════════════════════════════════════ */
.world-map-section {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.world-map-head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.world-map-head-text { max-width: 580px; }
.world-map-head-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.world-map-legend {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}
.world-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.world-map-legend-item i {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--accent);
  font-style: normal;
}
@media (max-width: 700px) {
  .world-map-legend { align-items: flex-start; text-align: left; }
}

/* Conteneur carte */
.world-map-wrap {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(10,20,23,0.08);
}

/* Grille logos fixes sous la carte */
.world-map-logos {
  max-width: var(--max);
  margin: clamp(28px, 4vw, 48px) auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1100px) { .world-map-logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .world-map-logos { grid-template-columns: repeat(2, 1fr); } }
.world-map-logos .trust-logo {
  height: auto;
  min-height: 62px;
  min-width: 0;
  width: 100%;
  padding: 16px 18px;
  cursor: pointer;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  position: relative;
}
.world-map-logos .trust-logo:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(150,40,24,0.12);
}
.world-map-logos .trust-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* Couleurs originales conservées (pas de monochrome) */
.world-map-logos .trust-logo img {
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
}
.world-map-logos .trust-logo:hover img {
  transform: scale(1.04);
}
/* État actif (logo cliqué — la map vient de zoomer) */
.world-map-logos .trust-logo.is-active {
  border-color: var(--accent);
  box-shadow: 0 14px 32px rgba(150,40,24,0.14), inset 0 0 0 1px var(--accent);
  transform: translateY(-3px);
}
.world-map-logos .trust-logo.is-active::after {
  content: '';
  position: absolute;
  top: 8px; right: 8px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(150,40,24,0.4);
  animation: livePulse 2s infinite;
}

/* ══════════════════════════════════════════════════════════
   BANDEAU CONFIANCE — logos clients défilants + compteur +30
   Le texte « Ils sont déjà … à nous faire confiance » enveloppe
   un marquee dont le centre est masqué pour laisser place au +30.
   ══════════════════════════════════════════════════════════ */
.trust-strip {
  padding: clamp(54px, 8vw, 104px) var(--gutter);
  text-align: center;
  overflow: hidden;
}
.trust-strip-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-strip-marquee {
  position: relative;
  max-width: var(--max);
  margin: clamp(10px, 1.6vw, 22px) auto;
  height: clamp(72px, 9vw, 104px);
}
/* Le viewport (et lui seul) est masqué : fondus aux bords + trou central
   pour que les logos « disparaissent » derrière le compteur. */
.trust-strip-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0, #000 72px,
    #000 calc(50% - 145px), transparent calc(50% - 90px),
    transparent calc(50% + 90px), #000 calc(50% + 145px),
    #000 calc(100% - 72px), transparent 100%);
          mask-image: linear-gradient(to right,
    transparent 0, #000 72px,
    #000 calc(50% - 145px), transparent calc(50% - 90px),
    transparent calc(50% + 90px), #000 calc(50% + 145px),
    #000 calc(100% - 72px), transparent 100%);
}
.trust-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: trust-strip-scroll 36s linear infinite;
}
/* marge (et non gap) pour un défilement parfaitement bouclé à -50% */
.trust-strip-track img {
  height: clamp(34px, 4vw, 48px);
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex-shrink: 0;
  margin-right: clamp(40px, 6vw, 86px);
}
@keyframes trust-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-strip-marquee:hover .trust-strip-track { animation-play-state: paused; }
.trust-strip-count {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-size: clamp(3.2rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.trust-strip-plus { font-size: 0.62em; transform: translateY(-0.16em); margin-right: 0.02em; }
@media (prefers-reduced-motion: reduce) {
  .trust-strip-track { animation: none; }
}

#world-map {
  width: 100%;
  height: clamp(420px, 60vh, 580px);
  background: var(--bg);
  z-index: 1;
}

/* ─── OVERRIDE LEAFLET pour matcher la palette ──────────────── */

/* Le reset global `*{max-width:100%}` réduit les divIcon (panes Leaflet sans
   largeur) à un trait fin, et bride l'anneau pulsant ::after (décentré) :
   on rétablit max-width:none sur les markers ET leurs pseudo-éléments. */
.leaflet-pane,
.leaflet-marker-icon,
.leaflet-marker-icon *,
.leaflet-marker-icon *::before,
.leaflet-marker-icon *::after { max-width: none !important; }

/* Marker custom (cercle brick avec halo pulsant) */
.cms-marker-wrap { background: transparent !important; border: none !important; }
.cms-marker {
  display: block;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border: 2.5px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--accent), 0 4px 12px rgba(150,40,24,0.35);
  position: relative;
}
.cms-marker::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: cmsMarkerPulse 2.6s ease-out infinite;
}
@keyframes cmsMarkerPulse {
  0%   { transform: scale(0.7); opacity: 0.6; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Popup custom — fond charcoal */
.leaflet-container { font-family: var(--body); background: var(--bg); }
.cms-popup .leaflet-popup-content-wrapper {
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(10,20,23,0.20);
  padding: 4px 6px;
}
.cms-popup .leaflet-popup-content {
  font-family: var(--body);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 8px 14px;
  color: var(--bg);
}
.cms-popup .leaflet-popup-content strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  display: block;
}
.cms-popup .cms-popup-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--clay);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cms-popup .leaflet-popup-tip { background: var(--ink); }

/* Contrôles zoom — minimalistes */
.leaflet-control-zoom {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(10,20,23,0.06) !important;
}
.leaflet-control-zoom a {
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  line-height: 32px !important;
  font-family: var(--display) !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  transition: background 0.3s, color 0.3s !important;
}
.leaflet-control-zoom a:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}
.leaflet-control-zoom-in { border-bottom: 1px solid var(--line) !important; }

.leaflet-control-attribution {
  background: rgba(255,255,255,0.85) !important;
  font-family: var(--mono) !important;
  font-size: 0.62rem !important;
  color: var(--text-muted) !important;
  padding: 2px 8px !important;
}
.leaflet-control-attribution a { color: var(--ink) !important; }

/* ══════════════════════════════════════════════════════════
   MAP COVERAGE — 3 mini-cartes territoriales (legacy)
   ══════════════════════════════════════════════════════════ */
.map-coverage {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.map-coverage-head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.map-coverage-head-text { max-width: 580px; }
.map-coverage-head-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.map-coverage-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .map-coverage-grid { grid-template-columns: 1fr; } }

.map-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}
.map-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px rgba(10,20,23,0.07);
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.map-card-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.map-card-region {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

/* Conteneur de la carte SVG */
.map-card-svg {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-warm);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-card-svg::before {
  /* grille filigrane subtile */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,20,23,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,20,23,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 90%);
}
.map-card-svg svg {
  position: relative;
  z-index: 1;
  width: 75%;
  height: 75%;
  overflow: visible;
}
.map-card-shape {
  fill: rgba(10,20,23,0.08);
  stroke: rgba(10,20,23,0.45);
  stroke-width: 0.6;
  stroke-linejoin: round;
  transition: fill 0.5s, stroke 0.5s;
}
.map-card:hover .map-card-shape {
  fill: rgba(150,40,24,0.10);
  stroke: var(--accent);
}
.map-card-marker {
  fill: var(--accent);
  transform-origin: center;
}
.map-card-marker.pulse {
  animation: markerPulse 2.4s infinite;
}
@keyframes markerPulse {
  0%, 100% { opacity: 0.85; r: 1.6; }
  50%      { opacity: 1; r: 2.2; }
}

.map-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.map-card-foot strong {
  color: var(--ink);
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  .map-card-marker.pulse { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════
   ILS NOUS ONT FAIT CONFIANCE — double marquee croisé (legacy)
   ══════════════════════════════════════════════════════════ */
.trust-section {
  padding: clamp(80px, 11vw, 130px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; gap: 40px; padding: 0 var(--gutter); }
}

.trust-text { max-width: 380px; }
.trust-text .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 18px; }
.trust-text-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-text-meta::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Conteneur des deux rangées */
.trust-marquees {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  /* fade aux extrémités pour effet "infini" propre */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-row {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.trust-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: trustScroll 42s linear infinite;
}
.trust-row.reverse .trust-track {
  animation-direction: reverse;
  animation-duration: 56s;
}
.trust-row:hover .trust-track {
  animation-play-state: paused;
}
@keyframes trustScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.trust-logo {
  flex-shrink: 0;
  height: 92px;
  min-width: 180px;
  padding: 18px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.trust-logo img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.62;
  mix-blend-mode: multiply;
  transition: filter 0.4s var(--ease-out), opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.trust-logo:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(150,40,24,0.08);
}
.trust-logo:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.04);
  mix-blend-mode: normal;
}

@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════
   PROJET DU MOMENT — section visuelle premium
   ══════════════════════════════════════════════════════════ */
.moment-section {
  padding: clamp(80px, 11vw, 140px) var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.moment-head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  flex-wrap: wrap;
}
.moment-head-text { max-width: 560px; }
.moment-head-link {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-bottom: 4px;
}
.moment-head-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.moment-head-link:hover::after { transform: scaleX(0); transform-origin: left; }
.moment-head-link svg { width: 12px; height: 12px; transition: transform 0.4s var(--ease-out); }
.moment-head-link:hover svg { transform: translate(3px, -3px); }

.moment-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) { .moment-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Visuel — image projet en grand */
.moment-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  display: block;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
  box-shadow: 0 24px 60px rgba(10,20,23,0.08);
}
.moment-visual:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(10,20,23,0.12);
}
.moment-visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 1.4s var(--ease-out);
}
.moment-visual:hover .moment-visual-bg { transform: scale(1.04); }
.moment-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,20,23,0.35) 100%);
  pointer-events: none;
}

/* Status flottant */
.moment-status {
  position: absolute;
  top: clamp(20px, 3vw, 32px);
  left: clamp(20px, 3vw, 32px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.4);
}
.moment-status .live-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.5);
  animation: livePulse 2.4s infinite;
}

/* Tag projet en bas */
.moment-visual-tag {
  position: absolute;
  bottom: clamp(20px, 3vw, 32px);
  left: clamp(20px, 3vw, 32px);
  z-index: 2;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Infos côté droit */
.moment-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 460px;
}
.moment-info .section-eyebrow { margin-bottom: 0; }
.moment-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0;
}
.moment-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.moment-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.moment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.moment-tags span {
  padding: 7px 14px;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.moment-info .btn { width: fit-content; margin-top: 8px; }

/* ══════════════════════════════════════════════════════════
   EXPERTISE LIST — liste typographique premium minimaliste
   ══════════════════════════════════════════════════════════ */
.expertise-list {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

.expertise-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) clamp(8px, 1.5vw, 24px);
  border-bottom: 1px solid var(--line);
  position: relative;
  text-decoration: none;
  color: var(--ink);
  transition: padding 0.5s var(--ease-out), background 0.5s var(--ease-out);
  isolation: isolate;
}
.expertise-item::before {
  /* underline brick qui se draw au hover */
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.7s var(--ease-out);
}
.expertise-item:hover::before { width: 100%; }
@media (hover: hover) {
  .expertise-item:hover { padding-left: clamp(18px, 2.5vw, 32px); padding-right: clamp(18px, 2.5vw, 32px); }
}

.expertise-num {
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.expertise-name {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  transition: transform 0.5s var(--ease-out), color 0.3s;
}
.expertise-item:hover .expertise-name { color: var(--accent); }

.expertise-cat {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 8px;
  display: block;
  transition: color 0.3s;
}
.expertise-item:hover .expertise-cat { color: var(--ink); }

.expertise-arrow {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  transition: background 0.4s var(--ease-out), border-color 0.4s, color 0.4s, transform 0.4s var(--ease-out);
}
.expertise-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease-out);
}
.expertise-item:hover .expertise-arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: rotate(-45deg);
}
.expertise-item:hover .expertise-arrow svg { transform: rotate(45deg); }

/* CTA central sous la liste */
.expertise-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(48px, 6vw, 80px);
}

@media (max-width: 700px) {
  .expertise-item { grid-template-columns: 50px 1fr auto; gap: 18px; }
  .expertise-cat { display: none; }
}

/* ══════════════════════════════════════════════════════════
   HERO MINIMALISTE — pleine largeur + animation de fond subtile
   ══════════════════════════════════════════════════════════ */
.hero-minimal {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 120px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Conteneur de l'animation background */
.hero-minimal-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Blobs gradient qui dérivent (mesh organique) */
.hero-minimal-bg .bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.hero-minimal-bg .bg-blob.one {
  width: 50vw; height: 50vw;
  top: -10%; right: -8%;
  background: radial-gradient(circle, rgba(150,40,24,0.18), transparent 70%);
  animation: blobDrift1 28s ease-in-out infinite;
}
.hero-minimal-bg .bg-blob.two {
  width: 42vw; height: 42vw;
  bottom: -12%; left: 8%;
  background: radial-gradient(circle, rgba(45,90,79,0.16), transparent 70%);
  animation: blobDrift2 34s ease-in-out infinite;
}
.hero-minimal-bg .bg-blob.three {
  width: 36vw; height: 36vw;
  top: 35%; left: 55%;
  background: radial-gradient(circle, rgba(150,40,24,0.10), transparent 70%);
  animation: blobDrift3 40s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-6%, 8%) scale(1.08); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(7%, -5%) scale(0.92); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-4%, -7%) scale(1.05); }
}

/* Grille très fine en filigrane */
.hero-minimal-bg .bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,20,23,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,20,23,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 90%);
}

/* Contenu principal — aligné gauche avec léger décalage */
.hero-minimal-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0;
  margin-left: clamp(20px, 6vw, 110px);
  padding-right: clamp(0px, 8vw, 200px);
}
@media (max-width: 700px) {
  .hero-minimal-inner { padding-right: 0; margin-left: 0; }
}

.hero-minimal-inner .hero-split-eyebrow {
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-minimal-inner .hero-split-title {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 40px;
  opacity: 0;
  transform: translateY(28px);
}
.hero-minimal-inner .hero-split-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.hero-minimal-inner .hero-split-title .light { color: var(--text-faint); font-weight: 600; }
.hero-minimal-inner .hero-split-title strong {
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.hero-minimal-inner .hero-split-title strong::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.08em;
  height: 0.1em;
  background: var(--accent);
  opacity: 0.85;
}

.hero-minimal-inner .hero-split-tags {
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-minimal-inner .hero-split-actions {
  opacity: 0;
  transform: translateY(20px);
}

/* Badge top-right */
.hero-minimal-badge {
  position: absolute;
  top: calc(var(--nav-h) + 28px);
  right: clamp(20px, 5vw, 88px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(10,20,23,0.05);
}
.hero-minimal-badge .live-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22,163,74,0.5);
  animation: livePulse 2.4s infinite;
}
@media (max-width: 600px) { .hero-minimal-badge { font-size: 0.76rem; padding: 8px 14px 8px 10px; } }

/* Footer engagement (pied du hero) — aligné avec le contenu principal */
.hero-minimal-meta {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: clamp(60px, 8vw, 100px) 0 0;
  margin-left: clamp(20px, 6vw, 110px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(20px);
}
.hero-minimal-meta strong { color: var(--ink); font-weight: 500; }
.hero-minimal-meta .hero-minimal-studio {
  margin-left: auto;
  color: var(--text-subtle);
}
@media (max-width: 700px) {
  .hero-minimal-meta { gap: 14px; }
  .hero-minimal-meta .hero-minimal-studio { margin-left: 0; flex-basis: 100%; }
}

/* Reduced motion : fige les blobs */
@media (prefers-reduced-motion: reduce) {
  .hero-minimal-bg .bg-blob { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════
   HERO SPLIT — style Afalence (titre + visuel animé) — LEGACY
   ══════════════════════════════════════════════════════════ */
.hero-split {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--nav-h) + 40px) 0 0 0;
  overflow: hidden;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 1000px) { .hero-split { grid-template-columns: 1fr; min-height: auto; padding-bottom: 0; } }

.hero-split-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 6vw, 90px) clamp(24px, 5vw, 80px) clamp(40px, 5vw, 70px);
  position: relative;
  z-index: 2;
}

.hero-split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-split-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-split-title {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 36px;
  opacity: 0;
  transform: translateY(28px);
}
.hero-split-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.hero-split-title .light { color: var(--text-faint); font-weight: 600; }

.hero-split-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-split-tags > span {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}
.hero-split-tags .sep {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.hero-split-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero-split-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(20px);
}
.hero-split-meta strong { color: var(--ink); font-weight: 500; }

/* Côté droit animé */
.hero-split-right {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  min-height: 100dvh;
}
@media (max-width: 1000px) { .hero-split-right { min-height: 56vh; aspect-ratio: 4/3; } }
@media (max-width: 600px) { .hero-split-right { min-height: 50vh; aspect-ratio: auto; height: 60vh; } }

/* Canvas Three.js — rubans animés en couvrant tout le côté droit */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1; /* sous le badge et le tag studio (z-index 3) */
  pointer-events: none;
}

.hero-diagonals {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--accent-deep) 60%, var(--accent) 100%);
}
.hero-diagonals::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 38px,
      rgba(255,255,255,0.04) 38px,
      rgba(255,255,255,0.04) 40px,
      transparent 40px,
      transparent 78px,
      rgba(255,255,255,0.025) 78px,
      rgba(255,255,255,0.025) 79px
    );
  animation: diagSlide 22s linear infinite;
}
@keyframes diagSlide {
  from { transform: translate(0, 0); }
  to { transform: translate(-78px, -78px); }
}
.hero-diagonals::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 30%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 80%, rgba(45,90,79,0.45), transparent 65%);
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: shapeFloat 14s ease-in-out infinite;
}
.hero-shape.one {
  top: 15%; left: 20%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
}
.hero-shape.two {
  bottom: 10%; right: 15%;
  background: radial-gradient(circle, rgba(45,90,79,0.55), transparent 70%);
  animation-delay: -7s;
}
@keyframes shapeFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.1); }
}

/* Tag flottant côté visuel */
.hero-split-badge {
  position: absolute;
  top: clamp(28px, 4vw, 56px);
  right: clamp(28px, 4vw, 56px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.hero-split-badge .live-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: livePulse 2.4s infinite;
}

.hero-split-num {
  position: absolute;
  bottom: clamp(28px, 4vw, 56px);
  left: clamp(28px, 4vw, 56px);
  z-index: 3;
  font-family: var(--display);
  font-size: clamp(0.82rem, 0.9vw, 0.9rem);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.005em;
  font-family: var(--mono);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-split-num strong {
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* ══════════════════════════════════════════════════════════
   STICKY STACK CARDS — étapes empilables (effet Afalence)
   ══════════════════════════════════════════════════════════ */
.stack-section {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg);
}
.stack-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 1000px) { .stack-wrap { grid-template-columns: 1fr; gap: 36px; } }

.stack-intro {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
@media (max-width: 1000px) { .stack-intro { position: static; } }

.stack-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.stack-card {
  position: sticky;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 16px 40px rgba(10,20,23,0.04);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
@media (max-width: 700px) { .stack-card { grid-template-columns: 1fr; gap: 14px; } }

.stack-card:nth-child(1) { top: calc(var(--nav-h) + 40px); }
.stack-card:nth-child(2) { top: calc(var(--nav-h) + 56px); }
.stack-card:nth-child(3) { top: calc(var(--nav-h) + 72px); }
.stack-card:nth-child(4) { top: calc(var(--nav-h) + 88px); }
.stack-card:nth-child(5) { top: calc(var(--nav-h) + 104px); }

.stack-card-num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  position: relative;
}
.stack-card-num::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 56px;
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.stack-card h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stack-card-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.stack-card p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.stack-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stack-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}
.stack-card li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   TILT 3D CARDS — hover dynamique
   ══════════════════════════════════════════════════════════ */
.tilt-card {
  position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.tilt-card-inner {
  transition: transform 0.4s var(--ease-out);
}
.tilt-card:hover .tilt-card-inner {
  transform: translateZ(20px);
}

/* Spotlight border effect */
.spotlight-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.spotlight-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle 200px at var(--x, 50%) var(--y, 50%), var(--accent-glow), transparent 80%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════
   MEGA MENU SERVICES (style Afalence)
   ══════════════════════════════════════════════════════════ */
.has-mega { position: relative; padding-bottom: 18px; margin-bottom: -18px; }
.has-mega > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.has-mega > a::before {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease-out);
  margin-left: 4px;
  order: 2;
}
.has-mega:hover > a::before { transform: rotate(225deg) translateY(0); }

.mega {
  position: fixed;
  top: calc(var(--nav-h) - 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(960px, calc(100vw - 48px));
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(31,37,48,0.10), 0 8px 24px rgba(31,37,48,0.06);
  padding: 18px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-out), transform 0.32s var(--ease-out), visibility 0.32s;
  z-index: 1100;
}
.mega::before {
  /* Pont hoverable invisible entre le lien Services et le panneau */
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
  background: transparent;
}
.has-mega:hover .mega,
.has-mega.open .mega,
.mega:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav.scrolled .mega { top: calc(68px - 6px); }

.mega-cats {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bg-warm);
  border-radius: 12px;
  padding: 10px;
}
.mega-cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
}
.mega-cat-label { display: flex; flex-direction: column; gap: 2px; }
.mega-cat-label small { font-family: var(--body); font-size: 0.78rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.mega-cat::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.4;
  transition: opacity 0.25s, transform 0.25s var(--ease-out);
}
.mega-cat:hover,
.mega-cat.active {
  background: var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}
.mega-cat.active::after { opacity: 1; transform: rotate(45deg) translateX(2px); }

.mega-panel {
  display: none;
  padding: 8px 8px 12px 12px;
}
.mega-panel.active { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
.mega-link {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  transition: background 0.25s;
}
.mega-link:hover { background: var(--bg-warm); }
.mega-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.mega-icon svg { width: 18px; height: 18px; stroke-width: 1.5; }
.mega-text { display: flex; flex-direction: column; gap: 2px; }
.mega-text strong { font-family: var(--display); font-size: 0.96rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.mega-text span { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

.mega-foot {
  grid-column: 1 / -1;
  display: flex; justify-content: flex-end; align-items: center;
  padding: 12px 16px 4px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.mega-foot a {
  font-size: 0.84rem; font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.mega-foot a svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease-out); }
.mega-foot a:hover svg { transform: translate(2px, -2px); }

@media (max-width: 1100px) {
  .mega { width: min(720px, calc(100vw - 48px)); grid-template-columns: 200px 1fr; }
  .mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .has-mega .mega { display: none !important; }
  .has-mega > a::before { display: none; }
  /* Mobile: collapsible menu inline */
  .nav-links.open .mobile-services-list {
    display: flex; flex-direction: column; gap: 10px;
    margin-top: 12px; align-items: center;
  }
  .nav-links.open .mobile-services-list a {
    font-size: 1.05rem; font-family: var(--body); font-weight: 400;
    color: var(--text-muted);
  }
}
.mobile-services-list { display: none; }

/* ══════════════════════════════════════════════════════════
   SERVICE PAGE — STYLE AFALENCE (creation-de-site, etc.)
   ══════════════════════════════════════════════════════════ */
.svc-hero {
  padding: calc(var(--nav-h) + 80px) var(--gutter) 100px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.svc-hero-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}
@media (max-width: 900px) { .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.svc-hero-crumb {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--text-muted); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.svc-hero-crumb a { color: var(--text-muted); transition: color 0.3s; }
.svc-hero-crumb a:hover { color: var(--accent); }
.svc-hero-crumb span { opacity: 0.4; }
.svc-hero-crumb strong { color: var(--ink); font-weight: 500; }

.svc-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 32px;
}
.svc-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.svc-hero-aside p {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 460px;
}
.svc-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Avantages / 4 cards */
.svc-advantages {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg-warm);
}
.svc-advantages-head {
  max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 64px);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: end;
}
@media (max-width: 900px) { .svc-advantages-head { grid-template-columns: 1fr; gap: 24px; } }

.svc-adv-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .svc-adv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-adv-grid { grid-template-columns: 1fr; } }

.svc-adv {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.svc-adv::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle 220px at var(--x, 50%) var(--y, 50%), var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.svc-adv:hover::before { opacity: 1; }
.svc-adv > * { position: relative; z-index: 1; }
.svc-adv:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 24px 50px rgba(10,20,23,0.06); }
.svc-adv-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.svc-adv-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.svc-adv h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.svc-adv p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Étapes / process */
.svc-steps {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg);
}
.svc-steps-head {
  max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 64px);
}
.svc-steps-list {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column;
}
.svc-step {
  display: grid; grid-template-columns: 80px 1fr 1.2fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-step:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .svc-step { grid-template-columns: 1fr; gap: 14px; } }

.svc-step-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.svc-step h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.15;
}
.svc-step-meta {
  font-family: var(--mono); font-size: 0.74rem;
  color: var(--text-muted); margin-top: 8px;
}
.svc-step-body p {
  font-size: 0.96rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}
.svc-step-body p:last-child { margin-bottom: 0; }
.svc-step-body ul { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.svc-step-body li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--text); line-height: 1.55;
}
.svc-step-body li::before {
  content: ''; width: 4px; height: 4px; background: var(--accent);
  border-radius: 50%; margin-top: 9px; flex-shrink: 0;
}

/* Erreurs à éviter */
.svc-pitfalls {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg-warm);
}
.svc-pitfalls-grid {
  max-width: var(--max); margin: clamp(40px, 6vw, 64px) auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .svc-pitfalls-grid { grid-template-columns: 1fr; } }
.svc-pitfall {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
}
.svc-pitfall-num {
  font-family: var(--mono); font-size: 0.74rem;
  color: var(--accent); margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.svc-pitfall h3 {
  font-family: var(--display); font-size: 1.2rem;
  font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 12px;
  line-height: 1.25;
}
.svc-pitfall p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Tarifs (3 cartes) */
.svc-tariffs {
  padding: clamp(80px, 11vw, 130px) var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.svc-tariffs-head {
  max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.svc-tariffs-head .section-eyebrow { justify-content: center; }
.svc-tariffs-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .svc-tariffs-grid { grid-template-columns: 1fr; } }
.svc-tariff {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
.svc-tariff::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  background: var(--accent);
  opacity: 0; transition: opacity 0.4s;
}
.svc-tariff.featured::before { opacity: 1; }
.svc-tariff:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 60px rgba(31,37,48,0.08); }
.svc-tariff h3 {
  font-family: var(--display); font-size: 1.3rem;
  font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 6px;
}
.svc-tariff-price {
  font-family: var(--display);
  font-size: 2rem; font-weight: 500; color: var(--accent);
  letter-spacing: -0.025em; line-height: 1;
  margin: 16px 0 6px;
}
.svc-tariff-when {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--text-muted); margin-bottom: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.svc-tariff ul {
  display: flex; flex-direction: column; gap: 10px;
  flex: 1; margin-bottom: 28px;
}
.svc-tariff li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text); line-height: 1.55;
}
.svc-tariff li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; stroke-width: 2; }
.svc-tariff .btn { width: 100%; justify-content: center; }

/* Service mini-CTA inline */
.svc-cta-inline {
  max-width: var(--max); margin: clamp(48px, 6vw, 70px) auto 0;
  background: var(--ink); color: var(--bg);
  border-radius: 22px; padding: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px;
  align-items: center;
}
@media (max-width: 800px) { .svc-cta-inline { grid-template-columns: 1fr; } }
.svc-cta-inline h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.1;
  color: var(--bg);
}
.svc-cta-inline h2 em { font-style: italic; color: var(--clay); }
.svc-cta-inline p {
  font-size: 0.96rem; color: rgba(245,241,230,0.7);
  line-height: 1.6; margin-top: 12px;
}
.svc-cta-inline-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .svc-cta-inline-actions { justify-content: flex-start; } }
.svc-cta-inline .btn-primary { background: var(--bg); color: var(--ink); }
.svc-cta-inline .btn-primary::before { background: var(--accent); }
.svc-cta-inline .btn-primary:hover { color: var(--bg); }
.svc-cta-inline .btn-outline { color: var(--bg); border-color: rgba(245,241,230,0.25); }
.svc-cta-inline .btn-outline:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }

/* ══════════════════════════════════════════════════════════
   CAS CLIENTS SEO (style screen 5)
   ══════════════════════════════════════════════════════════ */
.seo-cases {
  padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(80px, 11vw, 130px);
  background: var(--bg);
}
.seo-cases-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) { .seo-cases-grid { grid-template-columns: 1fr; } }

.seo-case {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  display: block;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.seo-case:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(31,37,48,0.18); }
.seo-case::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,37,48,0.55) 0%, rgba(31,37,48,0.85) 60%, rgba(31,37,48,0.95) 100%);
  z-index: 1;
  transition: background 0.5s;
}
.seo-case:hover::before {
  background:
    linear-gradient(180deg, rgba(74,89,73,0.5) 0%, rgba(31,37,48,0.85) 60%, rgba(31,37,48,0.95) 100%);
}
.seo-case-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.85) contrast(0.95);
  transition: transform 1.2s var(--ease-out);
}
.seo-case:hover .seo-case-bg { transform: scale(1.05); }

.seo-case-content {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(28px, 4vw, 48px);
  color: var(--bg);
}
.seo-case-kpi {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--bg);
  text-align: right;
  max-width: 80%;
  margin-left: auto;
}
.seo-case-kpi em { font-style: italic; color: var(--clay); font-weight: 500; }
.seo-case-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.seo-case-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 70%;
}
.seo-case-arrow {
  width: 44px; height: 44px;
  border: 1px solid rgba(245,241,230,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
}
.seo-case-arrow svg { width: 16px; height: 16px; stroke-width: 1.5; }
.seo-case:hover .seo-case-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-eyebrow, .hero-title, .hero-desc, .hero-actions, .hero-trust, .hero-bento, .reveal, .reveal-l { opacity: 1 !important; transform: none !important; }
  .testi-track, .marquee-track { animation: none !important; }
  .grain { display: none; }
  .page-transition { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════
   CARROUSEL 3D VERTICAL — Vitrine projets en barillet
   ══════════════════════════════════════════════════════════ */
.carousel3d-section {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  max-width: var(--max); margin: 0 auto;
  overflow: visible;
}

.carousel3d-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 64px;
  flex-wrap: wrap;
}
.carousel3d-head-text { flex: 1 1 auto; min-width: 280px; }
.carousel3d-head-link {
  color: var(--ink); font-size: 0.92rem; font-weight: 500;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
  transition: color .25s, gap .25s var(--ease-out);
}
.carousel3d-head-link:hover { color: var(--accent); gap: 14px; border-color: var(--accent); }
.carousel3d-head-link svg { width: 14px; height: 14px; }

.carousel3d-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .carousel3d-wrap { grid-template-columns: 1fr; }
}

/* SCENE 3D — perspective forte */
.carousel3d-stage {
  position: relative;
  height: 540px;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  overflow: visible;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.carousel3d-track {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
}
@media (max-width: 900px) { .carousel3d-stage { height: 460px; } }
@media (max-width: 600px) { .carousel3d-stage { height: 380px; } }

/* CARTE — toutes les cartes commencent au centre, puis sont distribuées via JS */
.carousel3d-card {
  position: absolute;
  top: 50%; left: 50%;
  width: min(78%, 700px);
  aspect-ratio: 16 / 10;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  transform: translate(-50%, -50%) translateY(0) translateZ(-1200px) rotateX(0) scale(0.6);
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(20,20,26,0.35), 0 0 0 1px rgba(0,0,0,0.04);
  background: var(--surface);
  transition:
    transform 0.85s cubic-bezier(.22,.61,.36,1),
    opacity 0.5s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.5s cubic-bezier(.22,.61,.36,1),
    filter 0.6s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
@media (max-width: 600px) {
  .carousel3d-card { width: 92%; aspect-ratio: 4/3; }
}

.carousel3d-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform .8s cubic-bezier(.22,.61,.36,1);
}
.carousel3d-card:hover .carousel3d-img { transform: scale(1.04); }

.carousel3d-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 28px 20px;
  background: linear-gradient(180deg, rgba(20,20,26,0) 0%, rgba(20,20,26,0.88) 100%);
  color: #fff;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
}
.carousel3d-name {
  font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1;
}
.carousel3d-tag {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.04em; opacity: 0.85;
  margin-top: 4px;
}

/* POSITIONS DES CARTES — appliquées via JS */
.carousel3d-card.is-active {
  transform: translate(-50%, -50%) translateY(0) translateZ(0) rotateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
  box-shadow: 0 40px 90px -20px rgba(20,20,26,0.45), 0 0 0 1px rgba(0,0,0,0.06);
}
.carousel3d-card.is-active .carousel3d-meta {
  transform: translateY(0); opacity: 1;
}

.carousel3d-card.is-prev {
  transform: translate(-50%, -50%) translateY(-260px) translateZ(-260px) rotateX(38deg) scale(0.82);
  opacity: 0.55;
  z-index: 8;
  filter: blur(0.3px);
}
.carousel3d-card.is-next {
  transform: translate(-50%, -50%) translateY(260px) translateZ(-260px) rotateX(-38deg) scale(0.82);
  opacity: 0.55;
  z-index: 8;
  filter: blur(0.3px);
}

.carousel3d-card.is-prev-2 {
  transform: translate(-50%, -50%) translateY(-440px) translateZ(-640px) rotateX(58deg) scale(0.62);
  opacity: 0.18;
  z-index: 6;
  filter: blur(1.2px);
}
.carousel3d-card.is-next-2 {
  transform: translate(-50%, -50%) translateY(440px) translateZ(-640px) rotateX(-58deg) scale(0.62);
  opacity: 0.18;
  z-index: 6;
  filter: blur(1.2px);
}

@media (max-width: 600px) {
  .carousel3d-card.is-prev { transform: translate(-50%, -50%) translateY(-180px) translateZ(-200px) rotateX(34deg) scale(0.78); }
  .carousel3d-card.is-next { transform: translate(-50%, -50%) translateY(180px) translateZ(-200px) rotateX(-34deg) scale(0.78); }
  .carousel3d-card.is-prev-2 { transform: translate(-50%, -50%) translateY(300px) translateZ(-500px) rotateX(54deg) scale(0.58); opacity: 0; }
  .carousel3d-card.is-next-2 { transform: translate(-50%, -50%) translateY(300px) translateZ(-500px) rotateX(-54deg) scale(0.58); opacity: 0; }
}

/* NAVIGATION — flèches haut/bas */
.carousel3d-nav {
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  padding: 0 8px;
}
@media (max-width: 900px) {
  .carousel3d-nav { flex-direction: row; justify-content: center; padding: 12px 0 0; }
}

.carousel3d-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px -6px rgba(20,20,26,0.18);
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    background .25s,
    color .25s,
    border-color .25s,
    box-shadow .35s;
}
.carousel3d-btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: scale(1.08);
  box-shadow: 0 10px 26px -10px rgba(20,20,26,0.42);
}
.carousel3d-btn:active { transform: scale(0.95); }
.carousel3d-btn svg { width: 22px; height: 22px; }

.carousel3d-indicator {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  padding: 4px 0;
}
.carousel3d-indicator-current {
  color: var(--ink); font-weight: 700;
  font-size: 1.1rem;
  font-feature-settings: "tnum";
  min-width: 1.3em; text-align: center;
}
.carousel3d-indicator-sep { opacity: 0.5; }

@media (prefers-reduced-motion: reduce) {
  .carousel3d-card { transition: opacity 0.3s linear; }
  .carousel3d-img { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   POPUP LEAD — Demandez votre maquette gratuite
   ══════════════════════════════════════════════════════════ */
.lead-popup {
  position: fixed; inset: 0;
  z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.lead-popup.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s cubic-bezier(.22,.61,.36,1), visibility 0s linear 0s;
}

.lead-popup-backdrop {
  position: absolute; inset: 0;
  background: rgba(20,20,26,0.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.lead-popup-card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  background: var(--bg);
  border-radius: 22px;
  box-shadow: 0 30px 90px -20px rgba(20,20,26,0.55), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 44px 40px 36px;
  overflow: hidden;
  overflow-y: auto;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  transition:
    transform .55s cubic-bezier(.22,.61,.36,1),
    opacity .45s cubic-bezier(.22,.61,.36,1);
}
.lead-popup.is-open .lead-popup-card {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: .08s;
}
@media (max-width: 600px) {
  .lead-popup { padding: 16px; }
  .lead-popup-card { padding: 36px 24px 28px; border-radius: 18px; }
}

.lead-popup-glow {
  position: absolute; pointer-events: none;
  top: -120px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
  opacity: 0.16;
  filter: blur(20px);
  z-index: 0;
}

.lead-popup-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 5;
  transition: background .2s, color .2s, transform .25s var(--ease-out);
}
.lead-popup-close:hover { background: var(--ink); color: var(--bg); transform: rotate(90deg); }
.lead-popup-close svg { width: 16px; height: 16px; }

/* ÉTATS — switch via classe is-active */
.lead-popup-state {
  position: relative;
  display: none;
  z-index: 1;
}
.lead-popup-state.is-active { display: block; animation: leadPopupSlide .55s cubic-bezier(.22,.61,.36,1); }

@keyframes leadPopupSlide {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.lead-popup-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.lead-popup-title {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}
.lead-popup-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.lead-popup-desc {
  color: var(--text-subtle);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0 0 24px;
}
.lead-popup-desc strong { color: var(--ink); font-weight: 600; }

/* BULLETS — offre */
.lead-popup-bullets {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.lead-popup-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--ink); font-weight: 500;
}
.lead-popup-bullets svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* BOUTONS */
.lead-popup-cta, .lead-popup-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: 0.96rem;
  margin-bottom: 14px;
}
.lead-popup-fine {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-subtle);
  text-align: center;
  letter-spacing: 0.04em;
  margin: 0;
}

/* FORMULAIRE */
.lead-popup-form { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.lead-popup-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .lead-popup-row { grid-template-columns: 1fr; } }
.lead-popup-field { display: flex; flex-direction: column; gap: 6px; }
.lead-popup-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.lead-popup-field input {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.lead-popup-field input::placeholder { color: var(--text-subtle); opacity: 0.7; }
.lead-popup-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(199, 64, 51, 0.12);
}
.lead-popup-field input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--accent);
}
.lead-popup-submit { margin-top: 8px; }

/* SUCCÈS */
.lead-popup-success-state .lead-popup-title { text-align: center; }
.lead-popup-success-state .lead-popup-desc { text-align: center; }
.lead-popup-check {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(199, 64, 51, 0.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  animation: leadPopupCheckIn .8s cubic-bezier(.22,.61,.36,1);
}
.lead-popup-check svg { width: 56px; height: 56px; }
.lead-popup-check svg circle, .lead-popup-check svg path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: leadPopupCheckDraw 1.2s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: .15s;
}
.lead-popup-check svg path { animation-delay: .55s; stroke-dasharray: 70; stroke-dashoffset: 70; }
@keyframes leadPopupCheckIn {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes leadPopupCheckDraw { to { stroke-dashoffset: 0; } }
.lead-popup-success-state .lead-popup-cta { margin-top: 8px; }

/* État loading sur submit */
.lead-popup-submit.is-loading {
  pointer-events: none; opacity: 0.7;
}
.lead-popup-submit.is-loading span::after {
  content: '...'; display: inline-block;
  animation: leadPopupDots 1.4s steps(3,end) infinite;
}
@keyframes leadPopupDots {
  0% { content: ''; }
  33% { content: '.'; }
  66% { content: '..'; }
  100% { content: '...'; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-popup, .lead-popup-card, .lead-popup-state, .lead-popup-check { animation: none !important; transition: opacity .2s linear !important; }
}

/* —— Fix taille bouton popup lead (la SVG flèche prenait toute la hauteur) —— */
.lead-popup-cta, .lead-popup-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px !important;
  font-size: 0.92rem !important;
  min-height: auto !important;
  height: auto !important;
  line-height: 1.2;
  border-radius: 999px;
}
.lead-popup-cta span, .lead-popup-submit span {
  display: inline-block;
  flex: 0 0 auto;
}
.lead-popup-cta svg, .lead-popup-submit svg {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   PAGE DÉMARRER UN PROJET — Overlay fullscreen sombre
   ══════════════════════════════════════════════════════════ */
body.page-start {
  background: #0a0a0e;
  color: #fff;
  overflow-x: hidden;
}
body.page-start .nav,
body.page-start .wa,
body.page-start .footer { display: none !important; }

.start-overlay {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,0.05) 0%, transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(199, 64, 51, 0.08) 0%, transparent 60%),
    #0a0a0e;
  padding: clamp(56px, 8vw, 90px) clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
}

/* Bouton fermer (X) en haut à droite */
.start-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .25s, transform .35s var(--ease-out);
  z-index: 10;
}
.start-close:hover { background: rgba(255,255,255,0.08); transform: rotate(90deg); }
.start-close svg { width: 22px; height: 22px; }

.start-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 900px) {
  .start-grid { grid-template-columns: 1fr; gap: 48px; }
  .start-overlay { padding: 80px 24px 60px; }
}

/* Colonne gauche : pitch */
.start-pitch { color: #fff; }
.start-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  font-weight: 500;
}
.start-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 32px;
}
.start-dot { color: var(--accent); }

.start-desc {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
  max-width: 560px;
}

.start-perks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.start-perks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.start-perks svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Colonne droite : card formulaire */
.start-card {
  background: #fff;
  border-radius: 22px;
  padding: clamp(32px, 4vw, 56px);
  color: var(--ink);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5);
  max-width: 640px;
  margin-left: auto;
  width: 100%;
}
.start-card-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 32px;
  line-height: 1.2;
}

/* Form layout */
.start-form { display: flex; flex-direction: column; gap: 26px; }
.start-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) { .start-row { grid-template-columns: 1fr; gap: 26px; } }

/* Champs avec label flottant (style minimal underline) */
.start-field {
  position: relative;
}
.start-field input,
.start-field textarea,
.start-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 8px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, padding .2s;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.start-field textarea {
  resize: vertical;
  min-height: 80px;
  padding-top: 26px;
}
.start-field label {
  position: absolute;
  left: 0; top: 22px;
  font-size: 0.96rem;
  color: var(--text-subtle);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .25s var(--ease-out), color .25s;
}
/* Label flottant : remonte quand input rempli ou focus */
.start-field input:focus + label,
.start-field input:not(:placeholder-shown) + label,
.start-field textarea:focus + label,
.start-field textarea:not(:placeholder-shown) + label,
.start-field select:focus + label,
.start-field select:valid + label {
  transform: translateY(-22px) scale(0.78);
  color: var(--accent);
}
.start-field input:focus,
.start-field textarea:focus,
.start-field select:focus {
  border-bottom-color: var(--accent);
}

/* Select chevron */
.start-field-select { position: relative; }
.start-field-select select { cursor: pointer; }
.start-field-chevron {
  position: absolute;
  right: 0; top: 28px;
  width: 14px; height: 14px;
  color: var(--text-subtle);
  pointer-events: none;
}

/* Textarea field counter */
.start-field-area label { padding-right: 60px; }
.start-counter {
  position: absolute;
  right: 0; top: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  transform: translateY(0) scale(1) !important;
  pointer-events: none;
}
.start-counter.ok { color: var(--accent); }

/* Submit button — black pill, ENVOYER */
.start-submit {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 20px 28px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 12px;
  transition: background .25s, transform .35s var(--ease-out), box-shadow .35s;
  box-shadow: 0 8px 24px -8px rgba(20,20,26,0.4);
}
.start-submit:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(20,20,26,0.55);
}
.start-submit:active { transform: translateY(0); }
.start-submit.is-loading { opacity: 0.6; pointer-events: none; }

/* État succès */
.start-success {
  text-align: center;
  padding: 12px 0;
  animation: leadPopupSlide .55s cubic-bezier(.22,.61,.36,1);
}
.start-success-check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(199, 64, 51, 0.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.start-success-check svg { width: 54px; height: 54px; }
.start-success h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.start-success p {
  color: var(--text-subtle);
  font-size: 0.94rem;
  line-height: 1.55;
  margin: 0 0 24px;
}
.start-success p strong { color: var(--ink); font-weight: 600; }
.start-success-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: gap .25s var(--ease-out);
}
.start-success-link:hover { letter-spacing: 0.02em; }

/* Loader / page transition se réutilisent tels quels — body classe page-start hide nav/wa/footer */

@media (max-width: 600px) {
  .start-card { padding: 32px 24px; }
  .start-close { top: 16px; right: 16px; }
}

/* ══════════════════════════════════════════════════════════
   REFONTE V2 — Sections éditoriales (style site, pas PDF)
   ══════════════════════════════════════════════════════════ */

.refonte-tech-v2, .refonte-impact-v2 {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  background: var(--bg);
}
.refonte-tech-v2 .refonte-wrap,
.refonte-impact-v2 .refonte-wrap {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(56px, 8vw, 100px);
}

/* Header éditorial */
.ref2-header { max-width: 880px; }
.ref2-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.ref2-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 26px;
}
.ref2-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.ref2-dot { color: var(--accent); }
.ref2-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-subtle);
  max-width: 680px;
  margin: 0;
}
.ref2-lead strong { color: var(--ink); font-weight: 600; }
.ref2-mini-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

/* Section CRAFT texte + code asymetrique */
.ref2-craft {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .ref2-craft { grid-template-columns: 1fr; gap: 40px; }
}
.ref2-craft-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 22px;
}
.ref2-craft-title em { font-style: italic; color: var(--accent); }
.ref2-craft-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-subtle);
  max-width: 460px;
  margin: 0;
}

/* Code terminal léger */
.ref2-craft-code {
  background: linear-gradient(180deg, #16161d 0%, #0d0d12 100%);
  border-radius: 14px;
  padding: 22px 0 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(20,20,26,0.4);
}
.ref2-craft-code-meta {
  display: flex; align-items: center; gap: 6px;
  padding: 0 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 18px;
}
.ref2-dot-r, .ref2-dot-y, .ref2-dot-g {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.ref2-dot-r { background: #ff5f57; }
.ref2-dot-y { background: #febc2e; }
.ref2-dot-g { background: #28c840; }
.ref2-craft-code-file {
  margin-left: 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.ref2-craft-snippet {
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0;
  padding: 0;
  white-space: pre;
  overflow-x: auto;
}
.ref2-craft-snippet .line {
  display: block;
  padding: 0 22px;
  position: relative;
}
.ref2-craft-snippet .num {
  display: inline-block;
  width: 22px;
  color: rgba(255,255,255,0.25);
  font-size: 0.72rem;
  user-select: none;
}
.ref2-craft-snippet .tag { color: #ff8b88; }
.ref2-craft-snippet .attr { color: #c9a3ff; }
.ref2-craft-snippet .str { color: #b3d99c; }

/* Liste typographique 4 avantages */
.ref2-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.ref2-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .35s var(--ease-out), padding .35s var(--ease-out);
}
.ref2-row::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width .4s var(--ease-out);
}
.ref2-row:hover {
  background: var(--surface);
  padding-left: clamp(16px, 2.5vw, 32px);
  padding-right: clamp(16px, 2.5vw, 32px);
}
.ref2-row:hover::before { width: 3px; }
.ref2-row:hover .ref2-num { color: var(--accent); }
.ref2-num {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  transition: color .35s;
  align-self: start;
  padding-top: 6px;
}
.ref2-row-body { max-width: 620px; }
.ref2-row-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
}
.ref2-row-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-subtle);
  margin: 0;
}
.ref2-row-desc strong { color: var(--ink); font-weight: 600; }
.ref2-row-kpi {
  display: flex; flex-direction: column;
  align-items: flex-end;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.ref2-row-kpi small {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .ref2-row { grid-template-columns: 52px 1fr; gap: 14px; }
  .ref2-row-kpi {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    margin-top: 8px;
    text-align: left;
  }
  .ref2-row-kpi small { margin-top: 0; }
}

/* Punchline éditoriale */
.ref2-punch {
  text-align: center;
  margin: 0;
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 40px);
  border: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ref2-punch p {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 900px;
}
.ref2-punch p em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}
.ref2-punch cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  max-width: 600px;
  margin: 0 auto;
}

/* 3 KPIs énormes typo dominante */
.ref2-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}
.ref2-kpi {
  padding: 24px clamp(20px, 3vw, 36px) 8px;
  text-align: center;
  position: relative;
}
.ref2-kpi + .ref2-kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 1px;
  background: var(--line);
}
@media (max-width: 800px) {
  .ref2-kpis { grid-template-columns: 1fr; }
  .ref2-kpi + .ref2-kpi::before {
    top: 0; bottom: auto;
    left: 24px; right: 24px;
    width: auto; height: 1px;
  }
}
.ref2-kpi-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 16px;
}
.ref2-kpi-unit {
  color: var(--accent);
  font-weight: 700;
}
.ref2-kpi-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ref2-kpi-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-subtle);
  max-width: 280px;
  margin: 0 auto;
}

/* Comparaison avant/après */
.ref2-compare {
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 5vw, 60px);
}
.ref2-compare-head { margin-bottom: 36px; }
.ref2-compare-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.ref2-compare-arrow {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 400;
}
.ref2-compare-table {
  display: flex; flex-direction: column;
}
.ref2-compare-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.6fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px) 0;
  border-bottom: 1px solid var(--line);
}
.ref2-compare-row-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.ref2-compare-row-head .ref2-compare-cell-label,
.ref2-compare-row-head .ref2-compare-cell-before,
.ref2-compare-row-head .ref2-compare-cell-after {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ref2-compare-cell-label {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
}
.ref2-compare-cell-before {
  font-family: var(--display);
  color: var(--text-subtle);
  text-align: left;
}
.ref2-compare-cell-after {
  font-family: var(--display);
  color: var(--ink);
  display: flex; flex-direction: column;
  gap: 8px;
}
.ref2-compare-num {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.ref2-compare-cell-after .ref2-compare-num { color: var(--ink); }
.ref2-compare-zero { opacity: 0.4; font-weight: 400; }
.ref2-compare-highlight {
  color: var(--accent) !important;
  background: rgba(199, 64, 51, 0.08);
  display: inline-block !important;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}
.ref2-compare-bar {
  display: block;
  height: 4px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
  width: 100%;
  max-width: 280px;
}
.ref2-compare-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--clay, var(--accent)));
  border-radius: 99px;
  animation: ref2BarFill 1.4s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: .3s;
}
@keyframes ref2BarFill { to { width: var(--w, 60%); } }
.ref2-compare-row-final .ref2-compare-num { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
@media (max-width: 700px) {
  .ref2-compare-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .ref2-compare-row-head { display: none; }
  .ref2-compare-cell-label { font-size: 0.84rem; color: var(--text-subtle); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
  .ref2-compare-cell-before::before { content: "Avant — "; font-family: var(--mono); font-size: 0.7rem; color: var(--text-subtle); letter-spacing: 0.04em; }
  .ref2-compare-cell-after::before { content: "Après — "; font-family: var(--mono); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.04em; }
}
.ref2-compare-fine {
  margin: 24px 0 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-subtle);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════
   REFONTE V2 — Sections "Qu'est-ce qu'une refonte" + "Pourquoi refaire"
   ══════════════════════════════════════════════════════════ */
.refonte-base-v2, .refonte-why-v2 {
  padding: clamp(80px, 12vw, 140px) var(--gutter);
  background: var(--bg);
}
.refonte-base-v2 .refonte-wrap,
.refonte-why-v2 .refonte-wrap {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(56px, 8vw, 100px);
}

/* ─── Trio Préserver / Moderniser / Booster ─── */
.ref2-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ref2-trio-item {
  padding: clamp(32px, 4vw, 50px) clamp(24px, 3vw, 40px);
  position: relative;
  transition: background .35s var(--ease-out);
}
.ref2-trio-item + .ref2-trio-item::before {
  content: "";
  position: absolute;
  left: 0; top: 32px; bottom: 32px;
  width: 1px;
  background: var(--line);
}
.ref2-trio-item:hover { background: var(--surface); }
.ref2-trio-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.ref2-trio-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
}
.ref2-trio-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-subtle);
  margin: 0;
}
.ref2-trio-desc strong { color: var(--ink); font-weight: 600; }
@media (max-width: 800px) {
  .ref2-trio { grid-template-columns: 1fr; }
  .ref2-trio-item + .ref2-trio-item::before {
    top: 0; bottom: auto;
    left: 24px; right: 24px;
    width: auto; height: 1px;
  }
}

/* ─── Timeline horizontale "Parcours visiteur" ─── */
.ref2-timeline {
  display: flex; flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.ref2-timeline-head { max-width: 700px; }
.ref2-timeline-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.ref2-timeline-track {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: timeline;
}
.ref2-timeline-track::before {
  content: "";
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.ref2-timeline-step {
  position: relative;
  padding: 0 16px 0 0;
  z-index: 1;
}
.ref2-timeline-step::before {
  content: "";
  position: absolute;
  top: 16px; left: 0;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  transition: background .35s, border-color .35s, transform .35s var(--ease-out);
}
.ref2-timeline-step:hover::before {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
}
.ref2-timeline-step-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  margin: 50px 0 14px;
}
.ref2-timeline-step h5 {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.ref2-timeline-step p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-subtle);
  margin: 0;
}
@media (max-width: 800px) {
  .ref2-timeline-track { grid-template-columns: 1fr; gap: 24px; }
  .ref2-timeline-track::before {
    top: 0; left: 22px; right: auto;
    width: 1px; height: 100%;
  }
  .ref2-timeline-step { padding-left: 50px; }
  .ref2-timeline-step::before { top: 24px; left: 16px; }
  .ref2-timeline-step-num { margin-top: 16px; }
}

/* ─── Section "Pourquoi refaire" — comparaison avant/après éditoriale ─── */
.ref2-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.ref2-vs::before {
  content: "";
  position: absolute;
  top: 32px; bottom: 32px;
  left: 50%;
  width: 1px;
  background: var(--line);
}
.ref2-vs-col {
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 50px);
}
.ref2-vs-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.ref2-vs-before .ref2-vs-tag { color: var(--text-subtle); }
.ref2-vs-after .ref2-vs-tag { color: var(--accent); }
.ref2-vs-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 32px;
}
.ref2-vs-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.ref2-vs-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 18px;
}
.ref2-vs-list li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-subtle);
}
.ref2-vs-list li svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ref2-vs-before .ref2-vs-list li {
  opacity: 0.78;
  text-decoration: line-through;
  text-decoration-color: rgba(20,20,26,0.18);
  text-decoration-thickness: 1px;
}
.ref2-vs-before .ref2-vs-list li svg { color: var(--text-subtle); }
.ref2-vs-after .ref2-vs-list li { color: var(--ink); opacity: 1; }
.ref2-vs-after .ref2-vs-list li svg { color: var(--accent); }
.ref2-vs-after .ref2-vs-list li strong { color: var(--ink); font-weight: 700; }
@media (max-width: 800px) {
  .ref2-vs { grid-template-columns: 1fr; }
  .ref2-vs::before {
    top: auto; bottom: auto;
    left: 32px; right: 32px;
    width: auto; height: 1px;
    top: 50%;
  }
}

/* ─── 3 objectifs en liste éditoriale ─── */
.ref2-goals {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding-top: clamp(40px, 5vw, 60px);
}
.ref2-goals-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.ref2-goals-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.ref2-goal {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease-out);
}
.ref2-goal:hover { padding-left: 16px; padding-right: 16px; }
.ref2-goal:hover .ref2-goal-num { color: var(--accent); }
.ref2-goal-num {
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-subtle);
  line-height: 1;
  transition: color .35s;
}
.ref2-goal p {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  font-weight: 400;
}
.ref2-goal p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 800px) {
  .ref2-goals { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .ref2-goal { grid-template-columns: 48px 1fr; gap: 14px; }
}

/* ══════════════════════════════════════════════════════════
   MOCKUP LEGACY — cadre orange + label "Ancien site"
   ══════════════════════════════════════════════════════════ */
.mockup.mockup-legacy {
  position: relative;
  border: 2px solid #e07a3c;
  box-shadow: 0 0 0 1px rgba(224, 122, 60, 0.15), 0 18px 40px -16px rgba(224, 122, 60, 0.35);
  isolation: isolate;
}
.mockup.mockup-legacy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(224, 122, 60, 0.08) 0%, rgba(224, 122, 60, 0) 40%);
  pointer-events: none;
  z-index: 1;
}
/* Override le > * { display: none } de .mockup-detail-img pour laisser passer le tag */
.mockup.mockup-detail-img.mockup-legacy > .mockup-legacy-tag,
.mockup.mockup-legacy > .mockup-legacy-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: #e07a3c;
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(224, 122, 60, 0.55);
}
.mockup-legacy-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  flex-shrink: 0;
  animation: legacyPulse 2.4s ease-in-out infinite;
}
@keyframes legacyPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ══════════════════════════════════════════════════════════
   AVANT / APRÈS — Section exemple concret refonte
   ══════════════════════════════════════════════════════════ */
.refonte-ba {
  padding: clamp(70px, 9vw, 110px) var(--gutter);
  background: var(--bg);
}
.refonte-ba .refonte-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: clamp(44px, 6vw, 72px);
}
.ba-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 24px;
}
.ba-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.ba-lead {
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-subtle);
  margin: 0;
  max-width: 600px;
}
.ba-lead strong { color: var(--ink); font-weight: 600; }

/* Stage 3 colonnes : avant | flèche | après */
.ba-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(20px, 3.5vw, 50px);
  align-items: center;
}
@media (max-width: 800px) {
  .ba-stage { grid-template-columns: 1fr; gap: 32px; }
}

.ba-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 10;
  transition:
    transform .55s cubic-bezier(.22,.61,.36,1),
    box-shadow .55s cubic-bezier(.22,.61,.36,1);
}
.ba-card:hover { transform: translateY(-4px); }

.ba-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: transform .8s cubic-bezier(.22,.61,.36,1), filter .55s;
}
.ba-card:hover .ba-card-img { transform: scale(1.04); }

/* Carte AVANT — désaturée, cadre orange terracotta */
.ba-card-before {
  border: 1.5px solid #e07a3c;
  box-shadow: 0 14px 40px -20px rgba(224, 122, 60, 0.45);
}
.ba-card-before .ba-card-img {
  filter: saturate(0.6) brightness(0.96);
}
.ba-card-before:hover .ba-card-img {
  filter: saturate(0.7) brightness(0.98);
}

/* Carte APRÈS — net, ombre profonde, accent à peine visible au hover */
.ba-card-after {
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px rgba(20,20,26,0.28);
}
.ba-card-after:hover { box-shadow: 0 28px 60px -18px rgba(20,20,26,0.35); }

/* Tags Avant / Après — pills en haut à gauche */
.ba-card-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ba-tag-before {
  background: #e07a3c;
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(224, 122, 60, 0.55);
}
.ba-tag-after {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 4px 14px -4px rgba(20, 20, 26, 0.4);
}
.ba-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: legacyPulse 2.4s ease-in-out infinite;
}

/* Caption sous chaque card */
.ba-card-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(180deg, rgba(20,20,26,0) 0%, rgba(20,20,26,0.88) 100%);
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease-out);
}
.ba-card:hover .ba-card-caption { opacity: 1; transform: translateY(0); }

/* FLÈCHE ANIMÉE — trail + disque */
.ba-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 12vw, 140px);
  height: 80px;
}
@media (max-width: 800px) {
  .ba-arrow { width: 60px; height: 60px; transform: rotate(90deg); margin: 0 auto; }
}

.ba-arrow-trail {
  position: absolute;
  left: 0; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 1;
}
.ba-arrow-trail span {
  display: block;
  width: 6px; height: 2px;
  background: var(--line);
  border-radius: 99px;
  opacity: 0.7;
  animation: baFlow 1.8s ease-in-out infinite;
}
.ba-arrow-trail span:nth-child(1) { animation-delay: 0s; }
.ba-arrow-trail span:nth-child(2) { animation-delay: 0.15s; }
.ba-arrow-trail span:nth-child(3) { animation-delay: 0.3s; }
.ba-arrow-trail span:nth-child(4) { animation-delay: 0.45s; }

@keyframes baFlow {
  0% { opacity: 0; transform: translateX(-10px); background: var(--line); }
  40% { opacity: 1; background: var(--accent); }
  100% { opacity: 0; transform: translateX(20px); background: var(--accent); }
}

.ba-arrow-disc {
  position: relative;
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -8px rgba(20,20,26,0.5);
  animation: baBreathe 3s ease-in-out infinite;
}
.ba-arrow-disc svg { width: 22px; height: 22px; }
.ba-arrow-disc::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0;
  animation: baRipple 3s ease-out infinite;
}
@keyframes baBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes baRipple {
  0% { transform: scale(0.7); opacity: 0; }
  35% { opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* CTA pied de section */
.ba-footnote {
  display: flex;
  justify-content: center;
}
.ba-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  transition: color .25s, gap .25s var(--ease-out), border-color .25s;
}
.ba-cta:hover { color: var(--accent); border-color: var(--accent); gap: 16px; }
.ba-cta svg { width: 12px; height: 12px; }

@media (prefers-reduced-motion: reduce) {
  .ba-arrow-trail span, .ba-arrow-disc, .ba-arrow-disc::after, .ba-tag-dot { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════
   PASTILLE "REFONTE" — Badge sur les cartes portfolio
   ══════════════════════════════════════════════════════════ */
.gcard-badge-refonte {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 11px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 14px -4px rgba(20, 20, 26, 0.5), 0 0 0 1px rgba(255,255,255,0.08) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: transform .4s var(--ease-out), background .25s;
}
.gcard-badge-refonte svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  animation: refonteSpin 4s linear infinite;
  transform-origin: 50% 50%;
}
.gcard:hover .gcard-badge-refonte {
  transform: scale(1.05);
  background: var(--accent);
}
.gcard:hover .gcard-badge-refonte svg {
  color: #fff;
  animation-duration: 1.2s;
}
@keyframes refonteSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .gcard-badge-refonte svg { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════
   CAS CLIENT SEO KINÉ'SENS — Page complète
   ══════════════════════════════════════════════════════════ */
.csc-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Hero ajusté */
.csc-hero .page-hero-inner h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.csc-hero .page-hero-inner h1 em { color: var(--accent); font-style: italic; }
.csc-dot { color: var(--accent); }
.csc-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

/* Section heads génériques */
.csc-section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.csc-mini-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.csc-section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}
.csc-section-title em { font-style: italic; color: var(--accent); font-weight: 700; }
.csc-section-lead {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-subtle);
  margin: 12px 0 0;
}
.csc-section-lead em { color: var(--text-subtle); font-style: italic; opacity: 0.85; }

/* —— Vidéo —— */
.csc-video-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg);
}
.csc-video-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(20,20,26,0.4);
  aspect-ratio: 16/9;
}
.csc-video-frame video {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  background: var(--ink);
}

/* —— KPIs strip —— */
.csc-kpis-section {
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.csc-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.csc-kpi {
  padding: clamp(26px, 3.5vw, 40px) clamp(20px, 2.5vw, 30px);
  position: relative;
  text-align: left;
}
.csc-kpi + .csc-kpi::before {
  content: "";
  position: absolute;
  left: 0; top: 26px; bottom: 26px;
  width: 1px;
  background: var(--line);
}
.csc-kpi-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.csc-kpi-unit {
  color: var(--accent);
  font-weight: 700;
}
.csc-kpi-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.csc-kpi-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-subtle);
  margin: 0;
}
.csc-kpi-desc strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .csc-kpis { grid-template-columns: repeat(2, 1fr); }
  .csc-kpi:nth-child(3)::before, .csc-kpi:nth-child(4)::before {
    /* keep vertical dividers between cols */
  }
}
@media (max-width: 560px) {
  .csc-kpis { grid-template-columns: 1fr; }
  .csc-kpi + .csc-kpi::before {
    top: 0; bottom: auto;
    left: 20px; right: 20px;
    width: auto; height: 1px;
  }
}

/* —— Graphique GSC —— */
.csc-chart-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg);
}
.csc-chart-wrap {
  background: var(--surface);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  position: relative;
}
.csc-chart-legend {
  display: flex;
  gap: 28px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.csc-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.csc-chart-swatch {
  width: 22px; height: 3px;
  border-radius: 99px;
  display: inline-block;
}
.csc-swatch-clics { background: var(--accent); }
.csc-swatch-imps { background: rgba(120,120,140,0.55); }

.csc-chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.csc-chart .csc-grid line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.csc-chart .csc-axis-y text,
.csc-chart .csc-axis-x text,
.csc-chart .csc-chart-year {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--text-subtle);
  letter-spacing: 0.04em;
}
.csc-chart .csc-chart-year { font-size: 10px; opacity: 0.6; }
.csc-chart .csc-axis-y text { text-anchor: end; }
.csc-chart .csc-axis-x text { text-anchor: middle; }

.csc-area-imps {
  fill: url(#cscImpsGrad);
  stroke: rgba(120,120,140,0.55);
  stroke-width: 1.5;
  opacity: 0;
  animation: cscFadeIn .9s ease forwards .3s;
}
.csc-line-clics {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: cscDraw 1.8s cubic-bezier(.22,.61,.36,1) forwards .4s;
}
.csc-chart .csc-points circle {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0;
  animation: cscFadeIn .4s ease forwards;
}
.csc-chart .csc-points circle:nth-child(1)  { animation-delay: 0.8s; }
.csc-chart .csc-points circle:nth-child(3)  { animation-delay: 1.0s; }
.csc-chart .csc-points circle:nth-child(5)  { animation-delay: 1.2s; }
.csc-chart .csc-points circle:nth-child(7)  { animation-delay: 1.4s; }
.csc-chart .csc-points circle:nth-child(9)  { animation-delay: 1.6s; }
.csc-chart .csc-points circle:nth-child(11) { animation-delay: 1.8s; }
.csc-chart .csc-points circle:nth-child(13) { animation-delay: 2.0s; }
.csc-chart .csc-points .csc-point-peak {
  fill: var(--accent);
  stroke: var(--bg);
  r: 6;
}
.csc-chart .csc-points text {
  font-family: var(--mono);
  font-size: 11px;
  fill: var(--ink);
  font-weight: 600;
  text-anchor: middle;
  opacity: 0;
  animation: cscFadeIn .4s ease forwards 2.2s;
}
.csc-chart .csc-points .csc-point-label-peak {
  fill: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

@keyframes cscDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes cscFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.csc-chart-source {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.03em;
}

/* ── Capture GSC authentique (remplace le SVG) ── */
.csc-gsc-shot {
  background: var(--surface);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(20,20,26,0.28);
  border: 1px solid var(--line);
}
.csc-gsc-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: linear-gradient(180deg, #fafafa 0%, #f2f2f2 100%);
  border-bottom: 1px solid var(--line);
}
.csc-gsc-dot {
  width: 11px; height: 11px; border-radius: 50%;
  flex-shrink: 0;
}
.csc-gsc-dot.r { background: #ff5f57; }
.csc-gsc-dot.y { background: #febc2e; }
.csc-gsc-dot.g { background: #28c840; }
.csc-gsc-url {
  margin-left: 16px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.csc-gsc-badge {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(199, 64, 51, 0.05);
}
.csc-gsc-shot img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.csc-gsc-shot .csc-chart-source {
  padding: 14px 22px 18px;
  margin: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .csc-gsc-url { display: none; }
  .csc-gsc-bar { padding: 10px 14px; }
}

/* —— Top requêtes liste —— */
.csc-queries-section {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--bg);
}
.csc-queries {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.csc-queries li {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: clamp(16px, 2.5vw, 32px);
  align-items: center;
  padding: clamp(22px, 3vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease-out), background .35s;
}
.csc-queries li:hover {
  background: var(--surface);
  padding-left: 18px;
  padding-right: 18px;
}
.csc-query-rank {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-subtle);
  line-height: 1;
}
.csc-queries li:first-child .csc-query-rank,
.csc-queries li:nth-child(2) .csc-query-rank {
  color: var(--accent);
}
.csc-query-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.csc-query-text {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.2;
}
.csc-query-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}
.csc-query-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
}
.csc-query-badge-soft {
  background: transparent;
  color: var(--text-subtle);
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .csc-queries li { grid-template-columns: 50px 1fr; gap: 14px; }
  .csc-query-badge { grid-column: 1 / -1; justify-self: start; }
}

/* —— Carte cas client unique —— */
.csc-cases-grid-single {
  grid-template-columns: 1fr !important;
  max-width: 1180px;
  margin: 0 auto;
}
.csc-cases-grid-single .seo-case {
  aspect-ratio: 21 / 9;
}
@media (max-width: 700px) {
  .csc-cases-grid-single .seo-case { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .csc-line-clics, .csc-area-imps, .csc-chart .csc-points circle, .csc-chart .csc-points text {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ══════════════════════════════════════════════════════════
   ════════════ MOBILE OPTIMIZATION GLOBAL ══════════════════
   Bonnes pratiques tap targets, scaling iOS, inputs, nav
   ══════════════════════════════════════════════════════════ */

/* Eviter le zoom iOS sur focus input/select/textarea (font-size ≥ 16px requis) */
@media (max-width: 900px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Eviter le horizontal overflow general */
html, body { overflow-x: hidden; }
body { max-width: 100vw; }

/* Tap targets minimum 44x44 partout (recommandation WCAG/iOS HIG) */
@media (hover: none) and (pointer: coarse) {
  button, a.btn, .btn, .nav-cta-btn, .nav-links > a, .nav-hamburger,
  .lead-popup-close, .start-close, input[type="submit"], input[type="button"] {
    min-height: 44px;
  }
  .nav-hamburger { min-width: 44px; }
}

/* ── Mobile : Navigation ── */
@media (max-width: 960px) {
  /* Mega menu services : afficher en accordion mobile au lieu de le cacher */
  .has-mega { width: 100%; text-align: center; }
  .has-mega > a { display: inline-block; }
  .mega {
    position: static !important;
    display: none !important; /* on garde caché, on simplifie l'UX mobile */
  }
  /* Nav overlay : padding safe-area pour iPhone notch */
  .nav-links {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  .nav-links > a {
    padding: 8px 24px;
    text-align: center;
    line-height: 1.2;
  }
}

/* ── Mobile : Hero & titres geants ── */
@media (max-width: 700px) {
  /* Reduire les titres hero qui peuvent depasser */
  .hero-minimal-title, .start-title, .csc-hero h1, .page-hero h1 {
    font-size: clamp(2rem, 9vw, 3.4rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
  }
  /* Hero leads */
  .hero-minimal-meta, .page-hero p, .csc-hero p {
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }
  /* Padding gutter reduit */
  body { --gutter: 20px; }
}

/* ── Mobile : Boutons ── */
@media (max-width: 600px) {
  .btn {
    padding: 16px 24px;
    font-size: 0.92rem;
    width: auto;
    max-width: 100%;
  }
  /* CTA full-width sur mobile pour eviter les minuscules pills */
  .lead-popup-cta, .lead-popup-submit, .start-submit, .footer-cta {
    width: 100%;
    justify-content: center;
  }
  /* Pile les boutons CTA-inline verticalement */
  .svc-cta-inline-actions, .start-grid .start-actions {
    flex-direction: column;
    width: 100%;
  }
  .svc-cta-inline-actions > * { width: 100%; justify-content: center; }
}

/* ── Mobile : Popup lead "Maquette gratuite" ── */
@media (max-width: 600px) {
  .lead-popup { padding: 12px; align-items: flex-end; }
  .lead-popup-card {
    padding: 32px 22px 24px;
    border-radius: 22px 22px 16px 16px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lead-popup-title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    line-height: 1.1;
  }
  .lead-popup-desc { font-size: 0.92rem; }
  .lead-popup-bullets li { font-size: 0.88rem; }
  .lead-popup-close { top: 10px; right: 10px; width: 36px; height: 36px; }
}

/* ── Mobile : Page demarrer-projet ── */
@media (max-width: 700px) {
  .start-overlay { padding: 70px 18px 50px; }
  .start-card { padding: 28px 22px; border-radius: 18px; }
  .start-row { grid-template-columns: 1fr !important; gap: 24px !important; }
  .start-pitch { text-align: left; }
  .start-perks li { font-size: 0.92rem; }
  .start-field input,
  .start-field textarea,
  .start-field select { padding-top: 24px !important; padding-bottom: 10px !important; }
  .start-submit { padding: 18px 24px; font-size: 0.9rem; }
}

/* ── Mobile : Galerie projets (4 mockups) ── */
@media (max-width: 700px) {
  .proj-gallery {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 16px !important;
    padding: 24px var(--gutter) 40px !important;
  }
  .proj-gallery .mockup {
    aspect-ratio: 4/3;
    min-height: auto !important;
  }
  .proj-gallery .mockup.mockup-vertical {
    aspect-ratio: 3/4;
    max-width: 70%;
    margin: 0 auto;
  }
  /* La grille 3 du Freshprint */
  .proj-gallery.proj-gallery-3 { grid-template-columns: 1fr !important; }
}

/* ── Mobile : Section avant/apres (refonte) ── */
@media (max-width: 700px) {
  .ba-stage { grid-template-columns: 1fr !important; gap: 20px !important; }
  .ba-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
    width: 56px;
    height: 56px;
  }
  .ba-card { aspect-ratio: 4/3; }
  .ba-card-caption {
    opacity: 1;
    transform: translateY(0);
    font-size: 0.78rem;
    padding: 14px 16px 12px;
  }
}

/* ── Mobile : Carousel 3D vitrine projets ── */
@media (max-width: 700px) {
  .carousel3d-wrap { gap: 24px !important; grid-template-columns: 1fr !important; }
  .carousel3d-stage { height: 380px !important; }
  .carousel3d-card { width: 92% !important; aspect-ratio: 4/3 !important; }
  .carousel3d-nav {
    flex-direction: row !important;
    justify-content: center;
    padding: 8px 0 0 !important;
  }
  .carousel3d-btn { width: 48px; height: 48px; }
  .carousel3d-name { font-size: 1.15rem !important; }
}

/* ── Mobile : Footer — géré dans le bloc 768px (section 8) ── */

/* ── Mobile : Sections diverses (paddings reduits) ── */
@media (max-width: 700px) {
  .section, .csc-video-section, .csc-kpis-section, .csc-chart-section,
  .csc-queries-section, .refonte-section, .refonte-ba,
  .stack-section, .galopins-section, .about-section {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  /* Reduire les KPIs */
  .csc-kpi { padding: 22px 18px 18px !important; }
  .csc-kpi-num { font-size: clamp(2.4rem, 10vw, 3.4rem) !important; }
  /* World map height reduit */
  .world-map-canvas { height: 360px !important; }
}

/* ── Mobile : badges flottants — gérés en fin de fichier (bloc 768px, section 2) ── */

/* ── Mobile : Page transition titre ── */
@media (max-width: 600px) {
  .page-transition-title { font-size: clamp(1.6rem, 8vw, 2.4rem) !important; padding: 0 24px; text-align: center; }
}

/* ── Mobile : Eyebrow sizing ── */
@media (max-width: 600px) {
  .section-eyebrow, .csc-eyebrow, .ref2-eyebrow, .refonte-eyebrow,
  .lead-popup-eyebrow, .start-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
  }
}

/* ── Mobile : Mockup detail images (forcer cover bon comportement) ── */
@media (max-width: 700px) {
  .mockup.mockup-detail-img,
  .mockup.mockup-detail-img.mockup-legacy {
    aspect-ratio: 16/10;
  }
  .mockup-legacy-tag { top: 10px !important; left: 10px !important; font-size: 0.65rem !important; padding: 5px 10px !important; }
  .gcard-badge-refonte { top: 10px !important; right: 10px !important; padding: 5px 11px 5px 9px !important; font-size: 0.66rem !important; }
  .gcard-badge-refonte svg { width: 11px !important; height: 11px !important; }
}

/* ── Mobile : Refonte/services advantages grids ── */
@media (max-width: 600px) {
  .svc-adv-grid, .svc-pitfalls-grid, .refonte-cards-3, .refonte-tech-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ── Mobile : Tables (impact CA) ── */
@media (max-width: 700px) {
  .ref2-kpis { grid-template-columns: 1fr !important; }
  .ref2-kpi + .ref2-kpi::before {
    top: 0 !important; bottom: auto !important;
    left: 20px !important; right: 20px !important;
    width: auto !important; height: 1px !important;
  }
  .ref2-kpi-num { font-size: clamp(3rem, 14vw, 5rem) !important; }
}

/* ── Mobile : Hauteur du video player ── */
@media (max-width: 600px) {
  .csc-video-frame { border-radius: 14px; }
}

/* ── Mobile : Hauteur du captures GSC ── */
@media (max-width: 600px) {
  .csc-gsc-shot { border-radius: 14px; }
  .csc-gsc-url { font-size: 0.65rem !important; }
}

/* ── Mobile : Anti-bounce sur les inputs date/time ── */
input[type="date"], input[type="time"] {
  min-height: 44px;
}

/* ── Mobile : Visibilite focus pour accessibility tactile ── */
@media (hover: none) {
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

/* ── Mobile : Tap highlight personnalise (au lieu du gris iOS par defaut) ── */
* { -webkit-tap-highlight-color: rgba(199, 64, 51, 0.12); }

/* ── Mobile : Smooth scrolling natif ── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Tres petits ecrans (<400px) ── */
@media (max-width: 400px) {
  body { --gutter: 16px; }
  .page-hero h1 { font-size: clamp(1.8rem, 9vw, 2.6rem) !important; }
  .lead-popup-card { padding: 28px 18px 22px; }
  .csc-kpi-num { font-size: 2.4rem !important; }
}

/* ════════════════════════════════════════════════════════════════
   ════════ MOBILE APP UI — Style application SaaS native ═════════
   Activé sous 768px : épuration, cards, bottom nav, CTAs full-width
   Conserve les titres + l'essentiel : prestations et projets
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ─── 1. RESET TYPOGRAPHIQUE ─── */
  body {
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    background: #f7f7f9;
  }

  /* Titres adaptes : moins enormes, plus impactants */
  h1, .hero-minimal-title, .page-hero h1, .start-title, .csc-hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.025em !important;
    font-weight: 700 !important;
  }
  h2, .section-title, .moment-title, .footer-tagline-text, .csc-section-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
  }
  h3, .stack-card h3, .ref2-row-title, .csc-kpi-label {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
  }

  /* ─── 2. MASQUER LES PARAGRAPHES LONGS — épuration maximale ─── */
  /* On garde uniquement titres + sous-titres courts + CTAs */
  .hero-minimal-meta:not(.hero-minimal-meta--keep),
  .section-desc,
  .moment-tagline,
  .expertise-cat,
  .process-sticky p,
  .process-steps .step p,
  .stack-card p,
  .stack-card ul,
  .stack-card-meta,
  .stack-intro p,
  .galopins-head .left p,
  .galopins-head .right p,
  .world-map-head-meta,
  .world-map-foot p,
  .world-map-foot,
  .faq-q + .faq-a,
  .refonte-intro,
  .ref2-lead,
  .ref2-row-desc,
  .ref2-kpi-desc,
  .ref2-trio-desc,
  .ref2-timeline-step p,
  .csc-section-lead,
  .csc-kpi-desc,
  .csc-query-meta,
  .ba-lead,
  .ba-card-caption,
  .proj-meta,
  .proj-section p,
  .proj-section ul,
  .proj-section,
  .proj-others,
  .page-hero-meta,
  .svc-hero-aside,
  .svc-hero-tags,
  .ref2-vs-list,
  .ref2-vs-title,
  .ref2-vs-tag,
  .ref2-goal,
  .ref2-goals-title,
  .ref2-mini-label,
  .ref2-eyebrow,
  .csc-eyebrow,
  .csc-mini-label,
  .ref2-trio-num,
  .start-desc,
  .start-perks,
  .lead-popup-desc,
  .lead-popup-bullets,
  .lead-popup-fine,
  .ref2-punch cite,
  .ref2-compare-fine,
  .csc-chart-source,
  .csc-gsc-shot,
  .csc-chart-section,
  .csc-queries-section,
  .csc-video-section .csc-section-head,
  .refonte-ba,
  .stack-section,
  .process,
  .world-map-section,
  .faq-section,
  .galopins-head .right,
  .section-eyebrow,
  .moment-status,
  .moment-visual-tag,
  .csc-section-head p,
  .ref2-header .ref2-lead,
  .ba-footnote,
  .e404-desc,
  .e404-links,
  .start-pitch,
  .nav-cta-btn::after,
  .svc-cta-inline > div > p,
  .svc-tariffs p,
  .ref2-vs,
  .ref2-goals,
  .ref2-timeline,
  .csc-kpis-section .csc-kpi p {
    display: none !important;
  }

  /* Garder les titres des kpis mais simplifier */
  .csc-kpi {
    padding: 18px !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(20,20,26,0.06);
    margin-bottom: 10px;
  }
  .csc-kpi::before { display: none !important; }

  /* ─── 3. NAVIGATION TOP — Style app iOS épurée ─── */
  .nav {
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
            backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
    padding: 12px 18px !important;
    height: 60px;
  }
  .nav.scrolled { box-shadow: none; }
  .nav-logo { font-size: 1.1rem !important; }
  .nav-cta-btn { display: none !important; }
  /* Hamburger style iOS plus rond */
  .nav-hamburger {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    background: rgba(20,20,26,0.05) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 11px !important;
  }
  .nav-hamburger span { width: 18px !important; left: 11px !important; }

  /* Menu overlay : style app modal */
  .nav-links {
    background: #fff !important;
    padding-top: 80px !important;
    padding-bottom: 100px !important;
    gap: 4px !important;
    justify-content: flex-start !important;
  }
  .nav-links > a {
    width: 88%;
    margin: 0 auto;
    padding: 18px 22px !important;
    border-radius: 14px;
    background: #f5f5f7;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    text-align: left !important;
    color: var(--ink) !important;
    transition: background .2s;
  }
  .nav-links > a:active { background: #ebebef; }
  .nav-links > a.active {
    background: var(--ink) !important;
    color: #fff !important;
    font-style: normal !important;
  }
  .nav-links .has-mega { width: 88%; margin: 0 auto; padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .nav-links .has-mega > a {
    display: block;
    width: 100%;
    padding: 18px 22px !important;
    border-radius: 14px;
    background: #f5f5f7;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    text-align: left !important;
  }
  /* pas d'underline accent sous les cartes du menu */
  .nav-links > a::after { display: none !important; }

  /* ─── 4. BOTTOM NAVIGATION BAR — fixed bas écran style iOS ─── */
  body::after {
    content: '';
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
            backdrop-filter: saturate(180%) blur(20px);
    border-top: 0.5px solid rgba(0,0,0,0.06);
    z-index: 998;
    pointer-events: none;
  }
  /* Le contenu de la bottom nav est en pseudo via les liens du header copiés en bas */
  body > .bottom-nav,
  body::before {
    content: '';
    position: fixed;
    left: 0; right: 0;
    bottom: calc(env(safe-area-inset-bottom));
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 999;
    padding: 0 12px;
  }
  /* Padding bas du body pour que le contenu ne soit pas caché derrière la bottom nav */
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important; }

  /* ─── 5. CARTES STYLE SAAS — sections en cards ─── */
  .section, .galopins-section, .moment-section, .expertise-list,
  .refonte-section, .stack-section, .seo-cases {
    padding: 14px 14px !important;
  }

  /* Hero : carte unique avec gros titre + 1 CTA */
  .hero-minimal {
    background: #fff;
    margin: 12px;
    padding: 32px 22px !important;
    border-radius: 22px;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 8px 24px -10px rgba(20,20,26,0.08);
    min-height: auto !important;
    text-align: left;
  }
  .hero-minimal-cta { width: 100%; margin-top: 18px; }

  /* Expertise items : transformés en cartes app */
  .expertise-item {
    background: #fff !important;
    border-radius: 16px !important;
    margin-bottom: 10px !important;
    padding: 18px 18px !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04) !important;
    border: none !important;
    display: grid !important;
    grid-template-columns: 36px 1fr 20px !important;
    gap: 14px !important;
    align-items: center !important;
  }
  .expertise-item:hover { transform: none !important; }
  .expertise-num {
    background: var(--ink) !important;
    color: #fff !important;
    width: 36px; height: 36px;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center; justify-content: center;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 0 !important;
  }
  .expertise-name {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    margin: 0 !important;
  }
  .expertise-arrow {
    width: 20px; height: 20px;
    color: var(--text-subtle);
  }

  /* Cartes projets — style App Store */
  .gcard, .galopins-grid > a {
    background: #fff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.12) !important;
    padding: 0 !important;
    transition: transform .25s var(--ease-out);
  }
  .gcard:active { transform: scale(0.98); }
  .gcard-visual {
    border-radius: 0 !important;
    aspect-ratio: 16/10 !important;
    margin: 0 !important;
  }
  .gcard-info {
    padding: 16px 18px 20px !important;
  }
  .gcard-name {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
  }
  .gcard-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .gcard-tag {
    background: #f5f5f7 !important;
    color: var(--ink) !important;
    border: none !important;
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 999px !important;
    font-weight: 500 !important;
  }
  .galopins-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Section moment (projet phare) en card */
  .moment-grid {
    background: #fff;
    border-radius: 22px;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.12);
  }
  .moment-visual {
    aspect-ratio: 16/10 !important;
    border-radius: 0 !important;
  }
  .moment-info {
    padding: 22px 20px !important;
  }
  .moment-tags { margin: 12px 0 16px !important; }
  .moment-tags span {
    background: #f5f5f7 !important;
    border: none !important;
    padding: 4px 10px !important;
    font-size: 0.74rem !important;
    border-radius: 999px !important;
  }

  /* Headers de sections : eyebrow + titre + 1 line */
  .moment-head, .galopins-head, .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 24px 6px 16px !important;
    margin-bottom: 0 !important;
  }
  .moment-head-link, .galopins-head .right a {
    align-self: flex-end;
    font-size: 0.78rem !important;
  }

  /* Cas client SEO — KPIs en grille de cards */
  .csc-kpis {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    border: none !important;
    background: transparent !important;
  }
  .csc-kpi-num {
    font-size: 1.6rem !important;
    margin-bottom: 6px !important;
  }
  .csc-kpi-label {
    font-size: 0.62rem !important;
    margin-bottom: 0 !important;
  }

  /* Page services : svc-adv en cards app */
  .svc-adv, .svc-adv-grid > * {
    background: #fff !important;
    border-radius: 18px !important;
    padding: 22px 20px !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04) !important;
    border: none !important;
    margin-bottom: 12px !important;
  }
  .svc-adv-icon {
    width: 44px !important; height: 44px !important;
    border-radius: 12px !important;
    background: var(--ink) !important;
    color: #fff !important;
    margin-bottom: 14px !important;
  }
  .svc-adv h3 {
    font-size: 1.05rem !important;
    margin-bottom: 8px !important;
  }

  /* ─── 6. CTAs BOUTONS — full-width touch-friendly 56px ─── */
  .btn, button.btn, a.btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 56px !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    letter-spacing: 0 !important;
  }
  .btn-primary {
    box-shadow: 0 6px 18px -6px rgba(20,20,26,0.35);
  }
  /* CTAs côte à côte → empilés */
  .hero-minimal-actions, .moment-cta-row, .svc-cta-inline-actions,
  .expertise-cta-wrap, .start-grid .start-actions, .e404-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
  }
  .hero-minimal-actions > *, .moment-cta-row > *,
  .svc-cta-inline-actions > *, .e404-actions > * {
    width: 100% !important;
  }

  /* ─── 7. SECTIONS À MASQUER complètement (alleger le mobile) ─── */
  .process,
  .world-map-section,
  .faq-section,
  .stack-section,
  .refonte-ba,
  .csc-queries-section,
  .ref2-vs,
  .ref2-goals,
  .ref2-timeline,
  .refonte-callout,
  .ref2-craft-code,
  .ref2-craft,
  .ref2-list,
  .ref2-punch,
  .ref2-compare,
  .ref2-kpis,
  .ba-stage,
  .ba-footnote,
  .moment-visual-tag,
  .moment-status,
  .galopins-head .left p,
  .csc-section-lead,
  .csc-chart-section,
  .csc-gsc-shot,
  .proj-others,
  .proj-meta,
  .proj-section ul,
  .proj-section p,
  .stack-list,
  .stack-intro,
  .stack-sticky-cta,
  .moment-head .left .section-eyebrow,
  .svc-pitfalls,
  .refonte-objectives,
  .refonte-cards-3,
  .refonte-tech-grid,
  .refonte-impact-punch,
  .refonte-projection,
  .refonte-callout,
  .refonte-journey,
  .refonte-compare {
    display: none !important;
  }

  /* ─── 8. FOOTER complet — version desktop adaptée mobile ─── */
  .footer {
    padding: 40px 18px 28px !important;
    margin-top: 24px;
  }
  .footer-inner { padding: 0 !important; }
  .footer-news {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-bottom: 28px !important;
  }
  .footer-news-title { font-size: 1.35rem !important; }
  .footer-news-sub { font-size: 0.88rem !important; }
  .news-pill {
    flex-direction: column;
    background: #fff;
    border-radius: 14px !important;
    padding: 8px !important;
    gap: 4px;
  }
  .news-pill input { padding: 12px 14px !important; font-size: 16px !important; } /* 16px : évite le zoom auto iOS */
  .news-pill button { width: 100%; justify-content: center; padding: 14px 18px !important; }
  .footer-tagline-wrap {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 32px 0 !important;
  }
  .footer-tagline-text {
    font-size: clamp(2.4rem, 12.5vw, 3.4rem) !important;
    line-height: 0.94 !important;
    letter-spacing: -0.04em !important;
  }
  .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .footer-col h4 { margin-bottom: 12px !important; }
  .footer-col a { padding: 8px 0 !important; font-size: 0.92rem !important; }
  .footer-cta-row { padding: 24px 0 !important; }
  .footer-cta {
    width: 100%;
    justify-content: center;
    min-height: 56px;
    border-radius: 14px;
    font-size: 1rem !important;
    padding: 16px 24px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    text-align: center;
    font-size: 0.78rem !important;
    padding-top: 20px !important;
  }
  .footer-bottom-left, .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* ─── 9. FLOATING BADGES — voir section 2 du bloc bottom-nav en fin de fichier ─── */

  /* ─── 10. PAGE PROJET (mobile) — galerie swipe horizontale + titre + CTA ─── */
  .proj-back { padding: 16px 18px 0 !important; }
  .proj-back-link { font-size: 0.8rem !important; }

  .proj-gallery {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px !important;
    padding: 16px 18px 10px !important;
  }
  .proj-gallery::-webkit-scrollbar { display: none; }
  .proj-gallery::after { content: ""; flex: 0 0 8px; }
  .proj-gallery .mockup {
    flex: 0 0 80%;
    height: 400px;
    min-height: 0 !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    scroll-snap-align: start;
    border-radius: 18px !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.12) !important;
  }
  .proj-gallery .mockup.mockup-vertical { flex-basis: 58%; }
  /* cartes hors-écran horizontalement : jamais détectées par l'observer reveal */
  .proj-gallery .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* mockups live (iframe) : rendu mobile du site client, centré dans la carte */
  .proj-gallery .mockup-flat-live iframe,
  .proj-gallery .mockup-detail-live iframe,
  .proj-gallery .mockup-vertical.mockup-live iframe {
    width: 390px !important;
    height: 620px !important;
    left: 50% !important;
    transform: translateX(-50%) scale(0.68) !important;
    transform-origin: top center !important;
  }
  .proj-gallery .mockup-mobile .phone-frame { max-width: 160px; }

  .proj-content { padding: 8px 0 12px !important; gap: 0 !important; }
  .proj-main { padding: 0 18px !important; }
  .proj-title {
    font-size: 1.8rem !important;
    margin: 16px 0 10px !important;
  }
  .proj-tagline {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .proj-badges {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px !important;
    margin-bottom: 4px !important;
  }
  .proj-badge {
    font-size: 0.78rem !important;
    padding: 8px 14px !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.06);
  }

  /* Carte "C'est à votre tour ?" — visible aussi sur mobile */
  .proj-cta-card {
    background: #fff !important;
    border: none !important;
    border-radius: 22px !important;
    padding: 26px 22px !important;
    margin: 20px 18px 8px !important;
    gap: 18px !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.12) !important;
  }
  .proj-cta-card h3 { font-size: 1.5rem !important; }
  .proj-cta-card p { font-size: 0.93rem !important; }
  .proj-cta-actions .btn { justify-content: space-between !important; }

  /* ─── 11. HERO MINIMAL — version compact app ─── */
  .hero-minimal-eyebrow {
    font-size: 0.7rem !important;
    margin-bottom: 12px !important;
    color: var(--accent) !important;
    letter-spacing: 0.08em !important;
  }
  .hero-minimal-title {
    margin-bottom: 16px !important;
  }
  .hero-minimal-meta--keep, .hero-minimal-meta {
    margin-bottom: 20px !important;
    font-size: 0.92rem !important;
    color: var(--text-subtle);
  }

  /* ─── 12. CARROUSEL 3D — version compact app (juste un seul card visible) ─── */
  .carousel3d-section { padding: 24px 14px !important; }
  .carousel3d-head { padding: 0 4px 14px !important; margin-bottom: 18px !important; }
  .carousel3d-head-link { font-size: 0.78rem !important; }
  .carousel3d-stage {
    height: 320px !important;
    perspective: 1000px;
  }
  .carousel3d-card {
    border-radius: 20px !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.15) !important;
  }

  /* ─── 13. POPUP MAQUETTE GRATUITE — style bottom sheet iOS ─── */
  .lead-popup {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .lead-popup-card {
    border-radius: 24px 24px 0 0 !important;
    padding: 24px 22px 32px !important;
    max-height: 88vh;
    width: 100% !important;
    transform: translateY(100%) scale(1) !important;
  }
  .lead-popup.is-open .lead-popup-card {
    transform: translateY(0) scale(1) !important;
  }
  .lead-popup-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    background: rgba(0,0,0,0.18);
    border-radius: 99px;
  }
  .lead-popup-title {
    font-size: 1.45rem !important;
    margin-top: 12px !important;
  }
  .lead-popup-cta, .lead-popup-submit {
    min-height: 56px !important;
    border-radius: 14px !important;
    width: 100% !important;
  }

  /* ─── 14. PAGE DÉMARRER-PROJET (overlay) — pleine hauteur app ─── */
  .start-overlay {
    padding: 24px 18px 100px !important;
    min-height: 100vh;
  }
  .start-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .start-pitch { display: none !important; }
  .start-card {
    background: #fff !important;
    border-radius: 22px !important;
    padding: 28px 22px !important;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.12) !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  .start-card-title {
    font-size: 1.5rem !important;
    margin-bottom: 22px !important;
  }
  .start-close {
    background: rgba(255,255,255,0.95) !important;
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-radius: 50% !important;
    width: 44px !important; height: 44px !important;
    top: 20px !important; right: 20px !important;
    color: var(--ink) !important;
  }
  .start-submit {
    min-height: 56px !important;
    border-radius: 14px !important;
  }

  /* ─── 15. SCROLLBAR mobile : retirer ─── */
  ::-webkit-scrollbar { display: none; }
  body { scrollbar-width: none; }

  /* ─── 16. Anti-bounce sur les anim heavy ─── */
  .carousel3d-track, .ba-arrow-trail span,
  .ba-arrow-disc::after, .gcard-badge-refonte svg {
    animation-duration: 4s !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   BOTTOM NAVIGATION BAR (créée via JS et stylée ici)
   ════════════════════════════════════════════════════════════════ */
.bottom-nav {
  display: none;
}
@media (max-width: 768px) {
  .bottom-nav {
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.94);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
            backdrop-filter: saturate(180%) blur(20px);
    border-top: 0.5px solid rgba(0,0,0,0.08);
    box-shadow: 0 -2px 12px -2px rgba(20,20,26,0.04);
  }
  body::before, body::after { display: none !important; } /* override les pseudos */
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    text-decoration: none;
    color: var(--text-subtle);
    font-size: 0.66rem;
    font-weight: 500;
    font-family: var(--mono);
    letter-spacing: 0.02em;
    border-radius: 12px;
    min-height: 48px;
    transition: color .2s, background .2s, transform .2s;
  }
  .bottom-nav-item svg {
    width: 22px; height: 22px;
    stroke: currentColor;
    transition: transform .25s var(--ease-out);
  }
  .bottom-nav-item:active {
    background: rgba(20,20,26,0.04);
    transform: scale(0.94);
  }
  .bottom-nav-item.is-active {
    color: var(--accent);
  }
  .bottom-nav-item.is-active svg {
    transform: scale(1.1);
  }
  .bottom-nav-item.bottom-nav-cta {
    background: var(--ink);
    color: #fff;
    border-radius: 16px;
    margin: 0 4px;
    padding: 8px 12px;
    flex: 1.2;
  }
  .bottom-nav-item.bottom-nav-cta.is-active { background: var(--accent); }
}

/* ════════════════════════════════════════════════════════════════
   AJUSTEMENTS MOBILES (réduction badges + section cas client SEO)
   ════════════════════════════════════════════════════════════════ */

/* La section cas client SEO est cachée par défaut (desktop) */
.seo-case-mobile { display: none; }

@media (max-width: 768px) {

  /* ── 1. RÉDUIRE le badge "Disponible · Réponse sous 24h" ── */
  .hero-minimal-badge {
    padding: 5px 10px !important;
    font-size: 0.68rem !important;
    line-height: 1.2 !important;
    border-radius: 999px !important;
    gap: 6px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 1px 4px rgba(20,20,26,0.08) !important;
    white-space: nowrap;
    transform: scale(0.85);
    transform-origin: top right;
  }
  .hero-minimal-badge .live-dot {
    width: 6px !important;
    height: 6px !important;
  }

  /* ── 2. RÉDUIRE WhatsApp et Calendly badge ── */
  .wa {
    width: 44px !important;
    height: 44px !important;
    bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    right: 14px !important;
    box-shadow: 0 4px 14px -4px rgba(20,20,26,0.25);
  }
  .wa svg {
    width: 22px !important;
    height: 22px !important;
  }
  /* Calendly badge widget — empilé AU-DESSUS du bouton WhatsApp */
  .calendly-badge-widget,
  .calendly-badge-content {
    transform: scale(0.78) !important;
    transform-origin: bottom right !important;
    bottom: calc(136px + env(safe-area-inset-bottom)) !important;
    right: 8px !important;
    left: auto !important;
  }

  /* ─── 3. SECTION CAS CLIENT SEO — apparaît UNIQUEMENT en mobile ─── */
  .seo-case-mobile {
    display: block;
    padding: 20px 14px 24px;
    background: #f7f7f9;
  }
  .seo-case-mobile-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* Header de la section */
  .seo-case-mobile-head {
    padding: 8px 4px 4px;
  }
  .seo-case-mobile-eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.66rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
  }
  .seo-case-mobile-title {
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0;
  }
  .seo-case-mobile-title em {
    color: var(--accent);
    font-style: italic;
  }

  /* Card image principale */
  .seo-case-mobile-card {
    position: relative;
    display: block;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04), 0 12px 32px -16px rgba(20,20,26,0.15);
    text-decoration: none;
    color: inherit;
    transition: transform .25s var(--ease-out);
  }
  .seo-case-mobile-card:active { transform: scale(0.98); }
  .seo-case-mobile-img {
    width: 100%;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }
  .seo-case-mobile-meta {
    padding: 14px 16px;
  }
  .seo-case-mobile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-subtle);
    letter-spacing: 0.02em;
  }
  .seo-case-mobile-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c840;
    box-shadow: 0 0 0 3px rgba(40,200,64,0.18);
    flex-shrink: 0;
    animation: liveDotPulse 2s ease-in-out infinite;
  }
  @keyframes liveDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
  }

  /* Grille 2x2 KPIs */
  .seo-case-mobile-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .seo-case-mobile-kpi {
    background: #fff;
    border-radius: 16px;
    padding: 18px 14px 16px;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .seo-case-mobile-kpi-num {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
  }
  .seo-case-mobile-kpi-num small {
    font-size: 0.95rem;
    color: var(--accent);
    margin-left: 2px;
    font-weight: 700;
  }
  .seo-case-mobile-kpi-label {
    font-family: var(--mono);
    font-size: 0.66rem;
    color: var(--text-subtle);
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  /* Liste top requêtes */
  .seo-case-mobile-queries {
    background: #fff;
    border-radius: 18px;
    padding: 16px 4px 8px;
    box-shadow: 0 1px 3px rgba(20,20,26,0.04);
  }
  .seo-case-mobile-queries-title {
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-subtle);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 16px 10px;
    border-bottom: 0.5px solid rgba(0,0,0,0.06);
    margin-bottom: 4px;
  }
  .seo-case-mobile-queries ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .seo-case-mobile-queries li {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 0.5px solid rgba(0,0,0,0.04);
  }
  .seo-case-mobile-queries li:last-child { border-bottom: none; }
  .seo-case-mobile-rank {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
  }
  .seo-case-mobile-query {
    font-size: 0.86rem;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.2;
  }
  .seo-case-mobile-pill {
    background: var(--accent);
    color: #fff;
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
  }
  .seo-case-mobile-pill-soft {
    background: transparent;
    color: var(--text-subtle);
    border: 1px solid rgba(0,0,0,0.1);
  }

  /* CTA */
  .seo-case-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    padding: 16px 24px;
    background: var(--ink);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 6px 18px -6px rgba(20,20,26,0.35);
    transition: transform .2s, background .25s;
  }
  .seo-case-mobile-cta svg {
    width: 18px;
    height: 18px;
  }
  .seo-case-mobile-cta:active {
    transform: scale(0.97);
    background: var(--accent);
  }
}

/* ════════════════════════════════════════════════════════════════
   MARQUEE PROJETS — défilement infini lent (desktop + mobile)
   ════════════════════════════════════════════════════════════════ */
.proj-marquee {
  padding: clamp(60px, 9vw, 120px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  background: var(--bg);
}
.proj-marquee-head {
  max-width: 1180px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  padding: 0 var(--gutter);
}
.proj-marquee-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.proj-marquee-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0;
}
.proj-marquee-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 700;
}

.proj-marquee-track-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.proj-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}
.proj-marquee-track-left {
  animation: marqueeScrollLeft 80s linear infinite;
}
.proj-marquee-track-right {
  animation: marqueeScrollRight 95s linear infinite;
}

@keyframes marqueeScrollLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeScrollRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.proj-marquee-track:hover {
  animation-play-state: paused;
}

.proj-marquee-item {
  flex-shrink: 0;
  width: clamp(280px, 32vw, 460px);
}

.proj-marquee-frame {
  background: #fff;
  border-radius: 14px;
  padding: 8px 8px 12px;
  box-shadow: 0 10px 30px -12px rgba(20,20,26,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.proj-marquee-frame::before {
  content: '';
  height: 10px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 8px center, #ff5f57 3px, transparent 3.5px),
              radial-gradient(circle at 22px center, #febc2e 3px, transparent 3.5px),
              radial-gradient(circle at 36px center, #28c840 3px, transparent 3.5px);
  background-repeat: no-repeat;
  margin-bottom: 8px;
}
.proj-marquee-img {
  flex: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.proj-marquee-item:hover .proj-marquee-frame {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -16px rgba(20,20,26,0.32), 0 0 0 1px rgba(0,0,0,0.06);
}

@media (prefers-reduced-motion: reduce) {
  .proj-marquee-track-left, .proj-marquee-track-right {
    animation: none;
  }
}

@media (max-width: 768px) {
  .proj-marquee { padding: 40px 0 24px; }
  .proj-marquee-head { padding: 0 16px; margin-bottom: 24px; }
  .proj-marquee-title { font-size: 1.6rem; }
  .proj-marquee-eyebrow { font-size: 0.7rem; margin-bottom: 12px; }
  .proj-marquee-track-wrap { gap: 14px; }
  .proj-marquee-track { gap: 14px; }
  .proj-marquee-item { width: 220px; }
  .proj-marquee-track-left { animation-duration: 50s; }
  .proj-marquee-track-right { animation-duration: 60s; }
}

/* ════════════════════════════════════════════════════════════════
   ENGAGEMENT CARD — "C'est à votre tour ?" (desktop + mobile)
   ════════════════════════════════════════════════════════════════ */
.engagement-cta {
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.engagement-cta-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 70px) clamp(28px, 5vw, 56px);
  box-shadow:
    0 2px 6px rgba(20,20,26,0.04),
    0 24px 60px -20px rgba(20,20,26,0.18),
    0 0 0 1px rgba(0,0,0,0.04);
  text-align: center;
  position: relative;
}

/* Deck de mockups stackés (style "carte de jeu") */
.engagement-cta-deck {
  position: relative;
  width: 100%;
  height: clamp(180px, 26vw, 260px);
  margin: 0 auto clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.engagement-cta-deck-item {
  position: absolute;
  width: clamp(140px, 22vw, 220px);
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-radius: 14px;
  box-shadow:
    0 10px 30px -10px rgba(20,20,26,0.22),
    0 0 0 1px rgba(0,0,0,0.05),
    inset 0 0 0 4px #fff;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  animation: deckFloat 6s ease-in-out infinite;
}
@keyframes deckFloat {
  0%, 100% { transform: var(--deck-base) translateY(0); }
  50% { transform: var(--deck-base) translateY(-6px); }
}
.engagement-cta-deck-1 {
  --deck-base: translate(-150%, 8%) rotate(-18deg);
  transform: var(--deck-base);
  z-index: 1;
  animation-delay: 0s;
}
.engagement-cta-deck-2 {
  --deck-base: translate(-75%, -2%) rotate(-9deg);
  transform: var(--deck-base);
  z-index: 2;
  animation-delay: 0.4s;
}
.engagement-cta-deck-3 {
  --deck-base: translate(0, -10%) rotate(0deg) scale(1.1);
  transform: var(--deck-base);
  z-index: 3;
  animation-delay: 0.8s;
  box-shadow:
    0 16px 40px -12px rgba(20,20,26,0.28),
    0 0 0 1px rgba(0,0,0,0.06),
    inset 0 0 0 4px #fff;
}
.engagement-cta-deck-4 {
  --deck-base: translate(75%, -2%) rotate(9deg);
  transform: var(--deck-base);
  z-index: 2;
  animation-delay: 1.2s;
}
.engagement-cta-deck-5 {
  --deck-base: translate(150%, 8%) rotate(18deg);
  transform: var(--deck-base);
  z-index: 1;
  animation-delay: 1.6s;
}

.engagement-cta-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 18px;
}

.engagement-cta-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-subtle);
  margin: 0 auto 32px;
  max-width: 540px;
}
.engagement-cta-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.engagement-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.engagement-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 14px;
  transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.engagement-cta-btn svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.engagement-cta-btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(20,20,26,0.4);
}
.engagement-cta-btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.engagement-cta-btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px dashed var(--line-strong);
}
.engagement-cta-btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

@media (max-width: 600px) {
  .engagement-cta { padding: 20px 14px 40px; }
  .engagement-cta-card {
    padding: 36px 22px 32px;
    border-radius: 24px;
  }
  .engagement-cta-deck { height: 160px; margin-bottom: 28px; }
  .engagement-cta-deck-item { width: 130px; }
  .engagement-cta-deck-1 { --deck-base: translate(-110%, 8%) rotate(-15deg); }
  .engagement-cta-deck-2 { --deck-base: translate(-55%, -2%) rotate(-7deg); }
  .engagement-cta-deck-4 { --deck-base: translate(55%, -2%) rotate(7deg); }
  .engagement-cta-deck-5 { --deck-base: translate(110%, 8%) rotate(15deg); }
  .engagement-cta-title { font-size: 1.7rem; }
  .engagement-cta-desc { font-size: 0.95rem; margin-bottom: 24px; }
  .engagement-cta-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .engagement-cta-btn {
    width: 100%;
    justify-content: center;
    min-height: 56px;
    padding: 16px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .engagement-cta-deck-item { animation: none; }
}

/* ════════════════════════════════════════════════════════════════
   FIX ZOOM/OVERFLOW — Garde-fous responsives jusqu'à 1024px
   ════════════════════════════════════════════════════════════════ */

/* Reset universel anti-overflow */
html { overflow-x: clip !important; max-width: 100%; }
body { overflow-x: clip !important; max-width: 100vw; min-width: 0; }
*, *::before, *::after { max-width: 100%; box-sizing: border-box; }

/* Conteneurs qui devraient toujours respecter la viewport */
.container, section, header, footer, main {
  max-width: 100vw;
  overflow-x: clip;
}

/* Couverture jusqu'au breakpoint tablette (1024px) — appliquer le scaling mobile */
@media (max-width: 1024px) {
  /* Titres hero scaling forcé sur tablette aussi */
  h1, .hero-minimal-title, .page-hero h1, .start-title, .csc-hero h1, .ba-title, .ref2-title {
    font-size: clamp(1.8rem, 6vw, 3rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  /* h2 titres de section — toujours sous contrôle */
  h2, .section-title, .moment-title, .csc-section-title,
  .proj-marquee-title, .engagement-cta-title,
  .footer-tagline-text {
    font-size: clamp(1.4rem, 5vw, 2.2rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  h3 {
    font-size: clamp(1.05rem, 3.5vw, 1.4rem) !important;
    word-break: break-word;
  }

  /* Forcer les images / mockups à respecter leur conteneur */
  img, video, .mockup, .gcard-visual, .ba-card,
  .moment-visual, .moment-visual-bg, .csc-gsc-shot,
  .proj-marquee-frame, .engagement-cta-deck-item {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Engagement card — protection mobile/tablette stricte */
  .engagement-cta {
    padding: 32px 16px !important;
    overflow-x: clip;
  }
  .engagement-cta-card {
    padding: 32px 22px 28px !important;
    width: 100%;
    box-sizing: border-box;
    border-radius: 22px !important;
  }
  .engagement-cta-deck {
    height: 150px !important;
    margin-bottom: 24px !important;
    overflow: visible;
  }
  .engagement-cta-deck-item {
    width: clamp(100px, 18vw, 170px) !important;
  }
  .engagement-cta-deck-1 { --deck-base: translate(-90%, 8%) rotate(-14deg) !important; }
  .engagement-cta-deck-2 { --deck-base: translate(-45%, -2%) rotate(-7deg) !important; }
  .engagement-cta-deck-3 { --deck-base: translate(0, -10%) rotate(0deg) scale(1.05) !important; }
  .engagement-cta-deck-4 { --deck-base: translate(45%, -2%) rotate(7deg) !important; }
  .engagement-cta-deck-5 { --deck-base: translate(90%, 8%) rotate(14deg) !important; }

  .engagement-cta-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem) !important;
  }
  .engagement-cta-desc {
    font-size: clamp(0.92rem, 2.2vw, 1.05rem) !important;
  }
  .engagement-cta-actions {
    flex-direction: column !important;
    width: 100%;
    gap: 10px !important;
  }
  .engagement-cta-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 56px;
    padding: 14px 18px !important;
    font-size: 0.78rem !important;
  }

  /* Marquee — items plus petits sur tablette/mobile */
  .proj-marquee-item {
    width: clamp(200px, 30vw, 320px) !important;
  }
  .proj-marquee-track-wrap { gap: 14px !important; }
  .proj-marquee-track { gap: 14px !important; }
}

/* Padding réduit du hero sur petits écrans pour éviter débordement */
@media (max-width: 900px) {
  .hero-minimal { padding: 60px 20px 80px !important; }
  .page-hero, .svc-hero { padding: 100px 20px 60px !important; }
  .page-hero-inner, .svc-hero-grid { max-width: 100% !important; }
}

/* ════════════════════════════════════════════════════════════════
   FIX FINAL — Hero & boutons sans débordement sur mobile
   (le hero h1 de la home utilise .hero-split-title)
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero minimal : marges et paddings réduits */
  .hero-minimal {
    margin: 8px !important;
    padding: 28px 16px !important;
    border-radius: 18px !important;
  }
  /* Hero h1 — cibler tous les selectors possibles */
  .hero-minimal-title,
  .hero-split-title,
  .hero-minimal h1,
  .hero-minimal .hero-split-title,
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: none;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Boutons CTA — taille raisonnable, wrap autorisé */
  .btn, .nav-cta-btn, .hero-minimal-cta {
    font-size: 0.9rem !important;
    padding: 14px 18px !important;
    min-height: 52px !important;
    white-space: normal !important;
    line-height: 1.2 !important;
  }
  .btn span, .nav-cta-btn span, .hero-minimal-cta span {
    white-space: normal !important;
  }
  /* Container hero ne déborde pas */
  .hero-minimal-inner, .hero-minimal-meta, .hero-split-meta, .hero-split-tags, .hero-split-actions {
    max-width: 100%;
    box-sizing: border-box;
  }
  /* hero-split-tags reste lisible sur petite largeur */
  .hero-split-tags { flex-wrap: wrap; gap: 10px; }
  .hero-split-actions { flex-direction: column; width: 100%; align-items: stretch; }
  .hero-split-actions > * { width: 100%; }
}

@media (max-width: 400px) {
  /* Hero ultra-compact pour très petits écrans (iPhone SE) */
  .hero-minimal {
    margin: 6px !important;
    padding: 22px 14px !important;
  }
  .hero-minimal-title, .hero-split-title, .hero-minimal h1 {
    font-size: 1.5rem !important;
    line-height: 1.08 !important;
  }
  .btn, .hero-minimal-cta {
    font-size: 0.84rem !important;
    padding: 14px 14px !important;
  }
}
